@shipstatic/types 0.2.2 → 0.2.3
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 +5 -3
- package/dist/index.js +5 -3
- package/package.json +1 -1
- package/src/index.ts +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -348,11 +348,13 @@ export interface UploadedFile {
|
|
|
348
348
|
validated?: boolean;
|
|
349
349
|
}
|
|
350
350
|
/**
|
|
351
|
-
* Deployment status
|
|
351
|
+
* Deployment status enumeration
|
|
352
352
|
*/
|
|
353
353
|
export declare enum DeploymentStatus {
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
PENDING = "pending",
|
|
355
|
+
SUCCESS = "success",
|
|
356
|
+
FAILED = "failed",
|
|
357
|
+
DELETING = "deleting"
|
|
356
358
|
}
|
|
357
359
|
/**
|
|
358
360
|
* Rate limiting data structure
|
package/dist/index.js
CHANGED
|
@@ -240,12 +240,14 @@ export function validateSubdomain(input) {
|
|
|
240
240
|
/** Default API URL if not otherwise configured. */
|
|
241
241
|
export const DEFAULT_API = 'https://api.shipstatic.com';
|
|
242
242
|
/**
|
|
243
|
-
* Deployment status
|
|
243
|
+
* Deployment status enumeration
|
|
244
244
|
*/
|
|
245
245
|
export var DeploymentStatus;
|
|
246
246
|
(function (DeploymentStatus) {
|
|
247
|
-
DeploymentStatus["
|
|
248
|
-
DeploymentStatus["
|
|
247
|
+
DeploymentStatus["PENDING"] = "pending";
|
|
248
|
+
DeploymentStatus["SUCCESS"] = "success";
|
|
249
|
+
DeploymentStatus["FAILED"] = "failed";
|
|
250
|
+
DeploymentStatus["DELETING"] = "deleting";
|
|
249
251
|
})(DeploymentStatus || (DeploymentStatus = {}));
|
|
250
252
|
// =============================================================================
|
|
251
253
|
// URL GENERATION UTILITIES
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -589,11 +589,13 @@ export interface UploadedFile {
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
|
-
* Deployment status
|
|
592
|
+
* Deployment status enumeration
|
|
593
593
|
*/
|
|
594
594
|
export enum DeploymentStatus {
|
|
595
|
-
|
|
596
|
-
|
|
595
|
+
PENDING = 'pending',
|
|
596
|
+
SUCCESS = 'success',
|
|
597
|
+
FAILED = 'failed',
|
|
598
|
+
DELETING = 'deleting'
|
|
597
599
|
}
|
|
598
600
|
|
|
599
601
|
/**
|