fix: remove monorepo
This commit is contained in:
18
app/types/actions.ts
Normal file
18
app/types/actions.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user