@spacefast/common 0.0.5 → 0.0.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/brand-assets/spacefast-favicon.svg +16 -0
- package/brand-assets/spacefast-sf-full-bleed.svg +13 -0
- package/brand-assets/spacefast-wordmark.svg +5 -0
- package/dist/agents/connect-targets.d.ts +138 -0
- package/dist/agents/connect-targets.js +243 -0
- package/dist/brand-assets-build.d.ts +26 -0
- package/dist/brand-assets-build.js +81 -0
- package/dist/brand-assets.d.ts +42 -0
- package/dist/brand-assets.js +30 -0
- package/dist/brand.d.ts +1 -0
- package/dist/brand.js +5 -0
- package/dist/config/domains.d.ts +12 -6
- package/dist/config/domains.js +30 -38
- package/dist/contracts/access.d.ts +967 -124
- package/dist/contracts/access.js +804 -148
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +28 -2
- package/dist/contracts/annotations.d.ts +2 -4
- package/dist/contracts/api-keys.d.ts +126 -4
- package/dist/contracts/api-keys.js +74 -6
- package/dist/contracts/archives.d.ts +8 -2
- package/dist/contracts/archives.js +11 -4
- package/dist/contracts/billing.d.ts +0 -9
- package/dist/contracts/builds.d.ts +65 -21
- package/dist/contracts/builds.js +29 -0
- package/dist/contracts/common.d.ts +2 -0
- package/dist/contracts/common.js +4 -0
- package/dist/contracts/continuation.d.ts +0 -3
- package/dist/contracts/countries.d.ts +2 -0
- package/dist/contracts/countries.js +261 -0
- package/dist/contracts/deployments.d.ts +34 -34
- package/dist/contracts/device-auth.d.ts +4 -11
- package/dist/contracts/device-auth.js +4 -0
- package/dist/contracts/docs.d.ts +119 -0
- package/dist/contracts/docs.js +51 -0
- package/dist/contracts/domains.d.ts +96 -54
- package/dist/contracts/domains.js +26 -4
- package/dist/contracts/enums.d.ts +15 -16
- package/dist/contracts/enums.js +26 -14
- package/dist/contracts/error-code-meta.d.ts +184 -0
- package/dist/contracts/error-code-meta.js +124 -10
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +42 -0
- package/dist/contracts/events.d.ts +1 -1
- package/dist/contracts/feature-lifecycle-core.d.ts +36 -0
- package/dist/contracts/feature-lifecycle-core.js +220 -0
- package/dist/contracts/feature-lifecycle.d.ts +7 -0
- package/dist/contracts/feature-lifecycle.js +31 -0
- package/dist/contracts/features.d.ts +76 -6
- package/dist/contracts/features.js +178 -13
- package/dist/contracts/generated-feature-launch-entries.d.ts +2 -0
- package/dist/contracts/generated-feature-launch-entries.js +518 -0
- package/dist/contracts/git.d.ts +2 -8
- package/dist/contracts/ids.d.ts +9 -0
- package/dist/contracts/ids.js +13 -0
- package/dist/contracts/mcp.d.ts +8 -10
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/oauth-resources.d.ts +19 -8
- package/dist/contracts/oauth-resources.js +44 -13
- package/dist/contracts/operations.d.ts +161 -1
- package/dist/contracts/operations.js +49 -1
- package/dist/contracts/platform.d.ts +6 -102
- package/dist/contracts/platform.js +6 -50
- package/dist/contracts/publishes.d.ts +130 -0
- package/dist/contracts/publishes.js +145 -0
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.d.ts +2 -0
- package/dist/contracts/quotas.js +8 -0
- package/dist/contracts/repository-connections.d.ts +9 -8
- package/dist/contracts/repository-connections.js +13 -0
- package/dist/contracts/resources.d.ts +99 -13
- package/dist/contracts/resources.js +36 -4
- package/dist/contracts/routes.d.ts +0 -2
- package/dist/contracts/runtime-api.d.ts +363 -39
- package/dist/contracts/runtime-api.js +276 -6
- package/dist/contracts/sf-config-v1.d.ts +75 -0
- package/dist/contracts/sf-config-v1.js +6 -0
- package/dist/contracts/sites.d.ts +19 -2
- package/dist/contracts/sites.js +21 -0
- package/dist/contracts/space-config.d.ts +201 -2
- package/dist/contracts/space-config.js +135 -5
- package/dist/contracts/spaces.d.ts +376 -196
- package/dist/contracts/spaces.js +62 -10
- package/dist/contracts/superadmin-emails.d.ts +4 -2
- package/dist/contracts/superadmin-emails.js +8 -0
- package/dist/contracts/superadmin-queues.d.ts +26 -26
- package/dist/contracts/superadmin-spaces.d.ts +172 -42
- package/dist/contracts/superadmin-tenants.d.ts +6 -6
- package/dist/contracts/superadmin-tenants.js +6 -11
- package/dist/contracts/superadmin.d.ts +6 -93
- package/dist/contracts/superadmin.js +6 -14
- package/dist/contracts/tags.d.ts +10 -9
- package/dist/contracts/tags.js +2 -1
- package/dist/contracts/teams.d.ts +26 -30
- package/dist/contracts/teams.js +11 -17
- package/dist/contracts/theme-json.d.ts +30 -0
- package/dist/contracts/theme-json.js +48 -0
- package/dist/contracts/variables.d.ts +0 -2
- package/dist/contracts/variables.js +0 -5
- package/dist/contracts/webhooks.d.ts +2 -0
- package/dist/contracts/webhooks.js +1 -1
- package/dist/contracts/zero.d.ts +5 -10
- package/dist/docs/agent-prose.d.ts +43 -3
- package/dist/docs/agent-prose.js +146 -7
- package/dist/docs/agent-setup.d.ts +51 -0
- package/dist/docs/agent-setup.js +211 -14
- package/dist/docs/agent-solutions.d.ts +5 -5
- package/dist/docs/agent-solutions.js +2 -2
- package/dist/docs/catalog.d.ts +650 -0
- package/dist/docs/catalog.js +758 -0
- package/dist/docs/error-docs.d.ts +0 -2
- package/dist/docs/error-docs.js +189 -35
- package/dist/docs/index-build.d.ts +17 -0
- package/dist/docs/index-build.js +24 -0
- package/dist/docs/search.d.ts +54 -0
- package/dist/docs/search.js +96 -0
- package/dist/docs/skill-distribution.d.ts +5 -3
- package/dist/docs/skill-distribution.js +8 -8
- package/dist/slug-policy/blocklist.d.ts +4 -0
- package/dist/slug-policy/blocklist.js +122 -0
- package/dist/slug-policy/index.d.ts +17 -0
- package/dist/slug-policy/index.js +86 -0
- package/dist/utils/access-match.d.ts +39 -0
- package/dist/utils/access-match.js +296 -0
- package/dist/utils/auth-redirect.d.ts +3 -1
- package/dist/utils/auth-redirect.js +21 -1
- package/dist/utils/build-settings.d.ts +6 -0
- package/dist/utils/build-settings.js +429 -46
- package/dist/utils/claim-token.d.ts +8 -0
- package/dist/utils/claim-token.js +23 -2
- package/dist/utils/concurrency.d.ts +1 -0
- package/dist/utils/concurrency.js +22 -0
- package/dist/utils/content-type.d.ts +1 -0
- package/dist/utils/content-type.js +1 -1
- package/dist/utils/credential-policy.d.ts +54 -0
- package/dist/utils/{access-policy.js → credential-policy.js} +28 -2
- package/dist/utils/email.d.ts +1 -0
- package/dist/utils/email.js +3 -0
- package/dist/utils/gate-theme.d.ts +61 -0
- package/dist/utils/gate-theme.js +217 -0
- package/dist/utils/git-repository.d.ts +0 -1
- package/dist/utils/git-repository.js +0 -3
- package/dist/utils/id-hints.d.ts +8 -0
- package/dist/utils/id-hints.js +61 -0
- package/dist/utils/local-space-state.d.ts +91 -0
- package/dist/utils/local-space-state.js +251 -0
- package/dist/utils/oauth-signed-query.d.ts +8 -0
- package/dist/utils/oauth-signed-query.js +26 -0
- package/dist/utils/publish-detection.d.ts +0 -8
- package/dist/utils/publish-detection.js +0 -93
- package/dist/utils/publish-policy.d.ts +6 -5
- package/dist/utils/publish-policy.js +71 -7
- package/dist/utils/query-keys.d.ts +16 -4
- package/dist/utils/query-keys.js +31 -4
- package/dist/utils/runtime-paths.d.ts +0 -1
- package/dist/utils/runtime-paths.js +0 -1
- package/dist/utils/runtime-upload-batch.d.ts +18 -0
- package/dist/utils/runtime-upload-batch.js +90 -0
- package/dist/utils/runtime-upload.d.ts +2 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/sf-config-v1.d.ts +2 -0
- package/dist/utils/sf-config-v1.js +542 -0
- package/dist/utils/space-config.d.ts +4 -0
- package/dist/utils/space-config.js +10 -1
- package/dist/utils/space-theme.d.ts +2 -0
- package/dist/utils/space-theme.js +9 -0
- package/dist/utils/static-runtime-policy.d.ts +0 -21
- package/dist/utils/static-runtime-policy.js +19 -103
- package/dist/utils/upload-session.d.ts +1 -1
- package/dist/utils/wpcom-auth-redirects.d.ts +32 -2
- package/dist/utils/wpcom-auth-redirects.js +26 -10
- package/dist/vocabulary.d.ts +130 -30
- package/dist/vocabulary.js +77 -36
- package/package.json +35 -1
- package/dist/contracts/account.d.ts +0 -28
- package/dist/contracts/account.js +0 -54
- package/dist/contracts/intercom.d.ts +0 -6
- package/dist/contracts/intercom.js +0 -5
- package/dist/contracts/telemetry.d.ts +0 -2
- package/dist/contracts/telemetry.js +0 -1
- package/dist/utils/access-policy.d.ts +0 -39
- package/dist/utils/error-display.d.ts +0 -7
- package/dist/utils/error-display.js +0 -42
|
@@ -11,18 +11,31 @@ export const FEATURE_KEYS = [
|
|
|
11
11
|
"domains.search",
|
|
12
12
|
"domains.registration",
|
|
13
13
|
"domains.dns_management",
|
|
14
|
+
"domains.wpcom_dns",
|
|
15
|
+
"domains.domain_connect",
|
|
14
16
|
"domains.proxy_bindings",
|
|
15
17
|
"annotations.preview_loader",
|
|
16
18
|
"annotations.comments",
|
|
17
19
|
"annotations.anonymous_reviewers",
|
|
18
20
|
"annotations.cli",
|
|
19
21
|
"annotations.notices",
|
|
20
|
-
"annotations.spacefast_token",
|
|
21
22
|
"annotations.published_comments",
|
|
22
23
|
"sites.dedicated_runtime",
|
|
23
24
|
"shelf",
|
|
24
25
|
"tags",
|
|
25
26
|
"zero",
|
|
27
|
+
// Access product phases (access-plan §7, X-42): every phase ships behind its
|
|
28
|
+
// own dot-namespaced key, born internal-only. The lifecycle registry
|
|
29
|
+
// (stage/docsSlug per internal-docs/feature-lifecycle-plan.html) is not
|
|
30
|
+
// implemented yet — these use the existing FeatureDefinition shape with
|
|
31
|
+
// internal-only defaults until it lands.
|
|
32
|
+
"access.share_links",
|
|
33
|
+
"access.invites",
|
|
34
|
+
"access.firewall_card",
|
|
35
|
+
"access.sso_connections",
|
|
36
|
+
"access.byo_issuers",
|
|
37
|
+
"access.views_panel",
|
|
38
|
+
"pages.white_label",
|
|
26
39
|
];
|
|
27
40
|
export const featureKeySchema = z.enum(FEATURE_KEYS).describe("Feature flag key.");
|
|
28
41
|
// Feature override states (env `SPACEFAST_FLAG_*` and the feature_overrides
|
|
@@ -66,6 +79,27 @@ export const planLimitsSchema = z
|
|
|
66
79
|
// Queryable analytics history window. Storage retains rollups for everyone
|
|
67
80
|
// (env-bounded); this only clamps how far back the analytics API serves.
|
|
68
81
|
analyticsRetentionDays: planLimitValueSchema,
|
|
82
|
+
// Access-surface abuse ceilings (access-plan §5.1, X-40): generous by
|
|
83
|
+
// default, enterprise unlimited — never upsell levers. Per-plan tightening
|
|
84
|
+
// (if ever) happens here, never as constants in route code.
|
|
85
|
+
// Cloud-lane rules per space (incl. TTL'd blocks; managed blocks excluded
|
|
86
|
+
// from the count).
|
|
87
|
+
cloudRulesPerSpace: planLimitValueSchema,
|
|
88
|
+
// Active (non-revoked, non-expired) share links per space.
|
|
89
|
+
shareLinksPerSpace: planLimitValueSchema,
|
|
90
|
+
// Active invites per space (§5.3 — enforced when invites land).
|
|
91
|
+
invitesPerSpace: planLimitValueSchema,
|
|
92
|
+
// Invite emails per space / per account, daily (§5.3 abuse posture).
|
|
93
|
+
inviteEmailsPerSpaceDaily: planLimitValueSchema,
|
|
94
|
+
inviteEmailsPerAccountDaily: planLimitValueSchema,
|
|
95
|
+
// Pending access requests per space (§5.4).
|
|
96
|
+
pendingAccessRequestsPerSpace: planLimitValueSchema,
|
|
97
|
+
// Service tokens per team (§5.5).
|
|
98
|
+
serviceTokensPerTeam: planLimitValueSchema,
|
|
99
|
+
// OIDC + external issuer connections per team (§6).
|
|
100
|
+
connectionsPerTeam: planLimitValueSchema,
|
|
101
|
+
// Team-default rules (X-24).
|
|
102
|
+
teamDefaultRules: planLimitValueSchema,
|
|
69
103
|
})
|
|
70
104
|
.describe("Named plan limit table.");
|
|
71
105
|
// Resolved team entitlements: plan limits after add-on grants plus the
|
|
@@ -79,6 +113,16 @@ export const teamEntitlementsSchema = z
|
|
|
79
113
|
.boolean()
|
|
80
114
|
.describe("Whether `_headers` Basic-Auth rules compile on this plan."),
|
|
81
115
|
externalProxy: z.boolean().describe("Whether external proxy upstreams compile on this plan."),
|
|
116
|
+
dedicatedRuntime: z.boolean().describe("Whether the team can use dedicated runtime sites."),
|
|
117
|
+
pagesWhiteLabel: z
|
|
118
|
+
.boolean()
|
|
119
|
+
.describe("Whether the pages.white_label tier compiles (Spacefast branding removed from gate pages)."),
|
|
120
|
+
pagesCustomHtml: z
|
|
121
|
+
.boolean()
|
|
122
|
+
.describe("Whether custom gate-page HTML compiles (401.html/403.html slot overrides and .spacefast/templates/layout.html chrome, access-plan §8/§9 paid tier 1)."),
|
|
123
|
+
pagesAdvancedTheming: z
|
|
124
|
+
.boolean()
|
|
125
|
+
.describe("Whether the sf.theme.jsonc escape-hatch theme tier compiles (access-plan §8/§9 paid tier 1); theme.json and pages.theme basics stay free."),
|
|
82
126
|
runtimePhpWorkers: z.number().int().describe("PHP workers per serving site."),
|
|
83
127
|
analyticsHourlyGranularity: z
|
|
84
128
|
.boolean()
|
|
@@ -120,6 +164,29 @@ const UNLIMITED_LIMITS = {
|
|
|
120
164
|
buildAccessLogRetentionHours: "unlimited",
|
|
121
165
|
buildsDeploysMonthly: "unlimited",
|
|
122
166
|
analyticsRetentionDays: "unlimited",
|
|
167
|
+
cloudRulesPerSpace: "unlimited",
|
|
168
|
+
shareLinksPerSpace: "unlimited",
|
|
169
|
+
invitesPerSpace: "unlimited",
|
|
170
|
+
inviteEmailsPerSpaceDaily: "unlimited",
|
|
171
|
+
inviteEmailsPerAccountDaily: "unlimited",
|
|
172
|
+
pendingAccessRequestsPerSpace: "unlimited",
|
|
173
|
+
serviceTokensPerTeam: "unlimited",
|
|
174
|
+
connectionsPerTeam: "unlimited",
|
|
175
|
+
teamDefaultRules: "unlimited",
|
|
176
|
+
};
|
|
177
|
+
// The §5.1 access abuse-ceiling table (X-40): applied verbatim to every
|
|
178
|
+
// self-serve plan; enterprise/internal stay unlimited. These sit far above
|
|
179
|
+
// honest use — they are abuse ceilings, not upsell levers.
|
|
180
|
+
const ACCESS_QUOTA_DEFAULTS = {
|
|
181
|
+
cloudRulesPerSpace: 200,
|
|
182
|
+
shareLinksPerSpace: 100,
|
|
183
|
+
invitesPerSpace: 500,
|
|
184
|
+
inviteEmailsPerSpaceDaily: 200,
|
|
185
|
+
inviteEmailsPerAccountDaily: 500,
|
|
186
|
+
pendingAccessRequestsPerSpace: 100,
|
|
187
|
+
serviceTokensPerTeam: 50,
|
|
188
|
+
connectionsPerTeam: 10,
|
|
189
|
+
teamDefaultRules: 50,
|
|
123
190
|
};
|
|
124
191
|
export const PLAN_DEFINITIONS = {
|
|
125
192
|
free: {
|
|
@@ -130,7 +197,7 @@ export const PLAN_DEFINITIONS = {
|
|
|
130
197
|
storageBytes: 5 * GB,
|
|
131
198
|
teamMembers: 3,
|
|
132
199
|
subTeams: 0,
|
|
133
|
-
externalDomainGroups:
|
|
200
|
+
externalDomainGroups: 3,
|
|
134
201
|
publicImmutableVersionWindowDays: 7,
|
|
135
202
|
versionRetentionDays: 30, // included full-retention window (charter A3)
|
|
136
203
|
versionGatedKeepDays: 183, // kept gated ~6 months from readyAt, then deleted
|
|
@@ -142,9 +209,14 @@ export const PLAN_DEFINITIONS = {
|
|
|
142
209
|
buildAccessLogRetentionHours: 48,
|
|
143
210
|
buildsDeploysMonthly: 100,
|
|
144
211
|
analyticsRetentionDays: 30,
|
|
212
|
+
...ACCESS_QUOTA_DEFAULTS,
|
|
145
213
|
},
|
|
146
214
|
headersBasicAuth: false,
|
|
147
215
|
externalProxy: false,
|
|
216
|
+
dedicatedRuntime: false,
|
|
217
|
+
pagesWhiteLabel: false,
|
|
218
|
+
pagesCustomHtml: false,
|
|
219
|
+
pagesAdvancedTheming: false,
|
|
148
220
|
runtimePhpWorkers: 2,
|
|
149
221
|
analyticsHourlyGranularity: false,
|
|
150
222
|
},
|
|
@@ -164,9 +236,14 @@ export const PLAN_DEFINITIONS = {
|
|
|
164
236
|
buildAccessLogRetentionHours: MONTH_HOURS,
|
|
165
237
|
buildsDeploysMonthly: 1000,
|
|
166
238
|
analyticsRetentionDays: 365,
|
|
239
|
+
...ACCESS_QUOTA_DEFAULTS,
|
|
167
240
|
},
|
|
168
241
|
headersBasicAuth: true,
|
|
169
242
|
externalProxy: true,
|
|
243
|
+
dedicatedRuntime: false,
|
|
244
|
+
pagesWhiteLabel: false,
|
|
245
|
+
pagesCustomHtml: true,
|
|
246
|
+
pagesAdvancedTheming: true,
|
|
170
247
|
runtimePhpWorkers: 4,
|
|
171
248
|
analyticsHourlyGranularity: true,
|
|
172
249
|
},
|
|
@@ -182,9 +259,14 @@ export const PLAN_DEFINITIONS = {
|
|
|
182
259
|
// "unlimited" limits, so this must stay numeric.
|
|
183
260
|
teamMembers: 15,
|
|
184
261
|
subTeams: 0,
|
|
262
|
+
...ACCESS_QUOTA_DEFAULTS,
|
|
185
263
|
},
|
|
186
264
|
headersBasicAuth: true,
|
|
187
265
|
externalProxy: true,
|
|
266
|
+
dedicatedRuntime: false,
|
|
267
|
+
pagesWhiteLabel: true,
|
|
268
|
+
pagesCustomHtml: true,
|
|
269
|
+
pagesAdvancedTheming: true,
|
|
188
270
|
runtimePhpWorkers: 4,
|
|
189
271
|
analyticsHourlyGranularity: true,
|
|
190
272
|
},
|
|
@@ -196,6 +278,10 @@ export const PLAN_DEFINITIONS = {
|
|
|
196
278
|
limits: { ...UNLIMITED_LIMITS },
|
|
197
279
|
headersBasicAuth: true,
|
|
198
280
|
externalProxy: true,
|
|
281
|
+
dedicatedRuntime: true,
|
|
282
|
+
pagesWhiteLabel: true,
|
|
283
|
+
pagesCustomHtml: true,
|
|
284
|
+
pagesAdvancedTheming: true,
|
|
199
285
|
runtimePhpWorkers: 4,
|
|
200
286
|
analyticsHourlyGranularity: true,
|
|
201
287
|
},
|
|
@@ -206,6 +292,10 @@ export const PLAN_DEFINITIONS = {
|
|
|
206
292
|
limits: { ...UNLIMITED_LIMITS },
|
|
207
293
|
headersBasicAuth: true,
|
|
208
294
|
externalProxy: true,
|
|
295
|
+
dedicatedRuntime: true,
|
|
296
|
+
pagesWhiteLabel: true,
|
|
297
|
+
pagesCustomHtml: true,
|
|
298
|
+
pagesAdvancedTheming: true,
|
|
209
299
|
runtimePhpWorkers: 4,
|
|
210
300
|
analyticsHourlyGranularity: true,
|
|
211
301
|
},
|
|
@@ -264,6 +354,22 @@ export const FEATURE_DEFINITIONS = {
|
|
|
264
354
|
enabledForA8c: true,
|
|
265
355
|
planDefaults: {},
|
|
266
356
|
},
|
|
357
|
+
"domains.wpcom_dns": {
|
|
358
|
+
key: "domains.wpcom_dns",
|
|
359
|
+
name: "WordPress.com DNS automation",
|
|
360
|
+
description: "Manage a domain's DNS through the owner's WordPress.com account.",
|
|
361
|
+
defaultEnabled: false,
|
|
362
|
+
enabledForA8c: true,
|
|
363
|
+
planDefaults: {},
|
|
364
|
+
},
|
|
365
|
+
"domains.domain_connect": {
|
|
366
|
+
key: "domains.domain_connect",
|
|
367
|
+
name: "Domain Connect",
|
|
368
|
+
description: "One-click DNS setup at providers that implement Domain Connect.",
|
|
369
|
+
defaultEnabled: false,
|
|
370
|
+
enabledForA8c: true,
|
|
371
|
+
planDefaults: {},
|
|
372
|
+
},
|
|
267
373
|
"domains.proxy_bindings": {
|
|
268
374
|
key: "domains.proxy_bindings",
|
|
269
375
|
name: "Domain proxy bindings",
|
|
@@ -317,23 +423,14 @@ export const FEATURE_DEFINITIONS = {
|
|
|
317
423
|
enabledForA8c: true,
|
|
318
424
|
planDefaults: {},
|
|
319
425
|
},
|
|
320
|
-
"annotations.spacefast_token": {
|
|
321
|
-
key: "annotations.spacefast_token",
|
|
322
|
-
name: "Spacefast-native annotation tokens",
|
|
323
|
-
description: "Mints collaboration tokens as Spacefast EdDSA access tokens (dedicated Cast kid) instead of the legacy HS256 path; the Spacefast-native auth cutover.",
|
|
324
|
-
defaultEnabled: false,
|
|
325
|
-
enabledInDevelopment: true,
|
|
326
|
-
enabledForA8c: true,
|
|
327
|
-
planDefaults: {},
|
|
328
|
-
},
|
|
329
426
|
"annotations.published_comments": {
|
|
330
427
|
key: "annotations.published_comments",
|
|
331
428
|
name: "Published host annotation comments",
|
|
332
429
|
description: "Allows the annotation overlay to mount comments on a space's live/published host, not just immutable preview URLs.",
|
|
333
430
|
defaultEnabled: false,
|
|
334
431
|
// ON in local dev so the Spacefast-native published path is exercised end-to-end
|
|
335
|
-
// alongside annotations.comments
|
|
336
|
-
//
|
|
432
|
+
// alongside annotations.comments (which already defaults on in dev).
|
|
433
|
+
// Production stays gated behind the per-space toggle.
|
|
337
434
|
enabledInDevelopment: true,
|
|
338
435
|
enabledForA8c: true,
|
|
339
436
|
planDefaults: {},
|
|
@@ -373,6 +470,74 @@ export const FEATURE_DEFINITIONS = {
|
|
|
373
470
|
enabledForA8c: true,
|
|
374
471
|
planDefaults: {},
|
|
375
472
|
},
|
|
473
|
+
// Access product phases (access-plan §7, X-42). Shipped surfaces default on;
|
|
474
|
+
// later-stage identity-provider pieces stay override-gated until they are
|
|
475
|
+
// ready for the main product path. When the lifecycle registry (stage +
|
|
476
|
+
// docsSlug, internal-docs/feature-lifecycle-plan.html) lands, these migrate
|
|
477
|
+
// onto it.
|
|
478
|
+
"access.share_links": {
|
|
479
|
+
key: "access.share_links",
|
|
480
|
+
name: "Share links",
|
|
481
|
+
description: "Enables the Share modal's sharing projection, the general-access selector, and share-link create/copy/revoke (access-plan §5.1/§5.2).",
|
|
482
|
+
defaultEnabled: true,
|
|
483
|
+
enabledInDevelopment: true,
|
|
484
|
+
enabledForA8c: true,
|
|
485
|
+
planDefaults: {},
|
|
486
|
+
},
|
|
487
|
+
"access.invites": {
|
|
488
|
+
key: "access.invites",
|
|
489
|
+
name: "Space invites",
|
|
490
|
+
description: "Enables account-less viewer invites with magic-link accept and the request-access loop (access-plan §5.3/§5.4).",
|
|
491
|
+
defaultEnabled: false,
|
|
492
|
+
enabledInDevelopment: true,
|
|
493
|
+
enabledForA8c: true,
|
|
494
|
+
planDefaults: {},
|
|
495
|
+
},
|
|
496
|
+
"access.firewall_card": {
|
|
497
|
+
key: "access.firewall_card",
|
|
498
|
+
name: "Firewall card",
|
|
499
|
+
description: "Enables the managed firewall block card (country/IP/bot rules) in space access settings (access-plan §5.6).",
|
|
500
|
+
defaultEnabled: true,
|
|
501
|
+
enabledInDevelopment: true,
|
|
502
|
+
enabledForA8c: true,
|
|
503
|
+
planDefaults: {},
|
|
504
|
+
},
|
|
505
|
+
"access.sso_connections": {
|
|
506
|
+
key: "access.sso_connections",
|
|
507
|
+
name: "Company SSO connections",
|
|
508
|
+
description: "Enables team-level OIDC connections minted at the authorize endpoint (access-plan §6.2, X-18).",
|
|
509
|
+
defaultEnabled: false,
|
|
510
|
+
enabledInDevelopment: true,
|
|
511
|
+
enabledForA8c: true,
|
|
512
|
+
planDefaults: {},
|
|
513
|
+
},
|
|
514
|
+
"access.byo_issuers": {
|
|
515
|
+
key: "access.byo_issuers",
|
|
516
|
+
name: "Bring-your-own issuers",
|
|
517
|
+
description: "Enables owner-held external token issuers with ext:-namespace binding (access-plan §6.3, X-19).",
|
|
518
|
+
defaultEnabled: false,
|
|
519
|
+
enabledInDevelopment: true,
|
|
520
|
+
enabledForA8c: true,
|
|
521
|
+
planDefaults: {},
|
|
522
|
+
},
|
|
523
|
+
"access.views_panel": {
|
|
524
|
+
key: "access.views_panel",
|
|
525
|
+
name: "Views panel",
|
|
526
|
+
description: "Enables the identified who-viewed-what panel riding the analytics tiers (access-plan §5.6b, X-28).",
|
|
527
|
+
defaultEnabled: true,
|
|
528
|
+
enabledInDevelopment: true,
|
|
529
|
+
enabledForA8c: true,
|
|
530
|
+
planDefaults: {},
|
|
531
|
+
},
|
|
532
|
+
"pages.white_label": {
|
|
533
|
+
key: "pages.white_label",
|
|
534
|
+
name: "White-label platform pages",
|
|
535
|
+
description: "Removes Spacefast branding from the challenge/deny page tier between theme tokens and full custom pages (access-plan §5.7, X-16).",
|
|
536
|
+
defaultEnabled: false,
|
|
537
|
+
enabledInDevelopment: true,
|
|
538
|
+
enabledForA8c: true,
|
|
539
|
+
planDefaults: {},
|
|
540
|
+
},
|
|
376
541
|
};
|
|
377
542
|
export const featureStateSourceSchema = z
|
|
378
543
|
.enum(["kill_switch", "env", "override", "default"])
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const launchEntries: readonly import("./feature-lifecycle-core.js").FeatureRegistryEntry<"zero" | "plans.paid.available" | "anonymous.publishing" | "domains.registration" | "domains.dns_management" | "domains.wpcom_dns" | "domains.domain_connect" | "domains.proxy_bindings" | "annotations.preview_loader" | "annotations.comments" | "annotations.notices" | "annotations.published_comments" | "sites.dedicated_runtime" | "tags" | "access.invites" | "access.sso_connections" | "access.byo_issuers" | "domains.catalog" | "build.content_pipeline" | "spaces.slug_rename", "annotations.comments" | "sites.dedicated_runtime">[];
|
|
2
|
+
export declare const registryHash = "sha256:bb171bdc1b4815eae685a2c97c5ab5042faf5b1fa0a99ad9ac4406d14210381d";
|