@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.
- package/README.md +12 -4
- package/dist/index.d.mts +21 -2
- package/dist/index.mjs +52 -7
- package/dist/installer.d.mts +1 -0
- package/dist/installer.mjs +2 -0
- package/dist/runtime/api/README.md +1 -1
- package/dist/runtime/api/assets/admin/client.js +1 -1
- package/dist/runtime/api/index.js +561 -84
- package/dist/runtime/api/index.js.map +4 -4
- package/dist/runtime/dispatch/README.md +1 -1
- package/dist/runtime/dispatch/index.js +7 -1
- package/dist/runtime/dispatch/index.js.map +2 -2
- package/dist/runtime/emailGateway/README.md +1 -1
- package/dist/runtime/manifest.json +9 -8
- package/dist/runtime/proxy/README.md +1 -1
- package/dist/runtime/tail/README.md +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
This folder contains the built output assets for the worker "void-runtime-build-dispatch" generated at 2026-10-
|
|
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)) {
|