@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 CHANGED
@@ -348,11 +348,13 @@ export interface UploadedFile {
348
348
  validated?: boolean;
349
349
  }
350
350
  /**
351
- * Deployment status - computed from verified timestamp
351
+ * Deployment status enumeration
352
352
  */
353
353
  export declare enum DeploymentStatus {
354
- INCOMPLETE = "incomplete",// verified IS NULL
355
- COMPLETE = "complete"
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 - computed from verified timestamp
243
+ * Deployment status enumeration
244
244
  */
245
245
  export var DeploymentStatus;
246
246
  (function (DeploymentStatus) {
247
- DeploymentStatus["INCOMPLETE"] = "incomplete";
248
- DeploymentStatus["COMPLETE"] = "complete"; // verified IS NOT NULL
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -589,11 +589,13 @@ export interface UploadedFile {
589
589
  }
590
590
 
591
591
  /**
592
- * Deployment status - computed from verified timestamp
592
+ * Deployment status enumeration
593
593
  */
594
594
  export enum DeploymentStatus {
595
- INCOMPLETE = 'incomplete', // verified IS NULL
596
- COMPLETE = 'complete' // verified IS NOT NULL
595
+ PENDING = 'pending',
596
+ SUCCESS = 'success',
597
+ FAILED = 'failed',
598
+ DELETING = 'deleting'
597
599
  }
598
600
 
599
601
  /**