Merge branch 'main' into main
This commit is contained in:
@@ -2,18 +2,64 @@ export interface NetlifySite {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
ssl_url?: string;
|
||||
admin_url: string;
|
||||
screenshot_url?: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
state?: string;
|
||||
branch?: string;
|
||||
custom_domain?: string;
|
||||
build_settings: {
|
||||
provider: string;
|
||||
repo_url: string;
|
||||
repo_branch?: string;
|
||||
cmd: string;
|
||||
};
|
||||
published_deploy: {
|
||||
id?: string;
|
||||
published_at: string;
|
||||
deploy_time: number;
|
||||
state?: string;
|
||||
branch?: string;
|
||||
commit_ref?: string;
|
||||
commit_url?: string;
|
||||
error_message?: string;
|
||||
framework?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface NetlifyDeploy {
|
||||
id: string;
|
||||
site_id: string;
|
||||
state: string;
|
||||
name: string;
|
||||
url: string;
|
||||
ssl_url?: string;
|
||||
admin_url?: string;
|
||||
deploy_url: string;
|
||||
deploy_ssl_url?: string;
|
||||
screenshot_url?: string;
|
||||
branch: string;
|
||||
commit_ref?: string;
|
||||
commit_url?: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
published_at?: string;
|
||||
title?: string;
|
||||
framework?: string;
|
||||
error_message?: string;
|
||||
}
|
||||
|
||||
export interface NetlifyBuild {
|
||||
id: string;
|
||||
deploy_id: string;
|
||||
sha?: string;
|
||||
done: boolean;
|
||||
error?: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface NetlifyUser {
|
||||
id: string;
|
||||
slug: string;
|
||||
@@ -25,6 +71,9 @@ export interface NetlifyUser {
|
||||
export interface NetlifyStats {
|
||||
sites: NetlifySite[];
|
||||
totalSites: number;
|
||||
deploys?: NetlifyDeploy[];
|
||||
builds?: NetlifyBuild[];
|
||||
lastDeployTime?: string;
|
||||
}
|
||||
|
||||
export interface NetlifyConnection {
|
||||
|
||||
Reference in New Issue
Block a user