dify/web/app/components/goto-anything/actions/commands/index.ts

16 lines
514 B
TypeScript

// Command bus (for extending with custom commands)
export {
type CommandHandler,
executeCommand,
registerCommands,
unregisterCommands,
} from './command-bus'
// Command registry system (for extending with custom commands)
export { slashCommandRegistry, SlashCommandRegistry } from './registry'
// Command system exports
export { slashScope } from './slash'
export { registerSlashCommands, SlashCommandProvider, unregisterSlashCommands } from './slash'
export type { SlashCommandHandler } from './types'