@void/platform 0.23.0 → 0.24.0

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.
@@ -1 +1 @@
1
- This folder contains the built output assets for the worker "void-runtime-build-dispatch" generated at 2026-10-02T09:44:06.702Z.
1
+ This folder contains the built output assets for the worker "void-runtime-build-dispatch" generated at 2026-10-03T03:31:26.057Z.
@@ -210,6 +210,11 @@ function createPlatformDeploymentManifest(input) {
210
210
  ...input.capabilities
211
211
  };
212
212
  if (capabilities.managedBuilds && !capabilities.githubActions) throw new Error("Managed builds require the GitHub Actions capability.");
213
+ if (input.appAccess !== void 0 && ![
214
+ "public",
215
+ "platform",
216
+ "custom"
217
+ ].includes(input.appAccess)) throw new Error("appAccess must be public, platform, or custom.");
213
218
  const providers = input.authentication?.providers ?? ["github"];
214
219
  if (providers.some((provider) => !PLATFORM_LOGIN_KINDS.includes(provider)) || new Set(providers).size !== providers.length) throw new Error("Authentication providers must be unique supported login kinds.");
215
220
  const configurable = input.authentication?.configurable === true || input.authentication?.accessProtection === true || providers.some((provider) => provider === "oidc" || provider === "cloudflare-access");
@@ -218,6 +223,7 @@ function createPlatformDeploymentManifest(input) {
218
223
  if (providers.includes("google") !== capabilities.googleOAuth) throw new Error("The Google provider and googleOAuth capability must agree.");
219
224
  const dashboardUrl = input.controlPlane?.dashboardUrl === void 0 ? void 0 : normalizePlatformDashboardUrl(input.controlPlane.dashboardUrl);
220
225
  const manifest = {
226
+ ...input.appAccess !== void 0 ? { appAccess: input.appAccess } : {},
221
227
  application: {
222
228
  baseDomain,
223
229
  dedicatedZone: input.application.dedicatedZone ?? false,
@@ -244,7 +250,7 @@ function createPlatformDeploymentManifest(input) {
244
250
  displayName: requiredString$1(input.displayName, "displayName").trim(),
245
251
  installationSlug,
246
252
  resources,
247
- schemaVersion: configurable ? 3 : workersDev ? 2 : 1
253
+ schemaVersion: input.appAccess !== void 0 ? 4 : configurable ? 3 : workersDev ? 2 : 1
248
254
  };
249
255
  createApplicationRoutes(manifest.application);
250
256
  for (const [key, value] of Object.entries(manifest.controlPlane)) {