@wildo-ai/platform-config-lib 1.1.11 → 1.1.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/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 +114 -40
- package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
- package/dist/esm/key-management/approval-seal-verifier.js +143 -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 +146 -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 +124 -71
- 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 +2 -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 +67 -38
- 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 +113 -5
- 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
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The worker half of `readBackendComplianceSection` (#3440): evaluates an application's backend configuration and
|
|
3
|
+
* posts back its `compliance` section, as plain data.
|
|
4
|
+
*
|
|
5
|
+
* It runs in its own thread so that what the evaluation loads is freed when the thread ends. Until #2998 a framework
|
|
6
|
+
* checkout's configuration evaluated the whole backend library from source (`import … from '@wildo-ai/saas-backend-lib'`
|
|
7
|
+
* for six enums), and in the caller's thread that graph stayed for the life of the process: about 555 MB in
|
|
8
|
+
* `wildo website audit` on Wonder Todos, and the same in every website build process that loads its site context.
|
|
9
|
+
* Those enums now come from `@wildo-ai/saas-models` and the backend library only for its `import type`, so the
|
|
10
|
+
* evaluation is small; the thread still bounds what an application's own configuration loads.
|
|
11
|
+
*
|
|
12
|
+
* Plain JavaScript once types are stripped, and it imports only packages, its own included (a self-reference, which
|
|
13
|
+
* resolves to this package's built entry): it runs from `src` under a test runner, where Node strips the types, and
|
|
14
|
+
* from `dist` everywhere else. It is never re-exported, because importing it outside a worker thread throws.
|
|
15
|
+
*/
|
|
16
|
+
import { parentPort, workerData } from 'node:worker_threads';
|
|
17
|
+
import { describeCaughtError } from '@wildo-ai/saas-models';
|
|
18
|
+
/**
|
|
19
|
+
* This package, by its own name. A variable rather than a literal on purpose: a typed self-reference would make the
|
|
20
|
+
* compiler read this package's emitted declarations in place of its own sources, the cycle #363 removed. The types come
|
|
21
|
+
* from the relative `import type` lines above instead.
|
|
22
|
+
*/
|
|
23
|
+
const SELF_PACKAGE = '@wildo-ai/platform-config-lib';
|
|
24
|
+
async function run() {
|
|
25
|
+
if (parentPort === null) {
|
|
26
|
+
throw new Error('backend-compliance-section.worker must run as a worker thread.');
|
|
27
|
+
}
|
|
28
|
+
const input = workerData;
|
|
29
|
+
let result;
|
|
30
|
+
try {
|
|
31
|
+
const platformConfigLib = (await import(SELF_PACKAGE));
|
|
32
|
+
// The caller's thread may have registered this already; hooks are per thread, so this one registers its own.
|
|
33
|
+
platformConfigLib.registerStaticAssetImportNoop();
|
|
34
|
+
// A fresh module graph: what the configuration says now, never an evaluation an earlier load of this thread served.
|
|
35
|
+
//
|
|
36
|
+
// How the framework packages are resolved is decided by the caller's thread (`readBackendComplianceSection`), which
|
|
37
|
+
// can ask its own copy of this package what it resolves.
|
|
38
|
+
//
|
|
39
|
+
// `LOADER_INSTANCES` is the built copies this package resolves, imported natively, so a website build transpiles
|
|
40
|
+
// none of them, cold or warm (#2998). This read asks what the configuration DECLARES (its release records and
|
|
41
|
+
// approval gate), which is what that resolution is for. It was rejected here while the configuration imported values
|
|
42
|
+
// from `@wildo-ai/saas-backend-lib`: that package is not a dependency of this one, so the build route brought the
|
|
43
|
+
// application's own `@wildo-ai/saas-models` beside the copy the aliases give the configuration, two copies in one
|
|
44
|
+
// evaluation, for the same memory (#3440). The six enums the configuration names now live in `@wildo-ai/saas-models`
|
|
45
|
+
// and it imports the backend library only as a type, so everything it evaluates from the framework is a dependency of
|
|
46
|
+
// this package: one copy. `@wildo-ai/presets-components-models` (`AvailableLanguage`), no dependency of this package,
|
|
47
|
+
// still resolves from the application's install, with its own `@wildo-ai/zod-decorators`; it imports no saas-models.
|
|
48
|
+
//
|
|
49
|
+
// Measured on Wonder Todos (2026-11-06, a fresh process each): 5.0 s and 557 MB live per read before the move; 1.5 s
|
|
50
|
+
// and 48 MB with the inferred resolution after it; 0.1 s and 14 MB with `LOADER_INSTANCES`, the same section byte for
|
|
51
|
+
// byte. With an empty transpile cache (a fresh website image): 4.6 s inferred, 0.2 s with `LOADER_INSTANCES`.
|
|
52
|
+
//
|
|
53
|
+
// A configuration written before the move, importing those enums from the backend library, no longer loads (the
|
|
54
|
+
// library does not export them): the read refuses, and the site keeps every public-document link.
|
|
55
|
+
const config = await platformConfigLib.loadConfig(input.configPath, {
|
|
56
|
+
freshModuleCache: true,
|
|
57
|
+
...(input.moduleResolution === undefined ? {} : { moduleResolution: input.moduleResolution }),
|
|
58
|
+
});
|
|
59
|
+
result = { compliance: config?.compliance };
|
|
60
|
+
}
|
|
61
|
+
catch (error) {
|
|
62
|
+
result = { error };
|
|
63
|
+
}
|
|
64
|
+
try {
|
|
65
|
+
parentPort.postMessage(result);
|
|
66
|
+
}
|
|
67
|
+
catch (cloneError) {
|
|
68
|
+
// A structured clone refuses a function or a symbol, so a section holding one cannot be handed over; say so rather
|
|
69
|
+
// than hand over less. (A class instance is not refused: it crosses as a plain object.)
|
|
70
|
+
parentPort.postMessage({
|
|
71
|
+
error: 'compliance' in result
|
|
72
|
+
? new Error('The backend configuration\'s compliance section holds a value that cannot be cloned (a function or a symbol), so it cannot be read.', { cause: cloneError })
|
|
73
|
+
: new Error(describeCaughtError(result.error), { cause: cloneError }),
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
await run();
|
|
78
|
+
//# sourceMappingURL=backend-compliance-section.worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend-compliance-section.worker.js","sourceRoot":"","sources":["../../../src/project-config/backend-compliance-section.worker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAK5D;;;;GAIG;AACH,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAoBrD,KAAK,UAAU,GAAG;IAChB,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;IACpF,CAAC;IACD,MAAM,KAAK,GAAG,UAAiD,CAAC;IAChE,IAAI,MAA4C,CAAC;IACjD,IAAI,CAAC;QACH,MAAM,iBAAiB,GAAG,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAGpD,CAAC;QACF,6GAA6G;QAC7G,iBAAiB,CAAC,6BAA6B,EAAE,CAAC;QAClD,oHAAoH;QACpH,EAAE;QACF,oHAAoH;QACpH,yDAAyD;QACzD,EAAE;QACF,iHAAiH;QACjH,8GAA8G;QAC9G,qHAAqH;QACrH,kHAAkH;QAClH,kHAAkH;QAClH,qHAAqH;QACrH,sHAAsH;QACtH,sHAAsH;QACtH,qHAAqH;QACrH,EAAE;QACF,qHAAqH;QACrH,sHAAsH;QACtH,8GAA8G;QAC9G,EAAE;QACF,gHAAgH;QAChH,kGAAkG;QAClG,MAAM,MAAM,GAAG,MAAM,iBAAiB,CAAC,UAAU,CAAoC,KAAK,CAAC,UAAU,EAAE;YACrG,gBAAgB,EAAE,IAAI;YACtB,GAAG,CAAC,KAAK,CAAC,gBAAgB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,EAAE,CAAC;SAC9F,CAAC,CAAC;QACH,MAAM,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IAC9C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC;IACrB,CAAC;IACD,IAAI,CAAC;QACH,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAAC,OAAO,UAAU,EAAE,CAAC;QACpB,mHAAmH;QACnH,wFAAwF;QACxF,UAAU,CAAC,WAAW,CAAC;YACrB,KAAK,EAAE,YAAY,IAAI,MAAM;gBAC3B,CAAC,CAAC,IAAI,KAAK,CAAC,qIAAqI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;gBACzK,CAAC,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;SACzB,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,MAAM,GAAG,EAAE,CAAC","sourcesContent":["/**\n * The worker half of `readBackendComplianceSection` (#3440): evaluates an application's backend configuration and\n * posts back its `compliance` section, as plain data.\n *\n * It runs in its own thread so that what the evaluation loads is freed when the thread ends. Until #2998 a framework\n * checkout's configuration evaluated the whole backend library from source (`import … from '@wildo-ai/saas-backend-lib'`\n * for six enums), and in the caller's thread that graph stayed for the life of the process: about 555 MB in\n * `wildo website audit` on Wonder Todos, and the same in every website build process that loads its site context.\n * Those enums now come from `@wildo-ai/saas-models` and the backend library only for its `import type`, so the\n * evaluation is small; the thread still bounds what an application's own configuration loads.\n *\n * Plain JavaScript once types are stripped, and it imports only packages, its own included (a self-reference, which\n * resolves to this package's built entry): it runs from `src` under a test runner, where Node strips the types, and\n * from `dist` everywhere else. It is never re-exported, because importing it outside a worker thread throws.\n */\nimport { parentPort, workerData } from 'node:worker_threads';\nimport { describeCaughtError } from '@wildo-ai/saas-models';\nimport type { ConfigModuleResolution } from './config-module-resolution';\nimport type { loadConfig } from './loader';\nimport type { registerStaticAssetImportNoop } from './static-asset-import-noop';\n\n/**\n * This package, by its own name. A variable rather than a literal on purpose: a typed self-reference would make the\n * compiler read this package's emitted declarations in place of its own sources, the cycle #363 removed. The types come\n * from the relative `import type` lines above instead.\n */\nconst SELF_PACKAGE = '@wildo-ai/platform-config-lib';\n\n/** What the parent hands this thread. */\nexport interface BackendComplianceSectionWorkerInput {\n /** The absolute path of the backend configuration source (`<backend>/src/saas-config.backend.ts`). */\n readonly configPath: string;\n /** How framework packages are resolved while it is evaluated; absent, the loader infers it. */\n readonly moduleResolution?: ConfigModuleResolution;\n}\n\n/**\n * What this thread posts back: the configuration's `compliance` section (absent when it declares none), or what the\n * evaluation threw. The thrown value crosses as it is, so the caller describes it, as it did when the evaluation ran\n * in its own thread: a plain-object engine error crosses whole, and an `Error` keeps its message, its cause and a\n * standard name but loses its own properties (which `describeCaughtError` does not read).\n */\nexport type BackendComplianceSectionWorkerResult =\n | { readonly compliance: unknown }\n | { readonly error: unknown };\n\nasync function run(): Promise<void> {\n if (parentPort === null) {\n throw new Error('backend-compliance-section.worker must run as a worker thread.');\n }\n const input = workerData as BackendComplianceSectionWorkerInput;\n let result: BackendComplianceSectionWorkerResult;\n try {\n const platformConfigLib = (await import(SELF_PACKAGE)) as {\n readonly loadConfig: typeof loadConfig;\n readonly registerStaticAssetImportNoop: typeof registerStaticAssetImportNoop;\n };\n // The caller's thread may have registered this already; hooks are per thread, so this one registers its own.\n platformConfigLib.registerStaticAssetImportNoop();\n // A fresh module graph: what the configuration says now, never an evaluation an earlier load of this thread served.\n //\n // How the framework packages are resolved is decided by the caller's thread (`readBackendComplianceSection`), which\n // can ask its own copy of this package what it resolves.\n //\n // `LOADER_INSTANCES` is the built copies this package resolves, imported natively, so a website build transpiles\n // none of them, cold or warm (#2998). This read asks what the configuration DECLARES (its release records and\n // approval gate), which is what that resolution is for. It was rejected here while the configuration imported values\n // from `@wildo-ai/saas-backend-lib`: that package is not a dependency of this one, so the build route brought the\n // application's own `@wildo-ai/saas-models` beside the copy the aliases give the configuration, two copies in one\n // evaluation, for the same memory (#3440). The six enums the configuration names now live in `@wildo-ai/saas-models`\n // and it imports the backend library only as a type, so everything it evaluates from the framework is a dependency of\n // this package: one copy. `@wildo-ai/presets-components-models` (`AvailableLanguage`), no dependency of this package,\n // still resolves from the application's install, with its own `@wildo-ai/zod-decorators`; it imports no saas-models.\n //\n // Measured on Wonder Todos (2026-11-06, a fresh process each): 5.0 s and 557 MB live per read before the move; 1.5 s\n // and 48 MB with the inferred resolution after it; 0.1 s and 14 MB with `LOADER_INSTANCES`, the same section byte for\n // byte. With an empty transpile cache (a fresh website image): 4.6 s inferred, 0.2 s with `LOADER_INSTANCES`.\n //\n // A configuration written before the move, importing those enums from the backend library, no longer loads (the\n // library does not export them): the read refuses, and the site keeps every public-document link.\n const config = await platformConfigLib.loadConfig<{ readonly compliance?: unknown }>(input.configPath, {\n freshModuleCache: true,\n ...(input.moduleResolution === undefined ? {} : { moduleResolution: input.moduleResolution }),\n });\n result = { compliance: config?.compliance };\n } catch (error) {\n result = { error };\n }\n try {\n parentPort.postMessage(result);\n } catch (cloneError) {\n // A structured clone refuses a function or a symbol, so a section holding one cannot be handed over; say so rather\n // than hand over less. (A class instance is not refused: it crosses as a plain object.)\n parentPort.postMessage({\n error: 'compliance' in result\n ? new Error('The backend configuration\\'s compliance section holds a value that cannot be cloned (a function or a symbol), so it cannot be read.', { cause: cloneError })\n : new Error(describeCaughtError(result.error), { cause: cloneError }),\n } satisfies BackendComplianceSectionWorkerResult);\n }\n}\n\nawait run();\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How the config loader resolves framework (`@wildo-ai/*`) packages while it evaluates a file (#3461).
|
|
3
|
+
*
|
|
4
|
+
* The one named source of this vocabulary: `LoadConfigOptions.moduleResolution` (`loader.ts`) is typed with it, the loader's
|
|
5
|
+
* own branches compare against its members, and a reader that must cover every member (the dev companion's tree
|
|
6
|
+
* signature) enumerates it with `Object.values`, so a member added here reaches that reader without an edit there.
|
|
7
|
+
*
|
|
8
|
+
* The values are the strings the option has always carried, so prose and tests written against them stay true.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum ConfigModuleResolution {
|
|
11
|
+
/**
|
|
12
|
+
* Resolve `@wildo-ai/*` through installed package exports in `node_modules`. The correct mode for normal app
|
|
13
|
+
* developers, who do not have framework sources checked out, and for a reader that must see the framework singletons
|
|
14
|
+
* its own process holds (the dev companion importing an application module).
|
|
15
|
+
*/
|
|
16
|
+
PACKAGE = "package",
|
|
17
|
+
/**
|
|
18
|
+
* Resolve framework-owned packages to monorepo SOURCE files when the Wildo framework workspace is available.
|
|
19
|
+
* Intended only for internal framework development and source-first companion discovery; requires the workspace
|
|
20
|
+
* marker and fails closed without it.
|
|
21
|
+
*/
|
|
22
|
+
FRAMEWORK_SOURCE = "framework-source",
|
|
23
|
+
/**
|
|
24
|
+
* Resolve this package and every `@wildo-ai/*` package it depends on to the built copy THIS loader's package
|
|
25
|
+
* resolves, which Node imports natively: in a process that runs this package from its build (the CLI, a website
|
|
26
|
+
* build), the very modules it already holds, so evaluating the file adds only its own modules. For a reader whose
|
|
27
|
+
* question is what a configuration DECLARES (a CLI verb reading `wildo.saas.config.ts`), never for one that must see
|
|
28
|
+
* uncompiled framework source. See `buildLoaderInstanceAliases` in `loader.ts` for why it exists (#3440). Never inferred.
|
|
29
|
+
*/
|
|
30
|
+
LOADER_INSTANCES = "loader-instances"
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=config-module-resolution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-module-resolution.d.ts","sourceRoot":"","sources":["../../../src/project-config/config-module-resolution.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,oBAAY,sBAAsB;IAChC;;;;OAIG;IACH,OAAO,YAAY;IACnB;;;;OAIG;IACH,gBAAgB,qBAAqB;IACrC;;;;;;OAMG;IACH,gBAAgB,qBAAqB;CACtC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How the config loader resolves framework (`@wildo-ai/*`) packages while it evaluates a file (#3461).
|
|
3
|
+
*
|
|
4
|
+
* The one named source of this vocabulary: `LoadConfigOptions.moduleResolution` (`loader.ts`) is typed with it, the loader's
|
|
5
|
+
* own branches compare against its members, and a reader that must cover every member (the dev companion's tree
|
|
6
|
+
* signature) enumerates it with `Object.values`, so a member added here reaches that reader without an edit there.
|
|
7
|
+
*
|
|
8
|
+
* The values are the strings the option has always carried, so prose and tests written against them stay true.
|
|
9
|
+
*/
|
|
10
|
+
export var ConfigModuleResolution;
|
|
11
|
+
(function (ConfigModuleResolution) {
|
|
12
|
+
/**
|
|
13
|
+
* Resolve `@wildo-ai/*` through installed package exports in `node_modules`. The correct mode for normal app
|
|
14
|
+
* developers, who do not have framework sources checked out, and for a reader that must see the framework singletons
|
|
15
|
+
* its own process holds (the dev companion importing an application module).
|
|
16
|
+
*/
|
|
17
|
+
ConfigModuleResolution["PACKAGE"] = "package";
|
|
18
|
+
/**
|
|
19
|
+
* Resolve framework-owned packages to monorepo SOURCE files when the Wildo framework workspace is available.
|
|
20
|
+
* Intended only for internal framework development and source-first companion discovery; requires the workspace
|
|
21
|
+
* marker and fails closed without it.
|
|
22
|
+
*/
|
|
23
|
+
ConfigModuleResolution["FRAMEWORK_SOURCE"] = "framework-source";
|
|
24
|
+
/**
|
|
25
|
+
* Resolve this package and every `@wildo-ai/*` package it depends on to the built copy THIS loader's package
|
|
26
|
+
* resolves, which Node imports natively: in a process that runs this package from its build (the CLI, a website
|
|
27
|
+
* build), the very modules it already holds, so evaluating the file adds only its own modules. For a reader whose
|
|
28
|
+
* question is what a configuration DECLARES (a CLI verb reading `wildo.saas.config.ts`), never for one that must see
|
|
29
|
+
* uncompiled framework source. See `buildLoaderInstanceAliases` in `loader.ts` for why it exists (#3440). Never inferred.
|
|
30
|
+
*/
|
|
31
|
+
ConfigModuleResolution["LOADER_INSTANCES"] = "loader-instances";
|
|
32
|
+
})(ConfigModuleResolution || (ConfigModuleResolution = {}));
|
|
33
|
+
//# sourceMappingURL=config-module-resolution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-module-resolution.js","sourceRoot":"","sources":["../../../src/project-config/config-module-resolution.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,sBAqBX;AArBD,WAAY,sBAAsB;IAChC;;;;OAIG;IACH,6CAAmB,CAAA;IACnB;;;;OAIG;IACH,+DAAqC,CAAA;IACrC;;;;;;OAMG;IACH,+DAAqC,CAAA;AACvC,CAAC,EArBW,sBAAsB,KAAtB,sBAAsB,QAqBjC","sourcesContent":["/**\n * How the config loader resolves framework (`@wildo-ai/*`) packages while it evaluates a file (#3461).\n *\n * The one named source of this vocabulary: `LoadConfigOptions.moduleResolution` (`loader.ts`) is typed with it, the loader's\n * own branches compare against its members, and a reader that must cover every member (the dev companion's tree\n * signature) enumerates it with `Object.values`, so a member added here reaches that reader without an edit there.\n *\n * The values are the strings the option has always carried, so prose and tests written against them stay true.\n */\nexport enum ConfigModuleResolution {\n /**\n * Resolve `@wildo-ai/*` through installed package exports in `node_modules`. The correct mode for normal app\n * developers, who do not have framework sources checked out, and for a reader that must see the framework singletons\n * its own process holds (the dev companion importing an application module).\n */\n PACKAGE = 'package',\n /**\n * Resolve framework-owned packages to monorepo SOURCE files when the Wildo framework workspace is available.\n * Intended only for internal framework development and source-first companion discovery; requires the workspace\n * marker and fails closed without it.\n */\n FRAMEWORK_SOURCE = 'framework-source',\n /**\n * Resolve this package and every `@wildo-ai/*` package it depends on to the built copy THIS loader's package\n * resolves, which Node imports natively: in a process that runs this package from its build (the CLI, a website\n * build), the very modules it already holds, so evaluating the file adds only its own modules. For a reader whose\n * question is what a configuration DECLARES (a CLI verb reading `wildo.saas.config.ts`), never for one that must see\n * uncompiled framework source. See `buildLoaderInstanceAliases` in `loader.ts` for why it exists (#3440). Never inferred.\n */\n LOADER_INSTANCES = 'loader-instances',\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-framework-config.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"define-framework-config.d.ts","sourceRoot":"","sources":["../../../src/project-config/define-framework-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,oBAAY,6BAA6B;IACvC,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;CAC5C;AAED,oBAAY,gCAAgC;IAC1C,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,eAAO,MAAM,sCAAsC;;;;iBAIjD,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG,eAAO,MAAM,oCAAoC;;;;iBAsB/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,uCAAuC;;;;;;;;iBAmClD,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAExG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;iBAQrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEnF;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,yBAAyB,GAAG,oBAAoB,CAE7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-framework-config.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"define-framework-config.js","sourceRoot":"","sources":["../../../src/project-config/define-framework-config.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from 'zod';\nimport {\n FRAMEWORK_RELEASE_DOCKER_NAMESPACE,\n FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST,\n FRAMEWORK_RELEASE_NPM_SCOPE,\n} from '../release/framework-release.constants';\n\nconst SimpleSemverSchema = z.string().regex(\n /^\\d+\\.\\d+\\.\\d+$/,\n 'must be a simple semver string in the form x.y.z',\n);\n\nexport enum WildoFrameworkDockerImageRole {\n PLATFORM_SERVICE = 'platform-service',\n APPLICATION_BACKEND = 'application-backend',\n}\n\nexport enum WildoFrameworkDockerImageVariant {\n DEFAULT = 'default',\n JAVA = 'java',\n}\n\nexport const WildoFrameworkReleaseDockerImageSchema = z.object({\n imageName: z.string().min(1),\n role: z.nativeEnum(WildoFrameworkDockerImageRole),\n variant: z.nativeEnum(WildoFrameworkDockerImageVariant).default(WildoFrameworkDockerImageVariant.DEFAULT),\n});\nexport type WildoFrameworkReleaseDockerImage = z.infer<typeof WildoFrameworkReleaseDockerImageSchema>;\n\nexport const WildoFrameworkReleaseNpmConfigSchema = z.object({\n scope: z.literal(FRAMEWORK_RELEASE_NPM_SCOPE),\n /**\n * Canonical HTTPS URL of the repository that owns every published framework\n * package. This is the single authority from which per-package\n * `repository` metadata is derived at publish materialization.\n *\n * It is declared here rather than in each package manifest for two reasons:\n * every framework package is published from ONE repository, so thirteen\n * hand-maintained copies could only ever drift; and npm trusted publishing\n * (OIDC) validates the published `repository.url` against the GitHub\n * repository that ran the workflow, which makes an inconsistent copy a\n * publish failure rather than a cosmetic defect.\n *\n * Authored WITHOUT the `git+` prefix or the `.git` suffix — the materializer\n * applies npm's canonical `git+<url>.git` form so the shape cannot drift\n * between packages.\n */\n repositoryUrl: z.url().refine((value) => !value.endsWith('.git'), {\n message: 'must be authored without the \".git\" suffix; the publish materializer applies npm\\'s canonical form',\n }),\n packages: z.array(z.string().min(1)).default([]),\n});\nexport type WildoFrameworkReleaseNpmConfig = z.infer<typeof WildoFrameworkReleaseNpmConfigSchema>;\n\nexport const WildoFrameworkReleaseDockerConfigSchema = z.object({\n /**\n * Registry host that owns the published images, stated explicitly so the\n * choice is reviewable. Locked, like `namespace` and the npm `scope`: a\n * framework release must not silently retarget its registry, because the\n * image reference is a public contract and a redirected push is\n * indistinguishable from a correct one until a consumer pulls.\n */\n registryHost: z.literal(FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST),\n namespace: z.literal(FRAMEWORK_RELEASE_DOCKER_NAMESPACE),\n images: z.array(WildoFrameworkReleaseDockerImageSchema).default([]),\n}).superRefine((config, ctx) => {\n const seenImageNames = new Set<string>();\n const seenRoleVariants = new Set<string>();\n\n for (const image of config.images) {\n if (seenImageNames.has(image.imageName)) {\n ctx.addIssue({\n code: 'custom',\n path: ['images'],\n message: `duplicate docker imageName \"${image.imageName}\" is not allowed`,\n });\n }\n seenImageNames.add(image.imageName);\n\n const roleVariantKey = `${image.role}:${image.variant}`;\n if (seenRoleVariants.has(roleVariantKey)) {\n ctx.addIssue({\n code: 'custom',\n path: ['images'],\n message: `duplicate docker role/variant \"${roleVariantKey}\" is not allowed`,\n });\n }\n seenRoleVariants.add(roleVariantKey);\n }\n});\nexport type WildoFrameworkReleaseDockerConfig = z.infer<typeof WildoFrameworkReleaseDockerConfigSchema>;\n\nexport const WildoFrameworkConfigSchema = z.object({\n version: z.number().int().positive().default(1),\n frameworkVersion: SimpleSemverSchema,\n minCliVersion: SimpleSemverSchema,\n publish: z.object({\n npm: WildoFrameworkReleaseNpmConfigSchema,\n docker: WildoFrameworkReleaseDockerConfigSchema,\n }),\n});\nexport type WildoFrameworkConfig = z.infer<typeof WildoFrameworkConfigSchema>;\nexport type WildoFrameworkConfigInput = z.input<typeof WildoFrameworkConfigSchema>;\n\n/**\n * Define framework-scoped release configuration.\n *\n * This is the author-owned source of truth for framework release metadata that\n * later materializes into `wildo-framework.info.json` and the CLI publish flow.\n */\nexport function defineFrameworkConfig(config: WildoFrameworkConfigInput): WildoFrameworkConfig {\n return WildoFrameworkConfigSchema.parse(config);\n}\n"]}
|