@shipstatic/types 0.3.3 → 0.3.5
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 -1
- package/dist/index.js +4 -2
- package/package.json +3 -3
- package/src/index.ts +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -148,7 +148,8 @@ export interface TokenCreateResponse {
|
|
|
148
148
|
export declare const AccountPlan: {
|
|
149
149
|
readonly FREE: "free";
|
|
150
150
|
readonly PAID: "paid";
|
|
151
|
-
readonly
|
|
151
|
+
readonly SPONSORED: "sponsored";
|
|
152
|
+
readonly ENTERPRISE: "enterprise";
|
|
152
153
|
readonly SUSPENDED: "suspended";
|
|
153
154
|
readonly TERMINATING: "terminating";
|
|
154
155
|
readonly TERMINATED: "terminated";
|
|
@@ -287,6 +288,7 @@ export declare const AuthMethod: {
|
|
|
287
288
|
readonly JWT: "jwt";
|
|
288
289
|
readonly API_KEY: "apiKey";
|
|
289
290
|
readonly TOKEN: "token";
|
|
291
|
+
readonly WEBHOOK: "webhook";
|
|
290
292
|
};
|
|
291
293
|
export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];
|
|
292
294
|
export declare const DEPLOYMENT_CONFIG_FILENAME = "ship.json";
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,8 @@ export const DomainStatus = {
|
|
|
35
35
|
export const AccountPlan = {
|
|
36
36
|
FREE: 'free',
|
|
37
37
|
PAID: 'paid',
|
|
38
|
-
|
|
38
|
+
SPONSORED: 'sponsored',
|
|
39
|
+
ENTERPRISE: 'enterprise',
|
|
39
40
|
SUSPENDED: 'suspended',
|
|
40
41
|
TERMINATING: 'terminating',
|
|
41
42
|
TERMINATED: 'terminated'
|
|
@@ -192,7 +193,8 @@ export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOK
|
|
|
192
193
|
export const AuthMethod = {
|
|
193
194
|
JWT: 'jwt',
|
|
194
195
|
API_KEY: 'apiKey',
|
|
195
|
-
TOKEN: 'token'
|
|
196
|
+
TOKEN: 'token',
|
|
197
|
+
WEBHOOK: 'webhook'
|
|
196
198
|
};
|
|
197
199
|
// Deployment Configuration
|
|
198
200
|
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.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Shared types for Shipstatic platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"node": ">=20.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/node": "^24.
|
|
37
|
-
"typescript": "^5.9.
|
|
36
|
+
"@types/node": "^24.10.4",
|
|
37
|
+
"typescript": "^5.9.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc",
|
package/src/index.ts
CHANGED
|
@@ -178,7 +178,8 @@ export interface TokenCreateResponse {
|
|
|
178
178
|
export const AccountPlan = {
|
|
179
179
|
FREE: 'free',
|
|
180
180
|
PAID: 'paid',
|
|
181
|
-
|
|
181
|
+
SPONSORED: 'sponsored',
|
|
182
|
+
ENTERPRISE: 'enterprise',
|
|
182
183
|
SUSPENDED: 'suspended',
|
|
183
184
|
TERMINATING: 'terminating',
|
|
184
185
|
TERMINATED: 'terminated'
|
|
@@ -450,7 +451,8 @@ export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOK
|
|
|
450
451
|
export const AuthMethod = {
|
|
451
452
|
JWT: 'jwt',
|
|
452
453
|
API_KEY: 'apiKey',
|
|
453
|
-
TOKEN: 'token'
|
|
454
|
+
TOKEN: 'token',
|
|
455
|
+
WEBHOOK: 'webhook'
|
|
454
456
|
} as const;
|
|
455
457
|
|
|
456
458
|
export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];
|