@spacefast/common 0.0.12 → 0.0.13
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/contracts/access.d.ts +386 -1201
- package/dist/contracts/access.js +240 -1057
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +6 -14
- package/dist/contracts/api-keys.d.ts +16 -0
- package/dist/contracts/api-keys.js +2 -0
- package/dist/contracts/archives.d.ts +1 -2
- package/dist/contracts/archives.js +4 -6
- package/dist/contracts/comments.d.ts +58 -85
- package/dist/contracts/comments.js +86 -67
- package/dist/contracts/countries.js +2 -7
- package/dist/contracts/data-source-routes.d.ts +20 -0
- package/dist/contracts/data-source-routes.js +15 -0
- package/dist/contracts/device-auth.d.ts +7 -3
- package/dist/contracts/enums.d.ts +2 -4
- package/dist/contracts/enums.js +3 -8
- package/dist/contracts/error-code-meta.d.ts +17 -20
- package/dist/contracts/error-code-meta.js +8 -5
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +4 -5
- package/dist/contracts/events.d.ts +13 -13
- package/dist/contracts/execution.d.ts +212 -0
- package/dist/contracts/execution.js +288 -0
- package/dist/contracts/feature-lifecycle.d.ts +21 -167
- package/dist/contracts/feature-lifecycle.js +27 -173
- package/dist/contracts/features.d.ts +13 -115
- package/dist/contracts/features.js +1 -31
- package/dist/contracts/functions.d.ts +729 -0
- package/dist/contracts/functions.js +485 -0
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +1158 -0
- package/dist/contracts/grants.js +696 -0
- package/dist/contracts/ids.d.ts +5 -3
- package/dist/contracts/ids.js +5 -3
- package/dist/contracts/mcp.d.ts +6 -6
- package/dist/contracts/oauth-resources.d.ts +5 -5
- package/dist/contracts/oauth-resources.js +1 -0
- package/dist/contracts/operations.d.ts +2 -2
- package/dist/contracts/pages.d.ts +6 -14
- package/dist/contracts/pages.js +6 -23
- package/dist/contracts/plan-policy.d.ts +1 -8
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +78 -30
- package/dist/contracts/platform.js +59 -12
- package/dist/contracts/push-new.d.ts +26 -2
- package/dist/contracts/push-new.js +8 -0
- package/dist/contracts/quotas.d.ts +0 -1
- package/dist/contracts/quotas.js +0 -5
- package/dist/contracts/repository-connections.d.ts +1 -1
- package/dist/contracts/resources.d.ts +10 -66
- package/dist/contracts/resources.js +4 -10
- package/dist/contracts/runtime-api.d.ts +558 -265
- package/dist/contracts/runtime-api.js +178 -91
- package/dist/contracts/runtime-app.d.ts +138 -0
- package/dist/contracts/runtime-app.js +21 -0
- package/dist/contracts/sf-config-v1.d.ts +5 -0
- package/dist/contracts/sites.d.ts +5 -0
- package/dist/contracts/sites.js +12 -1
- package/dist/contracts/space-config.d.ts +46 -116
- package/dist/contracts/space-config.js +320 -24
- package/dist/contracts/spaces.d.ts +253 -158
- package/dist/contracts/spaces.js +68 -54
- package/dist/contracts/superadmin-emails.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +15 -130
- package/dist/contracts/superadmin-spaces.js +7 -0
- package/dist/contracts/tags.d.ts +23 -23
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/transfers.d.ts +0 -1
- package/dist/contracts/zero.d.ts +195 -273
- package/dist/contracts/zero.js +78 -206
- package/dist/dashboard-paths/index.d.ts +2 -2
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.js +10 -8
- package/dist/docs/agent-setup.d.ts +2 -2
- package/dist/docs/agent-setup.js +11 -9
- package/dist/docs/agent-solutions.js +1 -1
- package/dist/docs/catalog.d.ts +28 -28
- package/dist/docs/catalog.js +29 -29
- package/dist/docs/error-docs.js +23 -27
- package/dist/utils/asset-fingerprint.d.ts +11 -0
- package/dist/utils/asset-fingerprint.js +46 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/local-space-state.js +1 -0
- package/dist/utils/pages.d.ts +11 -5
- package/dist/utils/pages.js +19 -32
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +132 -61
- package/dist/utils/query-keys.d.ts +1 -6
- package/dist/utils/query-keys.js +1 -6
- package/dist/utils/space-config.d.ts +5 -1
- package/dist/utils/space-config.js +35 -0
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/upload-session.d.ts +3 -0
- package/dist/utils/upload-session.js +31 -0
- package/package.json +2 -1
- package/dist/utils/access-grant.d.ts +0 -14
- package/dist/utils/access-grant.js +0 -88
- package/dist/utils/access-match.d.ts +0 -46
- package/dist/utils/access-match.fixtures.json +0 -513
- package/dist/utils/access-match.js +0 -312
- package/dist/utils/access-verdict.fixtures.json +0 -421
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.fixtures.json +0 -9
- package/dist/utils/sf-config-v1.js +0 -551
package/dist/contracts/spaces.js
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { SPACE_SLUG_MAX_LENGTH } from "../slug-policy/index.js";
|
|
3
|
+
import { openHandoffSchema } from "./access.js";
|
|
2
4
|
import { AsyncOperationSchema, baseDiagnosticSchema, CursorPaginationSchema, cursorListQuerySchema, } from "./common.js";
|
|
3
5
|
import { versionStatus, spaceStatus } from "./enums.js";
|
|
6
|
+
import { runtimeKindSchema } from "./execution.js";
|
|
4
7
|
import { conventionFilesSchema, uploadInstructionsSchema, manifestFileSchema } from "./internal.js";
|
|
5
8
|
import { VersionSchema, PublishSourceSchema, SpaceSchema, spaceSettingsDigestSchema, } from "./resources.js";
|
|
9
|
+
import { runtimeAppSchema } from "./runtime-app.js";
|
|
6
10
|
import { spaceConfigSchema, spacePlacementConfigSchema } from "./space-config.js";
|
|
7
11
|
import { principalIdSchema } from "./transfers.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
claimToken: z
|
|
12
|
+
export const spaceClaimReceiptSchema = z.object({
|
|
13
|
+
token: z
|
|
11
14
|
.string()
|
|
12
|
-
.
|
|
15
|
+
.min(1)
|
|
13
16
|
.describe("One-time, space-scoped credential returned only at anonymous space creation. Save it immediately — it is never shown again and is required to publish and manage the space until it is claimed."),
|
|
14
|
-
|
|
17
|
+
url: z
|
|
15
18
|
.string()
|
|
16
|
-
.
|
|
19
|
+
.url()
|
|
17
20
|
.describe("Browser-only claim link in `/claim#nonce` form. The fragment is a human handoff capability; API clients use the claim token as bearer auth for publish/update/status/exchange."),
|
|
18
|
-
expiresAt: z
|
|
19
|
-
.string()
|
|
20
|
-
.datetime()
|
|
21
|
-
.nullable()
|
|
22
|
-
.describe("When the unclaimed space expires if nobody publishes to it or claims it."),
|
|
23
|
-
warning: z
|
|
24
|
-
.string()
|
|
25
|
-
.describe("Human-readable notice explaining that the space is anonymous and will expire unless claimed."),
|
|
21
|
+
expiresAt: z.string().datetime(),
|
|
26
22
|
});
|
|
27
23
|
export const SpaceCreateResponseSchema = z.object({
|
|
28
24
|
space: SpaceSchema,
|
|
29
|
-
|
|
25
|
+
open: openHandoffSchema,
|
|
26
|
+
claim: spaceClaimReceiptSchema.optional(),
|
|
30
27
|
});
|
|
31
28
|
// Stored per-version diagnostic surfaced on the space diagnostics feed: the shared
|
|
32
29
|
// Diagnostic shape (contracts/common.ts) plus persistence identity.
|
|
@@ -70,6 +67,12 @@ export const spaceCreateSchema = z
|
|
|
70
67
|
export const spacePatchSchema = z
|
|
71
68
|
.object({
|
|
72
69
|
title: z.string().min(1).max(255).optional(),
|
|
70
|
+
slug: z
|
|
71
|
+
.string()
|
|
72
|
+
.min(2)
|
|
73
|
+
.max(SPACE_SLUG_MAX_LENGTH)
|
|
74
|
+
.optional()
|
|
75
|
+
.describe("Renames the space and its managed view.fast hostname. Send slug by itself. Previously managed hostnames keep a temporary, path- and query-preserving 307 redirect to the current hostname; immutable version URLs do not change."),
|
|
73
76
|
config: spaceConfigSchema
|
|
74
77
|
.nullable()
|
|
75
78
|
.optional()
|
|
@@ -88,13 +91,15 @@ export const spacePatchSchema = z
|
|
|
88
91
|
.optional()
|
|
89
92
|
.describe("Hide the live production site from search engines. Applies only to claimed spaces' live hostnames; preview and version hostnames are always noindex."),
|
|
90
93
|
})
|
|
91
|
-
// Strict so an unknown field (notably `slug`) is rejected with a validation
|
|
92
|
-
// error rather than silently stripped. Slug rename is a deliberately
|
|
93
|
-
// post-flip surface (its dormant reserve/commit core + retained-hostname 308
|
|
94
|
-
// serving land with the slug-rename activation card); accepting-and-dropping
|
|
95
|
-
// `slug` here would be a silent no-op, so the live PATCH must refuse it.
|
|
96
94
|
.strict()
|
|
97
95
|
.superRefine((value, ctx) => {
|
|
96
|
+
if (value.slug !== undefined && Object.keys(value).some((key) => key !== "slug")) {
|
|
97
|
+
ctx.addIssue({
|
|
98
|
+
code: z.ZodIssueCode.custom,
|
|
99
|
+
message: "slug must be updated in a separate request.",
|
|
100
|
+
path: ["slug"],
|
|
101
|
+
});
|
|
102
|
+
}
|
|
98
103
|
if (value.force === true && value.baseSettingsDigest === undefined) {
|
|
99
104
|
ctx.addIssue({
|
|
100
105
|
code: z.ZodIssueCode.custom,
|
|
@@ -159,6 +164,24 @@ export const anonymousClaimSpacePreviewSchema = z.object({
|
|
|
159
164
|
liveUrl: z.string().nullable(),
|
|
160
165
|
createdAt: z.string().datetime().nullable(),
|
|
161
166
|
});
|
|
167
|
+
export const anonymousClaimSharingSummarySchema = z.object({
|
|
168
|
+
people: z.array(z.object({
|
|
169
|
+
id: z.string(),
|
|
170
|
+
displayName: z.string(),
|
|
171
|
+
status: z.enum(["pending", "accepted"]),
|
|
172
|
+
grants: z.array(z.object({
|
|
173
|
+
scope: z.string().startsWith("/"),
|
|
174
|
+
role: z.enum(["viewer", "commenter", "editor"]),
|
|
175
|
+
})),
|
|
176
|
+
})),
|
|
177
|
+
links: z.array(z.object({
|
|
178
|
+
id: z.string(),
|
|
179
|
+
name: z.string(),
|
|
180
|
+
landingPath: z.string().startsWith("/"),
|
|
181
|
+
scopes: z.array(z.string().startsWith("/")),
|
|
182
|
+
expiresAt: z.string().datetime().nullable(),
|
|
183
|
+
})),
|
|
184
|
+
});
|
|
162
185
|
export const anonymousClaimResponseSchema = z.object({
|
|
163
186
|
state: z.enum(["unclaimed", "claimed"]),
|
|
164
187
|
action: z.enum(["claimed", "login_required", "team_required", "confirm_assign"]),
|
|
@@ -178,6 +201,7 @@ export const anonymousClaimResponseSchema = z.object({
|
|
|
178
201
|
})
|
|
179
202
|
.describe("Server-authoritative continuation eligibility and claim result."),
|
|
180
203
|
teams: z.array(anonymousClaimTeamSchema).optional(),
|
|
204
|
+
sharing: anonymousClaimSharingSummarySchema,
|
|
181
205
|
});
|
|
182
206
|
export const anonymousClaimStatusResponseSchema = z.object({
|
|
183
207
|
publish: z.object({
|
|
@@ -221,6 +245,20 @@ export const anonymousClaimExchangeResponseSchema = z.object({
|
|
|
221
245
|
teamId: z.string(),
|
|
222
246
|
}),
|
|
223
247
|
});
|
|
248
|
+
export const anonymousClaimRotateSchema = z.object({
|
|
249
|
+
spaceId: z.string().min(1),
|
|
250
|
+
});
|
|
251
|
+
export const anonymousClaimRotateResponseSchema = z.object({
|
|
252
|
+
spaceId: z.string(),
|
|
253
|
+
claimToken: z
|
|
254
|
+
.string()
|
|
255
|
+
.describe("Replacement claim token. Shown exactly once; store it before leaving this response."),
|
|
256
|
+
claimNonce: z
|
|
257
|
+
.string()
|
|
258
|
+
.describe("Replacement browser claim nonce embedded in claimUrl. Shown exactly once."),
|
|
259
|
+
claimUrl: z.string().url(),
|
|
260
|
+
expiresAt: z.string().datetime(),
|
|
261
|
+
});
|
|
224
262
|
export const spaceClaimReminderSchema = z.object({
|
|
225
263
|
email: z
|
|
226
264
|
.string()
|
|
@@ -245,21 +283,7 @@ const manifestMutationFieldsSchema = {
|
|
|
245
283
|
.describe("Publisher-owned directory prefixes whose declared files are immutable generation assets. Snapshot publishes retain the current generation's matching files for exactly one subsequent generation."),
|
|
246
284
|
};
|
|
247
285
|
function refineManifestMutationRules(value, ctx) {
|
|
248
|
-
if (value.files === undefined && value.deletePaths.length > 0) {
|
|
249
|
-
ctx.addIssue({
|
|
250
|
-
code: z.ZodIssueCode.custom,
|
|
251
|
-
message: "deletePaths requires a declared files manifest.",
|
|
252
|
-
path: ["deletePaths"],
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
286
|
if (value.immutableAssetPrefixes !== undefined) {
|
|
256
|
-
if (value.files === undefined) {
|
|
257
|
-
ctx.addIssue({
|
|
258
|
-
code: z.ZodIssueCode.custom,
|
|
259
|
-
message: "immutableAssetPrefixes requires a declared files manifest.",
|
|
260
|
-
path: ["immutableAssetPrefixes"],
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
287
|
if (value.publishMode !== "snapshot") {
|
|
264
288
|
ctx.addIssue({
|
|
265
289
|
code: z.ZodIssueCode.custom,
|
|
@@ -294,8 +318,7 @@ export const spaceVersionCreateSchema = z
|
|
|
294
318
|
.describe("Finalize intent for a declared upload. When every declared file lands, the version finalizes itself; the explicit finalize call remains available for recovery and replay."),
|
|
295
319
|
files: z
|
|
296
320
|
.array(manifestFileSchema)
|
|
297
|
-
.
|
|
298
|
-
.describe("Full desired file manifest. For first deploys, send path/size/contentType without hashes so upload can begin immediately. For updates, include sha256 to let the server skip unchanged files. Omit entirely for an open session: the upload token then authorizes any policy-valid path within plan caps and finalize derives the manifest from what was uploaded."),
|
|
321
|
+
.describe("Full desired file manifest. For first deploys, send path/size/contentType without hashes so upload can begin immediately. For updates, include sha256 to let the server skip unchanged files."),
|
|
299
322
|
...manifestMutationFieldsSchema,
|
|
300
323
|
})
|
|
301
324
|
.superRefine(refineManifestMutationRules);
|
|
@@ -466,7 +489,6 @@ export const spaceVersionComputedRoutingSummarySchema = z.object({
|
|
|
466
489
|
headerRuleCount: z.number().int().nonnegative(),
|
|
467
490
|
staticRedirectCount: z.number().int().nonnegative(),
|
|
468
491
|
dynamicRedirectCount: z.number().int().nonnegative(),
|
|
469
|
-
basicAuthRuleCount: z.number().int().nonnegative(),
|
|
470
492
|
proxyRuleCount: z.number().int().nonnegative(),
|
|
471
493
|
}),
|
|
472
494
|
diagnostics: z.array(spaceVersionRoutingDiagnosticSchema),
|
|
@@ -541,8 +563,7 @@ export const publishRequestSchema = z
|
|
|
541
563
|
principal: principalRefInputSchema.optional(),
|
|
542
564
|
files: z
|
|
543
565
|
.array(manifestFileSchema)
|
|
544
|
-
.
|
|
545
|
-
.describe("Desired file manifest for a declared publish session. Clients upload returned paths, then finalize. Omit for inline one-shot and open-session publishes."),
|
|
566
|
+
.describe("Desired file manifest for a declared publish session. Clients upload returned paths, then finalize."),
|
|
546
567
|
...manifestMutationFieldsSchema,
|
|
547
568
|
source: PublishSourceSchema.optional().describe('Publish provenance recorded on the version; defaults to {kind: "direct_upload"}.'),
|
|
548
569
|
// Same fields, same bounds as spaceVersionCreateSchema: a publish that ran
|
|
@@ -579,9 +600,7 @@ export const publishRequestSchema = z
|
|
|
579
600
|
dataLocation: z.string().min(1).optional(),
|
|
580
601
|
})
|
|
581
602
|
.optional(),
|
|
582
|
-
config: spaceConfigSchema
|
|
583
|
-
.optional()
|
|
584
|
-
.describe("SpaceConfig overlay to store on the space (sf.jsonc contents)."),
|
|
603
|
+
config: spaceConfigSchema.optional().describe("SpaceConfig overlay to store on the space."),
|
|
585
604
|
})
|
|
586
605
|
.superRefine((value, ctx) => {
|
|
587
606
|
if (value.teamId && value.principal?.type === "team" && value.teamId !== value.principal.id) {
|
|
@@ -645,21 +664,13 @@ export const publishNextSchema = z.object({
|
|
|
645
664
|
});
|
|
646
665
|
export const publishReceiptSchema = z.object({
|
|
647
666
|
space: publishReceiptSpaceSchema,
|
|
667
|
+
open: openHandoffSchema.optional(),
|
|
648
668
|
version: publishReceiptVersionSchema,
|
|
649
669
|
activation: publishActivationSchema,
|
|
650
670
|
next: publishNextSchema,
|
|
651
671
|
operation: AsyncOperationSchema.optional().describe("Background finalize operation when publish work continues asynchronously."),
|
|
652
|
-
// Paste-ready one-liner (URL + claim nudge) so agents propagate consistent
|
|
653
|
-
// claim copy into transcripts (internal-docs/platform.md M1a "share blurb").
|
|
654
|
-
shareBlurb: z.string(),
|
|
655
672
|
upload: publishUploadReceiptSchema.optional(),
|
|
656
|
-
claim:
|
|
657
|
-
.object({
|
|
658
|
-
token: z.string().optional(),
|
|
659
|
-
url: z.string(),
|
|
660
|
-
expiresAt: z.string().datetime(),
|
|
661
|
-
})
|
|
662
|
-
.optional(),
|
|
673
|
+
claim: spaceClaimReceiptSchema.optional(),
|
|
663
674
|
diagnostics: z
|
|
664
675
|
.array(baseDiagnosticSchema)
|
|
665
676
|
.optional()
|
|
@@ -741,14 +752,17 @@ export const spaceRuntimeStatusSchema = z.object({
|
|
|
741
752
|
.describe("Live space URL. Flips to the latest version after a successful publish to `live`."),
|
|
742
753
|
runtimeState: spaceStatus.describe("Space operation-lifecycle status."),
|
|
743
754
|
liveVersionStatus: versionStatus.nullable(),
|
|
744
|
-
liveRuntimeKind:
|
|
755
|
+
liveRuntimeKind: runtimeKindSchema
|
|
745
756
|
.nullable()
|
|
746
757
|
.describe("Runtime kind declared by the live version, if any."),
|
|
747
758
|
pendingVersionStatus: versionStatus.nullable(),
|
|
748
759
|
operation: AsyncOperationSchema.nullable(),
|
|
760
|
+
app: runtimeAppSchema
|
|
761
|
+
.nullable()
|
|
762
|
+
.describe("What the live version runs: its Zero capsule or Functions worker, discriminated by `runtimeKind`. Null for a static space, and null for callers whose credential does not carry `versions:read` — describing an app is a read of the version's contents, not of the space's serving state."),
|
|
749
763
|
});
|
|
750
764
|
export const spaceApplyChangeBaseSchema = z.object({
|
|
751
|
-
kind: z.enum(["variable", "routing", "
|
|
765
|
+
kind: z.enum(["variable", "routing", "access", "settings"]),
|
|
752
766
|
name: z.string(),
|
|
753
767
|
label: z.string(),
|
|
754
768
|
});
|
|
@@ -7,12 +7,12 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
|
7
7
|
status: z.ZodDefault<z.ZodEnum<{
|
|
8
8
|
all: "all";
|
|
9
9
|
failed: "failed";
|
|
10
|
-
delivered: "delivered";
|
|
11
|
-
dropped: "dropped";
|
|
12
10
|
scheduled: "scheduled";
|
|
11
|
+
delivered: "delivered";
|
|
13
12
|
sent: "sent";
|
|
14
13
|
suppressed: "suppressed";
|
|
15
14
|
bounced: "bounced";
|
|
15
|
+
dropped: "dropped";
|
|
16
16
|
complained: "complained";
|
|
17
17
|
opened: "opened";
|
|
18
18
|
clicked: "clicked";
|
|
@@ -147,7 +147,6 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
147
147
|
abuse_takedown: "abuse_takedown";
|
|
148
148
|
tenant_suspended: "tenant_suspended";
|
|
149
149
|
site_suspended: "site_suspended";
|
|
150
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
151
150
|
}>;
|
|
152
151
|
}, z.core.$strip>>;
|
|
153
152
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -268,73 +267,14 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
268
267
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
269
268
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
270
269
|
}, z.core.$strip>>;
|
|
270
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
271
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
272
|
+
url: z.ZodString;
|
|
273
|
+
}, z.core.$strict>>>>;
|
|
274
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
271
275
|
}, z.core.$strip>>;
|
|
272
276
|
settingsDigest: z.ZodString;
|
|
273
277
|
noindex: z.ZodBoolean;
|
|
274
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
275
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
276
|
-
id: z.ZodOptional<z.ZodString>;
|
|
277
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
278
|
-
host: z.ZodOptional<z.ZodString>;
|
|
279
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
280
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
281
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
282
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
283
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
285
|
-
country: z.ZodOptional<z.ZodString>;
|
|
286
|
-
countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
287
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
288
|
-
name: z.ZodString;
|
|
289
|
-
value: z.ZodString;
|
|
290
|
-
}, z.core.$strip>>;
|
|
291
|
-
}, z.core.$strip>>;
|
|
292
|
-
effect: z.ZodEnum<{
|
|
293
|
-
allow: "allow";
|
|
294
|
-
deny: "deny";
|
|
295
|
-
challenge: "challenge";
|
|
296
|
-
}>;
|
|
297
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
298
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
299
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
300
|
-
kid: z.ZodString;
|
|
301
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
302
|
-
publicKey: z.ZodString;
|
|
303
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
304
|
-
}, z.core.$strip>>>;
|
|
305
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
306
|
-
type: z.ZodLiteral<"password">;
|
|
307
|
-
ref: z.ZodString;
|
|
308
|
-
transport: z.ZodEnum<{
|
|
309
|
-
basic: "basic";
|
|
310
|
-
form: "form";
|
|
311
|
-
}>;
|
|
312
|
-
username: z.ZodOptional<z.ZodString>;
|
|
313
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
314
|
-
type: z.ZodLiteral<"login">;
|
|
315
|
-
url: z.ZodString;
|
|
316
|
-
label: z.ZodOptional<z.ZodString>;
|
|
317
|
-
}, z.core.$strip>], "type">>>;
|
|
318
|
-
}, z.core.$strip>>;
|
|
319
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
320
|
-
sharing: "sharing";
|
|
321
|
-
firewall: "firewall";
|
|
322
|
-
file_share: "file_share";
|
|
323
|
-
cast_reviewer: "cast_reviewer";
|
|
324
|
-
team_default: "team_default";
|
|
325
|
-
}>>;
|
|
326
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
327
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
328
|
-
message: z.ZodOptional<z.ZodString>;
|
|
329
|
-
}, z.core.$strip>>>;
|
|
330
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
331
|
-
kid: z.ZodString;
|
|
332
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
333
|
-
publicKey: z.ZodString;
|
|
334
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
335
|
-
}, z.core.$strip>>>;
|
|
336
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
337
|
-
}, z.core.$strip>>;
|
|
338
278
|
operation: z.ZodNullable<z.ZodObject<{
|
|
339
279
|
id: z.ZodString;
|
|
340
280
|
kind: z.ZodString;
|
|
@@ -379,6 +319,11 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
379
319
|
createdAt: z.ZodString;
|
|
380
320
|
updatedAt: z.ZodString;
|
|
381
321
|
}, z.core.$strip>;
|
|
322
|
+
access: z.ZodObject<{
|
|
323
|
+
generation: z.ZodNumber;
|
|
324
|
+
activeGrantCount: z.ZodNumber;
|
|
325
|
+
public: z.ZodBoolean;
|
|
326
|
+
}, z.core.$strict>;
|
|
382
327
|
hostnames: z.ZodArray<z.ZodObject<{
|
|
383
328
|
hostname: z.ZodString;
|
|
384
329
|
url: z.ZodString;
|
|
@@ -528,7 +473,6 @@ export declare const SuperadminAnonymousSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
528
473
|
abuse_takedown: "abuse_takedown";
|
|
529
474
|
tenant_suspended: "tenant_suspended";
|
|
530
475
|
site_suspended: "site_suspended";
|
|
531
|
-
visit_cap_exceeded: "visit_cap_exceeded";
|
|
532
476
|
}>;
|
|
533
477
|
}, z.core.$strip>>;
|
|
534
478
|
claimState: z.ZodNullable<z.ZodObject<{
|
|
@@ -649,73 +593,14 @@ export declare const SuperadminAnonymousSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
649
593
|
bodyEnd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
650
594
|
noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
651
595
|
}, z.core.$strip>>;
|
|
596
|
+
dataSources: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"wordpress">;
|
|
598
|
+
url: z.ZodString;
|
|
599
|
+
}, z.core.$strict>>>>;
|
|
600
|
+
defaultDataSource: z.ZodOptional<z.ZodString>;
|
|
652
601
|
}, z.core.$strip>>;
|
|
653
602
|
settingsDigest: z.ZodString;
|
|
654
603
|
noindex: z.ZodBoolean;
|
|
655
|
-
policy: z.ZodNullable<z.ZodObject<{
|
|
656
|
-
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
657
|
-
id: z.ZodOptional<z.ZodString>;
|
|
658
|
-
match: z.ZodDefault<z.ZodObject<{
|
|
659
|
-
host: z.ZodOptional<z.ZodString>;
|
|
660
|
-
hostPattern: z.ZodOptional<z.ZodString>;
|
|
661
|
-
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
662
|
-
pathPattern: z.ZodOptional<z.ZodString>;
|
|
663
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
664
|
-
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
666
|
-
country: z.ZodOptional<z.ZodString>;
|
|
667
|
-
countryNotIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
668
|
-
header: z.ZodOptional<z.ZodObject<{
|
|
669
|
-
name: z.ZodString;
|
|
670
|
-
value: z.ZodString;
|
|
671
|
-
}, z.core.$strip>>;
|
|
672
|
-
}, z.core.$strip>>;
|
|
673
|
-
effect: z.ZodEnum<{
|
|
674
|
-
allow: "allow";
|
|
675
|
-
deny: "deny";
|
|
676
|
-
challenge: "challenge";
|
|
677
|
-
}>;
|
|
678
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
679
|
-
requiredGrants: z.ZodArray<z.ZodString>;
|
|
680
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
681
|
-
kid: z.ZodString;
|
|
682
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
683
|
-
publicKey: z.ZodString;
|
|
684
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
685
|
-
}, z.core.$strip>>>;
|
|
686
|
-
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
687
|
-
type: z.ZodLiteral<"password">;
|
|
688
|
-
ref: z.ZodString;
|
|
689
|
-
transport: z.ZodEnum<{
|
|
690
|
-
basic: "basic";
|
|
691
|
-
form: "form";
|
|
692
|
-
}>;
|
|
693
|
-
username: z.ZodOptional<z.ZodString>;
|
|
694
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
695
|
-
type: z.ZodLiteral<"login">;
|
|
696
|
-
url: z.ZodString;
|
|
697
|
-
label: z.ZodOptional<z.ZodString>;
|
|
698
|
-
}, z.core.$strip>], "type">>>;
|
|
699
|
-
}, z.core.$strip>>;
|
|
700
|
-
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
701
|
-
sharing: "sharing";
|
|
702
|
-
firewall: "firewall";
|
|
703
|
-
file_share: "file_share";
|
|
704
|
-
cast_reviewer: "cast_reviewer";
|
|
705
|
-
team_default: "team_default";
|
|
706
|
-
}>>;
|
|
707
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
708
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
709
|
-
message: z.ZodOptional<z.ZodString>;
|
|
710
|
-
}, z.core.$strip>>>;
|
|
711
|
-
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
712
|
-
kid: z.ZodString;
|
|
713
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
714
|
-
publicKey: z.ZodString;
|
|
715
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
716
|
-
}, z.core.$strip>>>;
|
|
717
|
-
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
718
|
-
}, z.core.$strip>>;
|
|
719
604
|
operation: z.ZodNullable<z.ZodObject<{
|
|
720
605
|
id: z.ZodString;
|
|
721
606
|
kind: z.ZodString;
|
|
@@ -77,6 +77,13 @@ export const SuperadminSpaceVersionSchema = z.object({
|
|
|
77
77
|
});
|
|
78
78
|
export const SuperadminSpaceDetailSchema = z.object({
|
|
79
79
|
space: SpaceSchema,
|
|
80
|
+
access: z
|
|
81
|
+
.object({
|
|
82
|
+
generation: z.number().int().nonnegative(),
|
|
83
|
+
activeGrantCount: z.number().int().nonnegative(),
|
|
84
|
+
public: z.boolean(),
|
|
85
|
+
})
|
|
86
|
+
.strict(),
|
|
80
87
|
hostnames: z.array(SuperadminSpaceHostnameSchema),
|
|
81
88
|
versions: z.array(SuperadminSpaceVersionSchema),
|
|
82
89
|
});
|
package/dist/contracts/tags.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const tagVersionStatusSchema: z.ZodEnum<{
|
|
3
3
|
approved: "approved";
|
|
4
|
+
published: "published";
|
|
4
5
|
publishing: "publishing";
|
|
5
6
|
draft: "draft";
|
|
6
7
|
in_review: "in_review";
|
|
7
|
-
published: "published";
|
|
8
8
|
abandoned: "abandoned";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const tagEnvironmentSchema: z.ZodEnum<{
|
|
11
|
-
production: "production";
|
|
12
11
|
preview: "preview";
|
|
12
|
+
production: "production";
|
|
13
13
|
development: "development";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const tagConsentCategorySchema: z.ZodEnum<{
|
|
@@ -168,10 +168,10 @@ export declare const tagVersionSchema: z.ZodObject<{
|
|
|
168
168
|
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
169
169
|
status: z.ZodEnum<{
|
|
170
170
|
approved: "approved";
|
|
171
|
+
published: "published";
|
|
171
172
|
publishing: "publishing";
|
|
172
173
|
draft: "draft";
|
|
173
174
|
in_review: "in_review";
|
|
174
|
-
published: "published";
|
|
175
175
|
abandoned: "abandoned";
|
|
176
176
|
}>;
|
|
177
177
|
title: z.ZodString;
|
|
@@ -223,10 +223,10 @@ export declare const tagVersionListQuerySchema: z.ZodObject<{
|
|
|
223
223
|
cursor: z.ZodOptional<z.ZodString>;
|
|
224
224
|
status: z.ZodOptional<z.ZodEnum<{
|
|
225
225
|
approved: "approved";
|
|
226
|
+
published: "published";
|
|
226
227
|
publishing: "publishing";
|
|
227
228
|
draft: "draft";
|
|
228
229
|
in_review: "in_review";
|
|
229
|
-
published: "published";
|
|
230
230
|
abandoned: "abandoned";
|
|
231
231
|
}>>;
|
|
232
232
|
}, z.core.$strip>;
|
|
@@ -238,10 +238,10 @@ export declare const tagVersionListResponseSchema: z.ZodObject<{
|
|
|
238
238
|
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
239
239
|
status: z.ZodEnum<{
|
|
240
240
|
approved: "approved";
|
|
241
|
+
published: "published";
|
|
241
242
|
publishing: "publishing";
|
|
242
243
|
draft: "draft";
|
|
243
244
|
in_review: "in_review";
|
|
244
|
-
published: "published";
|
|
245
245
|
abandoned: "abandoned";
|
|
246
246
|
}>;
|
|
247
247
|
title: z.ZodString;
|
|
@@ -301,10 +301,10 @@ export declare const tagVersionResponseSchema: z.ZodObject<{
|
|
|
301
301
|
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
302
302
|
status: z.ZodEnum<{
|
|
303
303
|
approved: "approved";
|
|
304
|
+
published: "published";
|
|
304
305
|
publishing: "publishing";
|
|
305
306
|
draft: "draft";
|
|
306
307
|
in_review: "in_review";
|
|
307
|
-
published: "published";
|
|
308
308
|
abandoned: "abandoned";
|
|
309
309
|
}>;
|
|
310
310
|
title: z.ZodString;
|
|
@@ -460,8 +460,8 @@ export declare const tagReleaseSchema: z.ZodObject<{
|
|
|
460
460
|
id: z.ZodString;
|
|
461
461
|
tagSetId: z.ZodString;
|
|
462
462
|
environment: z.ZodEnum<{
|
|
463
|
-
production: "production";
|
|
464
463
|
preview: "preview";
|
|
464
|
+
production: "production";
|
|
465
465
|
development: "development";
|
|
466
466
|
}>;
|
|
467
467
|
versionId: z.ZodString;
|
|
@@ -476,8 +476,8 @@ export declare const tagReleaseListResponseSchema: z.ZodObject<{
|
|
|
476
476
|
id: z.ZodString;
|
|
477
477
|
tagSetId: z.ZodString;
|
|
478
478
|
environment: z.ZodEnum<{
|
|
479
|
-
production: "production";
|
|
480
479
|
preview: "preview";
|
|
480
|
+
production: "production";
|
|
481
481
|
development: "development";
|
|
482
482
|
}>;
|
|
483
483
|
versionId: z.ZodString;
|
|
@@ -493,8 +493,8 @@ export declare const tagReleaseResponseSchema: z.ZodObject<{
|
|
|
493
493
|
id: z.ZodString;
|
|
494
494
|
tagSetId: z.ZodString;
|
|
495
495
|
environment: z.ZodEnum<{
|
|
496
|
-
production: "production";
|
|
497
496
|
preview: "preview";
|
|
497
|
+
production: "production";
|
|
498
498
|
development: "development";
|
|
499
499
|
}>;
|
|
500
500
|
versionId: z.ZodString;
|
|
@@ -552,8 +552,8 @@ export declare const tagActivityEventSchema: z.ZodObject<{
|
|
|
552
552
|
type: z.ZodString;
|
|
553
553
|
versionId: z.ZodNullable<z.ZodString>;
|
|
554
554
|
environment: z.ZodNullable<z.ZodEnum<{
|
|
555
|
-
production: "production";
|
|
556
555
|
preview: "preview";
|
|
556
|
+
production: "production";
|
|
557
557
|
development: "development";
|
|
558
558
|
}>>;
|
|
559
559
|
message: z.ZodString;
|
|
@@ -566,8 +566,8 @@ export declare const tagActivityResponseSchema: z.ZodObject<{
|
|
|
566
566
|
type: z.ZodString;
|
|
567
567
|
versionId: z.ZodNullable<z.ZodString>;
|
|
568
568
|
environment: z.ZodNullable<z.ZodEnum<{
|
|
569
|
-
production: "production";
|
|
570
569
|
preview: "preview";
|
|
570
|
+
production: "production";
|
|
571
571
|
development: "development";
|
|
572
572
|
}>>;
|
|
573
573
|
message: z.ZodString;
|
|
@@ -579,8 +579,8 @@ export declare const tagEffectiveTagResponseSchema: z.ZodObject<{
|
|
|
579
579
|
data: z.ZodObject<{
|
|
580
580
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
581
581
|
environment: z.ZodEnum<{
|
|
582
|
-
production: "production";
|
|
583
582
|
preview: "preview";
|
|
583
|
+
production: "production";
|
|
584
584
|
development: "development";
|
|
585
585
|
}>;
|
|
586
586
|
source: z.ZodEnum<{
|
|
@@ -602,8 +602,8 @@ export declare const tagApplySchema: z.ZodObject<{
|
|
|
602
602
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
603
603
|
submit: z.ZodDefault<z.ZodBoolean>;
|
|
604
604
|
releaseEnvironment: z.ZodOptional<z.ZodEnum<{
|
|
605
|
-
production: "production";
|
|
606
605
|
preview: "preview";
|
|
606
|
+
production: "production";
|
|
607
607
|
development: "development";
|
|
608
608
|
}>>;
|
|
609
609
|
expectedCurrentVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -617,10 +617,10 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
|
|
|
617
617
|
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
618
618
|
status: z.ZodEnum<{
|
|
619
619
|
approved: "approved";
|
|
620
|
+
published: "published";
|
|
620
621
|
publishing: "publishing";
|
|
621
622
|
draft: "draft";
|
|
622
623
|
in_review: "in_review";
|
|
623
|
-
published: "published";
|
|
624
624
|
abandoned: "abandoned";
|
|
625
625
|
}>;
|
|
626
626
|
title: z.ZodString;
|
|
@@ -695,8 +695,8 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
|
|
|
695
695
|
id: z.ZodString;
|
|
696
696
|
tagSetId: z.ZodString;
|
|
697
697
|
environment: z.ZodEnum<{
|
|
698
|
-
production: "production";
|
|
699
698
|
preview: "preview";
|
|
699
|
+
production: "production";
|
|
700
700
|
development: "development";
|
|
701
701
|
}>;
|
|
702
702
|
versionId: z.ZodString;
|
|
@@ -722,8 +722,8 @@ export declare const tagPreviewSessionSchema: z.ZodObject<{
|
|
|
722
722
|
id: z.ZodString;
|
|
723
723
|
versionId: z.ZodString;
|
|
724
724
|
environment: z.ZodEnum<{
|
|
725
|
-
production: "production";
|
|
726
725
|
preview: "preview";
|
|
726
|
+
production: "production";
|
|
727
727
|
development: "development";
|
|
728
728
|
}>;
|
|
729
729
|
previewUrl: z.ZodString;
|
|
@@ -741,8 +741,8 @@ export declare const tagPreviewSessionResponseSchema: z.ZodObject<{
|
|
|
741
741
|
id: z.ZodString;
|
|
742
742
|
versionId: z.ZodString;
|
|
743
743
|
environment: z.ZodEnum<{
|
|
744
|
-
production: "production";
|
|
745
744
|
preview: "preview";
|
|
745
|
+
production: "production";
|
|
746
746
|
development: "development";
|
|
747
747
|
}>;
|
|
748
748
|
previewUrl: z.ZodString;
|
|
@@ -760,8 +760,8 @@ export declare const tagPreviewSessionCreateSchema: z.ZodObject<{
|
|
|
760
760
|
url: z.ZodOptional<z.ZodString>;
|
|
761
761
|
ttlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
762
762
|
environment: z.ZodDefault<z.ZodEnum<{
|
|
763
|
-
production: "production";
|
|
764
763
|
preview: "preview";
|
|
764
|
+
production: "production";
|
|
765
765
|
development: "development";
|
|
766
766
|
}>>;
|
|
767
767
|
}, z.core.$strip>;
|
|
@@ -769,8 +769,8 @@ export declare const tagDebugSessionCreateSchema: z.ZodObject<{
|
|
|
769
769
|
url: z.ZodOptional<z.ZodString>;
|
|
770
770
|
ttlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
771
771
|
environment: z.ZodDefault<z.ZodEnum<{
|
|
772
|
-
production: "production";
|
|
773
772
|
preview: "preview";
|
|
773
|
+
production: "production";
|
|
774
774
|
development: "development";
|
|
775
775
|
}>>;
|
|
776
776
|
}, z.core.$strip>;
|
|
@@ -905,8 +905,8 @@ export declare const tagTemplateSelectionSchema: z.ZodObject<{
|
|
|
905
905
|
personalization: "personalization";
|
|
906
906
|
}>>>;
|
|
907
907
|
environments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
908
|
-
production: "production";
|
|
909
908
|
preview: "preview";
|
|
909
|
+
production: "production";
|
|
910
910
|
development: "development";
|
|
911
911
|
}>>>;
|
|
912
912
|
schedule: z.ZodOptional<z.ZodObject<{
|
|
@@ -994,8 +994,8 @@ export declare const tagTemplateListResponseSchema: z.ZodObject<{
|
|
|
994
994
|
export declare const tagConsentPolicyResponseSchema: z.ZodObject<{
|
|
995
995
|
data: z.ZodObject<{
|
|
996
996
|
environment: z.ZodEnum<{
|
|
997
|
-
production: "production";
|
|
998
997
|
preview: "preview";
|
|
998
|
+
production: "production";
|
|
999
999
|
development: "development";
|
|
1000
1000
|
}>;
|
|
1001
1001
|
versionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1077,8 +1077,8 @@ export declare const tagTemplateGraphSchema: z.ZodObject<{
|
|
|
1077
1077
|
personalization: "personalization";
|
|
1078
1078
|
}>>>;
|
|
1079
1079
|
environments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1080
|
-
production: "production";
|
|
1081
1080
|
preview: "preview";
|
|
1081
|
+
production: "production";
|
|
1082
1082
|
development: "development";
|
|
1083
1083
|
}>>>;
|
|
1084
1084
|
schedule: z.ZodOptional<z.ZodObject<{
|
|
@@ -1144,8 +1144,8 @@ export declare const tagEffectiveResponseSchema: z.ZodObject<{
|
|
|
1144
1144
|
data: z.ZodObject<{
|
|
1145
1145
|
tagSetId: z.ZodNullable<z.ZodString>;
|
|
1146
1146
|
environment: z.ZodEnum<{
|
|
1147
|
-
production: "production";
|
|
1148
1147
|
preview: "preview";
|
|
1148
|
+
production: "production";
|
|
1149
1149
|
development: "development";
|
|
1150
1150
|
}>;
|
|
1151
1151
|
versionId: z.ZodNullable<z.ZodString>;
|