@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
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* - `modules`: module-registry lock section.
|
|
14
14
|
* - `infra`: infra-provider planning lock section (per-environment
|
|
15
15
|
* InfraCapability → InfraProvider selection + plan-contribution
|
|
16
|
-
* digest).
|
|
16
|
+
* digest).
|
|
17
17
|
*/
|
|
18
18
|
import { z } from 'zod';
|
|
19
19
|
import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
|
|
@@ -32,22 +32,11 @@ export declare const SaasLockfileProviderEntrySchema: z.ZodObject<{
|
|
|
32
32
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
33
33
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
34
34
|
secretsContractDigest: z.ZodString;
|
|
35
|
-
/**
|
|
36
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
37
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
38
|
-
*/
|
|
39
35
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
40
|
-
/**
|
|
41
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
42
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
43
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
44
|
-
* it adds. Absent when nothing augments the provider.
|
|
45
|
-
*/
|
|
46
36
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
37
|
packageName: z.ZodString;
|
|
48
38
|
packageVersion: z.ZodString;
|
|
49
39
|
operationIdsDigest: z.ZodString;
|
|
50
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
51
40
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
52
41
|
}, z.core.$strict>>>;
|
|
53
42
|
}, z.core.$strict>;
|
|
@@ -64,22 +53,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
|
|
|
64
53
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
65
54
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
66
55
|
secretsContractDigest: z.ZodString;
|
|
67
|
-
/**
|
|
68
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
69
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
70
|
-
*/
|
|
71
56
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
72
|
-
/**
|
|
73
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
74
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
75
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
76
|
-
* it adds. Absent when nothing augments the provider.
|
|
77
|
-
*/
|
|
78
57
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
58
|
packageName: z.ZodString;
|
|
80
59
|
packageVersion: z.ZodString;
|
|
81
60
|
operationIdsDigest: z.ZodString;
|
|
82
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
83
61
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
84
62
|
}, z.core.$strict>>>;
|
|
85
63
|
}, z.core.$strict>>>;
|
|
@@ -90,22 +68,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
|
|
|
90
68
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
91
69
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
92
70
|
secretsContractDigest: z.ZodString;
|
|
93
|
-
/**
|
|
94
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
95
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
96
|
-
*/
|
|
97
71
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
98
|
-
/**
|
|
99
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
100
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
101
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
102
|
-
* it adds. Absent when nothing augments the provider.
|
|
103
|
-
*/
|
|
104
72
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
73
|
packageName: z.ZodString;
|
|
106
74
|
packageVersion: z.ZodString;
|
|
107
75
|
operationIdsDigest: z.ZodString;
|
|
108
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
109
76
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
110
77
|
}, z.core.$strict>>>;
|
|
111
78
|
}, z.core.$strict>>>;
|
|
@@ -116,22 +83,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
|
|
|
116
83
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
117
84
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
118
85
|
secretsContractDigest: z.ZodString;
|
|
119
|
-
/**
|
|
120
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
121
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
122
|
-
*/
|
|
123
86
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
124
|
-
/**
|
|
125
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
126
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
127
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
128
|
-
* it adds. Absent when nothing augments the provider.
|
|
129
|
-
*/
|
|
130
87
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
131
88
|
packageName: z.ZodString;
|
|
132
89
|
packageVersion: z.ZodString;
|
|
133
90
|
operationIdsDigest: z.ZodString;
|
|
134
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
135
91
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
136
92
|
}, z.core.$strict>>>;
|
|
137
93
|
}, z.core.$strict>>>>;
|
|
@@ -142,22 +98,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
|
|
|
142
98
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
143
99
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
144
100
|
secretsContractDigest: z.ZodString;
|
|
145
|
-
/**
|
|
146
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
147
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
148
|
-
*/
|
|
149
101
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
150
|
-
/**
|
|
151
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
152
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
153
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
154
|
-
* it adds. Absent when nothing augments the provider.
|
|
155
|
-
*/
|
|
156
102
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
103
|
packageName: z.ZodString;
|
|
158
104
|
packageVersion: z.ZodString;
|
|
159
105
|
operationIdsDigest: z.ZodString;
|
|
160
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
161
106
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
162
107
|
}, z.core.$strict>>>;
|
|
163
108
|
}, z.core.$strict>>>>;
|
|
@@ -168,22 +113,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
|
|
|
168
113
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
169
114
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
170
115
|
secretsContractDigest: z.ZodString;
|
|
171
|
-
/**
|
|
172
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
173
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
174
|
-
*/
|
|
175
116
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
176
|
-
/**
|
|
177
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
178
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
179
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
180
|
-
* it adds. Absent when nothing augments the provider.
|
|
181
|
-
*/
|
|
182
117
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
118
|
packageName: z.ZodString;
|
|
184
119
|
packageVersion: z.ZodString;
|
|
185
120
|
operationIdsDigest: z.ZodString;
|
|
186
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
187
121
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
188
122
|
}, z.core.$strict>>>;
|
|
189
123
|
}, z.core.$strict>>>>;
|
|
@@ -198,22 +132,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
|
|
|
198
132
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
199
133
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
200
134
|
secretsContractDigest: z.ZodString;
|
|
201
|
-
/**
|
|
202
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
203
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
204
|
-
*/
|
|
205
135
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
206
|
-
/**
|
|
207
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
208
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
209
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
210
|
-
* it adds. Absent when nothing augments the provider.
|
|
211
|
-
*/
|
|
212
136
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
137
|
packageName: z.ZodString;
|
|
214
138
|
packageVersion: z.ZodString;
|
|
215
139
|
operationIdsDigest: z.ZodString;
|
|
216
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
217
140
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
218
141
|
}, z.core.$strict>>>;
|
|
219
142
|
}, z.core.$strict>>>;
|
|
@@ -224,22 +147,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
|
|
|
224
147
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
225
148
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
226
149
|
secretsContractDigest: z.ZodString;
|
|
227
|
-
/**
|
|
228
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
229
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
230
|
-
*/
|
|
231
150
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
232
|
-
/**
|
|
233
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
234
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
235
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
236
|
-
* it adds. Absent when nothing augments the provider.
|
|
237
|
-
*/
|
|
238
151
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
152
|
packageName: z.ZodString;
|
|
240
153
|
packageVersion: z.ZodString;
|
|
241
154
|
operationIdsDigest: z.ZodString;
|
|
242
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
243
155
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
244
156
|
}, z.core.$strict>>>;
|
|
245
157
|
}, z.core.$strict>>>;
|
|
@@ -250,22 +162,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
|
|
|
250
162
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
251
163
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
252
164
|
secretsContractDigest: z.ZodString;
|
|
253
|
-
/**
|
|
254
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
255
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
256
|
-
*/
|
|
257
165
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
258
|
-
/**
|
|
259
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
260
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
261
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
262
|
-
* it adds. Absent when nothing augments the provider.
|
|
263
|
-
*/
|
|
264
166
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
265
167
|
packageName: z.ZodString;
|
|
266
168
|
packageVersion: z.ZodString;
|
|
267
169
|
operationIdsDigest: z.ZodString;
|
|
268
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
269
170
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
270
171
|
}, z.core.$strict>>>;
|
|
271
172
|
}, z.core.$strict>>>>;
|
|
@@ -276,22 +177,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
|
|
|
276
177
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
277
178
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
278
179
|
secretsContractDigest: z.ZodString;
|
|
279
|
-
/**
|
|
280
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
281
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
282
|
-
*/
|
|
283
180
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
284
|
-
/**
|
|
285
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
286
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
287
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
288
|
-
* it adds. Absent when nothing augments the provider.
|
|
289
|
-
*/
|
|
290
181
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
182
|
packageName: z.ZodString;
|
|
292
183
|
packageVersion: z.ZodString;
|
|
293
184
|
operationIdsDigest: z.ZodString;
|
|
294
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
295
185
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
296
186
|
}, z.core.$strict>>>;
|
|
297
187
|
}, z.core.$strict>>>>;
|
|
@@ -302,31 +192,15 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
|
|
|
302
192
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
303
193
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
304
194
|
secretsContractDigest: z.ZodString;
|
|
305
|
-
/**
|
|
306
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
307
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
308
|
-
*/
|
|
309
195
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
310
|
-
/**
|
|
311
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
312
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
313
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
314
|
-
* it adds. Absent when nothing augments the provider.
|
|
315
|
-
*/
|
|
316
196
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
197
|
packageName: z.ZodString;
|
|
318
198
|
packageVersion: z.ZodString;
|
|
319
199
|
operationIdsDigest: z.ZodString;
|
|
320
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
321
200
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
322
201
|
}, z.core.$strict>>>;
|
|
323
202
|
}, z.core.$strict>>>>;
|
|
324
203
|
}, z.core.$strict>;
|
|
325
|
-
/**
|
|
326
|
-
* The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
|
|
327
|
-
* with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
|
|
328
|
-
* discovery, or being upgraded. Absent when the application lists none.
|
|
329
|
-
*/
|
|
330
204
|
admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
331
205
|
packageName: z.ZodString;
|
|
332
206
|
packageVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -471,22 +345,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
|
|
|
471
345
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
472
346
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
473
347
|
secretsContractDigest: z.ZodString;
|
|
474
|
-
/**
|
|
475
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
476
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
477
|
-
*/
|
|
478
348
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
479
|
-
/**
|
|
480
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
481
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
482
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
483
|
-
* it adds. Absent when nothing augments the provider.
|
|
484
|
-
*/
|
|
485
349
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
486
350
|
packageName: z.ZodString;
|
|
487
351
|
packageVersion: z.ZodString;
|
|
488
352
|
operationIdsDigest: z.ZodString;
|
|
489
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
490
353
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
491
354
|
}, z.core.$strict>>>;
|
|
492
355
|
}, z.core.$strict>>>;
|
|
@@ -497,22 +360,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
|
|
|
497
360
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
498
361
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
499
362
|
secretsContractDigest: z.ZodString;
|
|
500
|
-
/**
|
|
501
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
502
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
503
|
-
*/
|
|
504
363
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
505
|
-
/**
|
|
506
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
507
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
508
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
509
|
-
* it adds. Absent when nothing augments the provider.
|
|
510
|
-
*/
|
|
511
364
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
512
365
|
packageName: z.ZodString;
|
|
513
366
|
packageVersion: z.ZodString;
|
|
514
367
|
operationIdsDigest: z.ZodString;
|
|
515
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
516
368
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
517
369
|
}, z.core.$strict>>>;
|
|
518
370
|
}, z.core.$strict>>>;
|
|
@@ -523,22 +375,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
|
|
|
523
375
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
524
376
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
525
377
|
secretsContractDigest: z.ZodString;
|
|
526
|
-
/**
|
|
527
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
528
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
529
|
-
*/
|
|
530
378
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
531
|
-
/**
|
|
532
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
533
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
534
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
535
|
-
* it adds. Absent when nothing augments the provider.
|
|
536
|
-
*/
|
|
537
379
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
380
|
packageName: z.ZodString;
|
|
539
381
|
packageVersion: z.ZodString;
|
|
540
382
|
operationIdsDigest: z.ZodString;
|
|
541
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
542
383
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
543
384
|
}, z.core.$strict>>>;
|
|
544
385
|
}, z.core.$strict>>>>;
|
|
@@ -549,22 +390,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
|
|
|
549
390
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
550
391
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
551
392
|
secretsContractDigest: z.ZodString;
|
|
552
|
-
/**
|
|
553
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
554
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
555
|
-
*/
|
|
556
393
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
557
|
-
/**
|
|
558
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
559
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
560
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
561
|
-
* it adds. Absent when nothing augments the provider.
|
|
562
|
-
*/
|
|
563
394
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
564
395
|
packageName: z.ZodString;
|
|
565
396
|
packageVersion: z.ZodString;
|
|
566
397
|
operationIdsDigest: z.ZodString;
|
|
567
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
568
398
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
569
399
|
}, z.core.$strict>>>;
|
|
570
400
|
}, z.core.$strict>>>>;
|
|
@@ -575,31 +405,15 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
|
|
|
575
405
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
576
406
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
577
407
|
secretsContractDigest: z.ZodString;
|
|
578
|
-
/**
|
|
579
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
580
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
581
|
-
*/
|
|
582
408
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
583
|
-
/**
|
|
584
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
585
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
586
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
587
|
-
* it adds. Absent when nothing augments the provider.
|
|
588
|
-
*/
|
|
589
409
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
590
410
|
packageName: z.ZodString;
|
|
591
411
|
packageVersion: z.ZodString;
|
|
592
412
|
operationIdsDigest: z.ZodString;
|
|
593
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
594
413
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
595
414
|
}, z.core.$strict>>>;
|
|
596
415
|
}, z.core.$strict>>>>;
|
|
597
416
|
}, z.core.$strict>;
|
|
598
|
-
/**
|
|
599
|
-
* The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
|
|
600
|
-
* with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
|
|
601
|
-
* discovery, or being upgraded. Absent when the application lists none.
|
|
602
|
-
*/
|
|
603
417
|
admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
604
418
|
packageName: z.ZodString;
|
|
605
419
|
packageVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -730,22 +544,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
|
|
|
730
544
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
731
545
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
732
546
|
secretsContractDigest: z.ZodString;
|
|
733
|
-
/**
|
|
734
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
735
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
736
|
-
*/
|
|
737
547
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
738
|
-
/**
|
|
739
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
740
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
741
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
742
|
-
* it adds. Absent when nothing augments the provider.
|
|
743
|
-
*/
|
|
744
548
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
745
549
|
packageName: z.ZodString;
|
|
746
550
|
packageVersion: z.ZodString;
|
|
747
551
|
operationIdsDigest: z.ZodString;
|
|
748
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
749
552
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
750
553
|
}, z.core.$strict>>>;
|
|
751
554
|
}, z.core.$strict>>>;
|
|
@@ -756,22 +559,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
|
|
|
756
559
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
757
560
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
758
561
|
secretsContractDigest: z.ZodString;
|
|
759
|
-
/**
|
|
760
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
761
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
762
|
-
*/
|
|
763
562
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
764
|
-
/**
|
|
765
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
766
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
767
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
768
|
-
* it adds. Absent when nothing augments the provider.
|
|
769
|
-
*/
|
|
770
563
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
771
564
|
packageName: z.ZodString;
|
|
772
565
|
packageVersion: z.ZodString;
|
|
773
566
|
operationIdsDigest: z.ZodString;
|
|
774
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
775
567
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
776
568
|
}, z.core.$strict>>>;
|
|
777
569
|
}, z.core.$strict>>>;
|
|
@@ -782,22 +574,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
|
|
|
782
574
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
783
575
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
784
576
|
secretsContractDigest: z.ZodString;
|
|
785
|
-
/**
|
|
786
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
787
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
788
|
-
*/
|
|
789
577
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
790
|
-
/**
|
|
791
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
792
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
793
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
794
|
-
* it adds. Absent when nothing augments the provider.
|
|
795
|
-
*/
|
|
796
578
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
797
579
|
packageName: z.ZodString;
|
|
798
580
|
packageVersion: z.ZodString;
|
|
799
581
|
operationIdsDigest: z.ZodString;
|
|
800
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
801
582
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
802
583
|
}, z.core.$strict>>>;
|
|
803
584
|
}, z.core.$strict>>>>;
|
|
@@ -808,22 +589,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
|
|
|
808
589
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
809
590
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
810
591
|
secretsContractDigest: z.ZodString;
|
|
811
|
-
/**
|
|
812
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
813
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
814
|
-
*/
|
|
815
592
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
816
|
-
/**
|
|
817
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
818
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
819
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
820
|
-
* it adds. Absent when nothing augments the provider.
|
|
821
|
-
*/
|
|
822
593
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
823
594
|
packageName: z.ZodString;
|
|
824
595
|
packageVersion: z.ZodString;
|
|
825
596
|
operationIdsDigest: z.ZodString;
|
|
826
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
827
597
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
828
598
|
}, z.core.$strict>>>;
|
|
829
599
|
}, z.core.$strict>>>>;
|
|
@@ -834,31 +604,15 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
|
|
|
834
604
|
providerCapabilities: z.ZodArray<z.ZodString>;
|
|
835
605
|
protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
|
|
836
606
|
secretsContractDigest: z.ZodString;
|
|
837
|
-
/**
|
|
838
|
-
* The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
|
|
839
|
-
* a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
|
|
840
|
-
*/
|
|
841
607
|
connectionRef: z.ZodOptional<z.ZodString>;
|
|
842
|
-
/**
|
|
843
|
-
* The augmentations the application opted into for this provider (#1672): third-party packages whose
|
|
844
|
-
* operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
|
|
845
|
-
* the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
|
|
846
|
-
* it adds. Absent when nothing augments the provider.
|
|
847
|
-
*/
|
|
848
608
|
augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
609
|
packageName: z.ZodString;
|
|
850
610
|
packageVersion: z.ZodString;
|
|
851
611
|
operationIdsDigest: z.ZodString;
|
|
852
|
-
/** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
|
|
853
612
|
requiredScopesDigest: z.ZodOptional<z.ZodString>;
|
|
854
613
|
}, z.core.$strict>>>;
|
|
855
614
|
}, z.core.$strict>>>>;
|
|
856
615
|
}, z.core.$strict>;
|
|
857
|
-
/**
|
|
858
|
-
* The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
|
|
859
|
-
* with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
|
|
860
|
-
* discovery, or being upgraded. Absent when the application lists none.
|
|
861
|
-
*/
|
|
862
616
|
admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
863
617
|
packageName: z.ZodString;
|
|
864
618
|
packageVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/lockfile/wildo-saas-lock.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAEL,aAAa,EACd,MAAM,kDAAkD,CAAC;AAY1D;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;kBAyB1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;GAGG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAenD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAW7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,0CAA0C;;;;kBAI9C,CAAC;AACH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,0CAA0C,CA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-registry lock section.
|
|
14
14
|
* - `infra`: infra-provider planning lock section (per-environment
|
|
15
15
|
* InfraCapability → InfraProvider selection + plan-contribution
|
|
16
|
-
* digest).
|
|
16
|
+
* digest).
|
|
17
17
|
*/
|
|
18
18
|
import { z } from 'zod';
|
|
19
19
|
import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.shared.schemas.js","sourceRoot":"","sources":["../../../../src/lockfile/wildo-saas-lock.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACL,eAAe,EACf,aAAa,GACd,MAAM,kDAAkD,CAAC;AAE1D,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACxD,2EAA2E,EAC3E,oFAAoF,CACrF,CAAC;AAEF,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,CAAC,CAAC,IAAI,CAAC,sCAAsC,CAAC;IAC9C,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAmB,EAAE,mFAAmF,CAAC;CAC3H,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAA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8B,GAAsB,CAAC,aAAa,CAAC,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,UAAU,kCAAkC,CAAC,IAAa;IAC9D,IAAI,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAClF,MAAM,IAAI,GAA4B,EAAE,CAAC;IACzC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * Canonical `wildo-saas.lock.json` envelope shared by every lockfile\n * writer.\n *\n * The envelope mirrors the existing companion-owned lockfile model:\n * `{ schemaVersion, sections }`. Each subsystem owns a\n * named section under `sections`; the envelope never promotes subsystem\n * data to top-level keys.\n *\n * Reserved section names:\n * - `i18n`: companion labelling/translation state.\n * - `providers`: provider-registration lock section.\n * - `modules`: module-registry lock section.\n * - `infra`: infra-provider planning lock section (per-environment\n * InfraCapability → InfraProvider selection + plan-contribution\n * digest). See `infra-provider-planner.md` for the design.\n */\n\nimport { z } from 'zod';\nimport { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { RegistryModulesLockSectionSchema } from '../registry/lockfile-modules-section.schemas';\nimport {\n InfraCapability,\n InfraProvider,\n} from '../project-config/shared/infra-providers.schemas';\n\nconst ProviderCapabilityLockValueSchema = z.string().regex(\n /^(?:[A-Z][A-Z0-9_]*(?:\\.[A-Z][A-Z0-9_]*)?|[a-z][a-z0-9]*(?:-[a-z0-9]+)*)$/,\n 'providerCapabilities must use built-in uppercase or app custom kebab-case literals',\n);\n\nconst ProviderProtocolLockValueSchema = z.union([\n z.enum(ExternalProvider_ExchangeProtocol_Kind),\n z.string().regex(/^[A-Z][A-Z0-9_]*$/, 'protocols must use known external protocol literals or backend protocol constants'),\n]);\n\n/**\n * Per-facet, per-provider locked entry. Recorded once per `(facet, ref)`.\n *\n * NEVER includes secret values. `secretsContractDigest` only digests the\n * shape of the contract: env-var names, required-ness, and descriptions.\n */\nexport const SaasLockfileProviderEntrySchema = z.strictObject({\n ref: z.string(),\n digest: z.string(),\n engineCapabilities: z.array(z.enum(EngineCapability)).default([]),\n providerCapabilities: z.array(ProviderCapabilityLockValueSchema),\n protocols: z.array(ProviderProtocolLockValueSchema),\n secretsContractDigest: z.string(),\n /**\n * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of\n * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.\n */\n connectionRef: z.string().min(1).optional(),\n /**\n * The augmentations the application opted into for this provider (#1672): third-party packages whose\n * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of\n * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what\n * it adds. Absent when nothing augments the provider.\n */\n augmentations: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1),\n operationIdsDigest: z.string().min(1),\n /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */\n requiredScopesDigest: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProviderEntry = z.infer<typeof SaasLockfileProviderEntrySchema>;\n\n/**\n * `sections.providers`: provider lock records keyed by runtime scope and\n * provider ref. Runtime scopes mirror `defineSaaSProviders({ scopes })`.\n */\nexport const SaasLockfileRuntimeScopesProvidersSchema = z.strictObject({\n backend: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n companion: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n frontendServices: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n workers: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n minions: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n});\nexport type SaasLockfileRuntimeScopesProviders = z.infer<typeof SaasLockfileRuntimeScopesProvidersSchema>;\n\nexport const SaasLockfileProvidersSectionSchema = z.strictObject({\n runtimeScopes: SaasLockfileRuntimeScopesProvidersSchema,\n /**\n * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each\n * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider\n * discovery, or being upgraded. Absent when the application lists none.\n */\n admittedPackages: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProvidersSection = z.infer<typeof SaasLockfileProvidersSectionSchema>;\n\n/**\n * `sections.infra`: infra-provider lock records keyed by environment\n * name and `InfraCapability`. Captures which `InfraProvider` was\n * selected for a capability in a given environment and the digest of\n * its `plan()` contribution at that time. Drift between authored\n * `wildo.infra.<env>.config.ts` and the lockfile fails CI (future\n * `wildo lock --check` slice).\n *\n * Decomposition is per-environment first (then capability) because\n * `wildo.infra.<env>.config.ts` is per-env: cross-env diffs read more\n * naturally as \"env A provides QUEUE via X, env B provides QUEUE via\n * Y\" than as \"QUEUE is provided by X in env A and Y in env B\".\n */\nconst SaasLockfileInfraCapabilitySelectionSchema = z.strictObject({\n provider: z.enum(InfraProvider),\n providerSelectedAt: z.string().datetime({ offset: true }),\n planContributionDigest: z.string(),\n});\nexport type SaasLockfileInfraCapabilitySelection = z.infer<\n typeof SaasLockfileInfraCapabilitySelectionSchema\n>;\n\n/**\n * Per-environment capability map. Capabilities are sparse — an env\n * only declares the capabilities its app actually selects, so each\n * `InfraCapability` slot is `.optional()`. This mirrors the pattern\n * used by `BackingServicesEnvConfigSchema` (in\n * `../project-config/shared/backing-services.schemas.ts`).\n */\nconst SaasLockfileInfraEnvironmentSchema = z.strictObject({\n capabilities: z.object({\n [InfraCapability.DOCUMENT_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.RELATIONAL_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.AUDIT_LOG_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.OBJECT_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.ANTIVIRUS_SCANNING]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.QUEUING_SYSTEM]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.CACHE_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.METRICS_TELEMETRY]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.BACKUP_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n }).strict(),\n});\nexport type SaasLockfileInfraEnvironment = z.infer<typeof SaasLockfileInfraEnvironmentSchema>;\n\nexport const SaasLockfileInfraSectionSchema = z.strictObject({\n environments: z.record(z.string(), SaasLockfileInfraEnvironmentSchema),\n});\nexport type SaasLockfileInfraSection = z.infer<typeof SaasLockfileInfraSectionSchema>;\n\nexport const SaasLockfileKnownSectionsSchema = z.object({\n providers: SaasLockfileProvidersSectionSchema.optional(),\n modules: RegistryModulesLockSectionSchema.optional(),\n infra: SaasLockfileInfraSectionSchema.optional(),\n}).catchall(z.unknown());\nexport type SaasLockfileKnownSections = z.infer<typeof SaasLockfileKnownSectionsSchema>;\n\n/**\n * Top-level lockfile envelope.\n *\n * Forward compatibility lives in `sections`: readers validate the\n * sections they know and preserve unknown section payloads as `unknown`.\n * This keeps a provider-only tool from accidentally deleting `i18n` or\n * module-registry state.\n *\n * The envelope carries NO timestamp, like npm's, pnpm's, Cargo's and Yarn's lockfiles: the file is\n * committed, git already records when it changed, and a wall clock in it made equal content unequal\n * bytes. It held a `generatedAt` until 2026-10-01, re-stamped on every write, so a `wildo registry\n * add` + `remove` round trip that restored every section still left a diff, and two branches that\n * each touched the lockfile always conflicted on that line (#1765). Read a file through\n * {@link withoutRetiredLockfileEnvelopeKeys} so one written before the change still parses.\n */\nexport const SaasLockfileEnvelopeSchema = z.strictObject({\n schemaVersion: z.literal(2),\n sections: SaasLockfileKnownSectionsSchema,\n});\nexport type SaasLockfileEnvelope = z.infer<typeof SaasLockfileEnvelopeSchema>;\n\n/** Top-level keys earlier envelopes carried. A reader drops them; the next write leaves them out. */\nconst RETIRED_LOCKFILE_ENVELOPE_KEYS: readonly string[] = ['generatedAt'];\n\n/**\n * The parsed JSON of a lockfile, without the keys the envelope no longer carries. Apply it before\n * {@link SaasLockfileEnvelopeSchema} (which is strict) to anything read from disk: every lockfile\n * written before 2026-10-01 carries a `generatedAt`, and refusing those would refuse every existing\n * application's lockfile. Anything that is not a plain object is returned as it is, for the schema\n * to refuse.\n */\nexport function withoutRetiredLockfileEnvelopeKeys(json: unknown): unknown {\n if (json === null || typeof json !== 'object' || Array.isArray(json)) return json;\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(json)) {\n if (!RETIRED_LOCKFILE_ENVELOPE_KEYS.includes(key)) kept[key] = value;\n }\n return kept;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.shared.schemas.js","sourceRoot":"","sources":["../../../src/lockfile/wildo-saas-lock.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACL,eAAe,EACf,aAAa,GACd,MAAM,kDAAkD,CAAC;AAE1D,MAAM,iCAAiC,GAAG,C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M,EAAE,EAAE,kCAAkC,CAAC;CACvE,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,SAAS,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IACxD,OAAO,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IACpD,KAAK,EAAE,8BAA8B,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAGzB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,QAAQ,EAAE,+BAA+B;CAC1C,CAAC,CAAC;AAGH,qGAAqG;AACrG,MAAM,8BAA8B,GAAsB,CAAC,aAAa,CAAC,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,UAAU,kCAAkC,CAAC,IAAa;IAC9D,IAAI,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAClF,MAAM,IAAI,GAA4B,EAAE,CAAC;IACzC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * Canonical `wildo-saas.lock.json` envelope shared by every lockfile\n * writer.\n *\n * The envelope mirrors the existing companion-owned lockfile model:\n * `{ schemaVersion, sections }`. Each subsystem owns a\n * named section under `sections`; the envelope never promotes subsystem\n * data to top-level keys.\n *\n * Reserved section names:\n * - `i18n`: companion labelling/translation state.\n * - `providers`: provider-registration lock section.\n * - `modules`: module-registry lock section.\n * - `infra`: infra-provider planning lock section (per-environment\n * InfraCapability → InfraProvider selection + plan-contribution\n * digest).\n */\n\nimport { z } from 'zod';\nimport { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { RegistryModulesLockSectionSchema } from '../registry/lockfile-modules-section.schemas';\nimport {\n InfraCapability,\n InfraProvider,\n} from '../project-config/shared/infra-providers.schemas';\n\nconst ProviderCapabilityLockValueSchema = z.string().regex(\n /^(?:[A-Z][A-Z0-9_]*(?:\\.[A-Z][A-Z0-9_]*)?|[a-z][a-z0-9]*(?:-[a-z0-9]+)*)$/,\n 'providerCapabilities must use built-in uppercase or app custom kebab-case literals',\n);\n\nconst ProviderProtocolLockValueSchema = z.union([\n z.enum(ExternalProvider_ExchangeProtocol_Kind),\n z.string().regex(/^[A-Z][A-Z0-9_]*$/, 'protocols must use known external protocol literals or backend protocol constants'),\n]);\n\n/**\n * Per-facet, per-provider locked entry. Recorded once per `(facet, ref)`.\n *\n * NEVER includes secret values. `secretsContractDigest` only digests the\n * shape of the contract: env-var names, required-ness, and descriptions.\n */\nexport const SaasLockfileProviderEntrySchema = z.strictObject({\n ref: z.string(),\n digest: z.string(),\n engineCapabilities: z.array(z.enum(EngineCapability)).default([]),\n providerCapabilities: z.array(ProviderCapabilityLockValueSchema),\n protocols: z.array(ProviderProtocolLockValueSchema),\n secretsContractDigest: z.string(),\n /**\n * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of\n * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.\n */\n connectionRef: z.string().min(1).optional(),\n /**\n * The augmentations the application opted into for this provider (#1672): third-party packages whose\n * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of\n * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what\n * it adds. Absent when nothing augments the provider.\n */\n augmentations: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1),\n operationIdsDigest: z.string().min(1),\n /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */\n requiredScopesDigest: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProviderEntry = z.infer<typeof SaasLockfileProviderEntrySchema>;\n\n/**\n * `sections.providers`: provider lock records keyed by runtime scope and\n * provider ref. Runtime scopes mirror `defineSaaSProviders({ scopes })`.\n */\nexport const SaasLockfileRuntimeScopesProvidersSchema = z.strictObject({\n backend: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n companion: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n frontendServices: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n workers: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n minions: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n});\nexport type SaasLockfileRuntimeScopesProviders = z.infer<typeof SaasLockfileRuntimeScopesProvidersSchema>;\n\nexport const SaasLockfileProvidersSectionSchema = z.strictObject({\n runtimeScopes: SaasLockfileRuntimeScopesProvidersSchema,\n /**\n * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each\n * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider\n * discovery, or being upgraded. Absent when the application lists none.\n */\n admittedPackages: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProvidersSection = z.infer<typeof SaasLockfileProvidersSectionSchema>;\n\n/**\n * `sections.infra`: infra-provider lock records keyed by environment\n * name and `InfraCapability`. Captures which `InfraProvider` was\n * selected for a capability in a given environment and the digest of\n * its `plan()` contribution at that time. Drift between authored\n * `wildo.infra.<env>.config.ts` and the lockfile fails CI (future\n * `wildo lock --check` slice).\n *\n * Decomposition is per-environment first (then capability) because\n * `wildo.infra.<env>.config.ts` is per-env: cross-env diffs read more\n * naturally as \"env A provides QUEUE via X, env B provides QUEUE via\n * Y\" than as \"QUEUE is provided by X in env A and Y in env B\".\n */\nconst SaasLockfileInfraCapabilitySelectionSchema = z.strictObject({\n provider: z.enum(InfraProvider),\n providerSelectedAt: z.string().datetime({ offset: true }),\n planContributionDigest: z.string(),\n});\nexport type SaasLockfileInfraCapabilitySelection = z.infer<\n typeof SaasLockfileInfraCapabilitySelectionSchema\n>;\n\n/**\n * Per-environment capability map. Capabilities are sparse — an env\n * only declares the capabilities its app actually selects, so each\n * `InfraCapability` slot is `.optional()`. This mirrors the pattern\n * used by `BackingServicesEnvConfigSchema` (in\n * `../project-config/shared/backing-services.schemas.ts`).\n */\nconst SaasLockfileInfraEnvironmentSchema = z.strictObject({\n capabilities: z.object({\n [InfraCapability.DOCUMENT_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.RELATIONAL_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.AUDIT_LOG_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.OBJECT_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.ANTIVIRUS_SCANNING]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.QUEUING_SYSTEM]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.CACHE_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.METRICS_TELEMETRY]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.BACKUP_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n }).strict(),\n});\nexport type SaasLockfileInfraEnvironment = z.infer<typeof SaasLockfileInfraEnvironmentSchema>;\n\nexport const SaasLockfileInfraSectionSchema = z.strictObject({\n environments: z.record(z.string(), SaasLockfileInfraEnvironmentSchema),\n});\nexport type SaasLockfileInfraSection = z.infer<typeof SaasLockfileInfraSectionSchema>;\n\nexport const SaasLockfileKnownSectionsSchema = z.object({\n providers: SaasLockfileProvidersSectionSchema.optional(),\n modules: RegistryModulesLockSectionSchema.optional(),\n infra: SaasLockfileInfraSectionSchema.optional(),\n}).catchall(z.unknown());\nexport type SaasLockfileKnownSections = z.infer<typeof SaasLockfileKnownSectionsSchema>;\n\n/**\n * Top-level lockfile envelope.\n *\n * Forward compatibility lives in `sections`: readers validate the\n * sections they know and preserve unknown section payloads as `unknown`.\n * This keeps a provider-only tool from accidentally deleting `i18n` or\n * module-registry state.\n *\n * The envelope carries NO timestamp, like npm's, pnpm's, Cargo's and Yarn's lockfiles: the file is\n * committed, git already records when it changed, and a wall clock in it made equal content unequal\n * bytes. It held a `generatedAt` until 2026-10-01, re-stamped on every write, so a `wildo registry\n * add` + `remove` round trip that restored every section still left a diff, and two branches that\n * each touched the lockfile always conflicted on that line (#1765). Read a file through\n * {@link withoutRetiredLockfileEnvelopeKeys} so one written before the change still parses.\n */\nexport const SaasLockfileEnvelopeSchema = z.strictObject({\n schemaVersion: z.literal(2),\n sections: SaasLockfileKnownSectionsSchema,\n});\nexport type SaasLockfileEnvelope = z.infer<typeof SaasLockfileEnvelopeSchema>;\n\n/** Top-level keys earlier envelopes carried. A reader drops them; the next write leaves them out. */\nconst RETIRED_LOCKFILE_ENVELOPE_KEYS: readonly string[] = ['generatedAt'];\n\n/**\n * The parsed JSON of a lockfile, without the keys the envelope no longer carries. Apply it before\n * {@link SaasLockfileEnvelopeSchema} (which is strict) to anything read from disk: every lockfile\n * written before 2026-10-01 carries a `generatedAt`, and refusing those would refuse every existing\n * application's lockfile. Anything that is not a plain object is returned as it is, for the schema\n * to refuse.\n */\nexport function withoutRetiredLockfileEnvelopeKeys(json: unknown): unknown {\n if (json === null || typeof json !== 'object' || Array.isArray(json)) return json;\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(json)) {\n if (!RETIRED_LOCKFILE_ENVELOPE_KEYS.includes(key)) kept[key] = value;\n }\n return kept;\n}\n"]}
|