@spacefast/common 0.0.11 → 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/agents/connect-targets.d.ts +4 -4
- package/dist/agents/connect-targets.js +3 -3
- package/dist/agents/private-key-oauth.d.ts +37 -0
- package/dist/agents/private-key-oauth.js +158 -0
- package/dist/config/domains.js +1 -1
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/postgres-budget.d.ts +126 -0
- package/dist/config/postgres-budget.js +135 -0
- package/dist/config/postgres-budget.json +50 -0
- package/dist/contracts/access.d.ts +386 -1183
- package/dist/contracts/access.js +240 -1018
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -19
- package/dist/contracts/api-keys.d.ts +69 -45
- package/dist/contracts/api-keys.js +3 -0
- package/dist/contracts/archives.d.ts +9 -10
- package/dist/contracts/archives.js +4 -6
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/builds.js +28 -48
- package/dist/contracts/channels.js +1 -2
- package/dist/contracts/comments.d.ts +102 -93
- package/dist/contracts/comments.js +121 -63
- package/dist/contracts/common.d.ts +4 -3
- package/dist/contracts/common.js +2 -0
- 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/deployments.d.ts +3 -3
- package/dist/contracts/device-auth.d.ts +21 -15
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/domains.d.ts +261 -1330
- package/dist/contracts/domains.js +39 -301
- package/dist/contracts/email-preferences.d.ts +50 -0
- package/dist/contracts/email-preferences.js +44 -0
- package/dist/contracts/enums.d.ts +3 -5
- package/dist/contracts/enums.js +3 -8
- package/dist/contracts/error-code-meta.d.ts +99 -33
- package/dist/contracts/error-code-meta.js +36 -9
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +28 -11
- package/dist/contracts/execution.d.ts +212 -0
- package/dist/contracts/execution.js +288 -0
- package/dist/contracts/feature-lifecycle.d.ts +498 -2
- package/dist/contracts/feature-lifecycle.js +539 -2
- package/dist/contracts/features.d.ts +184 -74
- package/dist/contracts/features.js +4 -303
- 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 +6 -5
- package/dist/contracts/ids.js +6 -5
- package/dist/contracts/internal.d.ts +3 -3
- package/dist/contracts/mcp.d.ts +12 -12
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/mounts.d.ts +142 -0
- package/dist/contracts/mounts.js +56 -0
- package/dist/contracts/oauth-resources.d.ts +5 -5
- package/dist/contracts/oauth-resources.js +2 -0
- package/dist/contracts/operations.d.ts +4 -4
- package/dist/contracts/pages.d.ts +6 -14
- package/dist/contracts/pages.js +11 -23
- package/dist/contracts/plan-policy.d.ts +2 -9
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +80 -32
- 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 +21 -85
- package/dist/contracts/resources.js +17 -47
- package/dist/contracts/runtime-api.d.ts +799 -192
- package/dist/contracts/runtime-api.js +231 -100
- 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/sf-config-v1.js +1 -1
- package/dist/contracts/sites.d.ts +17 -12
- package/dist/contracts/sites.js +30 -12
- package/dist/contracts/space-config.d.ts +46 -117
- package/dist/contracts/space-config.js +323 -25
- package/dist/contracts/spaces.d.ts +392 -256
- package/dist/contracts/spaces.js +163 -83
- package/dist/contracts/superadmin-emails.d.ts +27 -3
- package/dist/contracts/superadmin-emails.js +10 -15
- package/dist/contracts/superadmin-runtime.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +19 -142
- package/dist/contracts/superadmin-spaces.js +7 -0
- package/dist/contracts/tags.d.ts +66 -36
- package/dist/contracts/tags.js +195 -11
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/transfers.d.ts +1 -2
- package/dist/contracts/variables.d.ts +4 -4
- package/dist/contracts/variables.js +4 -3
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +437 -193
- package/dist/contracts/zero.js +149 -158
- package/dist/dashboard-paths/index.d.ts +3 -3
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.js +10 -8
- package/dist/docs/agent-setup.d.ts +6 -4
- package/dist/docs/agent-setup.js +26 -16
- package/dist/docs/agent-solutions.js +1 -1
- package/dist/docs/catalog.d.ts +35 -37
- package/dist/docs/catalog.js +36 -38
- package/dist/docs/error-docs.js +108 -44
- 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/dns-instructions.d.ts +29 -0
- package/dist/utils/dns-instructions.js +78 -0
- package/dist/utils/domain-diagnostics.d.ts +29 -0
- package/dist/utils/domain-diagnostics.js +63 -0
- package/dist/utils/egress-policy.fixtures.json +51 -0
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/id-hints.d.ts +1 -0
- package/dist/utils/id-hints.js +55 -13
- package/dist/utils/local-space-state.js +1 -0
- package/dist/utils/page-colors.d.ts +50 -0
- package/dist/utils/page-colors.js +167 -0
- package/dist/utils/page-fonts.d.ts +2 -0
- package/dist/utils/page-fonts.js +4 -0
- package/dist/utils/pages.d.ts +19 -6
- package/dist/utils/pages.js +122 -49
- package/dist/utils/production-runtime.d.ts +18 -0
- package/dist/utils/production-runtime.js +28 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +132 -61
- package/dist/utils/query-keys.d.ts +7 -13
- package/dist/utils/query-keys.js +12 -18
- package/dist/utils/source-archive-policy.d.ts +2 -0
- package/dist/utils/source-archive-policy.js +2 -0
- 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.fixtures.json +57 -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 +6 -4
- package/dist/contracts/annotations.d.ts +0 -327
- package/dist/contracts/annotations.js +0 -235
- package/dist/contracts/generated-feature-launch-entries.d.ts +0 -2
- package/dist/contracts/generated-feature-launch-entries.js +0 -518
- package/dist/contracts/publishes.d.ts +0 -135
- package/dist/contracts/publishes.js +0 -162
- package/dist/utils/access-match.d.ts +0 -39
- package/dist/utils/access-match.js +0 -296
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.js +0 -542
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type RuntimeFeatureDefinition, type RuntimeFeatureKey } from "./feature-lifecycle.js";
|
|
2
3
|
export declare const PLAN_CODES: readonly ["free", "personal", "work", "enterprise", "internal"];
|
|
3
4
|
export declare const planCodeSchema: z.ZodEnum<{
|
|
4
5
|
free: "free";
|
|
@@ -9,7 +10,7 @@ export declare const planCodeSchema: z.ZodEnum<{
|
|
|
9
10
|
}>;
|
|
10
11
|
export type PlanCode = z.infer<typeof planCodeSchema>;
|
|
11
12
|
export declare const DEFAULT_PLAN_CODE: PlanCode;
|
|
12
|
-
export declare const FEATURE_KEYS: readonly
|
|
13
|
+
export declare const FEATURE_KEYS: readonly ("zero" | "plans.paid.available" | "anonymous.publishing" | "beta.enrollment_gate" | "domains.search" | "domains.registration" | "domains.dns_management" | "domains.wpcom_dns" | "domains.domain_connect" | "domains.proxy_bindings" | "collab.notices" | "collab.drawing" | "sites.dedicated_runtime" | "shelf" | "tags" | "functions" | "spaces.slug_rename")[];
|
|
13
14
|
export declare const featureKeySchema: z.ZodEnum<{
|
|
14
15
|
zero: "zero";
|
|
15
16
|
"plans.paid.available": "plans.paid.available";
|
|
@@ -21,24 +22,15 @@ export declare const featureKeySchema: z.ZodEnum<{
|
|
|
21
22
|
"domains.wpcom_dns": "domains.wpcom_dns";
|
|
22
23
|
"domains.domain_connect": "domains.domain_connect";
|
|
23
24
|
"domains.proxy_bindings": "domains.proxy_bindings";
|
|
24
|
-
"collab.preview_loader": "collab.preview_loader";
|
|
25
|
-
"collab.comments": "collab.comments";
|
|
26
|
-
"collab.anonymous_commenters": "collab.anonymous_commenters";
|
|
27
|
-
"collab.cli": "collab.cli";
|
|
28
25
|
"collab.notices": "collab.notices";
|
|
29
|
-
"collab.published_comments": "collab.published_comments";
|
|
30
26
|
"collab.drawing": "collab.drawing";
|
|
31
27
|
"sites.dedicated_runtime": "sites.dedicated_runtime";
|
|
32
28
|
shelf: "shelf";
|
|
33
29
|
tags: "tags";
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"access.firewall_card": "access.firewall_card";
|
|
37
|
-
"access.sso_connections": "access.sso_connections";
|
|
38
|
-
"access.byo_issuers": "access.byo_issuers";
|
|
39
|
-
"access.views_panel": "access.views_panel";
|
|
30
|
+
functions: "functions";
|
|
31
|
+
"spaces.slug_rename": "spaces.slug_rename";
|
|
40
32
|
}>;
|
|
41
|
-
export type FeatureKey =
|
|
33
|
+
export type FeatureKey = RuntimeFeatureKey;
|
|
42
34
|
export declare const FEATURE_OVERRIDE_STATES: readonly ["enabled", "disabled", "kill_switch"];
|
|
43
35
|
export declare const featureOverrideStateSchema: z.ZodEnum<{
|
|
44
36
|
disabled: "disabled";
|
|
@@ -53,7 +45,6 @@ export declare const planLimitsSchema: z.ZodObject<{
|
|
|
53
45
|
teamMembers: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
54
46
|
subTeams: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
55
47
|
externalDomainGroups: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
56
|
-
publicImmutableVersionWindowDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
57
48
|
versionRetentionDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
58
49
|
versionGatedKeepDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
59
50
|
egressBytesPerDay: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
@@ -64,15 +55,11 @@ export declare const planLimitsSchema: z.ZodObject<{
|
|
|
64
55
|
buildAccessLogRetentionHours: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
65
56
|
buildsDeploysMonthly: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
66
57
|
analyticsRetentionDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
67
|
-
cloudRulesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
68
58
|
shareLinksPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
69
59
|
invitesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
70
60
|
inviteEmailsPerSpaceDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
71
61
|
inviteEmailsPerAccountDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
72
62
|
pendingAccessRequestsPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
73
|
-
serviceTokensPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
74
|
-
connectionsPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
75
|
-
teamDefaultRules: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
76
63
|
}, z.core.$strip>;
|
|
77
64
|
export type PlanLimits = z.infer<typeof planLimitsSchema>;
|
|
78
65
|
export declare const teamEntitlementsSchema: z.ZodObject<{
|
|
@@ -88,7 +75,6 @@ export declare const teamEntitlementsSchema: z.ZodObject<{
|
|
|
88
75
|
teamMembers: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
89
76
|
subTeams: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
90
77
|
externalDomainGroups: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
91
|
-
publicImmutableVersionWindowDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
92
78
|
versionRetentionDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
93
79
|
versionGatedKeepDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
94
80
|
egressBytesPerDay: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
@@ -99,17 +85,12 @@ export declare const teamEntitlementsSchema: z.ZodObject<{
|
|
|
99
85
|
buildAccessLogRetentionHours: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
100
86
|
buildsDeploysMonthly: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
101
87
|
analyticsRetentionDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
102
|
-
cloudRulesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
103
88
|
shareLinksPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
104
89
|
invitesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
105
90
|
inviteEmailsPerSpaceDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
106
91
|
inviteEmailsPerAccountDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
107
92
|
pendingAccessRequestsPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
108
|
-
serviceTokensPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
109
|
-
connectionsPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
110
|
-
teamDefaultRules: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
111
93
|
}, z.core.$strip>;
|
|
112
|
-
headersBasicAuth: z.ZodBoolean;
|
|
113
94
|
externalProxy: z.ZodBoolean;
|
|
114
95
|
dedicatedRuntime: z.ZodBoolean;
|
|
115
96
|
pagesTemplates: z.ZodBoolean;
|
|
@@ -127,7 +108,6 @@ export declare const teamEntitlementsResponseSchema: z.ZodObject<{
|
|
|
127
108
|
personal: "personal";
|
|
128
109
|
enterprise: "enterprise";
|
|
129
110
|
}>;
|
|
130
|
-
headersBasicAuth: z.ZodBoolean;
|
|
131
111
|
externalProxy: z.ZodBoolean;
|
|
132
112
|
dedicatedRuntime: z.ZodBoolean;
|
|
133
113
|
pagesTemplates: z.ZodBoolean;
|
|
@@ -140,7 +120,6 @@ export declare const teamEntitlementsResponseSchema: z.ZodObject<{
|
|
|
140
120
|
subTeams: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
141
121
|
storageBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
142
122
|
externalDomainGroups: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
143
|
-
publicImmutableVersionWindowDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
144
123
|
maxFileBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
145
124
|
maxVersionFiles: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
146
125
|
routingRules: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
@@ -148,15 +127,11 @@ export declare const teamEntitlementsResponseSchema: z.ZodObject<{
|
|
|
148
127
|
buildAccessLogRetentionHours: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
149
128
|
buildsDeploysMonthly: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
150
129
|
analyticsRetentionDays: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
151
|
-
cloudRulesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
152
130
|
shareLinksPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
153
131
|
invitesPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
154
132
|
inviteEmailsPerSpaceDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
155
133
|
inviteEmailsPerAccountDaily: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
156
134
|
pendingAccessRequestsPerSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
157
|
-
serviceTokensPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
158
|
-
connectionsPerTeam: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
159
|
-
teamDefaultRules: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
160
135
|
}, z.core.$strip>;
|
|
161
136
|
}, z.core.$strip>;
|
|
162
137
|
export type PlanDefinition = {
|
|
@@ -164,7 +139,6 @@ export type PlanDefinition = {
|
|
|
164
139
|
name: string;
|
|
165
140
|
monthlyPriceUsd: number | null;
|
|
166
141
|
limits: PlanLimits;
|
|
167
|
-
headersBasicAuth: boolean;
|
|
168
142
|
externalProxy: boolean;
|
|
169
143
|
dedicatedRuntime: boolean;
|
|
170
144
|
/** Paid full-page takeover templates under _pages/. */
|
|
@@ -174,17 +148,180 @@ export type PlanDefinition = {
|
|
|
174
148
|
runtimePhpWorkers: number;
|
|
175
149
|
analyticsHourlyGranularity: boolean;
|
|
176
150
|
};
|
|
177
|
-
export type FeatureDefinition =
|
|
178
|
-
key: FeatureKey;
|
|
179
|
-
name: string;
|
|
180
|
-
description: string;
|
|
181
|
-
defaultEnabled: boolean;
|
|
182
|
-
enabledInDevelopment?: boolean;
|
|
183
|
-
enabledForA8c: boolean;
|
|
184
|
-
planDefaults: Partial<Record<PlanCode, boolean>>;
|
|
185
|
-
};
|
|
151
|
+
export type FeatureDefinition = RuntimeFeatureDefinition;
|
|
186
152
|
export declare const PLAN_DEFINITIONS: Record<PlanCode, PlanDefinition>;
|
|
187
|
-
export declare const FEATURE_DEFINITIONS:
|
|
153
|
+
export declare const FEATURE_DEFINITIONS: Readonly<{
|
|
154
|
+
readonly zero: {
|
|
155
|
+
readonly key: "zero";
|
|
156
|
+
readonly name: string;
|
|
157
|
+
readonly description: string;
|
|
158
|
+
readonly defaultEnabled: boolean;
|
|
159
|
+
} & {
|
|
160
|
+
readonly enabledInDevelopment?: boolean;
|
|
161
|
+
readonly enabledForA8c: boolean;
|
|
162
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
163
|
+
};
|
|
164
|
+
readonly "plans.paid.available": {
|
|
165
|
+
readonly key: "plans.paid.available";
|
|
166
|
+
readonly name: string;
|
|
167
|
+
readonly description: string;
|
|
168
|
+
readonly defaultEnabled: boolean;
|
|
169
|
+
} & {
|
|
170
|
+
readonly enabledInDevelopment?: boolean;
|
|
171
|
+
readonly enabledForA8c: boolean;
|
|
172
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
173
|
+
};
|
|
174
|
+
readonly "anonymous.publishing": {
|
|
175
|
+
readonly key: "anonymous.publishing";
|
|
176
|
+
readonly name: string;
|
|
177
|
+
readonly description: string;
|
|
178
|
+
readonly defaultEnabled: boolean;
|
|
179
|
+
} & {
|
|
180
|
+
readonly enabledInDevelopment?: boolean;
|
|
181
|
+
readonly enabledForA8c: boolean;
|
|
182
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
183
|
+
};
|
|
184
|
+
readonly "beta.enrollment_gate": {
|
|
185
|
+
readonly key: "beta.enrollment_gate";
|
|
186
|
+
readonly name: string;
|
|
187
|
+
readonly description: string;
|
|
188
|
+
readonly defaultEnabled: boolean;
|
|
189
|
+
} & {
|
|
190
|
+
readonly enabledInDevelopment?: boolean;
|
|
191
|
+
readonly enabledForA8c: boolean;
|
|
192
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
193
|
+
};
|
|
194
|
+
readonly "domains.search": {
|
|
195
|
+
readonly key: "domains.search";
|
|
196
|
+
readonly name: string;
|
|
197
|
+
readonly description: string;
|
|
198
|
+
readonly defaultEnabled: boolean;
|
|
199
|
+
} & {
|
|
200
|
+
readonly enabledInDevelopment?: boolean;
|
|
201
|
+
readonly enabledForA8c: boolean;
|
|
202
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
203
|
+
};
|
|
204
|
+
readonly "domains.registration": {
|
|
205
|
+
readonly key: "domains.registration";
|
|
206
|
+
readonly name: string;
|
|
207
|
+
readonly description: string;
|
|
208
|
+
readonly defaultEnabled: boolean;
|
|
209
|
+
} & {
|
|
210
|
+
readonly enabledInDevelopment?: boolean;
|
|
211
|
+
readonly enabledForA8c: boolean;
|
|
212
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
213
|
+
};
|
|
214
|
+
readonly "domains.dns_management": {
|
|
215
|
+
readonly key: "domains.dns_management";
|
|
216
|
+
readonly name: string;
|
|
217
|
+
readonly description: string;
|
|
218
|
+
readonly defaultEnabled: boolean;
|
|
219
|
+
} & {
|
|
220
|
+
readonly enabledInDevelopment?: boolean;
|
|
221
|
+
readonly enabledForA8c: boolean;
|
|
222
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
223
|
+
};
|
|
224
|
+
readonly "domains.wpcom_dns": {
|
|
225
|
+
readonly key: "domains.wpcom_dns";
|
|
226
|
+
readonly name: string;
|
|
227
|
+
readonly description: string;
|
|
228
|
+
readonly defaultEnabled: boolean;
|
|
229
|
+
} & {
|
|
230
|
+
readonly enabledInDevelopment?: boolean;
|
|
231
|
+
readonly enabledForA8c: boolean;
|
|
232
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
233
|
+
};
|
|
234
|
+
readonly "domains.domain_connect": {
|
|
235
|
+
readonly key: "domains.domain_connect";
|
|
236
|
+
readonly name: string;
|
|
237
|
+
readonly description: string;
|
|
238
|
+
readonly defaultEnabled: boolean;
|
|
239
|
+
} & {
|
|
240
|
+
readonly enabledInDevelopment?: boolean;
|
|
241
|
+
readonly enabledForA8c: boolean;
|
|
242
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
243
|
+
};
|
|
244
|
+
readonly "domains.proxy_bindings": {
|
|
245
|
+
readonly key: "domains.proxy_bindings";
|
|
246
|
+
readonly name: string;
|
|
247
|
+
readonly description: string;
|
|
248
|
+
readonly defaultEnabled: boolean;
|
|
249
|
+
} & {
|
|
250
|
+
readonly enabledInDevelopment?: boolean;
|
|
251
|
+
readonly enabledForA8c: boolean;
|
|
252
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
253
|
+
};
|
|
254
|
+
readonly "collab.notices": {
|
|
255
|
+
readonly key: "collab.notices";
|
|
256
|
+
readonly name: string;
|
|
257
|
+
readonly description: string;
|
|
258
|
+
readonly defaultEnabled: boolean;
|
|
259
|
+
} & {
|
|
260
|
+
readonly enabledInDevelopment?: boolean;
|
|
261
|
+
readonly enabledForA8c: boolean;
|
|
262
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
263
|
+
};
|
|
264
|
+
readonly "collab.drawing": {
|
|
265
|
+
readonly key: "collab.drawing";
|
|
266
|
+
readonly name: string;
|
|
267
|
+
readonly description: string;
|
|
268
|
+
readonly defaultEnabled: boolean;
|
|
269
|
+
} & {
|
|
270
|
+
readonly enabledInDevelopment?: boolean;
|
|
271
|
+
readonly enabledForA8c: boolean;
|
|
272
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
273
|
+
};
|
|
274
|
+
readonly "sites.dedicated_runtime": {
|
|
275
|
+
readonly key: "sites.dedicated_runtime";
|
|
276
|
+
readonly name: string;
|
|
277
|
+
readonly description: string;
|
|
278
|
+
readonly defaultEnabled: boolean;
|
|
279
|
+
} & {
|
|
280
|
+
readonly enabledInDevelopment?: boolean;
|
|
281
|
+
readonly enabledForA8c: boolean;
|
|
282
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
283
|
+
};
|
|
284
|
+
readonly shelf: {
|
|
285
|
+
readonly key: "shelf";
|
|
286
|
+
readonly name: string;
|
|
287
|
+
readonly description: string;
|
|
288
|
+
readonly defaultEnabled: boolean;
|
|
289
|
+
} & {
|
|
290
|
+
readonly enabledInDevelopment?: boolean;
|
|
291
|
+
readonly enabledForA8c: boolean;
|
|
292
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
293
|
+
};
|
|
294
|
+
readonly tags: {
|
|
295
|
+
readonly key: "tags";
|
|
296
|
+
readonly name: string;
|
|
297
|
+
readonly description: string;
|
|
298
|
+
readonly defaultEnabled: boolean;
|
|
299
|
+
} & {
|
|
300
|
+
readonly enabledInDevelopment?: boolean;
|
|
301
|
+
readonly enabledForA8c: boolean;
|
|
302
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
303
|
+
};
|
|
304
|
+
readonly functions: {
|
|
305
|
+
readonly key: "functions";
|
|
306
|
+
readonly name: string;
|
|
307
|
+
readonly description: string;
|
|
308
|
+
readonly defaultEnabled: boolean;
|
|
309
|
+
} & {
|
|
310
|
+
readonly enabledInDevelopment?: boolean;
|
|
311
|
+
readonly enabledForA8c: boolean;
|
|
312
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
313
|
+
};
|
|
314
|
+
readonly "spaces.slug_rename": {
|
|
315
|
+
readonly key: "spaces.slug_rename";
|
|
316
|
+
readonly name: string;
|
|
317
|
+
readonly description: string;
|
|
318
|
+
readonly defaultEnabled: boolean;
|
|
319
|
+
} & {
|
|
320
|
+
readonly enabledInDevelopment?: boolean;
|
|
321
|
+
readonly enabledForA8c: boolean;
|
|
322
|
+
readonly planDefaults: Readonly<Partial<Record<PlanCode, boolean>>>;
|
|
323
|
+
};
|
|
324
|
+
}>;
|
|
188
325
|
export declare const featureStateSourceSchema: z.ZodEnum<{
|
|
189
326
|
default: "default";
|
|
190
327
|
override: "override";
|
|
@@ -203,22 +340,13 @@ export declare const FeatureStateSchema: z.ZodObject<{
|
|
|
203
340
|
"domains.wpcom_dns": "domains.wpcom_dns";
|
|
204
341
|
"domains.domain_connect": "domains.domain_connect";
|
|
205
342
|
"domains.proxy_bindings": "domains.proxy_bindings";
|
|
206
|
-
"collab.preview_loader": "collab.preview_loader";
|
|
207
|
-
"collab.comments": "collab.comments";
|
|
208
|
-
"collab.anonymous_commenters": "collab.anonymous_commenters";
|
|
209
|
-
"collab.cli": "collab.cli";
|
|
210
343
|
"collab.notices": "collab.notices";
|
|
211
|
-
"collab.published_comments": "collab.published_comments";
|
|
212
344
|
"collab.drawing": "collab.drawing";
|
|
213
345
|
"sites.dedicated_runtime": "sites.dedicated_runtime";
|
|
214
346
|
shelf: "shelf";
|
|
215
347
|
tags: "tags";
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
"access.firewall_card": "access.firewall_card";
|
|
219
|
-
"access.sso_connections": "access.sso_connections";
|
|
220
|
-
"access.byo_issuers": "access.byo_issuers";
|
|
221
|
-
"access.views_panel": "access.views_panel";
|
|
348
|
+
functions: "functions";
|
|
349
|
+
"spaces.slug_rename": "spaces.slug_rename";
|
|
222
350
|
}>;
|
|
223
351
|
enabled: z.ZodBoolean;
|
|
224
352
|
source: z.ZodEnum<{
|
|
@@ -247,22 +375,13 @@ export declare const FeatureStateResponseSchema: z.ZodObject<{
|
|
|
247
375
|
"domains.wpcom_dns": "domains.wpcom_dns";
|
|
248
376
|
"domains.domain_connect": "domains.domain_connect";
|
|
249
377
|
"domains.proxy_bindings": "domains.proxy_bindings";
|
|
250
|
-
"collab.preview_loader": "collab.preview_loader";
|
|
251
|
-
"collab.comments": "collab.comments";
|
|
252
|
-
"collab.anonymous_commenters": "collab.anonymous_commenters";
|
|
253
|
-
"collab.cli": "collab.cli";
|
|
254
378
|
"collab.notices": "collab.notices";
|
|
255
|
-
"collab.published_comments": "collab.published_comments";
|
|
256
379
|
"collab.drawing": "collab.drawing";
|
|
257
380
|
"sites.dedicated_runtime": "sites.dedicated_runtime";
|
|
258
381
|
shelf: "shelf";
|
|
259
382
|
tags: "tags";
|
|
260
|
-
|
|
261
|
-
"
|
|
262
|
-
"access.firewall_card": "access.firewall_card";
|
|
263
|
-
"access.sso_connections": "access.sso_connections";
|
|
264
|
-
"access.byo_issuers": "access.byo_issuers";
|
|
265
|
-
"access.views_panel": "access.views_panel";
|
|
383
|
+
functions: "functions";
|
|
384
|
+
"spaces.slug_rename": "spaces.slug_rename";
|
|
266
385
|
}>, z.ZodObject<{
|
|
267
386
|
key: z.ZodEnum<{
|
|
268
387
|
zero: "zero";
|
|
@@ -275,22 +394,13 @@ export declare const FeatureStateResponseSchema: z.ZodObject<{
|
|
|
275
394
|
"domains.wpcom_dns": "domains.wpcom_dns";
|
|
276
395
|
"domains.domain_connect": "domains.domain_connect";
|
|
277
396
|
"domains.proxy_bindings": "domains.proxy_bindings";
|
|
278
|
-
"collab.preview_loader": "collab.preview_loader";
|
|
279
|
-
"collab.comments": "collab.comments";
|
|
280
|
-
"collab.anonymous_commenters": "collab.anonymous_commenters";
|
|
281
|
-
"collab.cli": "collab.cli";
|
|
282
397
|
"collab.notices": "collab.notices";
|
|
283
|
-
"collab.published_comments": "collab.published_comments";
|
|
284
398
|
"collab.drawing": "collab.drawing";
|
|
285
399
|
"sites.dedicated_runtime": "sites.dedicated_runtime";
|
|
286
400
|
shelf: "shelf";
|
|
287
401
|
tags: "tags";
|
|
288
|
-
|
|
289
|
-
"
|
|
290
|
-
"access.firewall_card": "access.firewall_card";
|
|
291
|
-
"access.sso_connections": "access.sso_connections";
|
|
292
|
-
"access.byo_issuers": "access.byo_issuers";
|
|
293
|
-
"access.views_panel": "access.views_panel";
|
|
402
|
+
functions: "functions";
|
|
403
|
+
"spaces.slug_rename": "spaces.slug_rename";
|
|
294
404
|
}>;
|
|
295
405
|
enabled: z.ZodBoolean;
|
|
296
406
|
source: z.ZodEnum<{
|