chore: import upstream snapshot with attribution
This commit is contained in:
@@ -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;
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface BoltArtifactData {
|
||||
id: string;
|
||||
title: string;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export type Theme = 'dark' | 'light';
|
||||
Reference in New Issue
Block a user