@shipstatic/types 0.4.5 → 0.4.7
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 +6 -12
- package/package.json +1 -1
- package/src/index.ts +6 -12
package/dist/index.d.ts
CHANGED
|
@@ -36,8 +36,6 @@ export interface Deployment {
|
|
|
36
36
|
readonly created: number;
|
|
37
37
|
/** Unix timestamp (seconds) when deployment expires */
|
|
38
38
|
expires?: number;
|
|
39
|
-
/** Unix timestamp (seconds) when deployment was reviewed (content moderation) */
|
|
40
|
-
reviewed?: number;
|
|
41
39
|
/** Short-lived JWT token for claiming this deployment (only present for public deployments) */
|
|
42
40
|
claimToken?: string;
|
|
43
41
|
}
|
|
@@ -79,14 +77,10 @@ export interface Domain {
|
|
|
79
77
|
readonly created: number;
|
|
80
78
|
/** Whether this was a create (201) or update (200) operation */
|
|
81
79
|
readonly isCreate?: boolean;
|
|
82
|
-
/** When
|
|
83
|
-
|
|
84
|
-
/** Total
|
|
85
|
-
|
|
86
|
-
/** When deployment was last bound (Unix timestamp, null if never) */
|
|
87
|
-
bound?: number;
|
|
88
|
-
/** Total deployment bindings */
|
|
89
|
-
bindings?: number;
|
|
80
|
+
/** When deployment was last linked (Unix timestamp, null if never) */
|
|
81
|
+
linked?: number;
|
|
82
|
+
/** Total deployment links */
|
|
83
|
+
links?: number;
|
|
90
84
|
}
|
|
91
85
|
/**
|
|
92
86
|
* Response for listing domains
|
|
@@ -160,7 +154,7 @@ export interface Token {
|
|
|
160
154
|
readonly token: string;
|
|
161
155
|
/** The account this token belongs to */
|
|
162
156
|
readonly account: string;
|
|
163
|
-
/** Optional IP address
|
|
157
|
+
/** Optional IP address locking for security */
|
|
164
158
|
readonly ip?: string;
|
|
165
159
|
/** Optional array of tags for categorization and filtering (lowercase, alphanumeric with separators) */
|
|
166
160
|
tags?: string[];
|
|
@@ -621,7 +615,7 @@ export interface ActivityMeta {
|
|
|
621
615
|
isUpdate?: boolean;
|
|
622
616
|
/** Whether domain was already verified */
|
|
623
617
|
wasVerified?: boolean;
|
|
624
|
-
/** Previous deployment ID before
|
|
618
|
+
/** Previous deployment ID before relinking */
|
|
625
619
|
previousDeployment?: string;
|
|
626
620
|
/** Tags that were set/updated */
|
|
627
621
|
tags?: string[];
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -43,8 +43,6 @@ export interface Deployment {
|
|
|
43
43
|
readonly created: number;
|
|
44
44
|
/** Unix timestamp (seconds) when deployment expires */
|
|
45
45
|
expires?: number; // Mutable - can be updated
|
|
46
|
-
/** Unix timestamp (seconds) when deployment was reviewed (content moderation) */
|
|
47
|
-
reviewed?: number; // Mutable - can be updated
|
|
48
46
|
/** Short-lived JWT token for claiming this deployment (only present for public deployments) */
|
|
49
47
|
claimToken?: string; // Mutable - can be updated
|
|
50
48
|
}
|
|
@@ -95,14 +93,10 @@ export interface Domain {
|
|
|
95
93
|
readonly created: number;
|
|
96
94
|
/** Whether this was a create (201) or update (200) operation */
|
|
97
95
|
readonly isCreate?: boolean;
|
|
98
|
-
/** When
|
|
99
|
-
|
|
100
|
-
/** Total
|
|
101
|
-
|
|
102
|
-
/** When deployment was last bound (Unix timestamp, null if never) */
|
|
103
|
-
bound?: number;
|
|
104
|
-
/** Total deployment bindings */
|
|
105
|
-
bindings?: number;
|
|
96
|
+
/** When deployment was last linked (Unix timestamp, null if never) */
|
|
97
|
+
linked?: number;
|
|
98
|
+
/** Total deployment links */
|
|
99
|
+
links?: number;
|
|
106
100
|
}
|
|
107
101
|
|
|
108
102
|
/**
|
|
@@ -186,7 +180,7 @@ export interface Token {
|
|
|
186
180
|
readonly token: string;
|
|
187
181
|
/** The account this token belongs to */
|
|
188
182
|
readonly account: string;
|
|
189
|
-
/** Optional IP address
|
|
183
|
+
/** Optional IP address locking for security */
|
|
190
184
|
readonly ip?: string;
|
|
191
185
|
/** Optional array of tags for categorization and filtering (lowercase, alphanumeric with separators) */
|
|
192
186
|
tags?: string[];
|
|
@@ -943,7 +937,7 @@ export interface ActivityMeta {
|
|
|
943
937
|
isUpdate?: boolean;
|
|
944
938
|
/** Whether domain was already verified */
|
|
945
939
|
wasVerified?: boolean;
|
|
946
|
-
/** Previous deployment ID before
|
|
940
|
+
/** Previous deployment ID before relinking */
|
|
947
941
|
previousDeployment?: string;
|
|
948
942
|
/** Tags that were set/updated */
|
|
949
943
|
tags?: string[];
|