@shipstatic/types 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +56 -40
- package/dist/index.js +43 -29
- package/package.json +2 -2
- package/src/index.ts +69 -45
package/dist/index.d.ts
CHANGED
|
@@ -2,28 +2,40 @@
|
|
|
2
2
|
* @file Shared TypeScript types, constants, and utilities for the Shipstatic platform.
|
|
3
3
|
* This package is the single source of truth for all shared data structures.
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* Deployment status constants
|
|
7
|
+
*/
|
|
8
|
+
export declare const DeploymentStatus: {
|
|
9
|
+
readonly PENDING: "pending";
|
|
10
|
+
readonly SUCCESS: "success";
|
|
11
|
+
readonly FAILED: "failed";
|
|
12
|
+
readonly DELETING: "deleting";
|
|
13
|
+
};
|
|
14
|
+
export type DeploymentStatusType = typeof DeploymentStatus[keyof typeof DeploymentStatus];
|
|
5
15
|
/**
|
|
6
16
|
* Core deployment object - used in both API responses and SDK
|
|
7
17
|
*/
|
|
8
18
|
export interface Deployment {
|
|
9
19
|
/** The deployment ID */
|
|
10
|
-
deployment: string;
|
|
20
|
+
readonly deployment: string;
|
|
11
21
|
/** Number of files in this deployment */
|
|
12
|
-
files: number;
|
|
22
|
+
readonly files: number;
|
|
13
23
|
/** Total size of all files in bytes */
|
|
14
|
-
size: number;
|
|
15
|
-
/** Current deployment status
|
|
16
|
-
status:
|
|
24
|
+
readonly size: number;
|
|
25
|
+
/** Current deployment status */
|
|
26
|
+
status: DeploymentStatusType;
|
|
17
27
|
/** Whether deployment has configuration */
|
|
18
|
-
config?: boolean;
|
|
28
|
+
readonly config?: boolean;
|
|
19
29
|
/** The deployment URL */
|
|
20
|
-
url: string;
|
|
30
|
+
readonly url: string;
|
|
21
31
|
/** Unix timestamp (seconds) when deployment was created */
|
|
22
|
-
created: number;
|
|
32
|
+
readonly created: number;
|
|
23
33
|
/** Unix timestamp (seconds) when deployment expires */
|
|
24
34
|
expires?: number;
|
|
25
35
|
/** Unix timestamp (seconds) when deployment was verified and ready */
|
|
26
36
|
verified?: number;
|
|
37
|
+
/** Short-lived JWT token for claiming this deployment (only present for public deployments) */
|
|
38
|
+
claimToken?: string;
|
|
27
39
|
}
|
|
28
40
|
/**
|
|
29
41
|
* Response for listing deployments
|
|
@@ -36,24 +48,33 @@ export interface DeploymentListResponse {
|
|
|
36
48
|
/** Total number of deployments if available */
|
|
37
49
|
total?: number;
|
|
38
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Alias status constants
|
|
53
|
+
*/
|
|
54
|
+
export declare const AliasStatus: {
|
|
55
|
+
readonly PENDING: "pending";
|
|
56
|
+
readonly SUCCESS: "success";
|
|
57
|
+
readonly FAILED: "failed";
|
|
58
|
+
};
|
|
59
|
+
export type AliasStatusType = typeof AliasStatus[keyof typeof AliasStatus];
|
|
39
60
|
/**
|
|
40
61
|
* Core alias object - used in both API responses and SDK
|
|
41
62
|
*/
|
|
42
63
|
export interface Alias {
|
|
43
64
|
/** The alias name */
|
|
44
|
-
alias: string;
|
|
65
|
+
readonly alias: string;
|
|
45
66
|
/** The deployment name this alias points to */
|
|
46
67
|
deployment: string;
|
|
47
68
|
/** Current alias status */
|
|
48
|
-
status:
|
|
69
|
+
status: AliasStatusType;
|
|
49
70
|
/** The alias URL - internal (subdomain) or external (custom domain) */
|
|
50
|
-
url: string;
|
|
71
|
+
readonly url: string;
|
|
51
72
|
/** Unix timestamp (seconds) when alias was created */
|
|
52
|
-
created: number;
|
|
73
|
+
readonly created: number;
|
|
74
|
+
/** Whether this was a create (201) or update (200) operation */
|
|
75
|
+
readonly isCreate?: boolean;
|
|
53
76
|
/** Unix timestamp (seconds) when alias was confirmed */
|
|
54
77
|
confirmed?: number;
|
|
55
|
-
/** Whether this was a create operation (true) or update operation (false). Optional - only present in set operations */
|
|
56
|
-
isCreate?: boolean;
|
|
57
78
|
}
|
|
58
79
|
/**
|
|
59
80
|
* Response for listing aliases
|
|
@@ -77,6 +98,18 @@ export interface DeploymentRemoveResponse {
|
|
|
77
98
|
/** Human-readable message */
|
|
78
99
|
message?: string;
|
|
79
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Account plan constants
|
|
103
|
+
*/
|
|
104
|
+
export declare const AccountPlan: {
|
|
105
|
+
readonly FREE: "free";
|
|
106
|
+
readonly PAID: "paid";
|
|
107
|
+
readonly PARTNER: "partner";
|
|
108
|
+
readonly SUSPENDED: "suspended";
|
|
109
|
+
readonly TERMINATING: "terminating";
|
|
110
|
+
readonly TERMINATED: "terminated";
|
|
111
|
+
};
|
|
112
|
+
export type AccountPlanType = typeof AccountPlan[keyof typeof AccountPlan];
|
|
80
113
|
/**
|
|
81
114
|
* Core account object - used in both API responses and SDK
|
|
82
115
|
*/
|
|
@@ -88,9 +121,11 @@ export interface Account {
|
|
|
88
121
|
/** User profile picture URL */
|
|
89
122
|
picture?: string;
|
|
90
123
|
/** Account plan status */
|
|
91
|
-
plan:
|
|
124
|
+
plan: AccountPlanType;
|
|
92
125
|
/** Unix timestamp (seconds) when account was created */
|
|
93
126
|
created: number;
|
|
127
|
+
/** Unix timestamp (seconds) when account was activated (first deployment) */
|
|
128
|
+
activated?: number;
|
|
94
129
|
}
|
|
95
130
|
/**
|
|
96
131
|
* All possible error types in the Shipstatic platform
|
|
@@ -167,22 +202,6 @@ export declare class ShipError extends Error {
|
|
|
167
202
|
isConfigError(): boolean;
|
|
168
203
|
isType(errorType: ErrorType): boolean;
|
|
169
204
|
}
|
|
170
|
-
/**
|
|
171
|
-
* Server-side platform configuration - enforced limits on the platform
|
|
172
|
-
*/
|
|
173
|
-
export declare const serverConfig: {
|
|
174
|
-
/** Maximum individual file size in bytes (10MB) */
|
|
175
|
-
readonly maxFileSize: number;
|
|
176
|
-
/** Maximum number of files per deployment */
|
|
177
|
-
readonly maxFilesCount: 1000;
|
|
178
|
-
/** Maximum total deployment size in bytes (100MB) */
|
|
179
|
-
readonly maxTotalSize: number;
|
|
180
|
-
/** Deployment expiry in hours */
|
|
181
|
-
readonly deploymentExpiryHours: 120;
|
|
182
|
-
/** Pagination limits */
|
|
183
|
-
readonly defaultLimit: 50;
|
|
184
|
-
readonly maxLimit: 100;
|
|
185
|
-
};
|
|
186
205
|
/**
|
|
187
206
|
* Platform configuration response from API
|
|
188
207
|
*/
|
|
@@ -218,6 +237,12 @@ export declare const API_KEY_TOTAL_LENGTH: number;
|
|
|
218
237
|
export declare const DEPLOY_TOKEN_PREFIX = "token-";
|
|
219
238
|
export declare const DEPLOY_TOKEN_HEX_LENGTH = 64;
|
|
220
239
|
export declare const DEPLOY_TOKEN_TOTAL_LENGTH: number;
|
|
240
|
+
export declare const AuthMethod: {
|
|
241
|
+
readonly JWT: "jwt";
|
|
242
|
+
readonly API_KEY: "apiKey";
|
|
243
|
+
readonly TOKEN: "token";
|
|
244
|
+
};
|
|
245
|
+
export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];
|
|
221
246
|
export declare const DEPLOYMENT_CONFIG_FILENAME = "ship.json";
|
|
222
247
|
/**
|
|
223
248
|
* Validate API key format
|
|
@@ -347,15 +372,6 @@ export interface UploadedFile {
|
|
|
347
372
|
size: number;
|
|
348
373
|
validated?: boolean;
|
|
349
374
|
}
|
|
350
|
-
/**
|
|
351
|
-
* Deployment status enumeration
|
|
352
|
-
*/
|
|
353
|
-
export declare enum DeploymentStatus {
|
|
354
|
-
PENDING = "pending",
|
|
355
|
-
SUCCESS = "success",
|
|
356
|
-
FAILED = "failed",
|
|
357
|
-
DELETING = "deleting"
|
|
358
|
-
}
|
|
359
375
|
/**
|
|
360
376
|
* Rate limiting data structure
|
|
361
377
|
*/
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
3
3
|
* This package is the single source of truth for all shared data structures.
|
|
4
4
|
*/
|
|
5
5
|
// =============================================================================
|
|
6
|
+
// I. CORE ENTITIES
|
|
7
|
+
// =============================================================================
|
|
8
|
+
/**
|
|
9
|
+
* Deployment status constants
|
|
10
|
+
*/
|
|
11
|
+
export const DeploymentStatus = {
|
|
12
|
+
PENDING: 'pending',
|
|
13
|
+
SUCCESS: 'success',
|
|
14
|
+
FAILED: 'failed',
|
|
15
|
+
DELETING: 'deleting'
|
|
16
|
+
};
|
|
17
|
+
// =============================================================================
|
|
18
|
+
// ALIAS TYPES
|
|
19
|
+
// =============================================================================
|
|
20
|
+
/**
|
|
21
|
+
* Alias status constants
|
|
22
|
+
*/
|
|
23
|
+
export const AliasStatus = {
|
|
24
|
+
PENDING: 'pending',
|
|
25
|
+
SUCCESS: 'success',
|
|
26
|
+
FAILED: 'failed'
|
|
27
|
+
};
|
|
28
|
+
// =============================================================================
|
|
29
|
+
// ACCOUNT TYPES
|
|
30
|
+
// =============================================================================
|
|
31
|
+
/**
|
|
32
|
+
* Account plan constants
|
|
33
|
+
*/
|
|
34
|
+
export const AccountPlan = {
|
|
35
|
+
FREE: 'free',
|
|
36
|
+
PAID: 'paid',
|
|
37
|
+
PARTNER: 'partner',
|
|
38
|
+
SUSPENDED: 'suspended',
|
|
39
|
+
TERMINATING: 'terminating',
|
|
40
|
+
TERMINATED: 'terminated'
|
|
41
|
+
};
|
|
42
|
+
// =============================================================================
|
|
6
43
|
// ERROR SYSTEM
|
|
7
44
|
// =============================================================================
|
|
8
45
|
/**
|
|
@@ -142,25 +179,6 @@ export class ShipError extends Error {
|
|
|
142
179
|
return this.type === errorType;
|
|
143
180
|
}
|
|
144
181
|
}
|
|
145
|
-
// =============================================================================
|
|
146
|
-
// CONFIGURATION CONSTANTS
|
|
147
|
-
// =============================================================================
|
|
148
|
-
/**
|
|
149
|
-
* Server-side platform configuration - enforced limits on the platform
|
|
150
|
-
*/
|
|
151
|
-
export const serverConfig = {
|
|
152
|
-
/** Maximum individual file size in bytes (10MB) */
|
|
153
|
-
maxFileSize: 10 * 1024 * 1024,
|
|
154
|
-
/** Maximum number of files per deployment */
|
|
155
|
-
maxFilesCount: 1000,
|
|
156
|
-
/** Maximum total deployment size in bytes (100MB) */
|
|
157
|
-
maxTotalSize: 100 * 1024 * 1024,
|
|
158
|
-
/** Deployment expiry in hours */
|
|
159
|
-
deploymentExpiryHours: 120, // 5 days
|
|
160
|
-
/** Pagination limits */
|
|
161
|
-
defaultLimit: 50,
|
|
162
|
-
maxLimit: 100,
|
|
163
|
-
};
|
|
164
182
|
// API Key Configuration
|
|
165
183
|
export const API_KEY_PREFIX = 'ship-';
|
|
166
184
|
export const API_KEY_HEX_LENGTH = 64;
|
|
@@ -169,6 +187,12 @@ export const API_KEY_TOTAL_LENGTH = API_KEY_PREFIX.length + API_KEY_HEX_LENGTH;
|
|
|
169
187
|
export const DEPLOY_TOKEN_PREFIX = 'token-';
|
|
170
188
|
export const DEPLOY_TOKEN_HEX_LENGTH = 64;
|
|
171
189
|
export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOKEN_HEX_LENGTH; // 70
|
|
190
|
+
// Authentication Method Constants
|
|
191
|
+
export const AuthMethod = {
|
|
192
|
+
JWT: 'jwt',
|
|
193
|
+
API_KEY: 'apiKey',
|
|
194
|
+
TOKEN: 'token'
|
|
195
|
+
};
|
|
172
196
|
// Deployment Configuration
|
|
173
197
|
export const DEPLOYMENT_CONFIG_FILENAME = 'ship.json';
|
|
174
198
|
// =============================================================================
|
|
@@ -239,16 +263,6 @@ export function validateSubdomain(input) {
|
|
|
239
263
|
// =============================================================================
|
|
240
264
|
/** Default API URL if not otherwise configured. */
|
|
241
265
|
export const DEFAULT_API = 'https://api.shipstatic.com';
|
|
242
|
-
/**
|
|
243
|
-
* Deployment status enumeration
|
|
244
|
-
*/
|
|
245
|
-
export var DeploymentStatus;
|
|
246
|
-
(function (DeploymentStatus) {
|
|
247
|
-
DeploymentStatus["PENDING"] = "pending";
|
|
248
|
-
DeploymentStatus["SUCCESS"] = "success";
|
|
249
|
-
DeploymentStatus["FAILED"] = "failed";
|
|
250
|
-
DeploymentStatus["DELETING"] = "deleting";
|
|
251
|
-
})(DeploymentStatus || (DeploymentStatus = {}));
|
|
252
266
|
// =============================================================================
|
|
253
267
|
// URL GENERATION UTILITIES
|
|
254
268
|
// =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Shared types for Shipstatic platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^24.3.0",
|
|
37
|
-
"typescript": "^5.
|
|
37
|
+
"typescript": "^5.9.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc",
|
package/src/index.ts
CHANGED
|
@@ -7,28 +7,42 @@
|
|
|
7
7
|
// I. CORE ENTITIES
|
|
8
8
|
// =============================================================================
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Deployment status constants
|
|
12
|
+
*/
|
|
13
|
+
export const DeploymentStatus = {
|
|
14
|
+
PENDING: 'pending',
|
|
15
|
+
SUCCESS: 'success',
|
|
16
|
+
FAILED: 'failed',
|
|
17
|
+
DELETING: 'deleting'
|
|
18
|
+
} as const;
|
|
19
|
+
|
|
20
|
+
export type DeploymentStatusType = typeof DeploymentStatus[keyof typeof DeploymentStatus];
|
|
21
|
+
|
|
10
22
|
/**
|
|
11
23
|
* Core deployment object - used in both API responses and SDK
|
|
12
24
|
*/
|
|
13
25
|
export interface Deployment {
|
|
14
26
|
/** The deployment ID */
|
|
15
|
-
deployment: string;
|
|
27
|
+
readonly deployment: string;
|
|
16
28
|
/** Number of files in this deployment */
|
|
17
|
-
files: number;
|
|
29
|
+
readonly files: number;
|
|
18
30
|
/** Total size of all files in bytes */
|
|
19
|
-
size: number;
|
|
20
|
-
/** Current deployment status
|
|
21
|
-
status:
|
|
31
|
+
readonly size: number;
|
|
32
|
+
/** Current deployment status */
|
|
33
|
+
status: DeploymentStatusType; // Mutable - can be updated
|
|
22
34
|
/** Whether deployment has configuration */
|
|
23
|
-
config?: boolean;
|
|
35
|
+
readonly config?: boolean;
|
|
24
36
|
/** The deployment URL */
|
|
25
|
-
url: string;
|
|
37
|
+
readonly url: string;
|
|
26
38
|
/** Unix timestamp (seconds) when deployment was created */
|
|
27
|
-
created: number;
|
|
39
|
+
readonly created: number;
|
|
28
40
|
/** Unix timestamp (seconds) when deployment expires */
|
|
29
|
-
expires?: number;
|
|
41
|
+
expires?: number; // Mutable - can be updated
|
|
30
42
|
/** Unix timestamp (seconds) when deployment was verified and ready */
|
|
31
|
-
verified?: number;
|
|
43
|
+
verified?: number; // Mutable - can be updated
|
|
44
|
+
/** Short-lived JWT token for claiming this deployment (only present for public deployments) */
|
|
45
|
+
claimToken?: string; // Mutable - can be updated
|
|
32
46
|
}
|
|
33
47
|
|
|
34
48
|
|
|
@@ -48,24 +62,35 @@ export interface DeploymentListResponse {
|
|
|
48
62
|
// ALIAS TYPES
|
|
49
63
|
// =============================================================================
|
|
50
64
|
|
|
65
|
+
/**
|
|
66
|
+
* Alias status constants
|
|
67
|
+
*/
|
|
68
|
+
export const AliasStatus = {
|
|
69
|
+
PENDING: 'pending',
|
|
70
|
+
SUCCESS: 'success',
|
|
71
|
+
FAILED: 'failed'
|
|
72
|
+
} as const;
|
|
73
|
+
|
|
74
|
+
export type AliasStatusType = typeof AliasStatus[keyof typeof AliasStatus];
|
|
75
|
+
|
|
51
76
|
/**
|
|
52
77
|
* Core alias object - used in both API responses and SDK
|
|
53
78
|
*/
|
|
54
79
|
export interface Alias {
|
|
55
80
|
/** The alias name */
|
|
56
|
-
alias: string;
|
|
81
|
+
readonly alias: string;
|
|
57
82
|
/** The deployment name this alias points to */
|
|
58
|
-
deployment: string;
|
|
83
|
+
deployment: string; // Mutable - can be updated to point to different deployment
|
|
59
84
|
/** Current alias status */
|
|
60
|
-
status:
|
|
85
|
+
status: AliasStatusType; // Mutable - can be updated
|
|
61
86
|
/** The alias URL - internal (subdomain) or external (custom domain) */
|
|
62
|
-
url: string;
|
|
87
|
+
readonly url: string;
|
|
63
88
|
/** Unix timestamp (seconds) when alias was created */
|
|
64
|
-
created: number;
|
|
89
|
+
readonly created: number;
|
|
90
|
+
/** Whether this was a create (201) or update (200) operation */
|
|
91
|
+
readonly isCreate?: boolean;
|
|
65
92
|
/** Unix timestamp (seconds) when alias was confirmed */
|
|
66
|
-
confirmed?: number;
|
|
67
|
-
/** Whether this was a create operation (true) or update operation (false). Optional - only present in set operations */
|
|
68
|
-
isCreate?: boolean;
|
|
93
|
+
confirmed?: number; // Mutable - can be updated
|
|
69
94
|
}
|
|
70
95
|
|
|
71
96
|
/**
|
|
@@ -96,6 +121,20 @@ export interface DeploymentRemoveResponse {
|
|
|
96
121
|
// ACCOUNT TYPES
|
|
97
122
|
// =============================================================================
|
|
98
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Account plan constants
|
|
126
|
+
*/
|
|
127
|
+
export const AccountPlan = {
|
|
128
|
+
FREE: 'free',
|
|
129
|
+
PAID: 'paid',
|
|
130
|
+
PARTNER: 'partner',
|
|
131
|
+
SUSPENDED: 'suspended',
|
|
132
|
+
TERMINATING: 'terminating',
|
|
133
|
+
TERMINATED: 'terminated'
|
|
134
|
+
} as const;
|
|
135
|
+
|
|
136
|
+
export type AccountPlanType = typeof AccountPlan[keyof typeof AccountPlan];
|
|
137
|
+
|
|
99
138
|
/**
|
|
100
139
|
* Core account object - used in both API responses and SDK
|
|
101
140
|
*/
|
|
@@ -107,9 +146,11 @@ export interface Account {
|
|
|
107
146
|
/** User profile picture URL */
|
|
108
147
|
picture?: string;
|
|
109
148
|
/** Account plan status */
|
|
110
|
-
plan:
|
|
149
|
+
plan: AccountPlanType;
|
|
111
150
|
/** Unix timestamp (seconds) when account was created */
|
|
112
151
|
created: number;
|
|
152
|
+
/** Unix timestamp (seconds) when account was activated (first deployment) */
|
|
153
|
+
activated?: number;
|
|
113
154
|
}
|
|
114
155
|
|
|
115
156
|
// =============================================================================
|
|
@@ -298,22 +339,6 @@ export class ShipError extends Error {
|
|
|
298
339
|
// CONFIGURATION CONSTANTS
|
|
299
340
|
// =============================================================================
|
|
300
341
|
|
|
301
|
-
/**
|
|
302
|
-
* Server-side platform configuration - enforced limits on the platform
|
|
303
|
-
*/
|
|
304
|
-
export const serverConfig = {
|
|
305
|
-
/** Maximum individual file size in bytes (10MB) */
|
|
306
|
-
maxFileSize: 10 * 1024 * 1024,
|
|
307
|
-
/** Maximum number of files per deployment */
|
|
308
|
-
maxFilesCount: 1000,
|
|
309
|
-
/** Maximum total deployment size in bytes (100MB) */
|
|
310
|
-
maxTotalSize: 100 * 1024 * 1024,
|
|
311
|
-
/** Deployment expiry in hours */
|
|
312
|
-
deploymentExpiryHours: 120, // 5 days
|
|
313
|
-
/** Pagination limits */
|
|
314
|
-
defaultLimit: 50,
|
|
315
|
-
maxLimit: 100,
|
|
316
|
-
} as const;
|
|
317
342
|
|
|
318
343
|
|
|
319
344
|
|
|
@@ -368,6 +393,15 @@ export const DEPLOY_TOKEN_PREFIX = 'token-';
|
|
|
368
393
|
export const DEPLOY_TOKEN_HEX_LENGTH = 64;
|
|
369
394
|
export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOKEN_HEX_LENGTH; // 70
|
|
370
395
|
|
|
396
|
+
// Authentication Method Constants
|
|
397
|
+
export const AuthMethod = {
|
|
398
|
+
JWT: 'jwt',
|
|
399
|
+
API_KEY: 'apiKey',
|
|
400
|
+
TOKEN: 'token'
|
|
401
|
+
} as const;
|
|
402
|
+
|
|
403
|
+
export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];
|
|
404
|
+
|
|
371
405
|
// Deployment Configuration
|
|
372
406
|
export const DEPLOYMENT_CONFIG_FILENAME = 'ship.json';
|
|
373
407
|
|
|
@@ -588,16 +622,6 @@ export interface UploadedFile {
|
|
|
588
622
|
validated?: boolean;
|
|
589
623
|
}
|
|
590
624
|
|
|
591
|
-
/**
|
|
592
|
-
* Deployment status enumeration
|
|
593
|
-
*/
|
|
594
|
-
export enum DeploymentStatus {
|
|
595
|
-
PENDING = 'pending',
|
|
596
|
-
SUCCESS = 'success',
|
|
597
|
-
FAILED = 'failed',
|
|
598
|
-
DELETING = 'deleting'
|
|
599
|
-
}
|
|
600
|
-
|
|
601
625
|
/**
|
|
602
626
|
* Rate limiting data structure
|
|
603
627
|
*/
|