mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
* error-handling-draft * feat: array based module loading (#379) Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> * Update utility.ts * Update sern.ts * describesemanticsbetter --------- Co-authored-by: Duro <davidwright13503@gmail.com>
56 lines
1.3 KiB
TypeScript
56 lines
1.3 KiB
TypeScript
export * as Sern from './sern';
|
|
|
|
export type {
|
|
Module,
|
|
CommandModule,
|
|
EventModule,
|
|
BothCommand,
|
|
ContextMenuMsg,
|
|
ContextMenuUser,
|
|
SlashCommand,
|
|
TextCommand,
|
|
ButtonCommand,
|
|
StringSelectCommand,
|
|
MentionableSelectCommand,
|
|
UserSelectCommand,
|
|
ChannelSelectCommand,
|
|
RoleSelectCommand,
|
|
ModalSubmitCommand,
|
|
DiscordEventCommand,
|
|
SernEventCommand,
|
|
ExternalEventCommand,
|
|
CommandModuleDefs,
|
|
EventModuleDefs,
|
|
SernAutocompleteData,
|
|
SernOptionsData,
|
|
SernSubCommandData,
|
|
SernSubCommandGroupData,
|
|
SDT,
|
|
ScheduledTask
|
|
} from './types/core-modules';
|
|
|
|
export type {
|
|
PluginResult,
|
|
InitPlugin,
|
|
ControlPlugin,
|
|
Plugin,
|
|
AnyPlugin,
|
|
} from './types/core-plugin';
|
|
|
|
|
|
export type { Payload, SernEventsMapping, Wrapper } from './types/utility';
|
|
|
|
export {
|
|
commandModule,
|
|
eventModule,
|
|
discordEvent,
|
|
scheduledTask
|
|
} from './core/modules';
|
|
|
|
export * from './core/presences'
|
|
export * from './core/interfaces'
|
|
export * from './core/plugin';
|
|
export { CommandType, PluginType, PayloadType, EventType } from './core/structures/enums';
|
|
export { Context } from './core/structures/context';
|
|
export { type CoreDependencies, makeDependencies, single, transient, Service, Services } from './core/ioc';
|