@shipstatic/types 0.8.2 → 0.8.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
@@ -18,6 +18,8 @@ export type DeploymentStatusType = typeof DeploymentStatus[keyof typeof Deployme
18
18
  export interface Deployment {
19
19
  /** The deployment hostname (e.g., 'happy-cat-abc1234.shipstatic.com') */
20
20
  readonly deployment: string;
21
+ /** Full URL to the deployment (e.g., 'https://happy-cat-abc1234.shipstatic.com') */
22
+ readonly url: string;
21
23
  /** Number of files in this deployment */
22
24
  readonly files: number;
23
25
  /** Total size of all files in bytes */
@@ -40,7 +42,7 @@ export interface Deployment {
40
42
  * only present on creation (not on subsequent GET requests).
41
43
  */
42
44
  export interface DeploymentCreateResponse extends Deployment {
43
- /** Claim token for public deployments. Present when deployed without credentials. */
45
+ /** Claim URL for public deployments. Present when deployed without credentials. */
44
46
  readonly claim?: string;
45
47
  }
46
48
  /**
@@ -75,6 +77,8 @@ export type DomainStatusType = typeof DomainStatus[keyof typeof DomainStatus];
75
77
  export interface Domain {
76
78
  /** The domain name */
77
79
  readonly domain: string;
80
+ /** Full URL to the domain (e.g., 'https://www.example.com') */
81
+ readonly url: string;
78
82
  /** The deployment hostname this domain points to (null = domain added but not yet linked) */
79
83
  deployment: string | null;
80
84
  /** Current domain status */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Shared types for ShipStatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -25,6 +25,8 @@ export type DeploymentStatusType = typeof DeploymentStatus[keyof typeof Deployme
25
25
  export interface Deployment {
26
26
  /** The deployment hostname (e.g., 'happy-cat-abc1234.shipstatic.com') */
27
27
  readonly deployment: string;
28
+ /** Full URL to the deployment (e.g., 'https://happy-cat-abc1234.shipstatic.com') */
29
+ readonly url: string;
28
30
  /** Number of files in this deployment */
29
31
  readonly files: number;
30
32
  /** Total size of all files in bytes */
@@ -49,7 +51,7 @@ export interface Deployment {
49
51
  * only present on creation (not on subsequent GET requests).
50
52
  */
51
53
  export interface DeploymentCreateResponse extends Deployment {
52
- /** Claim token for public deployments. Present when deployed without credentials. */
54
+ /** Claim URL for public deployments. Present when deployed without credentials. */
53
55
  readonly claim?: string;
54
56
  }
55
57
 
@@ -92,6 +94,8 @@ export type DomainStatusType = typeof DomainStatus[keyof typeof DomainStatus];
92
94
  export interface Domain {
93
95
  /** The domain name */
94
96
  readonly domain: string;
97
+ /** Full URL to the domain (e.g., 'https://www.example.com') */
98
+ readonly url: string;
95
99
  /** The deployment hostname this domain points to (null = domain added but not yet linked) */
96
100
  deployment: string | null; // Mutable - can be updated to point to different deployment
97
101
  /** Current domain status */