@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 +3 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
- package/src/index.ts +6 -1
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
package/package.json
CHANGED
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';
|