system-prompts-and-models-o.../NotionAi/notion-ai_20260322/modules/slack/integration.ts
2026-03-22 18:31:30 +08:00

17 lines
409 B
TypeScript

export type SlackAction = "write" | "read" | "react" | "replyInThread"
export type SlackModulePermissionAiConfigurable = {
identifier: string | string[]
actions?: SlackAction[]
}
export type ModulePermissions = SlackModulePermissionAiConfigurable
export type ModuleState = never
export type SlackIntegration = {
type: "slack"
name: string
permissions?: Array<ModulePermissions>
state?: ModuleState
}