@spacefast/common 0.0.3 → 0.0.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.
Files changed (54) hide show
  1. package/dist/contracts/access.d.ts +4 -4
  2. package/dist/contracts/activity.d.ts +4 -4
  3. package/dist/contracts/annotations.d.ts +1 -1
  4. package/dist/contracts/api-keys.d.ts +6 -6
  5. package/dist/contracts/archives.d.ts +14 -14
  6. package/dist/contracts/billing.d.ts +21 -21
  7. package/dist/contracts/builds.d.ts +8 -8
  8. package/dist/contracts/channels.d.ts +2 -2
  9. package/dist/contracts/common.d.ts +5 -5
  10. package/dist/contracts/continuation.d.ts +66 -0
  11. package/dist/contracts/continuation.js +91 -0
  12. package/dist/contracts/deployments.d.ts +18 -18
  13. package/dist/contracts/device-auth.d.ts +6 -6
  14. package/dist/contracts/domains.d.ts +247 -247
  15. package/dist/contracts/enums.d.ts +2 -2
  16. package/dist/contracts/error-code-meta.d.ts +12 -0
  17. package/dist/contracts/error-code-meta.js +3 -0
  18. package/dist/contracts/error-codes.d.ts +1 -1
  19. package/dist/contracts/error-codes.js +3 -0
  20. package/dist/contracts/events.d.ts +12 -12
  21. package/dist/contracts/features.d.ts +17 -17
  22. package/dist/contracts/git.d.ts +3 -3
  23. package/dist/contracts/internal.d.ts +3 -3
  24. package/dist/contracts/mcp.d.ts +34 -34
  25. package/dist/contracts/me.d.ts +8 -8
  26. package/dist/contracts/operations.d.ts +2 -2
  27. package/dist/contracts/plan-policy.d.ts +4 -4
  28. package/dist/contracts/platform.d.ts +3 -3
  29. package/dist/contracts/repository-connections.d.ts +5 -5
  30. package/dist/contracts/resources.d.ts +15 -15
  31. package/dist/contracts/runtime-api.d.ts +4 -4
  32. package/dist/contracts/sites.d.ts +26 -26
  33. package/dist/contracts/spaces.d.ts +179 -89
  34. package/dist/contracts/spaces.js +57 -3
  35. package/dist/contracts/superadmin-emails.d.ts +3 -3
  36. package/dist/contracts/superadmin-queues.d.ts +58 -58
  37. package/dist/contracts/superadmin-spaces.d.ts +275 -9
  38. package/dist/contracts/superadmin-spaces.js +24 -0
  39. package/dist/contracts/superadmin-tenants.d.ts +8 -8
  40. package/dist/contracts/superadmin.d.ts +12 -12
  41. package/dist/contracts/tags.d.ts +38 -38
  42. package/dist/contracts/teams.d.ts +26 -8
  43. package/dist/contracts/teams.js +20 -0
  44. package/dist/contracts/transfers.d.ts +9 -9
  45. package/dist/contracts/variables.d.ts +14 -14
  46. package/dist/contracts/webhooks.d.ts +4 -4
  47. package/dist/contracts/zero.d.ts +8 -8
  48. package/dist/docs/agent-prose.js +8 -4
  49. package/dist/docs/agent-setup.js +3 -2
  50. package/dist/docs/error-docs.js +12 -0
  51. package/dist/utils/query-keys.d.ts +2 -2
  52. package/dist/utils/static-runtime-policy.d.ts +21 -0
  53. package/dist/utils/static-runtime-policy.js +119 -3
  54. package/package.json +1 -1
@@ -11,8 +11,8 @@ export declare const SiteSchema: z.ZodObject<{
11
11
  principal: z.ZodNullable<z.ZodObject<{
12
12
  tenantId: z.ZodString;
13
13
  principalType: z.ZodEnum<{
14
- external: "external";
15
14
  team: "team";
15
+ external: "external";
16
16
  }>;
17
17
  principalId: z.ZodString;
18
18
  }, z.core.$strip>>;
@@ -20,16 +20,16 @@ export declare const SiteSchema: z.ZodObject<{
20
20
  static_runtime: "static_runtime";
21
21
  }>;
22
22
  isolation: z.ZodEnum<{
23
- space: "space";
24
23
  site: "site";
24
+ space: "space";
25
25
  }>;
26
26
  status: z.ZodEnum<{
27
27
  active: "active";
28
28
  provisioning: "provisioning";
29
+ suspended: "suspended";
29
30
  deleted: "deleted";
30
- degraded: "degraded";
31
31
  ready_pool: "ready_pool";
32
- suspended: "suspended";
32
+ degraded: "degraded";
33
33
  }>;
34
34
  region: z.ZodString;
35
35
  managementHostname: z.ZodNullable<z.ZodString>;
@@ -45,10 +45,10 @@ export declare const SiteSchema: z.ZodObject<{
45
45
  kind: z.ZodString;
46
46
  status: z.ZodEnum<{
47
47
  failed: "failed";
48
+ canceled: "canceled";
48
49
  queued: "queued";
49
50
  running: "running";
50
51
  succeeded: "succeeded";
51
- canceled: "canceled";
52
52
  }>;
53
53
  resources: z.ZodArray<z.ZodObject<{
54
54
  type: z.ZodString;
@@ -69,9 +69,9 @@ export declare const SiteSchema: z.ZodObject<{
69
69
  message: z.ZodString;
70
70
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
72
+ registrar: "registrar";
72
73
  wpcloud: "wpcloud";
73
74
  dns: "dns";
74
- registrar: "registrar";
75
75
  runtime: "runtime";
76
76
  }>>>;
77
77
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -93,8 +93,8 @@ export declare const siteCreateSchema: z.ZodObject<{
93
93
  static_runtime: "static_runtime";
94
94
  }>>;
95
95
  isolation: z.ZodDefault<z.ZodEnum<{
96
- space: "space";
97
96
  site: "site";
97
+ space: "space";
98
98
  }>>;
99
99
  region: z.ZodOptional<z.ZodString>;
100
100
  provisioning: z.ZodOptional<z.ZodObject<{
@@ -108,8 +108,8 @@ export declare const siteListSchema: z.ZodObject<{
108
108
  principal: z.ZodNullable<z.ZodObject<{
109
109
  tenantId: z.ZodString;
110
110
  principalType: z.ZodEnum<{
111
- external: "external";
112
111
  team: "team";
112
+ external: "external";
113
113
  }>;
114
114
  principalId: z.ZodString;
115
115
  }, z.core.$strip>>;
@@ -117,16 +117,16 @@ export declare const siteListSchema: z.ZodObject<{
117
117
  static_runtime: "static_runtime";
118
118
  }>;
119
119
  isolation: z.ZodEnum<{
120
- space: "space";
121
120
  site: "site";
121
+ space: "space";
122
122
  }>;
123
123
  status: z.ZodEnum<{
124
124
  active: "active";
125
125
  provisioning: "provisioning";
126
+ suspended: "suspended";
126
127
  deleted: "deleted";
127
- degraded: "degraded";
128
128
  ready_pool: "ready_pool";
129
- suspended: "suspended";
129
+ degraded: "degraded";
130
130
  }>;
131
131
  region: z.ZodString;
132
132
  managementHostname: z.ZodNullable<z.ZodString>;
@@ -142,10 +142,10 @@ export declare const siteListSchema: z.ZodObject<{
142
142
  kind: z.ZodString;
143
143
  status: z.ZodEnum<{
144
144
  failed: "failed";
145
+ canceled: "canceled";
145
146
  queued: "queued";
146
147
  running: "running";
147
148
  succeeded: "succeeded";
148
- canceled: "canceled";
149
149
  }>;
150
150
  resources: z.ZodArray<z.ZodObject<{
151
151
  type: z.ZodString;
@@ -166,9 +166,9 @@ export declare const siteListSchema: z.ZodObject<{
166
166
  message: z.ZodString;
167
167
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
168
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
169
+ registrar: "registrar";
169
170
  wpcloud: "wpcloud";
170
171
  dns: "dns";
171
- registrar: "registrar";
172
172
  runtime: "runtime";
173
173
  }>>>;
174
174
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -199,8 +199,8 @@ export declare const SuperadminSiteSchema: z.ZodObject<{
199
199
  principal: z.ZodNullable<z.ZodObject<{
200
200
  tenantId: z.ZodString;
201
201
  principalType: z.ZodEnum<{
202
- external: "external";
203
202
  team: "team";
203
+ external: "external";
204
204
  }>;
205
205
  principalId: z.ZodString;
206
206
  }, z.core.$strip>>;
@@ -208,16 +208,16 @@ export declare const SuperadminSiteSchema: z.ZodObject<{
208
208
  static_runtime: "static_runtime";
209
209
  }>;
210
210
  isolation: z.ZodEnum<{
211
- space: "space";
212
211
  site: "site";
212
+ space: "space";
213
213
  }>;
214
214
  status: z.ZodEnum<{
215
215
  active: "active";
216
216
  provisioning: "provisioning";
217
+ suspended: "suspended";
217
218
  deleted: "deleted";
218
- degraded: "degraded";
219
219
  ready_pool: "ready_pool";
220
- suspended: "suspended";
220
+ degraded: "degraded";
221
221
  }>;
222
222
  region: z.ZodString;
223
223
  managementHostname: z.ZodNullable<z.ZodString>;
@@ -233,10 +233,10 @@ export declare const SuperadminSiteSchema: z.ZodObject<{
233
233
  kind: z.ZodString;
234
234
  status: z.ZodEnum<{
235
235
  failed: "failed";
236
+ canceled: "canceled";
236
237
  queued: "queued";
237
238
  running: "running";
238
239
  succeeded: "succeeded";
239
- canceled: "canceled";
240
240
  }>;
241
241
  resources: z.ZodArray<z.ZodObject<{
242
242
  type: z.ZodString;
@@ -257,9 +257,9 @@ export declare const SuperadminSiteSchema: z.ZodObject<{
257
257
  message: z.ZodString;
258
258
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
260
+ registrar: "registrar";
260
261
  wpcloud: "wpcloud";
261
262
  dns: "dns";
262
- registrar: "registrar";
263
263
  runtime: "runtime";
264
264
  }>>>;
265
265
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -286,8 +286,8 @@ export declare const SuperadminSiteListSchema: z.ZodObject<{
286
286
  principal: z.ZodNullable<z.ZodObject<{
287
287
  tenantId: z.ZodString;
288
288
  principalType: z.ZodEnum<{
289
- external: "external";
290
289
  team: "team";
290
+ external: "external";
291
291
  }>;
292
292
  principalId: z.ZodString;
293
293
  }, z.core.$strip>>;
@@ -295,16 +295,16 @@ export declare const SuperadminSiteListSchema: z.ZodObject<{
295
295
  static_runtime: "static_runtime";
296
296
  }>;
297
297
  isolation: z.ZodEnum<{
298
- space: "space";
299
298
  site: "site";
299
+ space: "space";
300
300
  }>;
301
301
  status: z.ZodEnum<{
302
302
  active: "active";
303
303
  provisioning: "provisioning";
304
+ suspended: "suspended";
304
305
  deleted: "deleted";
305
- degraded: "degraded";
306
306
  ready_pool: "ready_pool";
307
- suspended: "suspended";
307
+ degraded: "degraded";
308
308
  }>;
309
309
  region: z.ZodString;
310
310
  managementHostname: z.ZodNullable<z.ZodString>;
@@ -320,10 +320,10 @@ export declare const SuperadminSiteListSchema: z.ZodObject<{
320
320
  kind: z.ZodString;
321
321
  status: z.ZodEnum<{
322
322
  failed: "failed";
323
+ canceled: "canceled";
323
324
  queued: "queued";
324
325
  running: "running";
325
326
  succeeded: "succeeded";
326
- canceled: "canceled";
327
327
  }>;
328
328
  resources: z.ZodArray<z.ZodObject<{
329
329
  type: z.ZodString;
@@ -344,9 +344,9 @@ export declare const SuperadminSiteListSchema: z.ZodObject<{
344
344
  message: z.ZodString;
345
345
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
346
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
347
+ registrar: "registrar";
347
348
  wpcloud: "wpcloud";
348
349
  dns: "dns";
349
- registrar: "registrar";
350
350
  runtime: "runtime";
351
351
  }>>>;
352
352
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -372,8 +372,8 @@ export declare const superadminSiteCreateSchema: z.ZodObject<{
372
372
  static_runtime: "static_runtime";
373
373
  }>>;
374
374
  isolation: z.ZodDefault<z.ZodEnum<{
375
- space: "space";
376
375
  site: "site";
376
+ space: "space";
377
377
  }>>;
378
378
  region: z.ZodOptional<z.ZodString>;
379
379
  provisioning: z.ZodOptional<z.ZodObject<{