@taggor/contract 0.4.0 → 0.6.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 (267) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/artifact-keys.d.ts +11 -11
  3. package/dist/artifact-keys.d.ts.map +1 -1
  4. package/dist/artifact-keys.js +11 -11
  5. package/dist/artifact-keys.js.map +1 -1
  6. package/dist/assets.d.ts +5 -5
  7. package/dist/assets.js +5 -5
  8. package/dist/bounded-path.d.ts +2 -2
  9. package/dist/bounded-path.js +2 -2
  10. package/dist/bounded.d.ts +2 -2
  11. package/dist/bounded.js +2 -2
  12. package/dist/build-diagnostic.d.ts +5 -5
  13. package/dist/build-diagnostic.js +5 -5
  14. package/dist/component-types.d.ts +7 -7
  15. package/dist/component-types.js +4 -4
  16. package/dist/component-types.js.map +1 -1
  17. package/dist/contract-version.d.ts +17 -12
  18. package/dist/contract-version.d.ts.map +1 -1
  19. package/dist/contract-version.js +24 -17
  20. package/dist/contract-version.js.map +1 -1
  21. package/dist/credential-fields.d.ts +1 -1
  22. package/dist/credential-fields.js +1 -1
  23. package/dist/css-tokens.d.ts +1 -1
  24. package/dist/css-tokens.js +1 -1
  25. package/dist/css-value.d.ts +4 -4
  26. package/dist/css-value.js +4 -4
  27. package/dist/data-api.d.ts +14 -44
  28. package/dist/data-api.d.ts.map +1 -1
  29. package/dist/data-api.js +20 -54
  30. package/dist/data-api.js.map +1 -1
  31. package/dist/denylist-keys.d.ts +1 -1
  32. package/dist/denylist-keys.js +4 -4
  33. package/dist/diagnostic-catalog.d.ts +63 -89
  34. package/dist/diagnostic-catalog.d.ts.map +1 -1
  35. package/dist/diagnostic-catalog.js +63 -87
  36. package/dist/diagnostic-catalog.js.map +1 -1
  37. package/dist/dom-members.snapshot.d.ts +4 -4
  38. package/dist/dom-members.snapshot.js +8 -8
  39. package/dist/early-loading.d.ts +1 -1
  40. package/dist/early-loading.js +1 -1
  41. package/dist/error-catalog.d.ts +81 -7
  42. package/dist/error-catalog.d.ts.map +1 -1
  43. package/dist/error-catalog.js +121 -51
  44. package/dist/error-catalog.js.map +1 -1
  45. package/dist/error-titles-pt-br.d.ts +13 -0
  46. package/dist/error-titles-pt-br.d.ts.map +1 -0
  47. package/dist/error-titles-pt-br.js +99 -0
  48. package/dist/error-titles-pt-br.js.map +1 -0
  49. package/dist/event-params.d.ts +41 -0
  50. package/dist/event-params.d.ts.map +1 -0
  51. package/dist/event-params.js +92 -0
  52. package/dist/event-params.js.map +1 -0
  53. package/dist/executable-config.d.ts +1 -1
  54. package/dist/freeze.d.ts +2 -2
  55. package/dist/freeze.js +2 -2
  56. package/dist/gunzip.d.ts +3 -3
  57. package/dist/gunzip.js +4 -4
  58. package/dist/gunzip.js.map +1 -1
  59. package/dist/hostname.d.ts +5 -6
  60. package/dist/hostname.d.ts.map +1 -1
  61. package/dist/hostname.js +7 -8
  62. package/dist/hostname.js.map +1 -1
  63. package/dist/human-actions.d.ts +3 -3
  64. package/dist/index.d.ts +11 -8
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +11 -8
  67. package/dist/index.js.map +1 -1
  68. package/dist/json-schema.d.ts +15 -15
  69. package/dist/json-schema.d.ts.map +1 -1
  70. package/dist/json-schema.js +20 -28
  71. package/dist/json-schema.js.map +1 -1
  72. package/dist/key-checksum.d.ts +1 -1
  73. package/dist/key-checksum.js +1 -1
  74. package/dist/libraries.d.ts +4 -4
  75. package/dist/libraries.d.ts.map +1 -1
  76. package/dist/libraries.js +4 -4
  77. package/dist/libraries.js.map +1 -1
  78. package/dist/limit-catalog.d.ts +19 -40
  79. package/dist/limit-catalog.d.ts.map +1 -1
  80. package/dist/limit-catalog.js +34 -55
  81. package/dist/limit-catalog.js.map +1 -1
  82. package/dist/limits.d.ts +22 -34
  83. package/dist/limits.d.ts.map +1 -1
  84. package/dist/limits.js +23 -35
  85. package/dist/limits.js.map +1 -1
  86. package/dist/locale-tag.d.ts +3 -3
  87. package/dist/locale-tag.js +3 -3
  88. package/dist/make-diagnostic.d.ts +2 -3
  89. package/dist/make-diagnostic.d.ts.map +1 -1
  90. package/dist/make-diagnostic.js.map +1 -1
  91. package/dist/manifest-compat-diagnostics.d.ts +1 -1
  92. package/dist/manifest-compat.js +1 -1
  93. package/dist/manifest.d.ts +44 -24
  94. package/dist/manifest.d.ts.map +1 -1
  95. package/dist/manifest.js +41 -61
  96. package/dist/manifest.js.map +1 -1
  97. package/dist/metering.d.ts +33 -21
  98. package/dist/metering.d.ts.map +1 -1
  99. package/dist/metering.js +33 -21
  100. package/dist/metering.js.map +1 -1
  101. package/dist/migrate.d.ts +1 -1
  102. package/dist/migrate.js +5 -5
  103. package/dist/migrate.js.map +1 -1
  104. package/dist/money.d.ts +2 -2
  105. package/dist/money.js +2 -2
  106. package/dist/names.d.ts +4 -4
  107. package/dist/names.js +4 -4
  108. package/dist/overage-pricing.d.ts +1 -1
  109. package/dist/overage-pricing.js +1 -1
  110. package/dist/plan-ids.d.ts +1 -1
  111. package/dist/plan-ids.js +1 -1
  112. package/dist/plan-limits.d.ts +13 -13
  113. package/dist/plan-limits.d.ts.map +1 -1
  114. package/dist/plan-limits.js +8 -8
  115. package/dist/plan-limits.js.map +1 -1
  116. package/dist/plan-pricing.d.ts +33 -62
  117. package/dist/plan-pricing.d.ts.map +1 -1
  118. package/dist/plan-pricing.js +20 -67
  119. package/dist/plan-pricing.js.map +1 -1
  120. package/dist/plan-usage.d.ts +18 -18
  121. package/dist/plan-usage.d.ts.map +1 -1
  122. package/dist/plan-usage.js +19 -20
  123. package/dist/plan-usage.js.map +1 -1
  124. package/dist/preview-token.js +2 -2
  125. package/dist/prop-names.d.ts +5 -5
  126. package/dist/prop-names.d.ts.map +1 -1
  127. package/dist/prop-names.js +10 -10
  128. package/dist/prop-names.js.map +1 -1
  129. package/dist/prop-type-docs.js +1 -1
  130. package/dist/prop-types.d.ts +6 -6
  131. package/dist/prop-types.js +16 -16
  132. package/dist/prop-types.js.map +1 -1
  133. package/dist/props.d.ts +5 -5
  134. package/dist/props.js +6 -6
  135. package/dist/props.js.map +1 -1
  136. package/dist/proto-guard.js +3 -3
  137. package/dist/proto-guard.js.map +1 -1
  138. package/dist/runtime-errors.d.ts +2 -2
  139. package/dist/runtime-errors.js +2 -2
  140. package/dist/runtime-pointers.d.ts +2 -2
  141. package/dist/runtime-pointers.js +2 -2
  142. package/{schema → dist/schema}/component-manifest.v1.json +7 -14
  143. package/{schema → dist/schema}/data-api.v1.json +4 -39
  144. package/dist/secret-scan.d.ts +10 -10
  145. package/dist/secret-scan.d.ts.map +1 -1
  146. package/dist/secret-scan.js +15 -16
  147. package/dist/secret-scan.js.map +1 -1
  148. package/dist/semver.d.ts +2 -2
  149. package/dist/semver.js +2 -2
  150. package/dist/server-key.js +1 -1
  151. package/dist/site-manifest-keys.d.ts +11 -11
  152. package/dist/site-manifest-keys.d.ts.map +1 -1
  153. package/dist/site-manifest-keys.js +18 -18
  154. package/dist/site-manifest-keys.js.map +1 -1
  155. package/dist/site-manifest.d.ts +3 -10
  156. package/dist/site-manifest.d.ts.map +1 -1
  157. package/dist/site-manifest.js +12 -15
  158. package/dist/site-manifest.js.map +1 -1
  159. package/dist/source-archive.d.ts +13 -13
  160. package/dist/source-archive.js +25 -25
  161. package/dist/source-archive.js.map +1 -1
  162. package/dist/source-package-corpus.d.ts +3 -4
  163. package/dist/source-package-corpus.d.ts.map +1 -1
  164. package/dist/source-package-corpus.js +4 -6
  165. package/dist/source-package-corpus.js.map +1 -1
  166. package/dist/source-package.d.ts +17 -17
  167. package/dist/source-package.d.ts.map +1 -1
  168. package/dist/source-package.js +15 -15
  169. package/dist/source-package.js.map +1 -1
  170. package/dist/source-secrets.js +1 -1
  171. package/dist/ssr-cap.d.ts +2 -2
  172. package/dist/ssr-cap.d.ts.map +1 -1
  173. package/dist/ssr-cap.js +4 -4
  174. package/dist/ssr-kv.d.ts +1 -1
  175. package/dist/ssr-kv.js +1 -1
  176. package/dist/ssr-render.d.ts +2 -2
  177. package/dist/ssr-render.d.ts.map +1 -1
  178. package/dist/ssr-render.js +3 -3
  179. package/dist/ssr-render.js.map +1 -1
  180. package/dist/ssr-version-ledger.js +3 -3
  181. package/dist/style-references.d.ts +2 -3
  182. package/dist/style-references.d.ts.map +1 -1
  183. package/dist/style-references.js +10 -11
  184. package/dist/style-references.js.map +1 -1
  185. package/dist/support-contact.d.ts +11 -0
  186. package/dist/support-contact.d.ts.map +1 -0
  187. package/dist/support-contact.js +11 -0
  188. package/dist/support-contact.js.map +1 -0
  189. package/dist/tag-name.d.ts +6 -6
  190. package/dist/tag-name.d.ts.map +1 -1
  191. package/dist/tag-name.js +7 -7
  192. package/dist/tag-name.js.map +1 -1
  193. package/dist/tar-writer.js +1 -1
  194. package/dist/testing.d.ts +1 -1
  195. package/dist/testing.js +1 -1
  196. package/dist/text-codec.d.ts +2 -2
  197. package/dist/text-codec.js +2 -2
  198. package/dist/url-value.d.ts +1 -1
  199. package/dist/url-value.d.ts.map +1 -1
  200. package/dist/url-value.js +7 -7
  201. package/dist/url-value.js.map +1 -1
  202. package/dist/usage-guard.d.ts +16 -16
  203. package/dist/usage-guard.js +15 -15
  204. package/dist/usage-mirror.d.ts +5 -5
  205. package/dist/value-check.d.ts +6 -6
  206. package/dist/value-check.js +20 -20
  207. package/dist/value-check.js.map +1 -1
  208. package/dist/value-patterns.js +2 -2
  209. package/dist/value-schema.d.ts +3 -3
  210. package/dist/value-schema.d.ts.map +1 -1
  211. package/dist/value-schema.js +4 -4
  212. package/dist/value-schema.js.map +1 -1
  213. package/dist/zod-free.d.ts +25 -25
  214. package/dist/zod-free.d.ts.map +1 -1
  215. package/dist/zod-free.js +26 -26
  216. package/dist/zod-free.js.map +1 -1
  217. package/package.json +9 -10
  218. package/dist/consent-text.d.ts +0 -31
  219. package/dist/consent-text.d.ts.map +0 -1
  220. package/dist/consent-text.js +0 -41
  221. package/dist/consent-text.js.map +0 -1
  222. package/schema/DEPLOYED +0 -12
  223. package/schema/published/SHA256SUMS +0 -41
  224. package/schema/published/build-diagnostic/v1.10.json +0 -83
  225. package/schema/published/build-diagnostic/v1.11.json +0 -83
  226. package/schema/published/build-diagnostic/v1.3.json +0 -83
  227. package/schema/published/build-diagnostic/v1.4.json +0 -83
  228. package/schema/published/build-diagnostic/v1.5.json +0 -83
  229. package/schema/published/build-diagnostic/v1.6.json +0 -83
  230. package/schema/published/build-diagnostic/v1.7.json +0 -83
  231. package/schema/published/build-diagnostic/v1.8.json +0 -83
  232. package/schema/published/build-diagnostic/v1.9.json +0 -83
  233. package/schema/published/component-manifest/v1.10.json +0 -1443
  234. package/schema/published/component-manifest/v1.11.json +0 -1443
  235. package/schema/published/component-manifest/v1.3.json +0 -1411
  236. package/schema/published/component-manifest/v1.4.json +0 -1419
  237. package/schema/published/component-manifest/v1.5.json +0 -1437
  238. package/schema/published/component-manifest/v1.6.json +0 -1437
  239. package/schema/published/component-manifest/v1.7.json +0 -1437
  240. package/schema/published/component-manifest/v1.8.json +0 -1437
  241. package/schema/published/component-manifest/v1.9.json +0 -1437
  242. package/schema/published/data-api/v1.10.json +0 -282
  243. package/schema/published/data-api/v1.11.json +0 -282
  244. package/schema/published/data-api/v1.3.json +0 -281
  245. package/schema/published/data-api/v1.4.json +0 -281
  246. package/schema/published/data-api/v1.5.json +0 -281
  247. package/schema/published/data-api/v1.6.json +0 -281
  248. package/schema/published/data-api/v1.7.json +0 -281
  249. package/schema/published/data-api/v1.8.json +0 -282
  250. package/schema/published/data-api/v1.9.json +0 -282
  251. package/schema/published/library-manifest/v1.10.json +0 -68
  252. package/schema/published/library-manifest/v1.11.json +0 -68
  253. package/schema/published/library-manifest/v1.5.json +0 -68
  254. package/schema/published/library-manifest/v1.6.json +0 -68
  255. package/schema/published/library-manifest/v1.7.json +0 -68
  256. package/schema/published/library-manifest/v1.8.json +0 -68
  257. package/schema/published/library-manifest/v1.9.json +0 -68
  258. package/schema/published/taggor-config/v1.10.json +0 -56
  259. package/schema/published/taggor-config/v1.11.json +0 -56
  260. package/schema/published/taggor-config/v1.5.json +0 -56
  261. package/schema/published/taggor-config/v1.6.json +0 -56
  262. package/schema/published/taggor-config/v1.7.json +0 -56
  263. package/schema/published/taggor-config/v1.8.json +0 -56
  264. package/schema/published/taggor-config/v1.9.json +0 -56
  265. /package/{schema → dist/schema}/build-diagnostic.v1.json +0 -0
  266. /package/{schema → dist/schema}/library-manifest.v1.json +0 -0
  267. /package/{schema → dist/schema}/taggor-config.v1.json +0 -0
@@ -1,15 +1,15 @@
1
1
  /**
2
- * `BuildDiagnostic` (TAG-404): one error or warning of a build, in the shape an agent acts on.
2
+ * `BuildDiagnostic`: one error or warning of a build, in the shape an agent acts on.
3
3
  *
4
4
  * Every problem the builder finds (bundler, type check, manifest, gates, infrastructure) is
5
5
  * normalized to this: a stable `code` from `diagnosticCatalog` (or `TS2322` from the type check),
6
6
  * the `severity`, the position in the source package (`file`, `line`, `column`, the quoted
7
7
  * `snippet`) or in the manifest (`manifestPath`), a `message` in English, a `hint` with the fix
8
- * and the `docsUrl` of the code's page. `GET /v1/builds/{id}` (TAG-910), the CLI and the MCP pass
8
+ * and the `docsUrl` of the code's page. `GET /v1/builds/{id}`, the CLI and the MCP pass
9
9
  * these on unchanged. The container that produces them runs customer code, so the Worker parses
10
10
  * them with this schema again (FC-12): every string is bounded and `file` is always relative.
11
11
  *
12
- * Two schemas since TAG-234: `buildDiagnosticWireSchema` is the published format,
12
+ * Two schemas: `buildDiagnosticWireSchema` is the published format,
13
13
  * whose `code` is any string in the catalog's format, so a new catalog code changes no published
14
14
  * JSON Schema; clients read with it and treat a code they do not know as generic.
15
15
  * `buildDiagnosticSchema` is the same object restricted to this package's catalog: what Taggor
@@ -25,14 +25,14 @@ export declare const DIAGNOSTIC_FILE_PATTERN: RegExp;
25
25
  /** A `docsUrl`: the catalog page of the code, with `#TSxxxx` for a TypeScript code. */
26
26
  export declare const DIAGNOSTIC_DOCS_URL_PATTERN: RegExp;
27
27
  /**
28
- * A build diagnostic code as published (TAG-234): any string in the catalog's format, bounded,
28
+ * A build diagnostic code as published: any string in the catalog's format, bounded,
29
29
  * known to this package or not. The JSON Schema of `code` is this, never the list of codes.
30
30
  */
31
31
  export declare const diagnosticCodeFormatSchema: z.ZodString;
32
32
  /** A build diagnostic code Taggor emits: a named catalog code or a TypeScript code. */
33
33
  export declare const diagnosticCodeSchema: z.ZodType<DiagnosticCode, DiagnosticCode>;
34
34
  /**
35
- * The published schema of one build diagnostic (TAG-234): the source of
35
+ * The published schema of one build diagnostic: the source of
36
36
  * `schema/build-diagnostic.v1.json`. Strict: an unknown key is refused. `code` is any code in the
37
37
  * catalog's format (`diagnosticCodeFormatSchema`), so adding a code to `diagnosticCatalog` does
38
38
  * not change it. Clients of `GET /v1/builds/{id}` (CLI, MCP, portal) parse with this one and show
@@ -1,15 +1,15 @@
1
1
  /**
2
- * `BuildDiagnostic` (TAG-404): one error or warning of a build, in the shape an agent acts on.
2
+ * `BuildDiagnostic`: one error or warning of a build, in the shape an agent acts on.
3
3
  *
4
4
  * Every problem the builder finds (bundler, type check, manifest, gates, infrastructure) is
5
5
  * normalized to this: a stable `code` from `diagnosticCatalog` (or `TS2322` from the type check),
6
6
  * the `severity`, the position in the source package (`file`, `line`, `column`, the quoted
7
7
  * `snippet`) or in the manifest (`manifestPath`), a `message` in English, a `hint` with the fix
8
- * and the `docsUrl` of the code's page. `GET /v1/builds/{id}` (TAG-910), the CLI and the MCP pass
8
+ * and the `docsUrl` of the code's page. `GET /v1/builds/{id}`, the CLI and the MCP pass
9
9
  * these on unchanged. The container that produces them runs customer code, so the Worker parses
10
10
  * them with this schema again (FC-12): every string is bounded and `file` is always relative.
11
11
  *
12
- * Two schemas since TAG-234: `buildDiagnosticWireSchema` is the published format,
12
+ * Two schemas: `buildDiagnosticWireSchema` is the published format,
13
13
  * whose `code` is any string in the catalog's format, so a new catalog code changes no published
14
14
  * JSON Schema; clients read with it and treat a code they do not know as generic.
15
15
  * `buildDiagnosticSchema` is the same object restricted to this package's catalog: what Taggor
@@ -32,7 +32,7 @@ const typescriptCode = z
32
32
  .max(L.diagnosticCodeMaxLength)
33
33
  .regex(TYPESCRIPT_DIAGNOSTIC_PATTERN);
34
34
  /**
35
- * A build diagnostic code as published (TAG-234): any string in the catalog's format, bounded,
35
+ * A build diagnostic code as published: any string in the catalog's format, bounded,
36
36
  * known to this package or not. The JSON Schema of `code` is this, never the list of codes.
37
37
  */
38
38
  export const diagnosticCodeFormatSchema = z
@@ -60,7 +60,7 @@ const fields = {
60
60
  manifestPath: text(L.diagnosticManifestPathMaxLength).optional(),
61
61
  };
62
62
  /**
63
- * The published schema of one build diagnostic (TAG-234): the source of
63
+ * The published schema of one build diagnostic: the source of
64
64
  * `schema/build-diagnostic.v1.json`. Strict: an unknown key is refused. `code` is any code in the
65
65
  * catalog's format (`diagnosticCodeFormatSchema`), so adding a code to `diagnosticCatalog` does
66
66
  * not change it. Clients of `GET /v1/builds/{id}` (CLI, MCP, portal) parse with this one and show
@@ -1,19 +1,19 @@
1
1
  /**
2
- * Per-component TypeScript declarations for the customer's site (TAG-214): from a validated manifest,
2
+ * Per-component TypeScript declarations for the customer's site: from a validated manifest,
3
3
  * the text of `<tag>.d.ts` (the element in `HTMLElementTagNameMap`, its props as typed properties,
4
4
  * its events on the element and on `document`, and `window.taggor` typed with them) and of
5
5
  * `<tag>.react.d.ts` (the element in React 19's JSX, with its props and `on<tag>:<event>`
6
- * listeners). TAG-324: a form field (`formAssociated: true`) also gets the element's form field
6
+ * listeners). a form field (`formAssociated: true`) also gets the element's form field
7
7
  * API (`value`, `form`, `validity`, `validationMessage`, `checkValidity()`, `reportValidity()`).
8
- * TAG-236: `<tag>.vue.d.ts`, the element in Vue 3's `GlobalComponents`, with its props and
8
+ * `<tag>.vue.d.ts`, the element in Vue 3's `GlobalComponents`, with its props and
9
9
  * `@<tag>:<event>` listeners for `vue-tsc`'s template checks.
10
- * `taggor types` (CLI, TAG-1001) writes these files and
10
+ * `taggor types` (CLI) writes these files and
11
11
  * `GET /v1/components/{id}/types.d.ts` (API) serves them; both only call this module.
12
12
  *
13
13
  * The types follow what the runtime does, not what an author wrote: a prop's value type comes from
14
14
  * its declared `type` (the prop type catalog's `PropValueTypes`, `enum` as the union of its
15
15
  * `values`), arrays and objects as the runtime delivers them (read-only at every level, since it
16
- * deep-freezes them, TAG-304), a getter without `default` may give `undefined` (a `boolean` never:
16
+ * deep-freezes them), a getter without `default` may give `undefined` (a `boolean` never:
17
17
  * absent is `false`), and a setter also takes `null` and `undefined` (they clear the property).
18
18
  *
19
19
  * Manifest text never becomes code: names come from the contract's patterns (tag, prop, event and
@@ -34,7 +34,7 @@ export interface ComponentTypeDeclarations {
34
34
  readonly vue: string;
35
35
  }
36
36
  /**
37
- * `window.taggor` (TAG-214) for the site: the API the loader installs (the runtime's
37
+ * `window.taggor` for the site: the API the loader installs (the runtime's
38
38
  * `TaggorHostApi`, `packages/runtime/src/host/types.ts`, which the runtime's
39
39
  * `host-api-types.test.ts` keeps assignable to this text), with `on` typed by the
40
40
  * `TaggorComponentEventMap` the component files fill. Identical in every generated file.
@@ -43,7 +43,7 @@ export declare const HOST_API_DECLARATIONS = " /** The details of each componen
43
43
  /**
44
44
  * The name of a component's element interface: `Taggor`, the PascalCase segments of the tag and
45
45
  * `Element` (`finance-simulator` → `TaggorFinanceSimulatorElement`). The prefix keeps a tag such as
46
- * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`; TAG-214 review, A5). A segment
46
+ * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`). A segment
47
47
  * that starts with a digit keeps an underscore (`x-a-1b` → `TaggorXA_1bElement`), so two valid
48
48
  * tags never share a name.
49
49
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The form field API on a form field component's element (TAG-324), as the runtime gives it: the
2
+ * The form field API on a form field component's element, as the runtime gives it: the
3
3
  * value is the text the component submits (`""` for none), the rest is `undefined` in a browser
4
4
  * without form-associated custom elements, where the checks always pass. Keyed by the runtime's
5
5
  * lists (`FORM_FIELD_ACCESSORS`, `FORM_FIELD_METHODS`), so a member added there must be typed here.
@@ -34,7 +34,7 @@ function fieldMember(name, member) {
34
34
  : ` readonly ${name}: ${member.type};\n`));
35
35
  }
36
36
  /**
37
- * `window.taggor` (TAG-214) for the site: the API the loader installs (the runtime's
37
+ * `window.taggor` for the site: the API the loader installs (the runtime's
38
38
  * `TaggorHostApi`, `packages/runtime/src/host/types.ts`, which the runtime's
39
39
  * `host-api-types.test.ts` keeps assignable to this text), with `on` typed by the
40
40
  * `TaggorComponentEventMap` the component files fill. Identical in every generated file.
@@ -87,7 +87,7 @@ export const HOST_API_DECLARATIONS = ` /** The details of each component's decl
87
87
  /**
88
88
  * The name of a component's element interface: `Taggor`, the PascalCase segments of the tag and
89
89
  * `Element` (`finance-simulator` → `TaggorFinanceSimulatorElement`). The prefix keeps a tag such as
90
- * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`; TAG-214 review, A5). A segment
90
+ * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`). A segment
91
91
  * that starts with a digit keeps an underscore (`x-a-1b` → `TaggorXA_1bElement`), so two valid
92
92
  * tags never share a name.
93
93
  *
@@ -165,7 +165,7 @@ export function componentTypeDeclarations(manifest) {
165
165
  const events = Object.entries(manifest.events ?? {});
166
166
  const header = `// Generated by Taggor from the manifest of ${commentLine(manifest.name)} (<${tag}>),` +
167
167
  ` contract ${commentLine(manifest.contractVersion)}. Do not edit: run \`taggor types\` again.\n`;
168
- // TAG-324: a form field's element has the field API, which wins over a prop of the same name
168
+ // A form field's element has the field API, which wins over a prop of the same name
169
169
  // for reading (the runtime's getter is the field's); the prop's setter stays, except under a
170
170
  // method's name.
171
171
  const field = manifest.formAssociated === true ? FORM_FIELD_API : {};
@@ -1 +1 @@
1
- {"version":3,"file":"component-types.js","sourceRoot":"","sources":["../src/component-types.ts"],"names":[],"mappings":"AA+CA;;;;;GAKG;AACH,MAAM,cAAc,GAEhB;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of the component contract and what each consumer does with them.
3
3
  *
4
4
  * A manifest declares the contract version it was written for in `contractVersion` (semver).
5
5
  * Minor versions are additive, a major is anything that invalidates a manifest that used to be
@@ -13,19 +13,24 @@
13
13
  /** Major version of the contract this package implements; `contractVersion` is `<major>.x.y`. */
14
14
  export declare const CONTRACT_MAJOR = 1;
15
15
  /**
16
- * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1
17
- * (TAG-212): `data.personal` and `data.privacyPolicyUrl`. 1.2 (TAG-211): `locales`. 1.3
18
- * (TAG-213): `assets`. 1.4 (TAG-314): `formAssociated` and `delegatesFocus`. 1.5 (TAG-210):
19
- * component `libraries` and the workspace library manifest. 1.6 (TAG-2282): no manifest field;
20
- * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
21
- * (TAG-242): no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
- * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8 (TAG-730): no manifest field; the
23
- * data API's `daily_cap_reached` error code. 1.9 (TAG-1331): no manifest field; the
16
+ * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1:
17
+ * no manifest field. 1.2: `locales`. 1.3:
18
+ * `assets`. 1.4: `formAssociated` and `delegatesFocus`. 1.5:
19
+ * component `libraries` and the workspace library manifest. 1.6: no manifest field;
20
+ * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7:
21
+ * no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
+ * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8: no manifest field; the
23
+ * data API's `daily_cap_reached` error code. 1.9: no manifest field; the
24
24
  * site's environment picks the channel it delivers, and the attachment's own channel is ignored.
25
- * 1.10 (TAG-819): `eventSampleRate`, the share of interaction and custom events the browser sends.
26
- * 1.11 (TAG-824): no new field; the `eventSampleRate` description no longer names the removed event kind.
25
+ * 1.10: `eventSampleRate`, the share of interaction and custom events the browser sends.
26
+ * 1.11: no new field; the `eventSampleRate` description no longer names the removed event kind.
27
+ * 1.12: no new field; four manifest descriptions no longer carry internal references.
28
+ * 1.13: no new field; the manifest and the data API as the earlier minors define them.
29
+ * 1.14: `track` carries free parameters (an `emit` sends nothing to Taggor): a track event's `props` become type hints,
30
+ * never a filter (any string, number, boolean or enum hint, up to 25 of them), and the `POST /e/`
31
+ * beacon's `TrackRequest.props` are strings of at most 100 characters.
27
32
  */
28
- export declare const CONTRACT_MINOR = 11;
33
+ export declare const CONTRACT_MINOR = 14;
29
34
  /** Newest contract version this package implements. */
30
35
  export declare const CONTRACT_VERSION: string;
31
36
  /** Minimum months an older major stays supported after the next major ships. */
@@ -1 +1 @@
1
- {"version":3,"file":"contract-version.d.ts","sourceRoot":"","sources":["../src/contract-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,iGAAiG;AACjG,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,QAA0D,CAAC;AAExF,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAClD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAIpC,CAAC;AAEH,kCAAkC;AAClC,MAAM,WAAW,eAAe;IAC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CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACtD;AAED,4FAA4F;AAC5F,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAYD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,mBAAmB,GAAG,aAAa,EACzC,OAAO,EAAE,eAAe,GAAG,SAAS,EACpC,MAAM,GAAE,qBAA+C,EACvD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,MAAM,CAsBR;AAiBD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,sBAAsB,EAC/B,MAAM,GAAE,qBAA+C,GACtD,oBAAoB,CAwCtB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Versions of the component contract and what each consumer does with them (TAG-207).
2
+ * Versions of the component contract and what each consumer does with them.
3
3
  *
4
4
  * A manifest declares the contract version it was written for in `contractVersion` (semver).
5
5
  * Minor versions are additive, a major is anything that invalidates a manifest that used to be
@@ -13,19 +13,24 @@
13
13
  /** Major version of the contract this package implements; `contractVersion` is `<major>.x.y`. */
14
14
  export const CONTRACT_MAJOR = 1;
15
15
  /**
16
- * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1
17
- * (TAG-212): `data.personal` and `data.privacyPolicyUrl`. 1.2 (TAG-211): `locales`. 1.3
18
- * (TAG-213): `assets`. 1.4 (TAG-314): `formAssociated` and `delegatesFocus`. 1.5 (TAG-210):
19
- * component `libraries` and the workspace library manifest. 1.6 (TAG-2282): no manifest field;
20
- * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
21
- * (TAG-242): no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
- * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8 (TAG-730): no manifest field; the
23
- * data API's `daily_cap_reached` error code. 1.9 (TAG-1331): no manifest field; the
16
+ * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1:
17
+ * no manifest field. 1.2: `locales`. 1.3:
18
+ * `assets`. 1.4: `formAssociated` and `delegatesFocus`. 1.5:
19
+ * component `libraries` and the workspace library manifest. 1.6: no manifest field;
20
+ * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7:
21
+ * no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
+ * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8: no manifest field; the
23
+ * data API's `daily_cap_reached` error code. 1.9: no manifest field; the
24
24
  * site's environment picks the channel it delivers, and the attachment's own channel is ignored.
25
- * 1.10 (TAG-819): `eventSampleRate`, the share of interaction and custom events the browser sends.
26
- * 1.11 (TAG-824): no new field; the `eventSampleRate` description no longer names the removed event kind.
25
+ * 1.10: `eventSampleRate`, the share of interaction and custom events the browser sends.
26
+ * 1.11: no new field; the `eventSampleRate` description no longer names the removed event kind.
27
+ * 1.12: no new field; four manifest descriptions no longer carry internal references.
28
+ * 1.13: no new field; the manifest and the data API as the earlier minors define them.
29
+ * 1.14: `track` carries free parameters (an `emit` sends nothing to Taggor): a track event's `props` become type hints,
30
+ * never a filter (any string, number, boolean or enum hint, up to 25 of them), and the `POST /e/`
31
+ * beacon's `TrackRequest.props` are strings of at most 100 characters.
27
32
  */
28
- export const CONTRACT_MINOR = 11;
33
+ export const CONTRACT_MINOR = 14;
29
34
  /** Newest contract version this package implements. */
30
35
  export const CONTRACT_VERSION = `${String(CONTRACT_MAJOR)}.${String(CONTRACT_MINOR)}.0`;
31
36
  /** Minimum months an older major stays supported after the next major ships. */
@@ -37,14 +42,16 @@ export const SUPPORT_WINDOW_MONTHS = 12;
37
42
  * and `supportedUntil` in the same change that bumps `CONTRACT_MAJOR`. Errors: none.
38
43
  * Side effects: none.
39
44
  */
40
- export const CONTRACT_VERSION_POLICY = Object.freeze({
45
+ export const CONTRACT_VERSION_POLICY = /* @__PURE__ */ Object.freeze({
41
46
  major: CONTRACT_MAJOR,
42
47
  minor: CONTRACT_MINOR,
43
- majors: Object.freeze([Object.freeze({ major: 1 })]),
48
+ majors: /* @__PURE__ */ Object.freeze([/* @__PURE__ */ Object.freeze({ major: 1 })]),
44
49
  });
45
- /** Each part has at most 6 digits and no leading zero, so the text is short and canonical. */
46
- const NUMBER = "(0|[1-9]\\d{0,5})";
47
- const SEMVER_PATTERN = new RegExp(`^${NUMBER}\\.${NUMBER}\\.${NUMBER}$`);
50
+ /**
51
+ * Each part has at most 6 digits and no leading zero, so the text is short and canonical. A
52
+ * literal, not `new RegExp`, so a bundle that never parses a version (the site loader) drops it.
53
+ */
54
+ const SEMVER_PATTERN = /^(0|[1-9]\d{0,5})\.(0|[1-9]\d{0,5})\.(0|[1-9]\d{0,5})$/;
48
55
  const PATCH_PATTERN = "(?:0|[1-9]\\d{0,5})";
49
56
  const ISO_DAY_PATTERN = /^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$/;
50
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"contract-version.js","sourceRoot":"","sources":["../src/contract-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,iGAAiG;AACjG,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAChC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC;AACjC,uDAAuD;AACvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC;AAExF,gFAAgF;AAChF,MAAM,CAAC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAyBxC;;;;;;GAMG;AAC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;gBACL,MAAM,EAAE,OAAO,CAAC,QAAQ,KAAK,SAAS;gBACtC,OAAO;gBACP,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC;aACjD,CAAC;QACJ,KAAK,aAAa,CAAC,CAAC,CAAC;YACnB,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO,EAAE,KAAK,CAAC,CAAC;YAC9E,MAAM,KAAK,GAAG,OAAO,EAAE,cAAc,CAAC;YACtC,IAAI,OAAO,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC;gBAC1E,OAAO;oBACL,MAAM,EAAE,KAAK;oBACb,OAAO;oBACP,OAAO,EAAE,OAAO,CAAC,mBAAmB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;iBACzE,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,MAAM,EAAE,IAAI;gBACZ,OAAO;gBACP,OAAO,EACL,OAAO,CAAC,QAAQ,KAAK,SAAS;oBAC5B,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;oBAChE,CAAC,CAAC,SAAS;aAChB,CAAC;QACJ,CAAC;QACD,KAAK,aAAa,CAAC;QACnB,KAAK,WAAW,CAAC;QACjB,KAAK,SAAS;YACZ,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;IACxF,CAAC;AACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Names of fields that hold credentials (TAG-1706, moved here by TAG-703 for its second use): the
2
+ * Names of fields that hold credentials (moved here for its second use): the
3
3
  * builder's quality gate refuses a component that collects them, and the API and the edge refuse to
4
4
  * accept submissions to a collection that declares one, with the very same rule. Zod-free and pure.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Names of fields that hold credentials (TAG-1706, moved here by TAG-703 for its second use): the
2
+ * Names of fields that hold credentials (moved here for its second use): the
3
3
  * builder's quality gate refuses a component that collects them, and the API and the edge refuse to
4
4
  * accept submissions to a collection that declares one, with the very same rule. Zod-free and pure.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A small CSS tokenizer (TAG-206; moved out of `style-references.ts` by TAG-1706, which reads the
2
+ * A small CSS tokenizer (moved out of `style-references.ts`, which reads the
3
3
  * same tokens to find viewport overlays in the builder's security gate).
4
4
  *
5
5
  * It follows the CSS Syntax Level 3 rules that matter to the checks built on it: a raw NUL read as
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A small CSS tokenizer (TAG-206; moved out of `style-references.ts` by TAG-1706, which reads the
2
+ * A small CSS tokenizer (moved out of `style-references.ts`, which reads the
3
3
  * same tokens to find viewport overlays in the builder's security gate).
4
4
  *
5
5
  * It follows the CSS Syntax Level 3 rules that matter to the checks built on it: a raw NUL read as
@@ -1,16 +1,16 @@
1
1
  /**
2
- * CSS values a manifest may declare (TAG-201): the default of a `color` prop and the defaults of
2
+ * CSS values a manifest may declare: the default of a `color` prop and the defaults of
3
3
  * public CSS variables, which the runtime writes into the component's stylesheet.
4
4
  *
5
5
  * A CSS value can fetch from the network (`url()`, `image-set()`, `src()`, `cross-fade()`…), so a
6
6
  * free-form value would let a manifest leak every visitor's IP and Referer to an undeclared origin
7
- * through `var(--x)` (threat T-64, golden rule 6). Values are therefore built from an allowlist:
7
+ * through `var(--x)` (golden rule 6). Values are therefore built from an allowlist:
8
8
  * numbers, identifiers, `#`, `,`, `.`, `%`, `/`, `+`, whitespace, and `(` only right after a
9
9
  * function in `CSS_FUNCTIONS` (lowercase). No `;`, braces, quotes, backslashes, `*` or angle
10
10
  * brackets, so a value can neither close a declaration nor open a comment. JSON Schema cannot
11
11
  * count parentheses, so only Zod checks that they are balanced (`SEMANTIC_RULES`).
12
12
  *
13
- * This module has no Zod (TAG-205), so the runtime may import it; `cssValueSchema` lives in
13
+ * This module has no Zod, so the runtime may import it; `cssValueSchema` lives in
14
14
  * `bounded.ts`.
15
15
  */
16
16
  /** CSS functions a declared value may call: colors, math and `var()`. None of them loads a URL. */
@@ -32,7 +32,7 @@ export declare function hasBalancedParentheses(value: string): boolean;
32
32
  /**
33
33
  * Tells whether a text is a declared CSS value: within `maxLength`, built from the allowlist
34
34
  * `pattern` and with balanced parentheses. The Zod form is `cssValueSchema` (bounded.ts); the
35
- * prop catalog (TAG-205) uses this one, which the runtime may import without Zod.
35
+ * prop catalog uses this one, which the runtime may import without Zod.
36
36
  *
37
37
  * Inputs: the text, the maximum length, the allowlist pattern (`CSS_VALUE_PATTERN` or
38
38
  * `FONT_FAMILY_PATTERN`). Output: `true` when every rule holds (empty text is refused). Errors:
package/dist/css-value.js CHANGED
@@ -1,16 +1,16 @@
1
1
  /**
2
- * CSS values a manifest may declare (TAG-201): the default of a `color` prop and the defaults of
2
+ * CSS values a manifest may declare: the default of a `color` prop and the defaults of
3
3
  * public CSS variables, which the runtime writes into the component's stylesheet.
4
4
  *
5
5
  * A CSS value can fetch from the network (`url()`, `image-set()`, `src()`, `cross-fade()`…), so a
6
6
  * free-form value would let a manifest leak every visitor's IP and Referer to an undeclared origin
7
- * through `var(--x)` (threat T-64, golden rule 6). Values are therefore built from an allowlist:
7
+ * through `var(--x)` (golden rule 6). Values are therefore built from an allowlist:
8
8
  * numbers, identifiers, `#`, `,`, `.`, `%`, `/`, `+`, whitespace, and `(` only right after a
9
9
  * function in `CSS_FUNCTIONS` (lowercase). No `;`, braces, quotes, backslashes, `*` or angle
10
10
  * brackets, so a value can neither close a declaration nor open a comment. JSON Schema cannot
11
11
  * count parentheses, so only Zod checks that they are balanced (`SEMANTIC_RULES`).
12
12
  *
13
- * This module has no Zod (TAG-205), so the runtime may import it; `cssValueSchema` lives in
13
+ * This module has no Zod, so the runtime may import it; `cssValueSchema` lives in
14
14
  * `bounded.ts`.
15
15
  */
16
16
  /** CSS functions a declared value may call: colors, math and `var()`. None of them loads a URL. */
@@ -63,7 +63,7 @@ export function hasBalancedParentheses(value) {
63
63
  /**
64
64
  * Tells whether a text is a declared CSS value: within `maxLength`, built from the allowlist
65
65
  * `pattern` and with balanced parentheses. The Zod form is `cssValueSchema` (bounded.ts); the
66
- * prop catalog (TAG-205) uses this one, which the runtime may import without Zod.
66
+ * prop catalog uses this one, which the runtime may import without Zod.
67
67
  *
68
68
  * Inputs: the text, the maximum length, the allowlist pattern (`CSS_VALUE_PATTERN` or
69
69
  * `FONT_FAMILY_PATTERN`). Output: `true` when every rule holds (empty text is refused). Errors:
@@ -1,36 +1,22 @@
1
1
  /**
2
- * Data API of component contract v1 (TAG-201): the payloads a component exchanges with the edge through
3
- * the SDK hooks (`useTaggorData`, `useTrack`, TAG-203): `submit` (form submissions), `read` (list a
4
- * public collection) and `track` (declared interactions).
2
+ * Data API of component contract v1: the payloads a component exchanges with the edge through
3
+ * the SDK hooks (`useTaggorData`, `useTrack`): `submit` (form submissions), `read` (list a
4
+ * public collection) and `track` (declared events).
5
5
  *
6
- * The wire format is snake_case JSON, like every `/v1` API resource (TAG-905). Each envelope is
6
+ * The wire format is snake_case JSON, like every `/v1` API resource. Each envelope is
7
7
  * strict; the `data` of a submission is checked against the collection the manifest declares with
8
- * `collectionDataSchema`, which drops undeclared fields (TAG-703). Body sizes are bounded by
9
- * `DATA_API_LIMITS` and must be enforced on the raw body before parsing (TAG-702). TAG-212 added
10
- * the consent proof of submissions to components that collect personal data.
8
+ * `collectionDataSchema`, which drops undeclared fields. Body sizes are bounded by
9
+ * `DATA_API_LIMITS` and must be enforced on the raw body before parsing.
11
10
  */
12
11
  import * as z from "zod";
13
- import type { CollectionDeclaration, TrackEventDeclaration } from "./manifest.js";
14
- /**
15
- * Proof of the visitor's consent sent with a submission of a component whose manifest declares
16
- * `data.personal` (TAG-212): the consent was given, the SHA-256 (lowercase hex) of the exact text
17
- * the visitor accepted and the language it was shown in. The text hashed is the SDK's: the
18
- * checkbox label as rendered, a line feed and the privacy policy URL (`SPEC.md` §5).
19
- */
20
- export declare const consentProofSchema: z.ZodObject<{
21
- given: z.ZodLiteral<true>;
22
- text_hash: z.ZodString;
23
- locale: z.ZodString;
24
- }, z.core.$strict>;
12
+ import type { CollectionDeclaration } from "./manifest.js";
25
13
  /**
26
14
  * Body of `submit` (`POST /d/<siteKey>/<collection>`).
27
15
  *
28
16
  * `data` holds the field values (validated afterwards by `collectionDataSchema`); `_hp` is the
29
17
  * honeypot field that humans leave empty and `_t` the milliseconds between render and submit
30
- * (TAG-730: they only mark a submission `suspect`, which is kept; nothing is dropped unless the
31
- * site chose `protection.suspects: "drop"`). `consent` (TAG-212) is the visitor's consent,
32
- * which the SDK always sends for a component with `data.personal` (the ingest of E07 refuses a
33
- * submission of such a component without it, `consent_required`).
18
+ * (they only mark a submission `suspect`, which is kept; nothing is dropped unless the
19
+ * site chose `protection.suspects: "drop"`).
34
20
  */
35
21
  export declare const submitRequestSchema: z.ZodObject<{
36
22
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -38,13 +24,8 @@ export declare const submitRequestSchema: z.ZodObject<{
38
24
  turnstile_token: z.ZodOptional<z.ZodString>;
39
25
  _hp: z.ZodOptional<z.ZodString>;
40
26
  _t: z.ZodOptional<z.ZodInt>;
41
- consent: z.ZodOptional<z.ZodObject<{
42
- given: z.ZodLiteral<true>;
43
- text_hash: z.ZodString;
44
- locale: z.ZodString;
45
- }, z.core.$strict>>;
46
27
  }, z.core.$strict>;
47
- /** Answer to an accepted submission (HTTP 202): queued, not yet stored. */
28
+ /** Answer to an accepted submission (HTTP 202): queued, not stored yet. */
48
29
  export declare const submitAcceptedSchema: z.ZodObject<{
49
30
  status: z.ZodLiteral<"accepted">;
50
31
  }, z.core.$strict>;
@@ -63,14 +44,14 @@ export declare const readResponseSchema: z.ZodObject<{
63
44
  next_cursor: z.ZodNullable<z.ZodString>;
64
45
  has_more: z.ZodBoolean;
65
46
  }, z.core.$strict>;
66
- /** Body of `track` (a beacon to the edge): one declared interaction of one component. */
47
+ /** Body of `track` (a beacon to the edge): one declared `track` event of one component. */
67
48
  export declare const trackRequestSchema: z.ZodObject<{
68
49
  component: z.ZodString;
69
50
  name: z.ZodString;
70
- props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>>>;
51
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
71
52
  }, z.core.$strict>;
72
53
  /** Error codes of the data API; the SDK maps each to a friendly, translated message. */
73
- export declare const DATA_ERROR_CODES: readonly ["validation_failed", "collection_not_found", "read_not_allowed", "event_not_declared", "origin_not_allowed", "rate_limited", "captcha_failed", "payload_too_large", "consent_required", "daily_cap_reached"];
54
+ export declare const DATA_ERROR_CODES: readonly ["validation_failed", "collection_not_found", "read_not_allowed", "event_not_declared", "origin_not_allowed", "rate_limited", "captcha_failed", "payload_too_large", "daily_cap_reached"];
74
55
  /** Error body of the data API; `fields` lists per-field problems of `validation_failed`. */
75
56
  export declare const dataErrorSchema: z.ZodObject<{
76
57
  code: z.ZodEnum<{
@@ -82,7 +63,6 @@ export declare const dataErrorSchema: z.ZodObject<{
82
63
  rate_limited: "rate_limited";
83
64
  captcha_failed: "captcha_failed";
84
65
  payload_too_large: "payload_too_large";
85
- consent_required: "consent_required";
86
66
  daily_cap_reached: "daily_cap_reached";
87
67
  }>;
88
68
  message: z.ZodString;
@@ -93,8 +73,6 @@ export declare const dataErrorSchema: z.ZodObject<{
93
73
  }, z.core.$strict>;
94
74
  /** Body of `submit`. */
95
75
  export type SubmitRequest = z.infer<typeof submitRequestSchema>;
96
- /** The visitor's consent sent with a submission (`consent` of `SubmitRequest`). */
97
- export type ConsentProof = z.infer<typeof consentProofSchema>;
98
76
  /** Body of an accepted `submit`. */
99
77
  export type SubmitAccepted = z.infer<typeof submitAcceptedSchema>;
100
78
  /** Query of `read`. */
@@ -111,17 +89,9 @@ export type DataErrorCode = (typeof DATA_ERROR_CODES)[number];
111
89
  * Builds the validator of the `data` of a submission to one declared collection.
112
90
  *
113
91
  * Inputs: the collection declaration from the manifest. Output: a Zod object schema; undeclared
114
- * fields are dropped (TAG-703), required fields must be present, strings are capped at
92
+ * fields are dropped, required fields must be present, strings are capped at
115
93
  * `MANIFEST_LIMITS.stringMaxLength`. Errors: none at build time; parsing returns Zod issues with
116
94
  * the field path. Side effects: none.
117
95
  */
118
96
  export declare function collectionDataSchema(collection: CollectionDeclaration): z.ZodType;
119
- /**
120
- * Builds the validator of the `props` of one declared track event.
121
- *
122
- * Inputs: the track event declaration. Output: a strict Zod object schema (undeclared props are
123
- * refused, so nothing unplanned reaches analytics); every declared prop is optional. Errors: none
124
- * at build time. Side effects: none.
125
- */
126
- export declare function trackPropsSchema(declaration: TrackEventDeclaration): z.ZodType;
127
97
  //# sourceMappingURL=data-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api.d.ts","sourceRoot":"","sources":["../src/data-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAkBlF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;kBAYI,CAAC;AAEpC;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;kBAcI,CAAC;AAErC,2EAA2E;AAC3E,eAAO,MAAM,oBAAoB;;kBAEI,CAAC;AAEtC,kGAAkG;AAClG,eAAO,MAAM,iBAAiB;;;kBAUI,CAAC;AAOnC,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB;;;;;;;;kBAmBI,CAAC;AAEpC,yFAAyF;AACzF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