🎉 first commit
This commit is contained in:
40
app/types/vercel.ts
Normal file
40
app/types/vercel.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export interface VercelUser {
|
||||
user: any;
|
||||
id: string;
|
||||
username: string;
|
||||
email: string;
|
||||
name: string;
|
||||
avatar?: string;
|
||||
}
|
||||
|
||||
export interface VercelProject {
|
||||
createdAt: string | number | Date;
|
||||
targets: any;
|
||||
id: string;
|
||||
name: string;
|
||||
framework?: string;
|
||||
latestDeployments?: Array<{
|
||||
id: string;
|
||||
url: string;
|
||||
created: number;
|
||||
state: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
export interface VercelStats {
|
||||
projects: VercelProject[];
|
||||
totalProjects: number;
|
||||
}
|
||||
|
||||
export interface VercelConnection {
|
||||
isConnect: boolean;
|
||||
user: VercelUser | null;
|
||||
stats?: VercelStats;
|
||||
}
|
||||
|
||||
export interface VercelProjectInfo {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
chatId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user