Merge branch 'main' into diff-view-v2

This commit is contained in:
Toddyclipsgg
2025-02-25 19:29:59 -03:00
committed by GitHub
19 changed files with 1580 additions and 658 deletions

View File

@@ -19,7 +19,11 @@ export interface StartAction extends BaseAction {
type: 'start';
}
export type BoltAction = FileAction | ShellAction | StartAction;
export interface BuildAction extends BaseAction {
type: 'build';
}
export type BoltAction = FileAction | ShellAction | StartAction | BuildAction;
export type BoltActionData = BoltAction | BaseAction;

41
app/types/netlify.ts Normal file
View File

@@ -0,0 +1,41 @@
export interface NetlifySite {
id: string;
name: string;
url: string;
admin_url: string;
build_settings: {
provider: string;
repo_url: string;
cmd: string;
};
published_deploy: {
published_at: string;
deploy_time: number;
};
}
export interface NetlifyUser {
id: string;
slug: string;
email: string;
full_name: string;
avatar_url: string;
}
export interface NetlifyStats {
sites: NetlifySite[];
totalSites: number;
}
export interface NetlifyConnection {
user: NetlifyUser | null;
token: string;
stats?: NetlifyStats;
}
export interface NetlifySiteInfo {
id: string;
name: string;
url: string;
chatId: string;
}