@wildo-ai/platform-config-lib 1.1.11 → 1.1.12
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/esm/_unimplemented/soft-warn.d.ts +24 -49
- package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -1
- package/dist/esm/_unimplemented/soft-warn.js +24 -49
- package/dist/esm/_unimplemented/soft-warn.js.map +1 -1
- package/dist/esm/blueprint/anchored-region.d.ts.map +1 -1
- package/dist/esm/blueprint/anchored-region.js.map +1 -1
- package/dist/esm/blueprint/blueprint.schemas.d.ts +0 -89
- package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -1
- package/dist/esm/blueprint/blueprint.schemas.js.map +1 -1
- package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts +8 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js +15 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +10 -2
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js +10 -2
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
- package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
- package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
- package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
- package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
- package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
- package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
- package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
- package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
- package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
- package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
- package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-response-integrity.js +3 -3
- package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -1
- package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
- package/dist/esm/bootstrap/wildo-owner-organization.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
- package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -1
- package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.js.map +1 -1
- package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
- package/dist/esm/credentials/credential-generator.service.js.map +1 -1
- package/dist/esm/index.d.ts +5 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
- package/dist/esm/key-management/approval-seal-verifier.d.ts +101 -39
- package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
- package/dist/esm/key-management/approval-seal-verifier.js +134 -12
- package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
- package/dist/esm/key-management/approval-seal.contracts.d.ts +12 -15
- package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/approval-seal.contracts.js +20 -0
- package/dist/esm/key-management/approval-seal.contracts.js.map +1 -1
- package/dist/esm/key-management/data-key.contracts.d.ts +0 -2
- package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/data-key.contracts.js.map +1 -1
- package/dist/esm/key-management/es256-jws.d.ts.map +1 -1
- package/dist/esm/key-management/es256-jws.js.map +1 -1
- package/dist/esm/key-management/key-provider.spi.d.ts +8 -1
- package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -1
- package/dist/esm/key-management/key-provider.spi.js.map +1 -1
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts +2 -12
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/keyring-rotation.contracts.js +3 -3
- package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -1
- package/dist/esm/key-management/keyring-status.contracts.d.ts +0 -7
- package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/keyring-status.contracts.js.map +1 -1
- package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
- package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
- package/dist/esm/key-management/pdf-incremental-update.js +730 -0
- package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
- package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
- package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
- package/dist/esm/key-management/pdf-truetype-font.js +152 -0
- package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
- package/dist/esm/key-management/qr-code.d.ts +38 -0
- package/dist/esm/key-management/qr-code.d.ts.map +1 -0
- package/dist/esm/key-management/qr-code.js +325 -0
- package/dist/esm/key-management/qr-code.js.map +1 -0
- package/dist/esm/key-management/signature-request.contracts.d.ts +0 -4
- package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/signature-request.contracts.js.map +1 -1
- package/dist/esm/key-management/signing-log-export.contracts.d.ts +0 -1
- package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -1
- package/dist/esm/key-management/vault-custody.contracts.d.ts +43 -0
- package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/vault-custody.contracts.js +66 -0
- package/dist/esm/key-management/vault-custody.contracts.js.map +1 -1
- package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
- package/dist/esm/lockfile/build-parallelism.js.map +1 -1
- package/dist/esm/lockfile/canonical-json.d.ts +1 -1
- package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
- package/dist/esm/lockfile/canonical-json.js +1 -1
- package/dist/esm/lockfile/canonical-json.js.map +1 -1
- package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
- package/dist/esm/lockfile/file-lock-hold.js +2 -1
- package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
- package/dist/esm/lockfile/lockfile-io.d.ts +6 -8
- package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
- package/dist/esm/lockfile/lockfile-io.js +6 -8
- package/dist/esm/lockfile/lockfile-io.js.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.d.ts +5 -6
- package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.js +4 -5
- package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +1 -247
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
- package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
- package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js +15 -3
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
- package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -1
- package/dist/esm/project-config/application-served-public-documents.loader.js +16 -8
- package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -1
- package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
- package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
- package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
- package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
- package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
- package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
- package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
- package/dist/esm/project-config/config-module-resolution.js +33 -0
- package/dist/esm/project-config/config-module-resolution.js.map +1 -0
- package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-framework-config.js.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.d.ts +109 -55
- package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.js +108 -70
- package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/define-minion-config.d.ts +26 -36
- package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-minion-config.js +64 -25
- package/dist/esm/project-config/define-minion-config.js.map +1 -1
- package/dist/esm/project-config/define-saas-config.d.ts +41 -437
- package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-saas-config.js +102 -94
- package/dist/esm/project-config/define-saas-config.js.map +1 -1
- package/dist/esm/project-config/define-worker-config.d.ts +10 -20
- package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-worker-config.js +10 -12
- package/dist/esm/project-config/define-worker-config.js.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.js +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/index.d.ts +2 -0
- package/dist/esm/project-config/index.d.ts.map +1 -1
- package/dist/esm/project-config/index.js +2 -0
- package/dist/esm/project-config/index.js.map +1 -1
- package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
- package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
- package/dist/esm/project-config/loader-instances-zod.js +40 -0
- package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
- package/dist/esm/project-config/loader.d.ts +131 -14
- package/dist/esm/project-config/loader.d.ts.map +1 -1
- package/dist/esm/project-config/loader.js +226 -12
- package/dist/esm/project-config/loader.js.map +1 -1
- package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
- package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
- package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
- package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
- package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
- package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
- package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
- package/dist/esm/project-config/npm-version-range.js.map +1 -1
- package/dist/esm/project-config/owning-package-tsconfig.d.ts +7 -7
- package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -1
- package/dist/esm/project-config/owning-package-tsconfig.js +7 -7
- package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -1
- package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -1
- package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
- package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
- package/dist/esm/project-config/provider-companion-discovery.js +3 -1
- package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts +71 -46
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.js +150 -4
- package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
- package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
- package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/backing-service-servability.d.ts.map +1 -1
- package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
- package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
- package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.d.ts +34 -6
- package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.js +52 -8
- package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
- package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp-emit.js +77 -24
- package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -84
- package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.js +40 -12
- package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
- package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
- package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.d.ts +95 -8
- package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.js +122 -10
- package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +20 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.js +21 -2
- package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
- package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
- package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +62 -36
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-key-management.schemas.js +105 -3
- package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
- package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
- package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
- package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
- package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
- package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
- package/dist/esm/project-config/static-asset-import-noop.js +36 -20
- package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
- package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
- package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
- package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
- package/dist/esm/registry/digest.schemas.d.ts.map +1 -1
- package/dist/esm/registry/digest.schemas.js.map +1 -1
- package/dist/esm/registry/index.d.ts +2 -3
- package/dist/esm/registry/index.d.ts.map +1 -1
- package/dist/esm/registry/index.js +2 -3
- package/dist/esm/registry/index.js.map +1 -1
- package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
- package/dist/esm/registry/local-checkout-source.js.map +1 -1
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +1 -98
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
- package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
- package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
- package/dist/esm/registry/module-artifact.schemas.d.ts +17 -17
- package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.d.ts +151 -219
- package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.js +145 -13
- package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
- package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-search.schemas.js.map +1 -1
- package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
- package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
- package/dist/esm/registry/registry-config.schemas.js.map +1 -1
- package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
- package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
- package/dist/esm/registry/registry-errors.d.ts +81 -3
- package/dist/esm/registry/registry-errors.d.ts.map +1 -1
- package/dist/esm/registry/registry-errors.js +185 -4
- package/dist/esm/registry/registry-errors.js.map +1 -1
- package/dist/esm/registry/registry-keys.schemas.d.ts.map +1 -1
- package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
- package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
- package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
- package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -1
- package/dist/esm/registry/registry-url-resolution.js.map +1 -1
- package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
- package/dist/esm/release/framework-release.constants.js.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.d.ts +0 -7
- package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
- package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
- package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -1
- package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
- package/dist/esm/workspace-scope/index.d.ts.map +1 -1
- package/dist/esm/workspace-scope/index.js.map +1 -1
- package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
- package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/dist/esm/_unimplemented/index.d.ts +0 -3
- package/dist/esm/_unimplemented/index.d.ts.map +0 -1
- package/dist/esm/_unimplemented/index.js +0 -3
- package/dist/esm/_unimplemented/index.js.map +0 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
- package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
- package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
- package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
- package/dist/esm/project-config/shared/cdn.example.js +0 -38
- package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
- package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
- package/dist/esm/project-config/shared/schema-version.schemas.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InboundEmailConfigSchema, RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { UnimplementedFieldSource, createUnimplementedFieldWarner, } from '../_unimplemented/unimplemented-field-warning.js';
|
|
4
3
|
import { WildoAuthConfigSchema } from './shared/auth.schemas.js';
|
|
5
4
|
import { ApplicationCreationVerificationConfigSchema } from './shared/application-creation-verification.schemas.js';
|
|
6
5
|
import { BackingServiceKind, BackingServiceSource, BackingServicesEnvConfigSchema } from './shared/backing-services.schemas.js';
|
|
@@ -9,9 +8,8 @@ import { WildoSystemsOfRecordEnvConfigSchema } from './shared/systems-of-record-
|
|
|
9
8
|
import { WildoPlatformStorageConfigSchema } from './shared/platform-storage.schemas.js';
|
|
10
9
|
import { WildoPlatformKeyManagementConfigSchema } from './shared/platform-key-management.schemas.js';
|
|
11
10
|
import { EnvCspOverrideSchema } from './shared/csp.schemas.js';
|
|
12
|
-
import { WildoSchemaVersionSchema } from './shared/schema-version.schemas.js';
|
|
13
11
|
import { InfraServiceAddressingSchema, } from './shared/infra-service.schemas.js';
|
|
14
|
-
import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
|
|
12
|
+
import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, DEFAULT_ENVIRONMENT_SERVICE_PROFILE, EnvironmentServiceProfile, EnvironmentServiceProfileOptionalService, describeServiceOmittedByEnvironmentServiceProfile, environmentServiceProfileOmits, environmentServiceProfileRunsOneDatabaseFamily, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
|
|
15
13
|
const InfraEnvKubernetesSchema = WildoKubernetesConfigSchema.strict();
|
|
16
14
|
/**
|
|
17
15
|
* A POSIX (`/…`), drive-letter (`C:\…`, `C:/…`) or UNC (`\\host\…`) absolute path.
|
|
@@ -58,9 +56,8 @@ const SERVICE_HOST_LABEL = /^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)(?:\.[a-z0-9](?:
|
|
|
58
56
|
* single topology on every environment; the per-env map keeps those
|
|
59
57
|
* decisions explicit and author-driven.
|
|
60
58
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* when building cross-frontend handoff URLs.
|
|
59
|
+
* The URL composer that builds cross-frontend handoff URLs consumes
|
|
60
|
+
* this mapping.
|
|
64
61
|
*/
|
|
65
62
|
const ServiceHostValueSchema = z.string()
|
|
66
63
|
.refine((value) => value === '' || SERVICE_HOST_LABEL.test(value), 'serviceHosts value must be a lowercase DNS subdomain chain (e.g. "app", "docs", "dev.admin") or "" (empty string, meaning apex).');
|
|
@@ -112,23 +109,10 @@ export const WildoOwnershipDnsStandInConfigSchema = z.strictObject({
|
|
|
112
109
|
* descriptors can agree on what an application-owned field IS without restating it.
|
|
113
110
|
*/
|
|
114
111
|
const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
115
|
-
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* `'2.3.1-rc.1'`, `'1.0.0+build.42'`).
|
|
119
|
-
*
|
|
120
|
-
* @unimplemented Slice 3.5 wires a parse-time warning when this is
|
|
121
|
-
* authored. The full schema-evolution / migration tooling story is
|
|
122
|
-
* tracked under deferred-backlog **D-5**
|
|
123
|
-
* (`.cursor/plans/post-flattening-completion-fixes.md`). Symmetrical
|
|
124
|
-
* with `WildoSaasConfig.version` — both reservations land/retire
|
|
125
|
-
* together so the migration tooling, when it ships, can target both
|
|
126
|
-
* authored configs through a single mechanism. SemVer (not a bare
|
|
127
|
-
* integer) was chosen for the same reason as on the SaaS-config side
|
|
128
|
-
* — see the JSDoc on `WildoSaasConfig.version`. Field is `.optional()`
|
|
129
|
-
* (no Zod default) so unauthored configs stay silent.
|
|
112
|
+
/*
|
|
113
|
+
* No `version` key, deliberately (#3496): the descriptor's compatibility is fixed by the `@wildo-ai/*` release the
|
|
114
|
+
* application installs, exactly as for `wildo.saas.config.ts`. The strict object refuses one if it is authored.
|
|
130
115
|
*/
|
|
131
|
-
version: WildoSchemaVersionSchema.optional(),
|
|
132
116
|
environment: WildoEnvironmentIdSchema,
|
|
133
117
|
locationType: z.enum(WildoLocationType).optional(),
|
|
134
118
|
runtimeEnvironment: z.enum(RuntimeEnvironment).optional(),
|
|
@@ -146,6 +130,25 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
146
130
|
* Ignored by KUBERNETES environments, which take their storage from PVs rather than from here.
|
|
147
131
|
*/
|
|
148
132
|
localDataStorage: z.enum(WildoLocalDataStorage).optional(),
|
|
133
|
+
/**
|
|
134
|
+
* Which optional backing services this environment runs — its footprint (#2303). Omit it and the
|
|
135
|
+
* environment runs `FULL`, every service its declarations ask for.
|
|
136
|
+
*
|
|
137
|
+
* `SMALL` runs no ClamAV, no immudb and no mongot. A small internal tool usually needs none of them, and
|
|
138
|
+
* they are the heaviest containers in the stack. Each capability that depends on one is REFUSED at the
|
|
139
|
+
* application's boot when the application declares it, with a message naming this profile and the remedy:
|
|
140
|
+
* a `z_file({ scanPolicy: 'required' })` field (antivirus), an enabled `COMPLIANCE_AUDIT_TRAIL` with no
|
|
141
|
+
* external audit store (immudb), a `.ragSource()` field on a MongoDB-persisted resource (mongot; on
|
|
142
|
+
* PostgreSQL pgvector serves vector search inside the database, so it stays available).
|
|
143
|
+
*
|
|
144
|
+
* Moving between profiles migrates no data: a service the profile adds starts empty (an audit store with
|
|
145
|
+
* no history, a search index that mongot builds from the collections), and one it removes leaves its
|
|
146
|
+
* data where it was.
|
|
147
|
+
*
|
|
148
|
+
* Docker Compose environments only for now: a KUBERNETES environment declaring a non-`FULL` profile is
|
|
149
|
+
* refused, because its manifests would ignore it.
|
|
150
|
+
*/
|
|
151
|
+
serviceProfile: z.enum(EnvironmentServiceProfile).optional(),
|
|
149
152
|
/**
|
|
150
153
|
* The store the PLATFORM's own data lives in (apps-manager + module-registry:
|
|
151
154
|
* users, organizations, applications, sessions, API keys).
|
|
@@ -391,8 +394,9 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
391
394
|
* per environment is what lets `wildo config sync` carry them, instead of an operator
|
|
392
395
|
* remembering three env vars on a build command.
|
|
393
396
|
*
|
|
394
|
-
*
|
|
395
|
-
* `WILDO_DOCS_FRONTEND_SERVICE_NAME`
|
|
397
|
+
* Passed as `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
|
|
398
|
+
* `WILDO_DOCS_FRONTEND_SERVICE_NAME` to the documentation image's build and to the CI workflow, read from the
|
|
399
|
+
* loaded descriptor; no runtime environment carries them (#2310).
|
|
396
400
|
* See {@link WildoDocumentationSiteConfigSchema}.
|
|
397
401
|
*/
|
|
398
402
|
documentationSite: WildoDocumentationSiteConfigSchema.optional(),
|
|
@@ -428,8 +432,7 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
428
432
|
*
|
|
429
433
|
* 1. Platform default (per-`AppFrontendType` baseline) — `csp-defaults.ts`.
|
|
430
434
|
* 2. App-static (per-frontend `csp?` block) — authored on each
|
|
431
|
-
* service-definition (today: `wildo.tech-doc.config.ts.csp?`
|
|
432
|
-
* `saas-technical-doc.md` Step 7.5).
|
|
435
|
+
* service-definition (today: `wildo.tech-doc.config.ts.csp?`).
|
|
433
436
|
* 3. **THIS FIELD** — env-specific overrides authored under
|
|
434
437
|
* `wildo.infra.<env>.config.ts.csp?[serviceKey]`. The
|
|
435
438
|
* `resolveCspPolicy({ envOverride, environmentId })` resolver
|
|
@@ -543,6 +546,39 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
543
546
|
infraConfigPath: z.string().regex(ABSOLUTE_PATH_PATTERN, 'infrastructureHost.infraConfigPath must be absolute once resolved.'),
|
|
544
547
|
}).optional(),
|
|
545
548
|
};
|
|
549
|
+
/**
|
|
550
|
+
* #2303 — the database families an environment that OWNS its platform runs, each with the declarations that bring it
|
|
551
|
+
* in, derived from what the descriptor declares rather than asked: the platform's engine (authored, or inferred from
|
|
552
|
+
* the declared stores), the application's (`resolveApplicationDatabaseEngine`, absent means PostgreSQL), and every
|
|
553
|
+
* declared database store.
|
|
554
|
+
*
|
|
555
|
+
* The inferred platform engine needs no copy of the CLI's inference (`inferDatabaseChoiceFromInfraConfig`): it always
|
|
556
|
+
* names a DECLARED store when one is declared, so it can add no family the declared stores do not already add. Only
|
|
557
|
+
* when NO store is declared does it bring one in on its own, MongoDB, as an implicit self-hosted mongod.
|
|
558
|
+
*/
|
|
559
|
+
function databaseFamiliesRunByEnvironment(config) {
|
|
560
|
+
const families = new Map();
|
|
561
|
+
const add = (engine, why) => {
|
|
562
|
+
families.set(engine, [...(families.get(engine) ?? []), why]);
|
|
563
|
+
};
|
|
564
|
+
const declaredStores = [
|
|
565
|
+
[BackingServiceKind.MONGODB, DatabaseEngine.MONGODB],
|
|
566
|
+
[BackingServiceKind.POSTGRESQL, DatabaseEngine.POSTGRESQL],
|
|
567
|
+
];
|
|
568
|
+
let anyStoreDeclared = false;
|
|
569
|
+
for (const [kind, engine] of declaredStores) {
|
|
570
|
+
if (config.backingServices[kind] !== undefined) {
|
|
571
|
+
anyStoreDeclared = true;
|
|
572
|
+
add(engine, `backingServices.${kind}`);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
if (config.database)
|
|
576
|
+
add(config.database.engine, 'database.engine');
|
|
577
|
+
else if (!anyStoreDeclared)
|
|
578
|
+
add(DatabaseEngine.MONGODB, 'the platform store inferred when no database store is declared');
|
|
579
|
+
add(resolveApplicationDatabaseEngine(config.applicationDatabase), config.applicationDatabase ? 'applicationDatabase.engine' : 'the application\'s default engine (applicationDatabase absent)');
|
|
580
|
+
return families;
|
|
581
|
+
}
|
|
546
582
|
const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).strict().superRefine((config, ctx) => {
|
|
547
583
|
const resolvedEnvironment = config.environment;
|
|
548
584
|
const resolvedLocationType = config.locationType
|
|
@@ -725,6 +761,42 @@ const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).st
|
|
|
725
761
|
+ 'application beside it and uses the fixed platform bucket. Author it only in wildo.infra.remote.config.ts.',
|
|
726
762
|
});
|
|
727
763
|
}
|
|
764
|
+
/*
|
|
765
|
+
* #2303 — a service profile and a declaration that contradict it. `backingServices.clamav` / `.immudb`
|
|
766
|
+
* with `source: SELF` asks the environment to RUN a service the profile says it does not run; neither
|
|
767
|
+
* can win silently, so the descriptor is refused here, while it is open. The compose generator refuses
|
|
768
|
+
* the same pair again (an invariant enforced at one site is enforced at none of the others).
|
|
769
|
+
*/
|
|
770
|
+
if (config.serviceProfile !== undefined) {
|
|
771
|
+
// #2303 — both lanes render a profile now (the Kubernetes manifests since the second slice), so a KUBERNETES
|
|
772
|
+
// environment may declare one; its refusal was the stand-in for a lane that ignored the declaration.
|
|
773
|
+
const databaseFamilies = databaseFamiliesRunByEnvironment(config);
|
|
774
|
+
if (environmentServiceProfileRunsOneDatabaseFamily(config.serviceProfile) && config.infrastructureHost === undefined && databaseFamilies.size > 1) {
|
|
775
|
+
ctx.addIssue({
|
|
776
|
+
code: 'custom',
|
|
777
|
+
path: ['serviceProfile'],
|
|
778
|
+
message: `serviceProfile '${config.serviceProfile}' runs ONE database family, and this environment runs `
|
|
779
|
+
+ `${[...databaseFamilies.entries()].map(([engine, why]) => `${engine} (${why.join(', ')})`).join(' and ')}. `
|
|
780
|
+
+ 'Put the platform and the application on the same engine (`database.engine` and `applicationDatabase.engine`) '
|
|
781
|
+
+ `and declare only that store in \`backingServices\`, or set serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
for (const [kind, service] of [
|
|
785
|
+
[BackingServiceKind.CLAMAV, EnvironmentServiceProfileOptionalService.ANTIVIRUS_SCANNER],
|
|
786
|
+
[BackingServiceKind.IMMUDB, EnvironmentServiceProfileOptionalService.IMMUTABLE_AUDIT_STORE],
|
|
787
|
+
]) {
|
|
788
|
+
if (config.backingServices[kind]?.source === BackingServiceSource.SELF
|
|
789
|
+
&& environmentServiceProfileOmits(config.serviceProfile, service)) {
|
|
790
|
+
ctx.addIssue({
|
|
791
|
+
code: 'custom',
|
|
792
|
+
path: ['backingServices', kind],
|
|
793
|
+
message: `${describeServiceOmittedByEnvironmentServiceProfile(config.serviceProfile, service)} `
|
|
794
|
+
+ `\`backingServices.${kind}: { source: SELF }\` asks it to run one. Remove the declaration, or set `
|
|
795
|
+
+ `serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
728
800
|
if (config.cdn && resolvedLocationType !== WildoLocationType.REMOTE) {
|
|
729
801
|
for (const serviceKey of Object.keys(config.cdn)) {
|
|
730
802
|
ctx.addIssue({
|
|
@@ -742,7 +814,6 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
|
|
|
742
814
|
const locationType = config.locationType
|
|
743
815
|
?? (isLocalEnvironmentId(environment) ? WildoLocationType.LOCAL : WildoLocationType.REMOTE);
|
|
744
816
|
return {
|
|
745
|
-
version: config.version,
|
|
746
817
|
environment,
|
|
747
818
|
locationType,
|
|
748
819
|
runtimeEnvironment: config.runtimeEnvironment,
|
|
@@ -752,6 +823,8 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
|
|
|
752
823
|
* reader sees one answer. The derivation is total over `WildoLocationType`.
|
|
753
824
|
*/
|
|
754
825
|
localDataStorage: config.localDataStorage ?? resolveDefaultLocalDataStorage(locationType),
|
|
826
|
+
/** Resolved here, like `localDataStorage`, so every reader sees the settled answer (#2303). */
|
|
827
|
+
serviceProfile: config.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE,
|
|
755
828
|
/**
|
|
756
829
|
* Projected EXPLICITLY, like every field here — this list IS the contract, and a field omitted
|
|
757
830
|
* from it is silently dropped no matter what the input schema accepted. `undefined` when the
|
|
@@ -830,7 +903,6 @@ export var InfraEnvFieldOwner;
|
|
|
830
903
|
* schema accepts exactly the APPLICATION and PARTITIONED members.
|
|
831
904
|
*/
|
|
832
905
|
export const INFRA_ENV_FIELD_OWNERSHIP = {
|
|
833
|
-
version: InfraEnvFieldOwner.APPLICATION,
|
|
834
906
|
environment: InfraEnvFieldOwner.APPLICATION,
|
|
835
907
|
locationType: InfraEnvFieldOwner.HOST,
|
|
836
908
|
runtimeEnvironment: InfraEnvFieldOwner.HOST,
|
|
@@ -844,6 +916,12 @@ export const INFRA_ENV_FIELD_OWNERSHIP = {
|
|
|
844
916
|
* describing a file it does not own.
|
|
845
917
|
*/
|
|
846
918
|
localDataStorage: InfraEnvFieldOwner.HOST,
|
|
919
|
+
/*
|
|
920
|
+
* HOST, for the same reason as `localDataStorage`: it decides which containers the SHARED platform runs.
|
|
921
|
+
* A hosted application cannot ask for an immudb its host does not run, and the profile reaches it from
|
|
922
|
+
* the host so its boot refuses a capability the shared platform does not back (#2303).
|
|
923
|
+
*/
|
|
924
|
+
serviceProfile: InfraEnvFieldOwner.HOST,
|
|
847
925
|
database: InfraEnvFieldOwner.HOST,
|
|
848
926
|
applicationDatabase: InfraEnvFieldOwner.APPLICATION,
|
|
849
927
|
publicDomain: InfraEnvFieldOwner.APPLICATION,
|
|
@@ -995,7 +1073,6 @@ export const WildoHostedInfraEnvConfigSchema = z.strictObject({
|
|
|
995
1073
|
*/
|
|
996
1074
|
applicationRoot: z.string().min(1).refine((value) => !ABSOLUTE_PATH_PATTERN.test(value), 'infrastructureHost.applicationRoot must be relative to this application root (e.g. "../wonder-todos"): the descriptor is committed, and an absolute path only exists on one machine.'),
|
|
997
1075
|
}, refuseHostOwnedKeys('infrastructureHost')),
|
|
998
|
-
version: WILDO_INFRA_ENV_CONFIG_SHAPE.version,
|
|
999
1076
|
environment: WILDO_INFRA_ENV_CONFIG_SHAPE.environment,
|
|
1000
1077
|
applicationDatabase: WILDO_INFRA_ENV_CONFIG_SHAPE.applicationDatabase,
|
|
1001
1078
|
publicDomain: WILDO_INFRA_ENV_CONFIG_SHAPE.publicDomain,
|
|
@@ -1046,11 +1123,6 @@ export function isHostedInfraEnvConfig(config) {
|
|
|
1046
1123
|
*
|
|
1047
1124
|
* This is the canonical authored env contract for the flattened targeted-app
|
|
1048
1125
|
* layout.
|
|
1049
|
-
*
|
|
1050
|
-
* After successful parsing, emits Slice 3.5 `@unimplemented` warnings for
|
|
1051
|
-
* authored fields that remain reserved — see `_unimplemented/unimplemented-field-warning.ts`
|
|
1052
|
-
* for the design rationale (channel = stderr, dedupe = once-per-call,
|
|
1053
|
-
* format = single-line with backlog ID).
|
|
1054
1126
|
*/
|
|
1055
1127
|
export function defineInfraEnvConfig(config) {
|
|
1056
1128
|
/*
|
|
@@ -1064,9 +1136,7 @@ export function defineInfraEnvConfig(config) {
|
|
|
1064
1136
|
+ 'An application running on another application\'s infrastructure is declared with defineHostedInfraEnvConfig({ '
|
|
1065
1137
|
+ 'infrastructureHost: { applicationRoot: \'../<host-app>\' }, … }).');
|
|
1066
1138
|
}
|
|
1067
|
-
|
|
1068
|
-
emitInfraUnimplementedRuntimeWarnings(parsed);
|
|
1069
|
-
return parsed;
|
|
1139
|
+
return WildoInfraEnvConfigSchema.parse(config);
|
|
1070
1140
|
}
|
|
1071
1141
|
/**
|
|
1072
1142
|
* Define an environment descriptor for an application that runs on ANOTHER application's infrastructure.
|
|
@@ -1081,38 +1151,6 @@ export function defineInfraEnvConfig(config) {
|
|
|
1081
1151
|
* The result is NOT an environment yet: `loadInfraEnvConfig` resolves it against the host.
|
|
1082
1152
|
*/
|
|
1083
1153
|
export function defineHostedInfraEnvConfig(config) {
|
|
1084
|
-
|
|
1085
|
-
emitInfraUnimplementedRuntimeWarnings(parsed);
|
|
1086
|
-
return parsed;
|
|
1087
|
-
}
|
|
1088
|
-
/**
|
|
1089
|
-
* Emit `@unimplemented` parse-time warnings for every authored `WildoInfraEnvConfig` field that remains
|
|
1090
|
-
* reserved (Slice 3.5 contract — see `_unimplemented/unimplemented-field-warning.ts`).
|
|
1091
|
-
*
|
|
1092
|
-
* One field today: `version` (!== undefined) → `D-5`.
|
|
1093
|
-
*
|
|
1094
|
-
* `csp.<serviceKey>` is NOT in this list (#2047). It has a runtime consumer, `wildo dev sync-csp`, which merges each
|
|
1095
|
-
* entry into its service's generated policy and refuses a key that names no frontend service. The warning used to stay
|
|
1096
|
-
* on and be SUPPRESSED by the one loader that consumed it, so every other command loading the same file (`wildo docs
|
|
1097
|
-
* publish`, for one) printed "no runtime consumer" for every authored key. Whether a field is consumed is a property of
|
|
1098
|
-
* the schema, not of which command ran first.
|
|
1099
|
-
*
|
|
1100
|
-
* `logging.{level, formattedConsoleErrors}` is intentionally NOT in this list: Slice 3.5 wires both fields end-to-end
|
|
1101
|
-
* (persistence, `env-vars-builder` → `LOG_LEVEL` / `LOG_FORMATTED_CONSOLE_ERRORS`, `LoggerService.loadConfiguration`),
|
|
1102
|
-
* so they have a real runtime consumer and silence is the honest behavior.
|
|
1103
|
-
*
|
|
1104
|
-
* `domain` is intentionally NOT in this list either: Slice 3.5 deleted the field outright as a wrong-seam, and the
|
|
1105
|
-
* `external-public-domain-rename.md` follow-up renamed the canonical hostname seam to top-level `publicDomain`
|
|
1106
|
-
* (replacing the misnamed `kubernetes.baseDomain`). Both `domain` and `kubernetes.baseDomain` are strict-rejected by
|
|
1107
|
-
* the schema — see the strict-pin tests in `__tests__/define-infra-env-config.unimplemented.test.ts`.
|
|
1108
|
-
*
|
|
1109
|
-
* When the deferred backlog item lands, the matching `if` branch below MUST be removed in the same commit as the
|
|
1110
|
-
* runtime wiring — leaving a stale warning is worse than silence.
|
|
1111
|
-
*/
|
|
1112
|
-
function emitInfraUnimplementedRuntimeWarnings(config) {
|
|
1113
|
-
const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.INFRA_ENV_CONFIG);
|
|
1114
|
-
if (config.version !== undefined) {
|
|
1115
|
-
warn('version', 'D-5');
|
|
1116
|
-
}
|
|
1154
|
+
return WildoHostedInfraEnvConfigSchema.parse(config);
|
|
1117
1155
|
}
|
|
1118
1156
|
//# sourceMappingURL=define-infra-env-config.js.map
|