@shipstatic/types 0.1.1 → 0.1.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
@@ -14,6 +14,8 @@ export interface Deployment {
14
14
  totalSize: number;
15
15
  /** Current deployment status */
16
16
  status: 'pending' | 'success' | 'failed';
17
+ /** The deployment URL */
18
+ url: string;
17
19
  /** Unix timestamp (seconds) when deployment was created */
18
20
  createdAt: number;
19
21
  /** Unix timestamp (seconds) when deployment expires */
@@ -207,3 +209,4 @@ export interface PingResponse {
207
209
  timestamp?: number;
208
210
  }
209
211
  export declare const API_KEY_PREFIX = "ship-";
212
+ export declare const DEPLOYMENT_CONFIG_FILENAME = "ship.json";
package/dist/index.js CHANGED
@@ -153,3 +153,5 @@ export const serverConfig = {
153
153
  };
154
154
  // API Key Configuration
155
155
  export const API_KEY_PREFIX = 'ship-';
156
+ // Deployment Configuration
157
+ export const DEPLOYMENT_CONFIG_FILENAME = 'ship.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -19,6 +19,8 @@ export interface Deployment {
19
19
  totalSize: number;
20
20
  /** Current deployment status */
21
21
  status: 'pending' | 'success' | 'failed';
22
+ /** The deployment URL */
23
+ url: string;
22
24
  /** Unix timestamp (seconds) when deployment was created */
23
25
  createdAt: number;
24
26
  /** Unix timestamp (seconds) when deployment expires */
@@ -342,4 +344,7 @@ export interface PingResponse {
342
344
 
343
345
 
344
346
  // API Key Configuration
345
- export const API_KEY_PREFIX = 'ship-';
347
+ export const API_KEY_PREFIX = 'ship-';
348
+
349
+ // Deployment Configuration
350
+ export const DEPLOYMENT_CONFIG_FILENAME = 'ship.json';