@shipstatic/types 0.1.0 → 0.1.2
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 +2 -0
- package/dist/index.js +4 -1
- package/package.json +13 -3
- package/src/index.ts +2 -2
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 */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @file Shared types for Shipstatic platform
|
|
3
|
+
* Simple, clean types that both API and SDK agree on
|
|
4
|
+
*/
|
|
2
5
|
// =============================================================================
|
|
3
6
|
// ERROR SYSTEM
|
|
4
7
|
// =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared types for Shipstatic platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,9 +21,19 @@
|
|
|
21
21
|
],
|
|
22
22
|
"author": "ShipStatic",
|
|
23
23
|
"license": "MIT",
|
|
24
|
+
"homepage": "https://github.com/shipstatic/types",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/shipstatic/types.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/shipstatic/types/issues"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=20.0.0"
|
|
34
|
+
},
|
|
24
35
|
"devDependencies": {
|
|
25
|
-
"typescript": "^5.8.3"
|
|
26
|
-
"@cloudflare/workers-types": "^4.20241218.0"
|
|
36
|
+
"typescript": "^5.8.3"
|
|
27
37
|
},
|
|
28
38
|
"scripts": {
|
|
29
39
|
"build": "tsc",
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="@cloudflare/workers-types" />
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* @file Shared types for Shipstatic platform
|
|
5
3
|
* Simple, clean types that both API and SDK agree on
|
|
@@ -21,6 +19,8 @@ export interface Deployment {
|
|
|
21
19
|
totalSize: number;
|
|
22
20
|
/** Current deployment status */
|
|
23
21
|
status: 'pending' | 'success' | 'failed';
|
|
22
|
+
/** The deployment URL */
|
|
23
|
+
url: string;
|
|
24
24
|
/** Unix timestamp (seconds) when deployment was created */
|
|
25
25
|
createdAt: number;
|
|
26
26
|
/** Unix timestamp (seconds) when deployment expires */
|