You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/remove-preview-deployments.ts
+89-29Lines changed: 89 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -32,64 +32,116 @@ if (!VERCEL_PROJECT_ID) {
32
32
thrownewError('VERCEL_PROJECT_ID is not set');
33
33
}
34
34
35
-
/** This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */
35
+
/**
36
+
* This object contains information related to the pagination of the current
37
+
* request, including the necessary parameters to get the next or previous page
38
+
* of data.
39
+
*/
36
40
interfacePagination{
37
-
/** Amount of items in the current page. */
41
+
/**
42
+
* Amount of items in the current page.
43
+
*/
38
44
count: number;
39
-
/** Timestamp that must be used to request the next page. */
45
+
/**
46
+
* Timestamp that must be used to request the next page.
47
+
*/
40
48
next: number|null;
41
-
/** Timestamp that must be used to request the previous page. */
49
+
/**
50
+
* Timestamp that must be used to request the previous page.
51
+
*/
42
52
prev: number|null;
43
53
}
44
54
45
55
interfaceResponse{
46
56
deployments: {
47
-
/** Timestamp of when the deployment got created. */
57
+
/**
58
+
* Timestamp of when the deployment got created.
59
+
* */
48
60
created: number;
49
-
/** Metadata information of the user who created the deployment. */
61
+
/**
62
+
* Metadata information of the user who created the deployment.
63
+
*/
50
64
creator: {
51
-
/** The unique identifier of the user. */
65
+
/**
66
+
* The unique identifier of the user.
67
+
*/
52
68
uid: string;
53
-
/** The email address of the user. */
69
+
/**
70
+
* The email address of the user.
71
+
*/
54
72
email?: string;
55
-
/** The GitHub login of the user. */
73
+
/**
74
+
* The GitHub login of the user.
75
+
*/
56
76
githubLogin?: string;
57
-
/** The GitLab login of the user. */
77
+
/**
78
+
* The GitLab login of the user.
79
+
*/
58
80
gitlabLogin?: string;
59
-
/** The username of the user. */
81
+
/**
82
+
* The username of the user.
83
+
*/
60
84
username?: string;
61
85
};
62
-
/** Vercel URL to inspect the deployment. */
86
+
/**
87
+
* Vercel URL to inspect the deployment.
88
+
*/
63
89
inspectorUrl: string|null;
64
-
/** The name of the deployment. */
90
+
/**
91
+
* The name of the deployment.
92
+
*/
65
93
name: string;
66
-
/** The type of the deployment. */
94
+
/**
95
+
* The type of the deployment.
96
+
*/
67
97
type: 'LAMBDAS';
68
-
/** The unique identifier of the deployment. */
98
+
/**
99
+
* The unique identifier of the deployment.
100
+
*/
69
101
uid: string;
70
-
/** The URL of the deployment. */
102
+
/**
103
+
* The URL of the deployment.
104
+
*/
71
105
url: string;
72
106
aliasAssigned?: (number|boolean)|null;
73
-
/** An error object in case aliasing of the deployment failed. */
107
+
/**
108
+
* An error object in case aliasing of the deployment failed.
109
+
*/
74
110
aliasError?: {
75
111
code: string;
76
112
message: string;
77
113
}|null;
78
-
/** Timestamp of when the deployment started building at. */
114
+
/**
115
+
* Timestamp of when the deployment started building at.
0 commit comments