@wildo-ai/platform-config-lib 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/esm/_unimplemented/soft-warn.d.ts +24 -49
  2. package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -1
  3. package/dist/esm/_unimplemented/soft-warn.js +24 -49
  4. package/dist/esm/_unimplemented/soft-warn.js.map +1 -1
  5. package/dist/esm/blueprint/anchored-region.d.ts.map +1 -1
  6. package/dist/esm/blueprint/anchored-region.js.map +1 -1
  7. package/dist/esm/blueprint/blueprint.schemas.d.ts +0 -89
  8. package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -1
  9. package/dist/esm/blueprint/blueprint.schemas.js.map +1 -1
  10. package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
  11. package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
  12. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
  13. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
  14. package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
  15. package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
  16. package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
  17. package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
  18. package/dist/esm/bootstrap/bootstrap.schemas.d.ts +8 -1
  19. package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
  20. package/dist/esm/bootstrap/bootstrap.schemas.js +15 -1
  21. package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
  22. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +10 -2
  23. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  24. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +10 -2
  25. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  26. package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
  27. package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
  28. package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
  29. package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
  30. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
  31. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
  32. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
  33. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
  34. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
  35. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
  36. package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
  37. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
  38. package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
  39. package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
  40. package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
  41. package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
  42. package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
  43. package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
  44. package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
  45. package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
  46. package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -1
  47. package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
  48. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
  49. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
  50. package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
  51. package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
  52. package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -1
  53. package/dist/esm/bootstrap/runtime-response-integrity.js +3 -3
  54. package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -1
  55. package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -1
  56. package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -1
  57. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
  58. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  59. package/dist/esm/bootstrap/wildo-owner-organization.contracts.d.ts.map +1 -1
  60. package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
  61. package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -1
  62. package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -1
  63. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  64. package/dist/esm/config-authoring.entry.js.map +1 -1
  65. package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
  66. package/dist/esm/credentials/credential-generator.service.js.map +1 -1
  67. package/dist/esm/index.d.ts +5 -1
  68. package/dist/esm/index.d.ts.map +1 -1
  69. package/dist/esm/index.js +5 -1
  70. package/dist/esm/index.js.map +1 -1
  71. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
  72. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
  73. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
  74. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
  75. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
  76. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
  77. package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
  78. package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
  79. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
  80. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
  81. package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
  82. package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
  83. package/dist/esm/key-management/approval-seal-verifier.d.ts +101 -39
  84. package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
  85. package/dist/esm/key-management/approval-seal-verifier.js +134 -12
  86. package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
  87. package/dist/esm/key-management/approval-seal.contracts.d.ts +12 -15
  88. package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -1
  89. package/dist/esm/key-management/approval-seal.contracts.js +20 -0
  90. package/dist/esm/key-management/approval-seal.contracts.js.map +1 -1
  91. package/dist/esm/key-management/data-key.contracts.d.ts +0 -2
  92. package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -1
  93. package/dist/esm/key-management/data-key.contracts.js.map +1 -1
  94. package/dist/esm/key-management/es256-jws.d.ts.map +1 -1
  95. package/dist/esm/key-management/es256-jws.js.map +1 -1
  96. package/dist/esm/key-management/key-provider.spi.d.ts +8 -1
  97. package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -1
  98. package/dist/esm/key-management/key-provider.spi.js.map +1 -1
  99. package/dist/esm/key-management/keyring-rotation.contracts.d.ts +2 -12
  100. package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -1
  101. package/dist/esm/key-management/keyring-rotation.contracts.js +3 -3
  102. package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -1
  103. package/dist/esm/key-management/keyring-status.contracts.d.ts +0 -7
  104. package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -1
  105. package/dist/esm/key-management/keyring-status.contracts.js.map +1 -1
  106. package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
  107. package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
  108. package/dist/esm/key-management/pdf-incremental-update.js +730 -0
  109. package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
  110. package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
  111. package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
  112. package/dist/esm/key-management/pdf-truetype-font.js +152 -0
  113. package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
  114. package/dist/esm/key-management/qr-code.d.ts +38 -0
  115. package/dist/esm/key-management/qr-code.d.ts.map +1 -0
  116. package/dist/esm/key-management/qr-code.js +325 -0
  117. package/dist/esm/key-management/qr-code.js.map +1 -0
  118. package/dist/esm/key-management/signature-request.contracts.d.ts +0 -4
  119. package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -1
  120. package/dist/esm/key-management/signature-request.contracts.js.map +1 -1
  121. package/dist/esm/key-management/signing-log-export.contracts.d.ts +0 -1
  122. package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -1
  123. package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -1
  124. package/dist/esm/key-management/vault-custody.contracts.d.ts +43 -0
  125. package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -1
  126. package/dist/esm/key-management/vault-custody.contracts.js +66 -0
  127. package/dist/esm/key-management/vault-custody.contracts.js.map +1 -1
  128. package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
  129. package/dist/esm/lockfile/build-parallelism.js.map +1 -1
  130. package/dist/esm/lockfile/canonical-json.d.ts +1 -1
  131. package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
  132. package/dist/esm/lockfile/canonical-json.js +1 -1
  133. package/dist/esm/lockfile/canonical-json.js.map +1 -1
  134. package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
  135. package/dist/esm/lockfile/file-lock-hold.js +2 -1
  136. package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
  137. package/dist/esm/lockfile/lockfile-io.d.ts +6 -8
  138. package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
  139. package/dist/esm/lockfile/lockfile-io.js +6 -8
  140. package/dist/esm/lockfile/lockfile-io.js.map +1 -1
  141. package/dist/esm/lockfile/materialize-infra-section.d.ts +5 -6
  142. package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
  143. package/dist/esm/lockfile/materialize-infra-section.js +4 -5
  144. package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
  145. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +1 -247
  146. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
  147. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +1 -1
  148. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
  149. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
  150. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
  151. package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
  152. package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
  153. package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
  154. package/dist/esm/project-config/application-public-pricing-catalog.loader.js +15 -3
  155. package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
  156. package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -1
  157. package/dist/esm/project-config/application-served-public-documents.loader.js +16 -8
  158. package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -1
  159. package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
  160. package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
  161. package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
  162. package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
  163. package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
  164. package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
  165. package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
  166. package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
  167. package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
  168. package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
  169. package/dist/esm/project-config/config-module-resolution.js +33 -0
  170. package/dist/esm/project-config/config-module-resolution.js.map +1 -0
  171. package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
  172. package/dist/esm/project-config/define-framework-config.js.map +1 -1
  173. package/dist/esm/project-config/define-infra-env-config.d.ts +109 -55
  174. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
  175. package/dist/esm/project-config/define-infra-env-config.js +108 -70
  176. package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
  177. package/dist/esm/project-config/define-minion-config.d.ts +26 -36
  178. package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
  179. package/dist/esm/project-config/define-minion-config.js +64 -25
  180. package/dist/esm/project-config/define-minion-config.js.map +1 -1
  181. package/dist/esm/project-config/define-saas-config.d.ts +41 -437
  182. package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
  183. package/dist/esm/project-config/define-saas-config.js +102 -94
  184. package/dist/esm/project-config/define-saas-config.js.map +1 -1
  185. package/dist/esm/project-config/define-worker-config.d.ts +10 -20
  186. package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
  187. package/dist/esm/project-config/define-worker-config.js +10 -12
  188. package/dist/esm/project-config/define-worker-config.js.map +1 -1
  189. package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
  190. package/dist/esm/project-config/hosted-infra-env-config.js +1 -1
  191. package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
  192. package/dist/esm/project-config/index.d.ts +2 -0
  193. package/dist/esm/project-config/index.d.ts.map +1 -1
  194. package/dist/esm/project-config/index.js +2 -0
  195. package/dist/esm/project-config/index.js.map +1 -1
  196. package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
  197. package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
  198. package/dist/esm/project-config/loader-instances-zod.js +40 -0
  199. package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
  200. package/dist/esm/project-config/loader.d.ts +131 -14
  201. package/dist/esm/project-config/loader.d.ts.map +1 -1
  202. package/dist/esm/project-config/loader.js +226 -12
  203. package/dist/esm/project-config/loader.js.map +1 -1
  204. package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
  205. package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
  206. package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
  207. package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
  208. package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
  209. package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
  210. package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
  211. package/dist/esm/project-config/npm-version-range.js.map +1 -1
  212. package/dist/esm/project-config/owning-package-tsconfig.d.ts +7 -7
  213. package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -1
  214. package/dist/esm/project-config/owning-package-tsconfig.js +7 -7
  215. package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -1
  216. package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -1
  217. package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
  218. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
  219. package/dist/esm/project-config/provider-companion-discovery.js +3 -1
  220. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
  221. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +71 -46
  222. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
  223. package/dist/esm/project-config/provider-runtime-artifacts.js +150 -4
  224. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
  225. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
  226. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
  227. package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
  228. package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
  229. package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
  230. package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
  231. package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
  232. package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
  233. package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
  234. package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
  235. package/dist/esm/project-config/shared/backing-service-servability.d.ts.map +1 -1
  236. package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
  237. package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
  238. package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
  239. package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
  240. package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
  241. package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
  242. package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
  243. package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
  244. package/dist/esm/project-config/shared/csp-defaults.d.ts +34 -6
  245. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
  246. package/dist/esm/project-config/shared/csp-defaults.js +52 -8
  247. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
  248. package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
  249. package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
  250. package/dist/esm/project-config/shared/csp-emit.js +77 -24
  251. package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
  252. package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -84
  253. package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
  254. package/dist/esm/project-config/shared/csp.schemas.js +40 -12
  255. package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
  256. package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
  257. package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
  258. package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
  259. package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
  260. package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
  261. package/dist/esm/project-config/shared/environment.schemas.d.ts +95 -8
  262. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  263. package/dist/esm/project-config/shared/environment.schemas.js +122 -10
  264. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  265. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
  266. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
  267. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
  268. package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -1
  269. package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
  270. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -1
  271. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
  272. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +1 -1
  273. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
  274. package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
  275. package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
  276. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
  277. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
  278. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +20 -0
  279. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
  280. package/dist/esm/project-config/shared/minion-resource-access.validation.js +21 -2
  281. package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
  282. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
  283. package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
  284. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +62 -36
  285. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -1
  286. package/dist/esm/project-config/shared/platform-key-management.schemas.js +105 -3
  287. package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -1
  288. package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
  289. package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
  290. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
  291. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
  292. package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
  293. package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
  294. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
  295. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
  296. package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
  297. package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
  298. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
  299. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
  300. package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
  301. package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
  302. package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
  303. package/dist/esm/project-config/static-asset-import-noop.js +36 -20
  304. package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
  305. package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
  306. package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
  307. package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
  308. package/dist/esm/registry/digest.schemas.d.ts.map +1 -1
  309. package/dist/esm/registry/digest.schemas.js.map +1 -1
  310. package/dist/esm/registry/index.d.ts +2 -3
  311. package/dist/esm/registry/index.d.ts.map +1 -1
  312. package/dist/esm/registry/index.js +2 -3
  313. package/dist/esm/registry/index.js.map +1 -1
  314. package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
  315. package/dist/esm/registry/local-checkout-source.js.map +1 -1
  316. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +1 -98
  317. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
  318. package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
  319. package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
  320. package/dist/esm/registry/module-artifact.schemas.d.ts +17 -17
  321. package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
  322. package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
  323. package/dist/esm/registry/module-manifest.schemas.d.ts +151 -219
  324. package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
  325. package/dist/esm/registry/module-manifest.schemas.js +145 -13
  326. package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
  327. package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
  328. package/dist/esm/registry/module-search.schemas.js.map +1 -1
  329. package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
  330. package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
  331. package/dist/esm/registry/registry-config.schemas.js.map +1 -1
  332. package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
  333. package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
  334. package/dist/esm/registry/registry-errors.d.ts +81 -3
  335. package/dist/esm/registry/registry-errors.d.ts.map +1 -1
  336. package/dist/esm/registry/registry-errors.js +185 -4
  337. package/dist/esm/registry/registry-errors.js.map +1 -1
  338. package/dist/esm/registry/registry-keys.schemas.d.ts.map +1 -1
  339. package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
  340. package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
  341. package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
  342. package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -1
  343. package/dist/esm/registry/registry-url-resolution.js.map +1 -1
  344. package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
  345. package/dist/esm/release/framework-release.constants.js.map +1 -1
  346. package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
  347. package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
  348. package/dist/esm/schemas/framework-secrets.schemas.d.ts +0 -7
  349. package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
  350. package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
  351. package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
  352. package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
  353. package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
  354. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
  355. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
  356. package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
  357. package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
  358. package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
  359. package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
  360. package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -1
  361. package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
  362. package/dist/esm/workspace-scope/index.d.ts.map +1 -1
  363. package/dist/esm/workspace-scope/index.js.map +1 -1
  364. package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
  365. package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
  366. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
  367. package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
  368. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
  369. package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
  370. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
  371. package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
  372. package/dist/tsconfig.build.tsbuildinfo +1 -1
  373. package/package.json +12 -12
  374. package/dist/esm/_unimplemented/index.d.ts +0 -3
  375. package/dist/esm/_unimplemented/index.d.ts.map +0 -1
  376. package/dist/esm/_unimplemented/index.js +0 -3
  377. package/dist/esm/_unimplemented/index.js.map +0 -1
  378. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
  379. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
  380. package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
  381. package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
  382. package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
  383. package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
  384. package/dist/esm/project-config/shared/cdn.example.js +0 -38
  385. package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
  386. package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
  387. package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
  388. package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
  389. 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;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plianceSection` (#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":["../../../../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
+ {"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":["../../../../src/project-config/define-framework-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,2BAA2B,GAC5B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACzC,iBAAiB,EACjB,kDAAkD,CACnD,CAAC;AAEF,MAAM,CAAN,IAAY,6BAGX;AAHD,WAAY,6BAA6B;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kB;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,oCAAoC;QACzC,MAAM,EAAE,uCAAuC;KAChD,CAAC;CACH,CAAC,CAAC;AAIH;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,MAAiC;IACrE,OAAO,0BAA0B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC","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"]}
1
+ {"version":3,"file":"define-framework-config.js","sourceRoot":"","sources":["../../../src/project-config/define-framework-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,2BAA2B,GAC5B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACzC,iBAAiB,EACjB,kDAAkD,CACnD,CAAC;AAEF,MAAM,CAAN,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,sEAAqC,CAAA;IACrC,4EAA2C,CAAA;AAC7C,CAAC,EAHW,6BAA6B,KAA7B,6BAA6B,QAGxC;AAED,MAAM,CAAN,IAAY,gCAGX;AAHD,WAAY,gCAAgC;IAC1C,uDAAmB,CAAA;IACnB,iDAAa,CAAA;AACf,CAAC,EAHW,gCAAgC,KAAhC,gCAAgC,QAG3C;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,OAAO,CAAC;CAC1G,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC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AS,CAAC,CAAC;QAEpC,MAAM,cAAc,GAAG,GAAG,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QACxD,IAAI,gBAAgB,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC;YACzC,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,QAAQ,CAAC;gBAChB,OAAO,EAAE,kCAAkC,cAAc,kBAAkB;aAC5E,CAAC,CAAC;QACL,CAAC;QACD,gBAAgB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACvC,CAAC;AACH,CAAC,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,gBAAgB,EAAE,kBAAkB;IACpC,aAAa,EAAE,kBAAkB;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,oCAAoC;QACzC,MAAM,EAAE,uCAAuC;KAChD,CAAC;CACH,CAAC,CAAC;AAIH;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,MAAiC;IACrE,OAAO,0BAA0B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC","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"]}
@@ -1,7 +1,7 @@
1
1
  import { RuntimeEnvironment } from '@wildo-ai/saas-models';
2
2
  import { z } from 'zod';
3
3
  import { BackingServiceSource } from './shared/backing-services.schemas';
4
- import { DatabaseEngine, WildoDeploymentRuntime, WildoLocationType, WildoLocalDataStorage, WildoImageTagStrategy } from './shared/environment.schemas';
4
+ import { DatabaseEngine, WildoDeploymentRuntime, WildoLocationType, WildoLocalDataStorage, EnvironmentServiceProfile, WildoImageTagStrategy } from './shared/environment.schemas';
5
5
  /**
6
6
  * Per-environment email values, laid over `email` in the backend configuration (`saas-config.backend.ts`) for THIS
7
7
  * environment only.
@@ -49,23 +49,6 @@ export type WildoOwnershipDnsStandInConfig = z.output<typeof WildoOwnershipDnsSt
49
49
  * descriptors can agree on what an application-owned field IS without restating it.
50
50
  */
51
51
  declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
52
- /**
53
- * Authored schema-format version for this `wildo.infra.<env>.config.ts`,
54
- * expressed as a **SemVer 2.0.0 string** (e.g. `'1.0.0'`,
55
- * `'2.3.1-rc.1'`, `'1.0.0+build.42'`).
56
- *
57
- * @unimplemented Slice 3.5 wires a parse-time warning when this is
58
- * authored. The full schema-evolution / migration tooling story is
59
- * tracked under deferred-backlog **D-5**
60
- * (`.cursor/plans/post-flattening-completion-fixes.md`). Symmetrical
61
- * with `WildoSaasConfig.version` — both reservations land/retire
62
- * together so the migration tooling, when it ships, can target both
63
- * authored configs through a single mechanism. SemVer (not a bare
64
- * integer) was chosen for the same reason as on the SaaS-config side
65
- * — see the JSDoc on `WildoSaasConfig.version`. Field is `.optional()`
66
- * (no Zod default) so unauthored configs stay silent.
67
- */
68
- version: z.ZodOptional<z.ZodString>;
69
52
  environment: z.ZodString;
70
53
  locationType: z.ZodOptional<z.ZodEnum<typeof WildoLocationType>>;
71
54
  runtimeEnvironment: z.ZodOptional<z.ZodEnum<typeof RuntimeEnvironment>>;
@@ -83,6 +66,25 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
83
66
  * Ignored by KUBERNETES environments, which take their storage from PVs rather than from here.
84
67
  */
85
68
  localDataStorage: z.ZodOptional<z.ZodEnum<typeof WildoLocalDataStorage>>;
69
+ /**
70
+ * Which optional backing services this environment runs — its footprint (#2303). Omit it and the
71
+ * environment runs `FULL`, every service its declarations ask for.
72
+ *
73
+ * `SMALL` runs no ClamAV, no immudb and no mongot. A small internal tool usually needs none of them, and
74
+ * they are the heaviest containers in the stack. Each capability that depends on one is REFUSED at the
75
+ * application's boot when the application declares it, with a message naming this profile and the remedy:
76
+ * a `z_file({ scanPolicy: 'required' })` field (antivirus), an enabled `COMPLIANCE_AUDIT_TRAIL` with no
77
+ * external audit store (immudb), a `.ragSource()` field on a MongoDB-persisted resource (mongot; on
78
+ * PostgreSQL pgvector serves vector search inside the database, so it stays available).
79
+ *
80
+ * Moving between profiles migrates no data: a service the profile adds starts empty (an audit store with
81
+ * no history, a search index that mongot builds from the collections), and one it removes leaves its
82
+ * data where it was.
83
+ *
84
+ * Docker Compose environments only for now: a KUBERNETES environment declaring a non-`FULL` profile is
85
+ * refused, because its manifests would ignore it.
86
+ */
87
+ serviceProfile: z.ZodOptional<z.ZodEnum<typeof EnvironmentServiceProfile>>;
86
88
  /**
87
89
  * The store the PLATFORM's own data lives in (apps-manager + module-registry:
88
90
  * users, organizations, applications, sessions, API keys).
@@ -128,12 +130,6 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
128
130
  database: z.ZodOptional<z.ZodObject<{
129
131
  engine: z.ZodEnum<typeof DatabaseEngine>;
130
132
  source: z.ZodEnum<typeof BackingServiceSource>;
131
- /**
132
- * Managed-brand identifier when `source === MANAGED` — `'atlas'` for Mongo; one of
133
- * `'aws-rds' | 'gcp-cloud-sql' | 'azure-database' | 'supabase' | 'neon' | 'render'` for
134
- * Postgres. Mirrors `PlatformEnvConfigJson['database'].provider` exactly; this field is
135
- * deliberately the same vocabulary rather than a parallel one.
136
- */
137
133
  provider: z.ZodOptional<z.ZodString>;
138
134
  }, z.core.$strict>>;
139
135
  /** @wildo_source:part:start platform.config.application-database facet:layer:platform facet:family:bootstrap facet:audience:app-developer */
@@ -420,8 +416,9 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
420
416
  * per environment is what lets `wildo config sync` carry them, instead of an operator
421
417
  * remembering three env vars on a build command.
422
418
  *
423
- * Projected to `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
424
- * `WILDO_DOCS_FRONTEND_SERVICE_NAME` by `env-vars-builder`.
419
+ * Passed as `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
420
+ * `WILDO_DOCS_FRONTEND_SERVICE_NAME` to the documentation image's build and to the CI workflow, read from the
421
+ * loaded descriptor; no runtime environment carries them (#2310).
425
422
  * See {@link WildoDocumentationSiteConfigSchema}.
426
423
  */
427
424
  documentationSite: z.ZodOptional<z.ZodObject<{
@@ -467,8 +464,7 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
467
464
  *
468
465
  * 1. Platform default (per-`AppFrontendType` baseline) — `csp-defaults.ts`.
469
466
  * 2. App-static (per-frontend `csp?` block) — authored on each
470
- * service-definition (today: `wildo.tech-doc.config.ts.csp?` per
471
- * `saas-technical-doc.md` Step 7.5).
467
+ * service-definition (today: `wildo.tech-doc.config.ts.csp?`).
472
468
  * 3. **THIS FIELD** — env-specific overrides authored under
473
469
  * `wildo.infra.<env>.config.ts.csp?[serviceKey]`. The
474
470
  * `resolveCspPolicy({ envOverride, environmentId })` resolver
@@ -519,10 +515,26 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
519
515
  * `z.record` value position.
520
516
  */
521
517
  csp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
522
- extraDirectives: z.ZodDefault<z.ZodObject<Record<"default-src" | "script-src" | "style-src" | "img-src" | "connect-src" | "font-src" | "frame-src" | "frame-ancestors" | "object-src" | "form-action" | "base-uri" | "manifest-src" | "media-src" | "worker-src", z.ZodOptional<z.ZodArray<z.ZodString>>>, z.core.$strict>>;
518
+ extraDirectives: z.ZodDefault<z.ZodObject<{
519
+ "default-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
520
+ "script-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
521
+ "style-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
522
+ "img-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
523
+ "connect-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ "font-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
525
+ "frame-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
526
+ "frame-ancestors": z.ZodOptional<z.ZodArray<z.ZodString>>;
527
+ "object-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
528
+ "form-action": z.ZodOptional<z.ZodArray<z.ZodString>>;
529
+ "base-uri": z.ZodOptional<z.ZodArray<z.ZodString>>;
530
+ "manifest-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
531
+ "media-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
532
+ "worker-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
533
+ }, z.core.$strict>>;
523
534
  viteDevLoosening: z.ZodOptional<z.ZodBoolean>;
524
535
  reportOnly: z.ZodOptional<z.ZodBoolean>;
525
536
  reportUri: z.ZodOptional<z.ZodString>;
537
+ reportTo: z.ZodOptional<z.ZodURL>;
526
538
  }, z.core.$strict>>>;
527
539
  /**
528
540
  * Per-service OPT-IN to CDN serving, keyed by SaaS-config service key
@@ -572,7 +584,8 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
572
584
  * and refused in a local environment, whose platform bucket is a constant shared by every application.
573
585
  */
574
586
  platformStorage: z.ZodOptional<z.ZodObject<{
575
- bucket: z.ZodString;
587
+ bucket: z.ZodOptional<z.ZodString>;
588
+ stsRoleArn: z.ZodOptional<z.ZodString>;
576
589
  }, z.core.$strict>>;
577
590
  /**
578
591
  * Where the PLATFORM keeps the keys it holds for applications (#2933): a self-hosted OpenBao the CLI renders, or the
@@ -613,6 +626,11 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
613
626
  modulePath: z.ZodString;
614
627
  tokenLabel: z.ZodString;
615
628
  hardwareTokenModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
629
+ clientFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
630
+ hostPath: z.ZodString;
631
+ containerPath: z.ZodString;
632
+ }, z.core.$strict>>>;
633
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
616
634
  }, z.core.$strict>>;
617
635
  }, z.core.$strict>>;
618
636
  devCompanion: z.ZodOptional<z.ZodObject<{
@@ -640,21 +658,15 @@ declare const WILDO_INFRA_ENV_CONFIG_SHAPE: {
640
658
  }, z.core.$strict>>;
641
659
  };
642
660
  export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
643
- version: z.ZodOptional<z.ZodString>;
644
661
  environment: z.ZodString;
645
662
  locationType: z.ZodOptional<z.ZodEnum<typeof WildoLocationType>>;
646
663
  runtimeEnvironment: z.ZodOptional<z.ZodEnum<typeof RuntimeEnvironment>>;
647
664
  runtime: z.ZodEnum<typeof WildoDeploymentRuntime>;
648
665
  localDataStorage: z.ZodOptional<z.ZodEnum<typeof WildoLocalDataStorage>>;
666
+ serviceProfile: z.ZodOptional<z.ZodEnum<typeof EnvironmentServiceProfile>>;
649
667
  database: z.ZodOptional<z.ZodObject<{
650
668
  engine: z.ZodEnum<typeof DatabaseEngine>;
651
669
  source: z.ZodEnum<typeof BackingServiceSource>;
652
- /**
653
- * Managed-brand identifier when `source === MANAGED` — `'atlas'` for Mongo; one of
654
- * `'aws-rds' | 'gcp-cloud-sql' | 'azure-database' | 'supabase' | 'neon' | 'render'` for
655
- * Postgres. Mirrors `PlatformEnvConfigJson['database'].provider` exactly; this field is
656
- * deliberately the same vocabulary rather than a parallel one.
657
- */
658
670
  provider: z.ZodOptional<z.ZodString>;
659
671
  }, z.core.$strict>>;
660
672
  applicationDatabase: z.ZodOptional<z.ZodObject<{
@@ -782,10 +794,26 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
782
794
  refreshTokenExpirationDays: z.ZodDefault<z.ZodNumber>;
783
795
  }, z.core.$strict>>;
784
796
  csp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
785
- extraDirectives: z.ZodDefault<z.ZodObject<Record<"default-src" | "script-src" | "style-src" | "img-src" | "connect-src" | "font-src" | "frame-src" | "frame-ancestors" | "object-src" | "form-action" | "base-uri" | "manifest-src" | "media-src" | "worker-src", z.ZodOptional<z.ZodArray<z.ZodString>>>, z.core.$strict>>;
797
+ extraDirectives: z.ZodDefault<z.ZodObject<{
798
+ "default-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
799
+ "script-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
800
+ "style-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
801
+ "img-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
802
+ "connect-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
803
+ "font-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
804
+ "frame-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
805
+ "frame-ancestors": z.ZodOptional<z.ZodArray<z.ZodString>>;
806
+ "object-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
807
+ "form-action": z.ZodOptional<z.ZodArray<z.ZodString>>;
808
+ "base-uri": z.ZodOptional<z.ZodArray<z.ZodString>>;
809
+ "manifest-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
810
+ "media-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
811
+ "worker-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
812
+ }, z.core.$strict>>;
786
813
  viteDevLoosening: z.ZodOptional<z.ZodBoolean>;
787
814
  reportOnly: z.ZodOptional<z.ZodBoolean>;
788
815
  reportUri: z.ZodOptional<z.ZodString>;
816
+ reportTo: z.ZodOptional<z.ZodURL>;
789
817
  }, z.core.$strict>>>;
790
818
  cdn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
791
819
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -805,7 +833,8 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
805
833
  address: z.ZodRecord<z.ZodString, z.ZodString>;
806
834
  }, z.core.$strict>]>>>;
807
835
  platformStorage: z.ZodOptional<z.ZodObject<{
808
- bucket: z.ZodString;
836
+ bucket: z.ZodOptional<z.ZodString>;
837
+ stsRoleArn: z.ZodOptional<z.ZodString>;
809
838
  }, z.core.$strict>>;
810
839
  platformKeyManagement: z.ZodOptional<z.ZodObject<{
811
840
  vault: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -841,6 +870,11 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
841
870
  modulePath: z.ZodString;
842
871
  tokenLabel: z.ZodString;
843
872
  hardwareTokenModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
873
+ clientFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
874
+ hostPath: z.ZodString;
875
+ containerPath: z.ZodString;
876
+ }, z.core.$strict>>>;
877
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
844
878
  }, z.core.$strict>>;
845
879
  }, z.core.$strict>>;
846
880
  devCompanion: z.ZodOptional<z.ZodObject<{
@@ -853,7 +887,6 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
853
887
  infraConfigPath: z.ZodString;
854
888
  }, z.core.$strict>>;
855
889
  }, z.core.$strict>, z.ZodTransform<{
856
- version: string;
857
890
  environment: string;
858
891
  locationType: WildoLocationType;
859
892
  runtimeEnvironment: RuntimeEnvironment;
@@ -863,6 +896,8 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
863
896
  * reader sees one answer. The derivation is total over `WildoLocationType`.
864
897
  */
865
898
  localDataStorage: WildoLocalDataStorage;
899
+ /** Resolved here, like `localDataStorage`, so every reader sees the settled answer (#2303). */
900
+ serviceProfile: EnvironmentServiceProfile;
866
901
  /**
867
902
  * Projected EXPLICITLY, like every field here — this list IS the contract, and a field omitted
868
903
  * from it is silently dropped no matter what the input schema accepted. `undefined` when the
@@ -1008,6 +1043,7 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1008
1043
  viteDevLoosening?: boolean;
1009
1044
  reportOnly?: boolean;
1010
1045
  reportUri?: string;
1046
+ reportTo?: string;
1011
1047
  }>;
1012
1048
  cdn: Record<string, {
1013
1049
  enabled: boolean;
@@ -1027,7 +1063,8 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1027
1063
  address: Record<string, string>;
1028
1064
  }>;
1029
1065
  platformStorage: {
1030
- bucket: string;
1066
+ bucket?: string;
1067
+ stsRoleArn?: string;
1031
1068
  };
1032
1069
  platformKeyManagement: {
1033
1070
  vault?: {
@@ -1063,6 +1100,11 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1063
1100
  modulePath: string;
1064
1101
  tokenLabel: string;
1065
1102
  hardwareTokenModels: string[];
1103
+ clientFiles?: {
1104
+ hostPath: string;
1105
+ containerPath: string;
1106
+ }[];
1107
+ environment?: Record<string, string>;
1066
1108
  };
1067
1109
  };
1068
1110
  documentationSite: {
@@ -1134,10 +1176,10 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1134
1176
  database?: string;
1135
1177
  };
1136
1178
  };
1137
- version?: string;
1138
1179
  locationType?: WildoLocationType;
1139
1180
  runtimeEnvironment?: RuntimeEnvironment;
1140
1181
  localDataStorage?: WildoLocalDataStorage;
1182
+ serviceProfile?: EnvironmentServiceProfile;
1141
1183
  database?: {
1142
1184
  engine: DatabaseEngine;
1143
1185
  source: BackingServiceSource;
@@ -1230,6 +1272,7 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1230
1272
  viteDevLoosening?: boolean;
1231
1273
  reportOnly?: boolean;
1232
1274
  reportUri?: string;
1275
+ reportTo?: string;
1233
1276
  }>;
1234
1277
  cdn?: Record<string, {
1235
1278
  enabled: boolean;
@@ -1249,7 +1292,8 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1249
1292
  address: Record<string, string>;
1250
1293
  }>;
1251
1294
  platformStorage?: {
1252
- bucket: string;
1295
+ bucket?: string;
1296
+ stsRoleArn?: string;
1253
1297
  };
1254
1298
  platformKeyManagement?: {
1255
1299
  vault?: {
@@ -1285,6 +1329,11 @@ export declare const WildoInfraEnvConfigSchema: z.ZodPipe<z.ZodObject<{
1285
1329
  modulePath: string;
1286
1330
  tokenLabel: string;
1287
1331
  hardwareTokenModels: string[];
1332
+ clientFiles?: {
1333
+ hostPath: string;
1334
+ containerPath: string;
1335
+ }[];
1336
+ environment?: Record<string, string>;
1288
1337
  };
1289
1338
  };
1290
1339
  devCompanion?: {
@@ -1445,14 +1494,8 @@ export type HostedBackingServicesEnvConfig = z.output<typeof HostedBackingServic
1445
1494
  */
1446
1495
  export declare const WildoHostedInfraEnvConfigSchema: z.ZodObject<{
1447
1496
  infrastructureHost: z.ZodObject<{
1448
- /**
1449
- * The host application's root — the directory holding its `wildo.saas.config.ts` — RELATIVE to this
1450
- * application's root. Relative because the descriptor is committed: an absolute path is one machine's
1451
- * checkout layout, and would break on every other.
1452
- */
1453
1497
  applicationRoot: z.ZodString;
1454
1498
  }, z.core.$strict>;
1455
- version: z.ZodOptional<z.ZodString>;
1456
1499
  environment: z.ZodString;
1457
1500
  applicationDatabase: z.ZodOptional<z.ZodObject<{
1458
1501
  engine: z.ZodEnum<typeof DatabaseEngine>;
@@ -1537,10 +1580,26 @@ export declare const WildoHostedInfraEnvConfigSchema: z.ZodObject<{
1537
1580
  refreshTokenExpirationDays: z.ZodDefault<z.ZodNumber>;
1538
1581
  }, z.core.$strict>>;
1539
1582
  csp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1540
- extraDirectives: z.ZodDefault<z.ZodObject<Record<"default-src" | "script-src" | "style-src" | "img-src" | "connect-src" | "font-src" | "frame-src" | "frame-ancestors" | "object-src" | "form-action" | "base-uri" | "manifest-src" | "media-src" | "worker-src", z.ZodOptional<z.ZodArray<z.ZodString>>>, z.core.$strict>>;
1583
+ extraDirectives: z.ZodDefault<z.ZodObject<{
1584
+ "default-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1585
+ "script-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1586
+ "style-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1587
+ "img-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1588
+ "connect-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1589
+ "font-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1590
+ "frame-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1591
+ "frame-ancestors": z.ZodOptional<z.ZodArray<z.ZodString>>;
1592
+ "object-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1593
+ "form-action": z.ZodOptional<z.ZodArray<z.ZodString>>;
1594
+ "base-uri": z.ZodOptional<z.ZodArray<z.ZodString>>;
1595
+ "manifest-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1596
+ "media-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1597
+ "worker-src": z.ZodOptional<z.ZodArray<z.ZodString>>;
1598
+ }, z.core.$strict>>;
1541
1599
  viteDevLoosening: z.ZodOptional<z.ZodBoolean>;
1542
1600
  reportOnly: z.ZodOptional<z.ZodBoolean>;
1543
1601
  reportUri: z.ZodOptional<z.ZodString>;
1602
+ reportTo: z.ZodOptional<z.ZodURL>;
1544
1603
  }, z.core.$strict>>>;
1545
1604
  cdn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1546
1605
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -1588,11 +1647,6 @@ export declare function isHostedInfraEnvConfig(config: WildoAuthoredInfraEnvConf
1588
1647
  *
1589
1648
  * This is the canonical authored env contract for the flattened targeted-app
1590
1649
  * layout.
1591
- *
1592
- * After successful parsing, emits Slice 3.5 `@unimplemented` warnings for
1593
- * authored fields that remain reserved — see `_unimplemented/unimplemented-field-warning.ts`
1594
- * for the design rationale (channel = stderr, dedupe = once-per-call,
1595
- * format = single-line with backlog ID).
1596
1650
  */
1597
1651
  export declare function defineInfraEnvConfig(config: WildoInfraEnvConfigInput): WildoInfraEnvConfig;
1598
1652
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"define-infra-env-config.d.ts","sourceRoot":"","sources":["../../../../src/project-config/define-infra-env-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EAAsB,oBAAoB,EAAkC,MAAM,mCAAmC,CAAC;AAU7H,OAAO,EACL,cAAc,EAGd,sBAAsB,EAItB,iBAAiB,EACjB,qBAAqB,EAQrB,qBAAqB,EAEtB,MAAM,8BAA8B,CAAC;AA8DtC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B;;;;kBAItC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEjF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oCAAoC;;kBAI/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAEnG;;;;;;;GAOG;AACH,QAAA,MAAM,4BAA4B;IAChC;;;;;;;;;;;;;;;OAeG;;;;;;IAMH;;;;;;;;;;;OAWG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;;;;QAKC;;;;;WAKG;;;IAIP,6IAA6I;IAC7I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;;;;IAMH;;;;;;;;;;;;;;;;;;OAkBG;IACH,kEAAkE;IAClE;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMH;;;;;;;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,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAE7F;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,yBAAyB,CAAC;AAE1F;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,2BAA2B,GAAG,MAAM,IAAI,yBAAyB,CAG/G;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,wBAAwB,GAAG,mBAAmB,CAiB1F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,8BAA8B,GAAG,yBAAyB,CAI5G"}
1
+ {"version":3,"file":"define-infra-env-config.d.ts","sourceRoot":"","sources":["../../../src/project-config/define-infra-env-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAsB,oBAAoB,EAAkC,MAAM,mCAAmC,CAAC;AAS7H,OAAO,EACL,cAAc,EAGd,sBAAsB,EAItB,iBAAiB,EACjB,qBAAqB,EAGrB,yBAAyB,EAWzB,qBAAqB,EAEtB,MAAM,8BAA8B,CAAC;AA6DtC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B;;;;kBAItC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEjF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oCAAoC;;kBAI/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAEnG;;;;;;;GAOG;AACH,QAAA,MAAM,4BAA4B;;;;;IAShC;;;;;;;;;;;OAWG;;IAEH;;;;;;;;;;;;;;;;;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