@taggor/contract 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -2
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/artifact-keys.d.ts +169 -0
  5. package/dist/artifact-keys.d.ts.map +1 -0
  6. package/dist/artifact-keys.js +195 -0
  7. package/dist/artifact-keys.js.map +1 -0
  8. package/dist/assets.d.ts +72 -0
  9. package/dist/assets.d.ts.map +1 -0
  10. package/dist/assets.js +94 -0
  11. package/dist/assets.js.map +1 -0
  12. package/dist/bounded-path.d.ts +29 -0
  13. package/dist/bounded-path.d.ts.map +1 -0
  14. package/dist/bounded-path.js +57 -0
  15. package/dist/bounded-path.js.map +1 -0
  16. package/dist/bounded.d.ts +47 -0
  17. package/dist/bounded.d.ts.map +1 -0
  18. package/dist/bounded.js +93 -0
  19. package/dist/bounded.js.map +1 -0
  20. package/dist/build-diagnostic.d.ts +89 -0
  21. package/dist/build-diagnostic.d.ts.map +1 -0
  22. package/dist/build-diagnostic.js +91 -0
  23. package/dist/build-diagnostic.js.map +1 -0
  24. package/dist/component-types.d.ts +61 -0
  25. package/dist/component-types.d.ts.map +1 -0
  26. package/dist/component-types.js +277 -0
  27. package/dist/component-types.js.map +1 -0
  28. package/dist/consent-text.d.ts +31 -0
  29. package/dist/consent-text.d.ts.map +1 -0
  30. package/dist/consent-text.js +41 -0
  31. package/dist/consent-text.js.map +1 -0
  32. package/dist/contract-version.d.ts +150 -0
  33. package/dist/contract-version.d.ts.map +1 -0
  34. package/dist/contract-version.js +198 -0
  35. package/dist/contract-version.js.map +1 -0
  36. package/dist/credential-fields.d.ts +31 -0
  37. package/dist/credential-fields.d.ts.map +1 -0
  38. package/dist/credential-fields.js +36 -0
  39. package/dist/credential-fields.js.map +1 -0
  40. package/dist/css-tokens.d.ts +46 -0
  41. package/dist/css-tokens.d.ts.map +1 -0
  42. package/dist/css-tokens.js +189 -0
  43. package/dist/css-tokens.js.map +1 -0
  44. package/dist/css-value.d.ts +42 -0
  45. package/dist/css-value.d.ts.map +1 -0
  46. package/dist/css-value.js +78 -0
  47. package/dist/css-value.js.map +1 -0
  48. package/dist/data-api.d.ts +127 -0
  49. package/dist/data-api.d.ts.map +1 -0
  50. package/dist/data-api.js +167 -0
  51. package/dist/data-api.js.map +1 -0
  52. package/dist/denylist-keys.d.ts +19 -0
  53. package/dist/denylist-keys.d.ts.map +1 -0
  54. package/dist/denylist-keys.js +48 -0
  55. package/dist/denylist-keys.js.map +1 -0
  56. package/dist/diagnostic-catalog.d.ts +1402 -0
  57. package/dist/diagnostic-catalog.d.ts.map +1 -0
  58. package/dist/diagnostic-catalog.js +1311 -0
  59. package/dist/diagnostic-catalog.js.map +1 -0
  60. package/dist/dom-members.snapshot.d.ts +33 -0
  61. package/dist/dom-members.snapshot.d.ts.map +1 -0
  62. package/dist/dom-members.snapshot.js +760 -0
  63. package/dist/dom-members.snapshot.js.map +1 -0
  64. package/dist/early-loading.d.ts +27 -0
  65. package/dist/early-loading.d.ts.map +1 -0
  66. package/dist/early-loading.js +44 -0
  67. package/dist/early-loading.js.map +1 -0
  68. package/dist/error-catalog.d.ts +749 -0
  69. package/dist/error-catalog.d.ts.map +1 -0
  70. package/dist/error-catalog.js +720 -0
  71. package/dist/error-catalog.js.map +1 -0
  72. package/dist/executable-config.d.ts +35 -0
  73. package/dist/executable-config.d.ts.map +1 -0
  74. package/dist/executable-config.js +44 -0
  75. package/dist/executable-config.js.map +1 -0
  76. package/dist/freeze.d.ts +17 -0
  77. package/dist/freeze.d.ts.map +1 -0
  78. package/dist/freeze.js +29 -0
  79. package/dist/freeze.js.map +1 -0
  80. package/dist/gunzip.d.ts +33 -0
  81. package/dist/gunzip.d.ts.map +1 -0
  82. package/dist/gunzip.js +330 -0
  83. package/dist/gunzip.js.map +1 -0
  84. package/dist/hostname.d.ts +74 -0
  85. package/dist/hostname.d.ts.map +1 -0
  86. package/dist/hostname.js +215 -0
  87. package/dist/hostname.js.map +1 -0
  88. package/dist/human-actions.d.ts +49 -0
  89. package/dist/human-actions.d.ts.map +1 -0
  90. package/dist/human-actions.js +272 -0
  91. package/dist/human-actions.js.map +1 -0
  92. package/dist/index.d.ts +72 -0
  93. package/dist/index.d.ts.map +1 -0
  94. package/dist/index.js +72 -0
  95. package/dist/index.js.map +1 -0
  96. package/dist/json-schema.d.ts +108 -0
  97. package/dist/json-schema.d.ts.map +1 -0
  98. package/dist/json-schema.js +240 -0
  99. package/dist/json-schema.js.map +1 -0
  100. package/dist/key-checksum.d.ts +33 -0
  101. package/dist/key-checksum.d.ts.map +1 -0
  102. package/dist/key-checksum.js +67 -0
  103. package/dist/key-checksum.js.map +1 -0
  104. package/dist/libraries.d.ts +60 -0
  105. package/dist/libraries.d.ts.map +1 -0
  106. package/dist/libraries.js +120 -0
  107. package/dist/libraries.js.map +1 -0
  108. package/dist/limit-catalog.d.ts +371 -0
  109. package/dist/limit-catalog.d.ts.map +1 -0
  110. package/dist/limit-catalog.js +414 -0
  111. package/dist/limit-catalog.js.map +1 -0
  112. package/dist/limits.d.ts +167 -0
  113. package/dist/limits.d.ts.map +1 -0
  114. package/dist/limits.js +175 -0
  115. package/dist/limits.js.map +1 -0
  116. package/dist/locale-tag.d.ts +21 -0
  117. package/dist/locale-tag.d.ts.map +1 -0
  118. package/dist/locale-tag.js +21 -0
  119. package/dist/locale-tag.js.map +1 -0
  120. package/dist/make-diagnostic.d.ts +74 -0
  121. package/dist/make-diagnostic.d.ts.map +1 -0
  122. package/dist/make-diagnostic.js +100 -0
  123. package/dist/make-diagnostic.js.map +1 -0
  124. package/dist/manifest-compat-diagnostics.d.ts +23 -0
  125. package/dist/manifest-compat-diagnostics.d.ts.map +1 -0
  126. package/dist/manifest-compat-diagnostics.js +150 -0
  127. package/dist/manifest-compat-diagnostics.js.map +1 -0
  128. package/dist/manifest-compat.d.ts +58 -0
  129. package/dist/manifest-compat.d.ts.map +1 -0
  130. package/dist/manifest-compat.js +377 -0
  131. package/dist/manifest-compat.js.map +1 -0
  132. package/dist/manifest.d.ts +1769 -0
  133. package/dist/manifest.d.ts.map +1 -0
  134. package/dist/manifest.js +421 -0
  135. package/dist/manifest.js.map +1 -0
  136. package/dist/metering.d.ts +126 -0
  137. package/dist/metering.d.ts.map +1 -0
  138. package/dist/metering.js +147 -0
  139. package/dist/metering.js.map +1 -0
  140. package/dist/migrate.d.ts +70 -0
  141. package/dist/migrate.d.ts.map +1 -0
  142. package/dist/migrate.js +159 -0
  143. package/dist/migrate.js.map +1 -0
  144. package/dist/names.d.ts +37 -0
  145. package/dist/names.d.ts.map +1 -0
  146. package/dist/names.js +55 -0
  147. package/dist/names.js.map +1 -0
  148. package/dist/overage-pricing.d.ts +89 -0
  149. package/dist/overage-pricing.d.ts.map +1 -0
  150. package/dist/overage-pricing.js +170 -0
  151. package/dist/overage-pricing.js.map +1 -0
  152. package/dist/plan-ids.d.ts +10 -0
  153. package/dist/plan-ids.d.ts.map +1 -0
  154. package/dist/plan-ids.js +8 -0
  155. package/dist/plan-ids.js.map +1 -0
  156. package/dist/plan-limits.d.ts +138 -0
  157. package/dist/plan-limits.d.ts.map +1 -0
  158. package/dist/plan-limits.js +112 -0
  159. package/dist/plan-limits.js.map +1 -0
  160. package/dist/plan-pricing.d.ts +145 -0
  161. package/dist/plan-pricing.d.ts.map +1 -0
  162. package/dist/plan-pricing.js +172 -0
  163. package/dist/plan-pricing.js.map +1 -0
  164. package/dist/plan-usage.d.ts +112 -0
  165. package/dist/plan-usage.d.ts.map +1 -0
  166. package/dist/plan-usage.js +134 -0
  167. package/dist/plan-usage.js.map +1 -0
  168. package/dist/preview-token.d.ts +52 -0
  169. package/dist/preview-token.d.ts.map +1 -0
  170. package/dist/preview-token.js +106 -0
  171. package/dist/preview-token.js.map +1 -0
  172. package/dist/prop-names.d.ts +51 -0
  173. package/dist/prop-names.d.ts.map +1 -0
  174. package/dist/prop-names.js +150 -0
  175. package/dist/prop-names.js.map +1 -0
  176. package/dist/prop-type-docs.d.ts +20 -0
  177. package/dist/prop-type-docs.d.ts.map +1 -0
  178. package/dist/prop-type-docs.js +89 -0
  179. package/dist/prop-type-docs.js.map +1 -0
  180. package/dist/prop-types.d.ts +97 -0
  181. package/dist/prop-types.d.ts.map +1 -0
  182. package/dist/prop-types.js +299 -0
  183. package/dist/prop-types.js.map +1 -0
  184. package/dist/props.d.ts +996 -0
  185. package/dist/props.d.ts.map +1 -0
  186. package/dist/props.js +183 -0
  187. package/dist/props.js.map +1 -0
  188. package/dist/proto-guard.d.ts +29 -0
  189. package/dist/proto-guard.d.ts.map +1 -0
  190. package/dist/proto-guard.js +79 -0
  191. package/dist/proto-guard.js.map +1 -0
  192. package/dist/runtime-errors.d.ts +42 -0
  193. package/dist/runtime-errors.d.ts.map +1 -0
  194. package/dist/runtime-errors.js +42 -0
  195. package/dist/runtime-errors.js.map +1 -0
  196. package/dist/runtime-pointers.d.ts +58 -0
  197. package/dist/runtime-pointers.d.ts.map +1 -0
  198. package/dist/runtime-pointers.js +84 -0
  199. package/dist/runtime-pointers.js.map +1 -0
  200. package/dist/secret-scan.d.ts +191 -0
  201. package/dist/secret-scan.d.ts.map +1 -0
  202. package/dist/secret-scan.js +542 -0
  203. package/dist/secret-scan.js.map +1 -0
  204. package/dist/semver.d.ts +89 -0
  205. package/dist/semver.d.ts.map +1 -0
  206. package/dist/semver.js +400 -0
  207. package/dist/semver.js.map +1 -0
  208. package/dist/server-key.d.ts +68 -0
  209. package/dist/server-key.d.ts.map +1 -0
  210. package/dist/server-key.js +150 -0
  211. package/dist/server-key.js.map +1 -0
  212. package/dist/site-manifest-keys.d.ts +107 -0
  213. package/dist/site-manifest-keys.d.ts.map +1 -0
  214. package/dist/site-manifest-keys.js +146 -0
  215. package/dist/site-manifest-keys.js.map +1 -0
  216. package/dist/site-manifest.d.ts +286 -0
  217. package/dist/site-manifest.d.ts.map +1 -0
  218. package/dist/site-manifest.js +100 -0
  219. package/dist/site-manifest.js.map +1 -0
  220. package/dist/source-archive.d.ts +119 -0
  221. package/dist/source-archive.d.ts.map +1 -0
  222. package/dist/source-archive.js +644 -0
  223. package/dist/source-archive.js.map +1 -0
  224. package/dist/source-package-corpus.d.ts +55 -0
  225. package/dist/source-package-corpus.d.ts.map +1 -0
  226. package/dist/source-package-corpus.js +303 -0
  227. package/dist/source-package-corpus.js.map +1 -0
  228. package/dist/source-package.d.ts +227 -0
  229. package/dist/source-package.d.ts.map +1 -0
  230. package/dist/source-package.js +361 -0
  231. package/dist/source-package.js.map +1 -0
  232. package/dist/source-secrets.d.ts +21 -0
  233. package/dist/source-secrets.d.ts.map +1 -0
  234. package/dist/source-secrets.js +43 -0
  235. package/dist/source-secrets.js.map +1 -0
  236. package/dist/ssr-cap.d.ts +61 -0
  237. package/dist/ssr-cap.d.ts.map +1 -0
  238. package/dist/ssr-cap.js +107 -0
  239. package/dist/ssr-cap.js.map +1 -0
  240. package/dist/ssr-kv.d.ts +18 -0
  241. package/dist/ssr-kv.d.ts.map +1 -0
  242. package/dist/ssr-kv.js +18 -0
  243. package/dist/ssr-kv.js.map +1 -0
  244. package/dist/ssr-version-ledger.d.ts +53 -0
  245. package/dist/ssr-version-ledger.d.ts.map +1 -0
  246. package/dist/ssr-version-ledger.js +88 -0
  247. package/dist/ssr-version-ledger.js.map +1 -0
  248. package/dist/style-references.d.ts +58 -0
  249. package/dist/style-references.d.ts.map +1 -0
  250. package/dist/style-references.js +241 -0
  251. package/dist/style-references.js.map +1 -0
  252. package/dist/tag-name.d.ts +87 -0
  253. package/dist/tag-name.d.ts.map +1 -0
  254. package/dist/tag-name.js +222 -0
  255. package/dist/tag-name.js.map +1 -0
  256. package/dist/tar-writer.d.ts +74 -0
  257. package/dist/tar-writer.d.ts.map +1 -0
  258. package/dist/tar-writer.js +148 -0
  259. package/dist/tar-writer.js.map +1 -0
  260. package/dist/testing.d.ts +11 -0
  261. package/dist/testing.d.ts.map +1 -0
  262. package/dist/testing.js +11 -0
  263. package/dist/testing.js.map +1 -0
  264. package/dist/text-codec.d.ts +36 -0
  265. package/dist/text-codec.d.ts.map +1 -0
  266. package/dist/text-codec.js +32 -0
  267. package/dist/text-codec.js.map +1 -0
  268. package/dist/url-value.d.ts +41 -0
  269. package/dist/url-value.d.ts.map +1 -0
  270. package/dist/url-value.js +147 -0
  271. package/dist/url-value.js.map +1 -0
  272. package/dist/usage-guard.d.ts +99 -0
  273. package/dist/usage-guard.d.ts.map +1 -0
  274. package/dist/usage-guard.js +104 -0
  275. package/dist/usage-guard.js.map +1 -0
  276. package/dist/usage-mirror.d.ts +55 -0
  277. package/dist/usage-mirror.d.ts.map +1 -0
  278. package/dist/usage-mirror.js +52 -0
  279. package/dist/usage-mirror.js.map +1 -0
  280. package/dist/value-check.d.ts +88 -0
  281. package/dist/value-check.d.ts.map +1 -0
  282. package/dist/value-check.js +279 -0
  283. package/dist/value-check.js.map +1 -0
  284. package/dist/value-patterns.d.ts +9 -0
  285. package/dist/value-patterns.d.ts.map +1 -0
  286. package/dist/value-patterns.js +17 -0
  287. package/dist/value-patterns.js.map +1 -0
  288. package/dist/value-schema.d.ts +796 -0
  289. package/dist/value-schema.d.ts.map +1 -0
  290. package/dist/value-schema.js +231 -0
  291. package/dist/value-schema.js.map +1 -0
  292. package/dist/zod-free.d.ts +59 -0
  293. package/dist/zod-free.d.ts.map +1 -0
  294. package/dist/zod-free.js +57 -0
  295. package/dist/zod-free.js.map +1 -0
  296. package/package.json +75 -3
  297. package/schema/DEPLOYED +12 -0
  298. package/schema/build-diagnostic.v1.json +63 -0
  299. package/schema/component-manifest.v1.json +1000 -0
  300. package/schema/data-api.v1.json +194 -0
  301. package/schema/library-manifest.v1.json +60 -0
  302. package/schema/published/SHA256SUMS +36 -0
  303. package/schema/published/build-diagnostic/v1.10.json +83 -0
  304. package/schema/published/build-diagnostic/v1.3.json +83 -0
  305. package/schema/published/build-diagnostic/v1.4.json +83 -0
  306. package/schema/published/build-diagnostic/v1.5.json +83 -0
  307. package/schema/published/build-diagnostic/v1.6.json +83 -0
  308. package/schema/published/build-diagnostic/v1.7.json +83 -0
  309. package/schema/published/build-diagnostic/v1.8.json +83 -0
  310. package/schema/published/build-diagnostic/v1.9.json +83 -0
  311. package/schema/published/component-manifest/v1.10.json +1443 -0
  312. package/schema/published/component-manifest/v1.3.json +1411 -0
  313. package/schema/published/component-manifest/v1.4.json +1419 -0
  314. package/schema/published/component-manifest/v1.5.json +1437 -0
  315. package/schema/published/component-manifest/v1.6.json +1437 -0
  316. package/schema/published/component-manifest/v1.7.json +1437 -0
  317. package/schema/published/component-manifest/v1.8.json +1437 -0
  318. package/schema/published/component-manifest/v1.9.json +1437 -0
  319. package/schema/published/data-api/v1.10.json +282 -0
  320. package/schema/published/data-api/v1.3.json +281 -0
  321. package/schema/published/data-api/v1.4.json +281 -0
  322. package/schema/published/data-api/v1.5.json +281 -0
  323. package/schema/published/data-api/v1.6.json +281 -0
  324. package/schema/published/data-api/v1.7.json +281 -0
  325. package/schema/published/data-api/v1.8.json +282 -0
  326. package/schema/published/data-api/v1.9.json +282 -0
  327. package/schema/published/library-manifest/v1.10.json +68 -0
  328. package/schema/published/library-manifest/v1.5.json +68 -0
  329. package/schema/published/library-manifest/v1.6.json +68 -0
  330. package/schema/published/library-manifest/v1.7.json +68 -0
  331. package/schema/published/library-manifest/v1.8.json +68 -0
  332. package/schema/published/library-manifest/v1.9.json +68 -0
  333. package/schema/published/taggor-config/v1.10.json +56 -0
  334. package/schema/published/taggor-config/v1.5.json +56 -0
  335. package/schema/published/taggor-config/v1.6.json +56 -0
  336. package/schema/published/taggor-config/v1.7.json +56 -0
  337. package/schema/published/taggor-config/v1.8.json +56 -0
  338. package/schema/published/taggor-config/v1.9.json +56 -0
  339. package/schema/taggor-config.v1.json +39 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Taggor
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,62 @@
1
- # Temporary Holding Version
1
+ # @taggor/contract
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The single source of truth for what a [Taggor](https://taggor.dev/docs/) component is and how it talks to
4
+ Taggor: the component manifest, prop types, events, the data API, the build diagnostics, the limits and the
5
+ error catalogs. It is written once in [Zod](https://zod.dev/); the JSON Schemas shipped here are generated
6
+ from it.
7
+
8
+ Taggor's CLI, builder, edge and portal all use this same package, so a check that passes here passes there.
9
+ Install it yourself to validate a manifest, read the limits a component must stay inside, or get the
10
+ TypeScript types of the data API.
11
+
12
+ ## Validate a manifest
13
+
14
+ ```ts
15
+ import { parseManifestJson } from "@taggor/contract";
16
+
17
+ const result = parseManifestJson(text); // never throws
18
+ if (result.ok) {
19
+ console.log(result.manifest.name);
20
+ } else {
21
+ for (const issue of result.issues) console.log(issue.path, issue.message);
22
+ }
23
+ ```
24
+
25
+ `parseManifest` does the same for a value you already decoded. A result is either `{ ok: true, manifest }` or
26
+ `{ ok: false, issues }` with every problem found, each with a path and a message written for a person or an
27
+ agent.
28
+
29
+ ## What is in it
30
+
31
+ - **The manifest:** `parseManifest`, `parseManifestJson`, `componentManifestSchema`, `CONTRACT_VERSION`
32
+ and `migrateManifest` for older contract versions.
33
+ - **Site manifests:** `siteManifestSchema`, the file the edge serves for a site.
34
+ - **Limits and plans:** the limit catalog and the quotas of each plan, so every surface shows the same numbers.
35
+ - **Errors and diagnostics:** the catalogs of API, CLI and build diagnostic codes, each with a hint.
36
+
37
+ Other entry points: `@taggor/contract/zod-free` (the parts that do not need Zod), `@taggor/contract/semver`
38
+ and `@taggor/contract/testing`.
39
+
40
+ ## JSON Schemas
41
+
42
+ Stable paths inside the package, for editors and validators in any language:
43
+
44
+ - `@taggor/contract/schema/component-manifest.v1.json`
45
+ - `@taggor/contract/schema/library-manifest.v1.json`
46
+ - `@taggor/contract/schema/taggor-config.v1.json`
47
+ - `@taggor/contract/schema/data-api.v1.json`
48
+ - `@taggor/contract/schema/build-diagnostic.v1.json`
49
+
50
+ The `taggor.json` schema is also served at <https://taggor.dev/schema/taggor-config/v1.json>.
51
+
52
+ ## Docs
53
+
54
+ - [The contract](https://taggor.dev/docs/contract/) and its [reference](https://taggor.dev/docs/reference/contract/):
55
+ manifest, props, events and slots, data
56
+ - [Errors](https://taggor.dev/docs/errors/) and [build diagnostics](https://taggor.dev/docs/diagnostics/)
57
+
58
+ Versioned with [`@taggor/component`](https://www.npmjs.com/package/@taggor/component) and
59
+ [`@taggor/runtime`](https://www.npmjs.com/package/@taggor/runtime): the three move together. The contract
60
+ version (`CONTRACT_VERSION`) is separate from the npm version and only grows; a breaking change is a new major.
61
+
62
+ License: MIT
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/assets.ts","../src/artifact-keys.ts","../src/bounded-path.ts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/standard-schema.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/util.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/versions.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/schemas.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/checks.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/parse.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/memoizer.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/regexes.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ar.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/az.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/be.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bg.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bn.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ca.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ckb.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/cs.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/da.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/de.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/el.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/en.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/eo.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/es.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fa.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fi.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr-CA.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/gu.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/he.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hi.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hr.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hu.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hy.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/id.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/is.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/it.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ja.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ka.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kh.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/km.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kn.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ko.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/lt.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/mk.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ms.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ne.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nl.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nn.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/no.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ota.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ps.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pl.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt-BR.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ro.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ru.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sk.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sl.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sv.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ta.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tg.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/th.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tk.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tr.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ua.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uk.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ur.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uz.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/vi.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-CN.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-TW.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/yo.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/index.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/doc.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/compile.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema-generator.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/index.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/errors.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/parse.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/checks.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/compat.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/from-json-schema.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/deep-partial.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/in-out.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/iso.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/coerce.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/external.d.cts","../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/index.d.cts","../src/css-value.ts","../src/limits.ts","../src/bounded.ts","../src/freeze.ts","../src/dom-members.snapshot.ts","../src/prop-names.ts","../src/names.ts","../src/value-patterns.ts","../src/url-value.ts","../src/value-schema.ts","../src/props.ts","../src/prop-type-docs.ts","../src/diagnostic-catalog.ts","../src/build-diagnostic.ts","../src/tag-name.ts","../src/contract-version.ts","../src/metering.ts","../src/proto-guard.ts","../src/locale-tag.ts","../src/semver.ts","../src/libraries.ts","../src/manifest.ts","../src/component-types.ts","../src/consent-text.ts","../src/credential-fields.ts","../src/css-tokens.ts","../src/data-api.ts","../src/site-manifest-keys.ts","../src/denylist-keys.ts","../src/early-loading.ts","../src/error-catalog.ts","../src/executable-config.ts","../src/make-diagnostic.ts","../src/text-codec.ts","../src/source-archive.ts","../src/value-check.ts","../src/source-package.ts","../src/gunzip.ts","../src/hostname.ts","../src/human-actions.ts","../src/runtime-pointers.ts","../src/site-manifest.ts","../src/migrate.ts","../src/prop-types.ts","../src/json-schema.ts","../src/manifest-compat.ts","../src/manifest-compat-diagnostics.ts","../src/style-references.ts","../src/secret-scan.ts","../src/source-secrets.ts","../src/plan-ids.ts","../src/limit-catalog.ts","../src/plan-limits.ts","../src/plan-usage.ts","../src/plan-pricing.ts","../src/overage-pricing.ts","../src/usage-mirror.ts","../src/usage-guard.ts","../src/ssr-cap.ts","../src/key-checksum.ts","../src/server-key.ts","../src/ssr-version-ledger.ts","../src/runtime-errors.ts","../src/index.ts","../src/preview-token.ts","../src/tar-writer.ts","../src/source-package-corpus.ts","../src/ssr-kv.ts","../src/testing.ts","../src/zod-free.ts"],"fileIdsList":[[158],[147],[147,150],[69,141,145,147,148,149,150,151,152,153,154,155,156,157],[65,67,150],[147,148],[66,72,147,149],[67,69,71,72,73,74],[69,71,73,74],[71,74],[69,71,73],[66,69,71,72,74],[65,67,68,69,70,71,72,73,74,75,76,77,141,142,143,144,145,146],[65,67,68,71],[67,68,71],[71],[65,66,68,69,70,72,73,74],[65,66,67,71,147],[71,72,73,74],[73],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],[62],[159,160,161],[159,172],[165,170,181],[159,161,162,166,169,174,178,181],[63,187],[163,171],[163],[171],[172],[196],[62,63,64,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,189,190,191,192,194,195,196,197,199,200,201,202,203,204,205,206,207,208,209,211,212,213,214,215,216,217,218,219,220,221,222],[159,173,180,181,186,196],[159,162,179],[210],[172,173],[165,172,173,192,205],[161,181],[62,64,159,160,161,162,166,168,169,170,174,175,176,177,178,180],[161,175,177],[159,161,164,165],[211,214],[163,210,211],[211,212],[63],[164],[161,170],[160,161,163,167,168,170,195],[159,160,161,162,166,167,168,169],[64,161],[187,219],[63,159,161,162,166,174,181,187,200],[62,172,191,193],[172,193,225],[64,159,162,172,173,177,181,187,192,194,195],[173,192,208],[187],[218,219,220,221],[64,185],[159,161],[193],[225,226],[161,167],[213],[161,167,168,169],[159,161,162,166,167,168],[62,63,64,161,163,165,168,169,170,172,175,176,177,178,183,184,187,188,189,195,198,200,202,203,207,211,213,216,222,224]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"1e9332c23e9a907175e0ffc6a49e236f97b48838cc8aec9ce7e4cec21e544b65","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"0bd714129fca875f7d4c477a1a392200b0bcd13fb2e80928cd334b63830ea047","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2c9037ae6cd2c52d80ceef0b3c5ffdb488627d71529cf4f63776daf11161c9a","affectsGlobalScope":true,"impliedFormat":1},{"version":"135d5cf4d345f59f1a9caadfafcd858d3d9cc68290db616cc85797224448cccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"23e39f1bed49581cfcba66dbdde608fedaaaf0e1c9d70ee98826e0d58523ec5b","signature":"fc6b221a8d8b9d951e82594fe553a3fc8fe1e5fa497e746b74f27f8967ecf679"},{"version":"5e71a15dea28cb3aabbf51993b247aac7476064eb8fda46536324eaa64342dee","signature":"a1b2c89c6702cfbb8aa12777bf3b085e236ab3714fc17d84a5082cb404b0f678"},{"version":"c99c95187d33cc47da3548801b79cf6daa815c35a75cf2901926a1886500ade4","signature":"dfb510fa9aae7a8b54a4b57572f7509982fffd2105be3a05b88118fabf40274c"},{"version":"d1fc2d317157b161af800631bb01668bf08307bf2a0ff053f743aeca3a368465","impliedFormat":1},{"version":"835fb2909ce458740fb4a49fc61709896c6864f5ce3db7f0a88f06c720d74d02","impliedFormat":1},{"version":"6e5857f38aa297a859cab4ec891408659218a5a2610cd317b6dcbef9979459cc","impliedFormat":1},{"version":"2ef8ffe86811721c62038c3de3c2cb27e5555f252b9c71ae1a877f1335485aea","impliedFormat":1},{"version":"404660f2aeed19fc2af51f287dad86556beeeff2075768b01832092de4397c38","impliedFormat":1},{"version":"204b47598070c8d2b26921cdd7cb5b55804bd73ad1a60428750ef95b35c97ec4","impliedFormat":1},{"version":"85605c7095abac45fb2be5b15d1a0a806586113321eb923c28ad7fd0764ed7db","impliedFormat":1},{"version":"c7d7e274be439bd604580d994bdfb305221e471e061d3178f430c09d417f9536","impliedFormat":1},{"version":"c140211fba71b3a847b15da4a70776ed904198e7e4dc8c32df22742235072c4c","impliedFormat":1},{"version":"ce51a3572f75b0f8fc07a11828876ac28cf606a780a2d4c6b3bbcee79e48a90b","impliedFormat":1},{"version":"a8fed1298e1a1aeb2b689c56fe4200c6bf48491cabe47f54a1caa22fa9ebcc6e","impliedFormat":1},{"version":"c7d1e897d7751e2f2f7e41ee6db87a567418a0e9d307c580029e8565a76cb1f8","impliedFormat":1},{"version":"bae85faf965874160673777542d5def87f22c71125d3b71267b1384b0532a4c4","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"e0bfe601a9fdf6defe94ed62dc60ac71597566001a1f86e705c95e431a9c816d","impliedFormat":1},{"version":"8fdac54b93a59a6627b74c680e2df92f8f66b0b7d2699c9dd2a10484066a1c22","impliedFormat":1},{"version":"55fadfc733db7198f557af11bf55ae955db6257e17262351a9cdb8a98af4a9f9","impliedFormat":1},{"version":"ff49687860a57d46828bccbedd739e192ead2421a59bb04024529e8e80c6264e","impliedFormat":1},{"version":"d5063dd2ce061414ebb1ec3608295d6681d3153a427b715bd515813c621b3cf1","impliedFormat":1},{"version":"b147d5d4e973ea9725631a6bd49d3dffd0c28c521b20b7bf44456daa86723395","impliedFormat":1},{"version":"14e1da8984e72f3837de4aec8bc6d29e9ecce4dc260ac6ef4ca4e5e4f93add01","impliedFormat":1},{"version":"99003dbd8309d6cfda98e4bacb264ad40bfc197ede6af95370b0f3177076eb6a","impliedFormat":1},{"version":"be7e9393805753e479746c81dcfe4287063d83ffa30e0284f7a016775af2c1d2","impliedFormat":1},{"version":"f49bf9fcde399132c5760eefb0714cee3f8e96cd30fcec8c535e2cee57870d63","impliedFormat":1},{"version":"9943ae429279a7a4bab6bacc828f9416ee0eed92a370d4c22d5b4235b0c9bd66","impliedFormat":1},{"version":"5490cbcd192227f9a1f61bdf7000da8b47635fc0cdec9e1879b932586b6d2e8e","impliedFormat":1},{"version":"487178767be2789fa2f765d0e77fc5abad8212f7d5dfbe255011dd8e8bb5306c","impliedFormat":1},{"version":"2316301dd223d31962d917999acf8e543e0119c5d24ec984c9f22cb23247160c","impliedFormat":1},{"version":"a3eb5de45edf334745bb6347979b6f9eb44bab235910afb551d44eb05a84a233","impliedFormat":1},{"version":"bfa8e3563e561377191b49bcfb4cea149286a2b843058c1236dce8c3b541564d","impliedFormat":1},{"version":"b8495ee8dbff077d31e9365c73f170709106d7bc6e17a163c7568bb485c8368c","impliedFormat":1},{"version":"e818471014c77c103330aee11f00a7a00b37b35500b53ea6f337aefacd6174c9","impliedFormat":1},{"version":"88c4f1da1a1a6f8ca005fa1a4241897da754b7120fdb731b51a4434232bbcb42","impliedFormat":1},{"version":"31506fd6e72c0d09e082b2f0b3741e6bbe90670361c9560ef998bdb1e56edc3e","impliedFormat":1},{"version":"0d76837970f7a772c4b11e4941f2a788d876e6a6eb206424c6ec183befdd6dfd","signature":"502b6aa250cc8efaad3851b5f809328d00dc0aae1c6e78e7306421c1b6662013"},{"version":"ec2d7514159235fb2adcb09545481b393b1d98f7658cc8fe8260c379860b7f89","signature":"19e1e27ebdd94254edc6b8980fa87d0cbd7e863973dd37c8ef0298e4e990a48b"},{"version":"78a6f0d7260ac9452a57ab8f9e68caea950689354fc175f853de6ae764d897ba","signature":"8c7d9180e2f82906636dc6f6bd924120fce7dcfd2424aacc7ac38f877ebe1460"},{"version":"759f188bdb70729bd2145e56cad9d345043702a84ba5b9ac9f228dfface2c522","signature":"8a6398fc1ad93247bb63809fb3275e9738667071e5db2fe3c827495bb78e4d2e"},{"version":"562bba3996102e391bf55c5666afeead89aaac27164df8283d8abfa066d34b93","signature":"d13312afafe61d829ed140ac330ed751619864503a77b483b6ba3e0ee52a064f"},{"version":"c942891ac01c0fe31ae7ae6cc71ff699a0efbf2ec466f113f67f2e82790be4c1","signature":"bdb2f106b1d2c04005f0bf9520337923b3ae280bec7eab867ef3d8d15a39bdf1"},{"version":"767ae00558b79a88e30e5fbd0d4464ba4edf90f7a5e8637cd1bfdb45ce0f06ce","signature":"90734fa0074741ba33fbf49cfb94c43935831be675976bceb4eefb899051d9f2"},{"version":"281357b6fd81b315573974c78e17924d54e2c409fa26390f7411014f139296f3","signature":"c361314e5bd357b232e57b88e8a08adcfc40ff48c93770a1af74d47ed62faa7f"},{"version":"587618f42010f7ea9113d2a23c959f354d2871fbae5bcbee9bf9415744366162","signature":"bc45601051e68ee7284e0fe6b66f33e52cb4524d42eb5b46e275418297ab4ee1"},{"version":"2e6264200f3e2a65b874a4e749f2e0f80d32e1517aee58d5142d438af6f2f811","signature":"122b92410d613656a77bce4cdb54f419eb4b7bcf9505054785a0d216b19c44be"},{"version":"553e2d88bfac6760bea91f7c226477afa204bff4b8937514cea700674d2a961b","signature":"c88ba8c16e35aaf67f6f339826dcce5c016370bee36407c426cc35620e2d99b7"},{"version":"d569c5cfb4a7311d2d2bc90519583e619df8b12f7322078e1edd3a6494b41f2a","signature":"e85ff70189b4cc4f5dc977b216946c600b39fdd45eeaf53498371f0e42e7d557"},{"version":"d5a2a73c2c32da4e936b3b393bb670be7198e800410b0ce7700b63e0b99866e6","signature":"0da61079d967c0efc9c910222206057f9cae3757112fe3528d6fd81ceb86fb0a"},{"version":"a17bc6e33eaf7251a1ac83e772965a42cd741288610d45b3501ae8d6c67ca206","signature":"2d87ccfb2db872ec85e3cbf535848dbca5ab26dedf262ddced7b6123a5d0ed5e"},{"version":"ff6afda4db42841d44e2f8699f56b90021c2fc10ff2ab302fbddbcaf8a5a44f4","signature":"8e8c3709a759fc4d82a1ea301164fbc0adbfa80d1c23ddc0d50c95ae8d4144d1"},{"version":"c9f1d487dee61e93c9c241d19039257c9c097a9bfb04d41b6aaa17be22cda94a","signature":"934fa889ba8515ba4e7f583939722649e73631c135832c2f52c25bd3271ccf2f"},{"version":"f2f587f63b19a4e406349071055404a2741743a164ace023fc193df3288a39d3","signature":"09bdf66aed1e5d99dd4c389971d41a2b5deebdb768643c0e17597902beaea1d5"},{"version":"6287ec2e0630155072686c507ad26cd964348ec93b2343a3eeb3f50f9d2c737c","signature":"7522976d6f5d518db07d2c2f54bd64c62138bbd3e8760cfb693c30a085631aaa"},{"version":"1d5040c6ef7807be67d742c3442ed08884a131b40db20829db6c8e88464db315","signature":"1349b4f13a4cae95ef493b7aca010b63a26993c34f3cf9d4d772dc6fc5c6cf87"},{"version":"c1d3b447645f44579f054cf0d0864324fb1471c5691d29896535614edd11f2d5","signature":"ba4dec39807d3cece605f395eb868b9cec1380328848cc6af3c679087aeaff8a"},{"version":"5a5a715792a5b89467cab234da94e1fa3f0399ca0f1958d44ecbf23ab67ad286","signature":"d20fc6d40faab013db977952f3d8dbb4fb24434b5f937cb97392891f0cbee032"},{"version":"33a5b2becf5ecd4fe5099520c59d993c21f74cc57a91b0e51a1b2ef0afdfef7c","signature":"0f3b8f2c8a1bfafe73a7c63e81a69d1c05f83b3db73b5ae5cb5e2b99f75e04b4"},{"version":"bae6f77717749a1ecd6d38dcb3934c631fd89687ef21808b69614a80e2d6c688","signature":"92e290739e1ddfa753f0ecbe6277c8edefde8b1d2e3cbb173da14ddd7bb2f45f"},{"version":"84f17d17bdd525171891b4b77f5372399a0ea4cf9e67123eb7b5d7cc81108b51","signature":"8a1c1e59f60c85d2e086799ec400a920e6aabc283ebf6926c9a5812e4066b0f7"},{"version":"ce3b69fb5196ee96573b49a94354c297ab4fd183f6e120e673758025da531a6a","signature":"a38923dafb81808ae6640970854e0c3d6d8e3f1309602f1a178a83fd7e815501"},{"version":"8785863d12f036fe539f90a2fe4060581b2c55321271a257871928c86f7f4b80","signature":"ed7193b0d6fe6f96d8e306ce91355b65dab1969fbe2e72eb0a9b44c0b6e144aa"},{"version":"69c9e31bf2c4ce680f4d6dc8542bd3673ae2cd4651a6332f376016c5dd49e7eb","signature":"9dae0dc40e7341ffde0793cf77c9a7b8ed725d8ee7500f1b8def059e5da93249"},{"version":"8a05c42f7dcc97f404912dcfe86dfbdcda59ccdd2861ea0544000f2240cc5dc5","signature":"c479595ecf2d0312b7f162ef59a1b976cbf6ac036dbf3da1ee960f2115cb9b72"},{"version":"fedf19052deb8b3dcfe8d6d8801a1a7a66965217d32285d113bb91c4f448eb52","signature":"394bc9a160ad29a8f3df374b511e75975685def15ee681a763845022fff558a8"},{"version":"3aa9d1af6cbc6647e671e98f1d5928bf40e8eaf6bb7f6ec7207638b0715c6247","signature":"e053df8266e2e6625b26c16880f8e55044ddb0d45ffbd97003d34dc1270d2051"},{"version":"42904be17e1c11c4d58e6cd282b3b1ded596ca0593ec948be1274d566a0c2ed4","signature":"83d557022760d6372cf2f5d46d88b38c42afe4f703b0c6b95bf352e5fc7f69c5"},{"version":"6bbc2b4956117849f24339a48eb3eb8c5739dadf3ad934202e722072479a8138","signature":"924981730aa101a6f8c060dfba076421e810dafeafe1c422b75c4a2ce7167f93"},{"version":"f9da7e8844315b6c259db1c008d49745f1ec92a7562608fb20bde9696df9545a","signature":"8368f112cf6f7adcc4f0f8eed09615a53ad07e45b04c7da7c1055b0ff9771c1d"},{"version":"d096342f78af707c52b7b8536d9e85b91d621ea1e586091c869b4ffad7beb133","signature":"8633aea622a312a51ae50b495a57466f277a76c8395caeebc7413f70d71fe178"},{"version":"31cca506e2646f835a311287bf64e6d319fa2c799a6512bcf8f9fe90bb27d395","signature":"124bde3bffb80a0281f7616a3b46a0f9a3ea63400c0709d8c15caebfb121bb98"},{"version":"5da0366841e4d8199b9ad9f7b9967afffdad47951f2f76d1c2ca0de0bb326527","signature":"a584e05a06b79ebfb51991612b01f7ab6a16abf93ebe2016b3cb76fba7b29b9b"},{"version":"c4d2914dd9890e36208389798de29ccddfbd63ff210656f8c67d24f3fa9e6dd5","signature":"71d6115fc98568f0cdd68d0e95e0b9a87c262310bbcd13f3ac46d5d3371555bc"},{"version":"d8c5acbf582ee055dac0072f1bd91259c41bd75f7e761bfbbed03f667e729cb1","signature":"31a56295b9ba89f91f4a4a0c489d2e7f80793378e40f714a56d21cc2a70b615a"},{"version":"d24d57c59593d0284ce59c4e949c445a75cfb76501ca29e7874961812296459d","signature":"8574f072cde47135e0701da6faab666649d2fe8064310ce9022d2d562db8ef1d"},{"version":"542f8afef122a2e329e4ce912f3134a4a0c46f6645037c4db27e47d178a2ecba","signature":"1fc5e16de906271b76bed2326327f07b209220b24c5f5e0bae5a9dd800391edc"},{"version":"706196a13e6cf0e293ad81d03187ee212fc0c723a494c7629420af3572480f35","signature":"7838918aa48c7fe808fb3f8d5cac699031d5f421a373a07b8dc2c315f229f673"},{"version":"a68f5c08123f65f69a4f917a388c269da468bc457de6bac4b1b0b8bf8b0a3ac9","signature":"1045a538da578f28be025e6d9a3f09aaed6320b974cc9f06cf0ff02c7fabc843"},{"version":"63a9207894109be8ff08af0112fed07149c1f1a601f675c685e20bf2f273b262","signature":"06f019fe4055062096c3e4b86b109c8e469b56d30c1453b9d27eae4d2f18d78f"},{"version":"282d50e494179cffbeb88aff0dce21c526aa4c37ab4f80aba242382268d5ea85","signature":"71f6afe4acde07a8a6037c63d1c26fcfa91ed75698740761c44b442be7daec3f"},{"version":"21416425d3fd847fd9beecf31214baf58a3f404ff4bb8ba98f9cdada84b53b66","signature":"b16bed08a5c8b9ae0d3e037a507c99f0d420f8fb610e560337e969847eef67c4"},{"version":"a79d3c9b489f21224a877c99b02273a047124e7c5d65478b7c32d81026201e20","signature":"7493b5603b6bcd00dcec3c4fe70e1f9722e46465edfcaea6dcd6deaeb825f595"},{"version":"509c3718b9971fd51d49b81d826b17b16a44c871ca8bc18608e9c027e462584e","signature":"0c1e0443544d1ebf0fb149d3435ec0d3f4976c915c3e24d4c7df1db33cb37808"},{"version":"1cf40256766ad2828f4f21b1384c2020dc5ba11504d64d7931c23e18e5f12e1e","signature":"f575eda32565d8b42963281773823b60e4ad07b4b279700e083d4f017431e51d"},{"version":"af632e047058720119ee032160ac05691fc9f89e299e7313a6667667b8015da4","signature":"a5b87f9893372e2d07090751b9600d8ed595f674861bd34a96853d4866ba6da7"},{"version":"095ac2b89a456572bf42f1c3e3764aa37c29ee16cd4b079d1033edd3e4138cbc","signature":"cd94952cd6fc59f7e6cf8fb935802db39223f55b33d44600cefce8e770e645e0"},{"version":"e7f58c5059db000a9ef34c5fb91f5aa78551b0a5cfc080856099f928d55660a1","signature":"b0f7c8949b1c964546842e44c5fe552db3349473164c463b14364ea2d26fbb0c"},{"version":"953e744192dd031770d001c9c3e92c7b8dc7beb40edc0e5727881a64ed6b73a5","signature":"748b06e1db2f9e8415624c2d7bf0a3467acf795c09bbf054ce9a0ea51738cc97"},{"version":"f46fe2acf97607602e241ba2712c557d44f463aacb2edf7fded82979aeb80fb9","signature":"b49f189e55e7c5e4e868a5bf037080944529dbcfeb3fc02ae33a885978afb1d3"},{"version":"054dea735f152aa4298cec414dd4572f097ba60867a523dad853882239e97dd4","signature":"dd2d98d83323de7c6168a42151cdad8fe7be11052342482ba8e1c587152094be"},{"version":"eaec8b0c4fe2957bca8d9c006c535b01a1052d929a262551c6b62be1d004af23","signature":"91cc1acd962d24b2a4ae097be6a26894ec74b05a972fd8368adb31e3e9876964"},{"version":"739f84d7360ca93740af4bfa9bb20ad9d934ed52e15d4a717802f75a54f34bed","signature":"2913864fd9b62585f6653af1213805d5aa0ec702691efc01f098785d8f3d89bd"},{"version":"4e3d56c94afa66022c939bfa45bba68f3063964ad2acf46af8f6e79d14361d5d","signature":"8122efe98f0f4ab52a936f46b0a3aab245c8f47084de9209cde3b5d15bae5484"},{"version":"b7bce27ac46d5c6d1c79d7d7c9bc132a74cd209f93235ceaad7c985948a8e722","signature":"e0f15664a036f63a0046a18b64d50c395c964a8c9c4a0d02bc119c3c793fb79e"},{"version":"1dc22a09a581fadc41fd2a8aaf58b80561bbafb6db67a68d9d8be897ce2ec413","signature":"1059101e5975f9bba7af657e9bd57623a93adc8d0643e3e6353bebf88cfac3ae"},{"version":"0e6fad9eea1934aaeea0eabd6771b0595c12a8e1090c9410c6939c4e04083887","signature":"1296182eb5ef66c6f9705af3ece7651528c021862956b65cd14a055bcca5d2b4"},{"version":"d1016dca2d0032a992e64e99ee7c2275bc95563fed687565890ae1fab6ec759f","signature":"c1aade27cf6a5a6a34be6b27569a2a43bfe76990a517c1d6a3e19f1e8b7e8328"},{"version":"0612e69752f04595373105dd4e3e973a42e99d032990a52f9380851c8c35e14b","signature":"d0cf003c067e7479e6f4060aa73c6632d70bf296bd1906534edf032e6d1689f6"},{"version":"7d7f8aa0409c2101fecc84910aede802d5700111eb56ed14eed8d8722bf9f9d2","signature":"890bb13c0bb1ae04a9eeb75a8c067579eddc92a88f558d2360db663a1e6e1f04"},{"version":"261e216fe5b8f14742c1ffe4ac5021020fcc7c62af052da4df0a6e8232fa9d0b","signature":"1dd0e17cdc94da9250a06c777ff1969867ac318dd1064d5526f86a09b6a0a744"},{"version":"75b3f60b329ed35b9a344ae7c8d9cc0c1b0cda4812d64bea93b03641e0eb0350","signature":"9fb7b1635e2383b8781c075189944392c3eccbb0a446b1c2bdac3d82426dcd18"},{"version":"cc20c36eef1dd27489aace532b95da2f8a32a17953d697ca7e16c76915ea3e7b","signature":"5e9749e1f5433e322b73837419de4a94fdb217ff6fa15eda5c4d30cdfd7cdfe7"},{"version":"0d2b069b8970d128cc91a4150f89d373f925782ea5aa6322b4b31786445fc120","signature":"e85dcb93bc30df8f4a1296889a88a2724f12d807ce2ea956487ef441549bc65c"},{"version":"f6e68c49501484f5cd9e471ee83ec2b5f7a3c8b454c5ab0bc60cf4608f233b90","signature":"ef718d2806a527a4aa25079a7ed8fcac66f207a10effacb19eb399507bbe54b0"},{"version":"d15cb94d0f0221de8cf7bf69f856ae3a319748d97ca50a68f1ca266b607acefb","signature":"e1f8c5e9ec85b1a91455b1068cc8cdbf026ced4618bbd9e44b96494b3f49d829"},{"version":"0b1036712a92169eeb56d749ff7b717b9f7f8b4814b8f0854fb5e9615c5463db","signature":"13c3ee648dc3fa5f41419853a58f7956337edb238221b263bb917cf0d501554c"}],"root":[[62,64],[160,229]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[159,1],[151,2],[157,3],[152,3],[154,3],[148,2],[158,4],[153,5],[155,3],[156,3],[149,6],[150,7],[144,8],[72,9],[143,10],[74,11],[73,12],[147,13],[146,14],[145,15],[76,16],[75,9],[67,10],[71,17],[68,18],[69,19],[78,20],[79,20],[80,20],[81,20],[82,20],[83,20],[84,20],[85,20],[86,20],[87,20],[88,20],[89,20],[90,20],[91,20],[92,20],[93,20],[95,20],[94,20],[96,20],[97,20],[98,20],[99,20],[100,20],[101,20],[102,20],[141,21],[103,20],[104,20],[105,20],[106,20],[107,20],[108,20],[109,20],[110,20],[111,20],[112,20],[113,20],[114,20],[115,20],[116,20],[117,20],[118,20],[120,20],[119,20],[122,20],[121,20],[123,20],[124,20],[125,20],[126,20],[127,20],[128,20],[129,20],[130,20],[131,20],[132,20],[133,20],[134,20],[135,20],[136,20],[137,20],[140,20],[138,20],[139,20],[63,22],[162,23],[173,24],[182,25],[186,26],[188,27],[172,28],[164,29],[190,30],[191,31],[197,32],[199,30],[223,33],[204,34],[180,35],[211,36],[192,37],[206,38],[205,39],[181,40],[202,41],[166,42],[215,43],[212,44],[214,45],[213,45],[224,46],[165,47],[171,48],[203,49],[170,50],[177,51],[220,52],[187,46],[201,53],[194,54],[226,55],[196,56],[209,57],[218,58],[227,59],[221,58],[207,60],[174,61],[225,62],[228,63],[168,64],[216,65],[195,66],[169,67],[229,68]],"latestChangedDtsFile":"./zod-free.d.ts","version":"6.0.3"}
@@ -0,0 +1,169 @@
1
+ /**
2
+ * R2 keys of build artifacts (TAG-401, TAG-411, ADR 0017 M2, threats T-49 and T-110), in one place
3
+ * since TAG-435: the builder writes the objects under these keys, the API checks that a stored
4
+ * build result names them (TAG-501) and the edge serves the public ones (TAG-602). No Zod: the
5
+ * edge imports this from `@taggor/contract/zod-free`.
6
+ *
7
+ * Every key is content-addressed: a fixed prefix per kind plus the lowercase hex sha256 the
8
+ * builder's Worker computed over the bytes it stores. Nothing from the container's response
9
+ * (names, paths, keys) ever becomes part of a key, and the build id is not part of it either
10
+ * (TAG-411): the same bytes always land on the same key, whichever build produced them, so the
11
+ * immutable versions of TAG-501 can point at a hash and a rebuild rewrites identical objects. Two
12
+ * builds can never overwrite each other with different bytes, because the key is the hash of the
13
+ * bytes and R2 checks that hash on upload.
14
+ *
15
+ * Layout:
16
+ * - `b/<sha256>.js`, `b/<sha256>.css`: the public bundle and stylesheet, in the artifacts bucket.
17
+ * They are the only keys the CDN (E06) may serve (`isPublicArtifactKey`).
18
+ * - `manifests/<sha256>.json`: the validated manifest, in the artifacts bucket, not served.
19
+ * - `maps/<sha256>.js.map`: the source map, in the private source-maps bucket only (never the
20
+ * bucket the CDN reads). Its hash is the map's own, not the bundle's: two different sources
21
+ * can minify to the same bundle, and keying the map by the bundle would let one customer's
22
+ * map (with its `sourcesContent`) replace another's.
23
+ *
24
+ * Source packages (`sources/<sha256>.tgz`) are not build artifacts: their key is
25
+ * `sourcePackageKey` of `source-package.ts`.
26
+ *
27
+ * Assets (TAG-410, contract 1.3 `assets`): `a/<sha256>.<extension>` in the artifacts bucket, one
28
+ * object per distinct file whatever component or workspace imports it, public (the CDN serves them at
29
+ * `/a/…`, the address a component's asset import evaluates to). They are not one of `ARTIFACT_KINDS`
30
+ * on purpose: a build has one artifact per kind (the API's `component_versions.artifacts` and the
31
+ * `artifact_refs_key` check rely on that) but any number of assets, each with the extension of its
32
+ * type. The layout lives here all the same (`assetKey`, `parseAssetKey`, `isPublicAssetKey`), the
33
+ * one place the builder writes with and the edge will serve with; a build result lists them apart
34
+ * (`result.assets`), and the manifest's `assets` names the same hashes.
35
+ */
36
+ import { type AssetType } from "./assets.js";
37
+ /** Where an artifact is stored: the bucket the CDN reads, or the private source-maps bucket. */
38
+ export type ArtifactBucket = "artifacts" | "sourceMaps";
39
+ /** Layout of one kind of artifact. */
40
+ export interface ArtifactKindLayout {
41
+ /** Start of the key, before the hash (`b/`, `maps/`, `manifests/`). */
42
+ readonly prefix: string;
43
+ /** End of the key, after the hash and a dot (`js`, `css`, `js.map`, `json`). */
44
+ readonly extension: string;
45
+ /** `Content-Type` the object is stored and served with. */
46
+ readonly contentType: string;
47
+ readonly bucket: ArtifactBucket;
48
+ /** Whether the CDN may serve it (`isPublicArtifactKey`). */
49
+ readonly public: boolean;
50
+ }
51
+ /** The kinds of artifact a build stores, with their layout. Frozen. */
52
+ export declare const ARTIFACT_KINDS: Readonly<{
53
+ readonly bundle: Readonly<{
54
+ prefix: "b/";
55
+ extension: "js";
56
+ contentType: "text/javascript; charset=utf-8";
57
+ bucket: "artifacts";
58
+ public: true;
59
+ }>;
60
+ readonly css: Readonly<{
61
+ prefix: "b/";
62
+ extension: "css";
63
+ contentType: "text/css; charset=utf-8";
64
+ bucket: "artifacts";
65
+ public: true;
66
+ }>;
67
+ readonly sourceMap: Readonly<{
68
+ prefix: "maps/";
69
+ extension: "js.map";
70
+ contentType: "application/json; charset=utf-8";
71
+ bucket: "sourceMaps";
72
+ public: false;
73
+ }>;
74
+ readonly manifest: Readonly<{
75
+ prefix: "manifests/";
76
+ extension: "json";
77
+ contentType: "application/json; charset=utf-8";
78
+ bucket: "artifacts";
79
+ public: false;
80
+ }>;
81
+ }>;
82
+ /** One of the keys of `ARTIFACT_KINDS`. */
83
+ export type ArtifactKind = keyof typeof ARTIFACT_KINDS;
84
+ /** The kinds, in the order of `ARTIFACT_KINDS` (a non-empty tuple, as `z.enum` takes). Frozen. */
85
+ export declare const ARTIFACT_KIND_NAMES: readonly [ArtifactKind, ...ArtifactKind[]];
86
+ /** Lowercase hex sha256, as the source of a `RegExp` or of a Postgres `~` check. */
87
+ export declare const SHA256_HEX_PATTERN = "^[0-9a-f]{64}$";
88
+ /**
89
+ * Anchored pattern of every artifact key, as the source of a `RegExp` or of a Postgres `~` check
90
+ * (the API's `artifact_refs_key`; changing this text changes that check, so it needs a migration).
91
+ * `artifact-keys.test.ts` proves it accepts exactly what `parseArtifactKey` parses.
92
+ */
93
+ export declare const ARTIFACT_KEY_PATTERN = "^(b/[0-9a-f]{64}\\.(js|css)|manifests/[0-9a-f]{64}\\.json|maps/[0-9a-f]{64}\\.js\\.map)$";
94
+ /**
95
+ * The R2 key of one artifact.
96
+ *
97
+ * Inputs: the artifact kind and the lowercase hex sha256 of its bytes. Output:
98
+ * `<prefix><sha256>.<extension>` (e.g. `b/<sha256>.js`, `maps/<sha256>.js.map`). Errors:
99
+ * `TypeError` when the hash is malformed (a bug in the caller: the builder's Worker computes
100
+ * it). Side effects: none.
101
+ */
102
+ export declare function artifactKey(kind: ArtifactKind, sha256: string): string;
103
+ /** An artifact key read back into its kind and hash. */
104
+ export interface ParsedArtifactKey {
105
+ readonly kind: ArtifactKind;
106
+ readonly sha256: string;
107
+ }
108
+ /**
109
+ * The kind and hash a key names, when it is an artifact key.
110
+ *
111
+ * Inputs: any string (a request path segment, a stored key). Output: `{ kind, sha256 }` when the
112
+ * key is exactly `artifactKey(kind, sha256)` for some kind and lowercase hex sha256, otherwise
113
+ * `undefined` (another prefix, `..`, a query, an uppercase hash, a source package key). Errors:
114
+ * none. Side effects: none.
115
+ */
116
+ export declare function parseArtifactKey(key: string): ParsedArtifactKey | undefined;
117
+ /**
118
+ * Whether a key may be served publicly by the CDN (E06 applies this same function).
119
+ *
120
+ * Inputs: any string. Output: true only for `b/<sha256>.js` and `b/<sha256>.css`; source maps,
121
+ * manifests and anything else are false. Errors: none. Side effects: none.
122
+ */
123
+ export declare function isPublicArtifactKey(key: string): boolean;
124
+ /**
125
+ * Whether an artifact named by untrusted data (a stored build result) is the content address of
126
+ * its kind and hash, so its key cannot point anywhere else (another prefix, bucket or object).
127
+ *
128
+ * Inputs: an artifact's `kind`, `key` and `sha256`, as plain strings. Output: true when `kind` is
129
+ * one of `ARTIFACT_KINDS` (own key, never an `Object.prototype` member), `sha256` is lowercase
130
+ * hex and `key === artifactKey(kind, sha256)`. Errors: none. Side effects: none.
131
+ */
132
+ export declare function isConsistentArtifact(artifact: {
133
+ readonly kind: string;
134
+ readonly key: string;
135
+ readonly sha256: string;
136
+ }): boolean;
137
+ /** Start of every asset key (TAG-410): `a/<sha256>.<extension>`. */
138
+ export declare const ASSET_KEY_PREFIX = "a/";
139
+ /**
140
+ * The R2 key of one asset (TAG-410), in the artifacts bucket.
141
+ *
142
+ * Inputs: the lowercase hex sha256 of the asset's stored bytes and its type. Output:
143
+ * `a/<sha256>.<extension>` with the extension of `ASSET_TYPES` (`a/<sha256>.jpg` for
144
+ * `image/jpeg`). Errors: `TypeError` when the hash is malformed or the type is not an asset type
145
+ * (a bug in the caller: the builder's Worker computes both). Side effects: none.
146
+ */
147
+ export declare function assetKey(sha256: string, type: AssetType): string;
148
+ /** An asset key read back into its hash and type. */
149
+ export interface ParsedAssetKey {
150
+ readonly sha256: string;
151
+ readonly type: AssetType;
152
+ }
153
+ /**
154
+ * The hash and type an asset key names (TAG-410).
155
+ *
156
+ * Inputs: any string (a request path segment, a stored key). Output: `{ sha256, type }` when the
157
+ * key is exactly `assetKey(sha256, type)`, otherwise `undefined` (another prefix, `jpeg` instead
158
+ * of `jpg`, an uppercase hash, a query, an artifact key). Errors: none. Side effects: none.
159
+ */
160
+ export declare function parseAssetKey(key: string): ParsedAssetKey | undefined;
161
+ /**
162
+ * Whether a key is an asset the CDN may serve (TAG-410; E06 applies the same function next to
163
+ * `isPublicArtifactKey`).
164
+ *
165
+ * Inputs: any string. Output: true only for `assetKey(sha256, type)` keys. Errors: none. Side
166
+ * effects: none.
167
+ */
168
+ export declare function isPublicAssetKey(key: string): boolean;
169
+ //# sourceMappingURL=artifact-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-keys.d.ts","sourceRoot":"","sources":["../src/artifact-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1D,gGAAgG;AAChG,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,YAAY,CAAC;AAExD,sCAAsC;AACtC,MAAM,WAAW,kBAAkB;IACjC,uEAAuE;IACvE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,2DAA2D;IAC3D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED,uEAAuE;AACvE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B6B,CAAC;AAEzD,2CAA2C;AAC3C,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,cAAc,CAAC;AAEvD,kGAAkG;AAClG,eAAO,MAAM,mBAAmB,EAAiD,SAAS,CACxF,YAAY,EACZ,GAAG,YAAY,EAAE,CAClB,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,6FAC2D,CAAC;AAK7F;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,wDAAwD;AACxD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAU3E;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGxD;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAKV;AAED,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAarC;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAIhE;AAED,qDAAqD;AACrD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAOrE;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAErD"}
@@ -0,0 +1,195 @@
1
+ /**
2
+ * R2 keys of build artifacts (TAG-401, TAG-411, ADR 0017 M2, threats T-49 and T-110), in one place
3
+ * since TAG-435: the builder writes the objects under these keys, the API checks that a stored
4
+ * build result names them (TAG-501) and the edge serves the public ones (TAG-602). No Zod: the
5
+ * edge imports this from `@taggor/contract/zod-free`.
6
+ *
7
+ * Every key is content-addressed: a fixed prefix per kind plus the lowercase hex sha256 the
8
+ * builder's Worker computed over the bytes it stores. Nothing from the container's response
9
+ * (names, paths, keys) ever becomes part of a key, and the build id is not part of it either
10
+ * (TAG-411): the same bytes always land on the same key, whichever build produced them, so the
11
+ * immutable versions of TAG-501 can point at a hash and a rebuild rewrites identical objects. Two
12
+ * builds can never overwrite each other with different bytes, because the key is the hash of the
13
+ * bytes and R2 checks that hash on upload.
14
+ *
15
+ * Layout:
16
+ * - `b/<sha256>.js`, `b/<sha256>.css`: the public bundle and stylesheet, in the artifacts bucket.
17
+ * They are the only keys the CDN (E06) may serve (`isPublicArtifactKey`).
18
+ * - `manifests/<sha256>.json`: the validated manifest, in the artifacts bucket, not served.
19
+ * - `maps/<sha256>.js.map`: the source map, in the private source-maps bucket only (never the
20
+ * bucket the CDN reads). Its hash is the map's own, not the bundle's: two different sources
21
+ * can minify to the same bundle, and keying the map by the bundle would let one customer's
22
+ * map (with its `sourcesContent`) replace another's.
23
+ *
24
+ * Source packages (`sources/<sha256>.tgz`) are not build artifacts: their key is
25
+ * `sourcePackageKey` of `source-package.ts`.
26
+ *
27
+ * Assets (TAG-410, contract 1.3 `assets`): `a/<sha256>.<extension>` in the artifacts bucket, one
28
+ * object per distinct file whatever component or workspace imports it, public (the CDN serves them at
29
+ * `/a/…`, the address a component's asset import evaluates to). They are not one of `ARTIFACT_KINDS`
30
+ * on purpose: a build has one artifact per kind (the API's `component_versions.artifacts` and the
31
+ * `artifact_refs_key` check rely on that) but any number of assets, each with the extension of its
32
+ * type. The layout lives here all the same (`assetKey`, `parseAssetKey`, `isPublicAssetKey`), the
33
+ * one place the builder writes with and the edge will serve with; a build result lists them apart
34
+ * (`result.assets`), and the manifest's `assets` names the same hashes.
35
+ */
36
+ import { ASSET_TYPES } from "./assets.js";
37
+ /** The kinds of artifact a build stores, with their layout. Frozen. */
38
+ export const ARTIFACT_KINDS = Object.freeze({
39
+ bundle: Object.freeze({
40
+ prefix: "b/",
41
+ extension: "js",
42
+ contentType: "text/javascript; charset=utf-8",
43
+ bucket: "artifacts",
44
+ public: true,
45
+ }),
46
+ css: Object.freeze({
47
+ prefix: "b/",
48
+ extension: "css",
49
+ contentType: "text/css; charset=utf-8",
50
+ bucket: "artifacts",
51
+ public: true,
52
+ }),
53
+ sourceMap: Object.freeze({
54
+ prefix: "maps/",
55
+ extension: "js.map",
56
+ contentType: "application/json; charset=utf-8",
57
+ bucket: "sourceMaps",
58
+ public: false,
59
+ }),
60
+ manifest: Object.freeze({
61
+ prefix: "manifests/",
62
+ extension: "json",
63
+ contentType: "application/json; charset=utf-8",
64
+ bucket: "artifacts",
65
+ public: false,
66
+ }),
67
+ });
68
+ /** The kinds, in the order of `ARTIFACT_KINDS` (a non-empty tuple, as `z.enum` takes). Frozen. */
69
+ export const ARTIFACT_KIND_NAMES = Object.freeze(Object.keys(ARTIFACT_KINDS));
70
+ /** Lowercase hex sha256, as the source of a `RegExp` or of a Postgres `~` check. */
71
+ export const SHA256_HEX_PATTERN = "^[0-9a-f]{64}$";
72
+ /**
73
+ * Anchored pattern of every artifact key, as the source of a `RegExp` or of a Postgres `~` check
74
+ * (the API's `artifact_refs_key`; changing this text changes that check, so it needs a migration).
75
+ * `artifact-keys.test.ts` proves it accepts exactly what `parseArtifactKey` parses.
76
+ */
77
+ export const ARTIFACT_KEY_PATTERN = "^(b/[0-9a-f]{64}\\.(js|css)|manifests/[0-9a-f]{64}\\.json|maps/[0-9a-f]{64}\\.js\\.map)$";
78
+ const SHA256_HEX = new RegExp(SHA256_HEX_PATTERN);
79
+ const SHA256_HEX_LENGTH = 64;
80
+ /**
81
+ * The R2 key of one artifact.
82
+ *
83
+ * Inputs: the artifact kind and the lowercase hex sha256 of its bytes. Output:
84
+ * `<prefix><sha256>.<extension>` (e.g. `b/<sha256>.js`, `maps/<sha256>.js.map`). Errors:
85
+ * `TypeError` when the hash is malformed (a bug in the caller: the builder's Worker computes
86
+ * it). Side effects: none.
87
+ */
88
+ export function artifactKey(kind, sha256) {
89
+ if (!SHA256_HEX.test(sha256))
90
+ throw new TypeError("not a lowercase hex sha256");
91
+ const { prefix, extension } = ARTIFACT_KINDS[kind];
92
+ return `${prefix}${sha256}.${extension}`;
93
+ }
94
+ /**
95
+ * The kind and hash a key names, when it is an artifact key.
96
+ *
97
+ * Inputs: any string (a request path segment, a stored key). Output: `{ kind, sha256 }` when the
98
+ * key is exactly `artifactKey(kind, sha256)` for some kind and lowercase hex sha256, otherwise
99
+ * `undefined` (another prefix, `..`, a query, an uppercase hash, a source package key). Errors:
100
+ * none. Side effects: none.
101
+ */
102
+ export function parseArtifactKey(key) {
103
+ for (const kind of ARTIFACT_KIND_NAMES) {
104
+ const { prefix, extension } = ARTIFACT_KINDS[kind];
105
+ const suffix = `.${extension}`;
106
+ if (key.length !== prefix.length + SHA256_HEX_LENGTH + suffix.length)
107
+ continue;
108
+ if (!key.startsWith(prefix) || !key.endsWith(suffix))
109
+ continue;
110
+ const sha256 = key.slice(prefix.length, prefix.length + SHA256_HEX_LENGTH);
111
+ if (SHA256_HEX.test(sha256))
112
+ return { kind, sha256 };
113
+ }
114
+ return undefined;
115
+ }
116
+ /**
117
+ * Whether a key may be served publicly by the CDN (E06 applies this same function).
118
+ *
119
+ * Inputs: any string. Output: true only for `b/<sha256>.js` and `b/<sha256>.css`; source maps,
120
+ * manifests and anything else are false. Errors: none. Side effects: none.
121
+ */
122
+ export function isPublicArtifactKey(key) {
123
+ const parsed = parseArtifactKey(key);
124
+ return parsed !== undefined && ARTIFACT_KINDS[parsed.kind].public;
125
+ }
126
+ /**
127
+ * Whether an artifact named by untrusted data (a stored build result) is the content address of
128
+ * its kind and hash, so its key cannot point anywhere else (another prefix, bucket or object).
129
+ *
130
+ * Inputs: an artifact's `kind`, `key` and `sha256`, as plain strings. Output: true when `kind` is
131
+ * one of `ARTIFACT_KINDS` (own key, never an `Object.prototype` member), `sha256` is lowercase
132
+ * hex and `key === artifactKey(kind, sha256)`. Errors: none. Side effects: none.
133
+ */
134
+ export function isConsistentArtifact(artifact) {
135
+ if (!Object.hasOwn(ARTIFACT_KINDS, artifact.kind) || !SHA256_HEX.test(artifact.sha256)) {
136
+ return false;
137
+ }
138
+ return artifact.key === artifactKey(artifact.kind, artifact.sha256);
139
+ }
140
+ /** Start of every asset key (TAG-410): `a/<sha256>.<extension>`. */
141
+ export const ASSET_KEY_PREFIX = "a/";
142
+ /**
143
+ * The asset type whose content-address extension is `extension` (the inverse of `ASSET_TYPES`),
144
+ * or `undefined`. A function, not a module-level map, so nothing runs when the module loads.
145
+ */
146
+ function assetTypeOfExtension(extension) {
147
+ for (const [type, own] of Object.entries(ASSET_TYPES)) {
148
+ if (own === extension)
149
+ return type;
150
+ }
151
+ return undefined;
152
+ }
153
+ /**
154
+ * The R2 key of one asset (TAG-410), in the artifacts bucket.
155
+ *
156
+ * Inputs: the lowercase hex sha256 of the asset's stored bytes and its type. Output:
157
+ * `a/<sha256>.<extension>` with the extension of `ASSET_TYPES` (`a/<sha256>.jpg` for
158
+ * `image/jpeg`). Errors: `TypeError` when the hash is malformed or the type is not an asset type
159
+ * (a bug in the caller: the builder's Worker computes both). Side effects: none.
160
+ */
161
+ export function assetKey(sha256, type) {
162
+ if (!SHA256_HEX.test(sha256))
163
+ throw new TypeError("not a lowercase hex sha256");
164
+ if (!Object.hasOwn(ASSET_TYPES, type))
165
+ throw new TypeError("not an asset type");
166
+ return `${ASSET_KEY_PREFIX}${sha256}.${ASSET_TYPES[type]}`;
167
+ }
168
+ /**
169
+ * The hash and type an asset key names (TAG-410).
170
+ *
171
+ * Inputs: any string (a request path segment, a stored key). Output: `{ sha256, type }` when the
172
+ * key is exactly `assetKey(sha256, type)`, otherwise `undefined` (another prefix, `jpeg` instead
173
+ * of `jpg`, an uppercase hash, a query, an artifact key). Errors: none. Side effects: none.
174
+ */
175
+ export function parseAssetKey(key) {
176
+ if (!key.startsWith(ASSET_KEY_PREFIX))
177
+ return undefined;
178
+ const sha256 = key.slice(ASSET_KEY_PREFIX.length, ASSET_KEY_PREFIX.length + SHA256_HEX_LENGTH);
179
+ const rest = key.slice(ASSET_KEY_PREFIX.length + SHA256_HEX_LENGTH);
180
+ if (!SHA256_HEX.test(sha256) || !rest.startsWith("."))
181
+ return undefined;
182
+ const type = assetTypeOfExtension(rest.slice(1));
183
+ return type === undefined ? undefined : { sha256, type };
184
+ }
185
+ /**
186
+ * Whether a key is an asset the CDN may serve (TAG-410; E06 applies the same function next to
187
+ * `isPublicArtifactKey`).
188
+ *
189
+ * Inputs: any string. Output: true only for `assetKey(sha256, type)` keys. Errors: none. Side
190
+ * effects: none.
191
+ */
192
+ export function isPublicAssetKey(key) {
193
+ return parseAssetKey(key) !== undefined;
194
+ }
195
+ //# sourceMappingURL=artifact-keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-keys.js","sourceRoot":"","sources":["../src/artifact-keys.ts"],"names":[],"mappings":"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"}