Files
airi/packages/plugin-sdk/src/plugin/shared.ts
T

17 lines
309 B
TypeScript

import type { ChannelControlPlane } from '../channels/shared'
export interface ContextInit {
host: ChannelControlPlane
}
export interface Plugin {
/**
*
*/
init?: (initContext: ContextInit) => Promise<void | undefined | false>
/**
*
*/
setupModules?: () => Promise<void | undefined>
}