Spaces:
Running
Running
File size: 360 Bytes
8481fea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
export type ActionType = 'file' | 'shell';
export interface BaseAction {
content: string;
}
export interface FileAction extends BaseAction {
type: 'file';
filePath: string;
}
export interface ShellAction extends BaseAction {
type: 'shell';
}
export type BoltAction = FileAction | ShellAction;
export type BoltActionData = BoltAction | BaseAction;
|