mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-03-09 21:50:36 +00:00
42 lines
678 B
TypeScript
42 lines
678 B
TypeScript
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;
|
|
}
|