fix: remove monorepo

This commit is contained in:
Sam Denty
2024-09-25 19:54:09 +01:00
parent d364a6f774
commit 6fb59d2bc5
137 changed files with 194 additions and 1229 deletions

18
app/types/actions.ts Normal file
View 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;

4
app/types/artifact.ts Normal file
View File

@@ -0,0 +1,4 @@
export interface BoltArtifactData {
id: string;
title: string;
}

8
app/types/terminal.ts Normal file
View File

@@ -0,0 +1,8 @@
export interface ITerminal {
readonly cols?: number;
readonly rows?: number;
reset: () => void;
write: (data: string) => void;
onData: (cb: (data: string) => void) => void;
}

1
app/types/theme.ts Normal file
View File

@@ -0,0 +1 @@
export type Theme = 'dark' | 'light';