mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 14:59:35 +00:00
35 lines
750 B
TypeScript
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"
|