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

35 lines
750 B
TypeScript

import type { TestGetStateInput, TestGetStateOutput } from "./types"
export type ModuleConfiguration = {
label: string
count: number
active: boolean
}
// Connection interface
export type GetState = (args: TestGetStateInput) => Promise<TestGetStateOutput>
export type Module = {
getState: GetState
}
// Helper types
export type {
TestPersistedState,
TestModulePermissionAction,
TestModulePermission,
TestModulePermissionAiConfigurable,
TestPersistedData,
TestModuleConfiguration,
TestGetStateInput,
TestGetStateOutput,
} from "./types"
// Permissions
export type {
ModulePermissions,
ModuleState,
TestIntegration,
TestModulePermissionAiConfigurable as TestModulePermissionAiConfigurableForAgentIntegration,
} from "./integration"