mirror of
https://github.com/sern-handler/handler
synced 2026-06-27 18:22:14 +00:00
* feat: dispose hooks * build: unminify, add source map, deprecate useContainerRaw * fix regression of context and fix tsup build
57 lines
1.2 KiB
TypeScript
57 lines
1.2 KiB
TypeScript
export * as Sern from './sern';
|
|
export * from './core';
|
|
export type {
|
|
CommandModule,
|
|
EventModule,
|
|
BothCommand,
|
|
ContextMenuMsg,
|
|
ContextMenuUser,
|
|
SlashCommand,
|
|
TextCommand,
|
|
ButtonCommand,
|
|
StringSelectCommand,
|
|
MentionableSelectCommand,
|
|
UserSelectCommand,
|
|
ChannelSelectCommand,
|
|
RoleSelectCommand,
|
|
ModalSubmitCommand,
|
|
DiscordEventCommand,
|
|
SernEventCommand,
|
|
ExternalEventCommand,
|
|
CommandModuleDefs,
|
|
EventModuleDefs,
|
|
SernAutocompleteData,
|
|
SernOptionsData,
|
|
SernSubCommandData,
|
|
SernSubCommandGroupData,
|
|
} from './types/core-modules';
|
|
|
|
export type {
|
|
Controller,
|
|
PluginResult,
|
|
InitPlugin,
|
|
ControlPlugin,
|
|
Plugin,
|
|
AnyEventPlugin,
|
|
AnyCommandPlugin,
|
|
} from './types/core-plugin';
|
|
|
|
export type { Wrapper } from './types/core';
|
|
|
|
export type { Args, SlashOptions, Payload, SernEventsMapping } from './types/utility';
|
|
|
|
export type { Singleton, Transient, CoreDependencies, Initializable } from './types/ioc';
|
|
|
|
export {
|
|
commandModule,
|
|
eventModule,
|
|
discordEvent,
|
|
EventExecutable,
|
|
CommandExecutable,
|
|
} from './core/modules';
|
|
|
|
export {
|
|
useContainerRaw
|
|
} from './core/_internal'
|
|
export { controller } from './sern';
|