@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/artifact-keys.d.ts +11 -11
- package/dist/artifact-keys.d.ts.map +1 -1
- package/dist/artifact-keys.js +11 -11
- package/dist/artifact-keys.js.map +1 -1
- package/dist/assets.d.ts +5 -5
- package/dist/assets.js +5 -5
- package/dist/bounded-path.d.ts +2 -2
- package/dist/bounded-path.js +2 -2
- package/dist/bounded.d.ts +2 -2
- package/dist/bounded.js +2 -2
- package/dist/build-diagnostic.d.ts +5 -5
- package/dist/build-diagnostic.js +5 -5
- package/dist/component-types.d.ts +7 -7
- package/dist/component-types.js +4 -4
- package/dist/component-types.js.map +1 -1
- package/dist/contract-version.d.ts +17 -12
- package/dist/contract-version.d.ts.map +1 -1
- package/dist/contract-version.js +24 -17
- package/dist/contract-version.js.map +1 -1
- package/dist/credential-fields.d.ts +1 -1
- package/dist/credential-fields.js +1 -1
- package/dist/css-tokens.d.ts +1 -1
- package/dist/css-tokens.js +1 -1
- package/dist/css-value.d.ts +4 -4
- package/dist/css-value.js +4 -4
- package/dist/data-api.d.ts +14 -44
- package/dist/data-api.d.ts.map +1 -1
- package/dist/data-api.js +20 -54
- package/dist/data-api.js.map +1 -1
- package/dist/denylist-keys.d.ts +1 -1
- package/dist/denylist-keys.js +4 -4
- package/dist/diagnostic-catalog.d.ts +63 -89
- package/dist/diagnostic-catalog.d.ts.map +1 -1
- package/dist/diagnostic-catalog.js +63 -87
- package/dist/diagnostic-catalog.js.map +1 -1
- package/dist/dom-members.snapshot.d.ts +4 -4
- package/dist/dom-members.snapshot.js +8 -8
- package/dist/early-loading.d.ts +1 -1
- package/dist/early-loading.js +1 -1
- package/dist/error-catalog.d.ts +81 -7
- package/dist/error-catalog.d.ts.map +1 -1
- package/dist/error-catalog.js +121 -51
- package/dist/error-catalog.js.map +1 -1
- package/dist/error-titles-pt-br.d.ts +13 -0
- package/dist/error-titles-pt-br.d.ts.map +1 -0
- package/dist/error-titles-pt-br.js +99 -0
- package/dist/error-titles-pt-br.js.map +1 -0
- package/dist/event-params.d.ts +41 -0
- package/dist/event-params.d.ts.map +1 -0
- package/dist/event-params.js +92 -0
- package/dist/event-params.js.map +1 -0
- package/dist/executable-config.d.ts +1 -1
- package/dist/freeze.d.ts +2 -2
- package/dist/freeze.js +2 -2
- package/dist/gunzip.d.ts +3 -3
- package/dist/gunzip.js +4 -4
- package/dist/gunzip.js.map +1 -1
- package/dist/hostname.d.ts +5 -6
- package/dist/hostname.d.ts.map +1 -1
- package/dist/hostname.js +7 -8
- package/dist/hostname.js.map +1 -1
- package/dist/human-actions.d.ts +3 -3
- package/dist/index.d.ts +11 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/json-schema.d.ts +15 -15
- package/dist/json-schema.d.ts.map +1 -1
- package/dist/json-schema.js +20 -28
- package/dist/json-schema.js.map +1 -1
- package/dist/key-checksum.d.ts +1 -1
- package/dist/key-checksum.js +1 -1
- package/dist/libraries.d.ts +4 -4
- package/dist/libraries.d.ts.map +1 -1
- package/dist/libraries.js +4 -4
- package/dist/libraries.js.map +1 -1
- package/dist/limit-catalog.d.ts +19 -40
- package/dist/limit-catalog.d.ts.map +1 -1
- package/dist/limit-catalog.js +34 -55
- package/dist/limit-catalog.js.map +1 -1
- package/dist/limits.d.ts +22 -34
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +23 -35
- package/dist/limits.js.map +1 -1
- package/dist/locale-tag.d.ts +3 -3
- package/dist/locale-tag.js +3 -3
- package/dist/make-diagnostic.d.ts +2 -3
- package/dist/make-diagnostic.d.ts.map +1 -1
- package/dist/make-diagnostic.js.map +1 -1
- package/dist/manifest-compat-diagnostics.d.ts +1 -1
- package/dist/manifest-compat.js +1 -1
- package/dist/manifest.d.ts +44 -24
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +41 -61
- package/dist/manifest.js.map +1 -1
- package/dist/metering.d.ts +33 -21
- package/dist/metering.d.ts.map +1 -1
- package/dist/metering.js +33 -21
- package/dist/metering.js.map +1 -1
- package/dist/migrate.d.ts +1 -1
- package/dist/migrate.js +5 -5
- package/dist/migrate.js.map +1 -1
- package/dist/money.d.ts +2 -2
- package/dist/money.js +2 -2
- package/dist/names.d.ts +4 -4
- package/dist/names.js +4 -4
- package/dist/overage-pricing.d.ts +1 -1
- package/dist/overage-pricing.js +1 -1
- package/dist/plan-ids.d.ts +1 -1
- package/dist/plan-ids.js +1 -1
- package/dist/plan-limits.d.ts +13 -13
- package/dist/plan-limits.d.ts.map +1 -1
- package/dist/plan-limits.js +8 -8
- package/dist/plan-limits.js.map +1 -1
- package/dist/plan-pricing.d.ts +33 -62
- package/dist/plan-pricing.d.ts.map +1 -1
- package/dist/plan-pricing.js +20 -67
- package/dist/plan-pricing.js.map +1 -1
- package/dist/plan-usage.d.ts +18 -18
- package/dist/plan-usage.d.ts.map +1 -1
- package/dist/plan-usage.js +19 -20
- package/dist/plan-usage.js.map +1 -1
- package/dist/preview-token.js +2 -2
- package/dist/prop-names.d.ts +5 -5
- package/dist/prop-names.d.ts.map +1 -1
- package/dist/prop-names.js +10 -10
- package/dist/prop-names.js.map +1 -1
- package/dist/prop-type-docs.js +1 -1
- package/dist/prop-types.d.ts +6 -6
- package/dist/prop-types.js +16 -16
- package/dist/prop-types.js.map +1 -1
- package/dist/props.d.ts +5 -5
- package/dist/props.js +6 -6
- package/dist/props.js.map +1 -1
- package/dist/proto-guard.js +3 -3
- package/dist/proto-guard.js.map +1 -1
- package/dist/runtime-errors.d.ts +2 -2
- package/dist/runtime-errors.js +2 -2
- package/dist/runtime-pointers.d.ts +2 -2
- package/dist/runtime-pointers.js +2 -2
- package/{schema → dist/schema}/component-manifest.v1.json +7 -14
- package/{schema → dist/schema}/data-api.v1.json +4 -39
- package/dist/secret-scan.d.ts +10 -10
- package/dist/secret-scan.d.ts.map +1 -1
- package/dist/secret-scan.js +15 -16
- package/dist/secret-scan.js.map +1 -1
- package/dist/semver.d.ts +2 -2
- package/dist/semver.js +2 -2
- package/dist/server-key.js +1 -1
- package/dist/site-manifest-keys.d.ts +11 -11
- package/dist/site-manifest-keys.d.ts.map +1 -1
- package/dist/site-manifest-keys.js +18 -18
- package/dist/site-manifest-keys.js.map +1 -1
- package/dist/site-manifest.d.ts +3 -10
- package/dist/site-manifest.d.ts.map +1 -1
- package/dist/site-manifest.js +12 -15
- package/dist/site-manifest.js.map +1 -1
- package/dist/source-archive.d.ts +13 -13
- package/dist/source-archive.js +25 -25
- package/dist/source-archive.js.map +1 -1
- package/dist/source-package-corpus.d.ts +3 -4
- package/dist/source-package-corpus.d.ts.map +1 -1
- package/dist/source-package-corpus.js +4 -6
- package/dist/source-package-corpus.js.map +1 -1
- package/dist/source-package.d.ts +17 -17
- package/dist/source-package.d.ts.map +1 -1
- package/dist/source-package.js +15 -15
- package/dist/source-package.js.map +1 -1
- package/dist/source-secrets.js +1 -1
- package/dist/ssr-cap.d.ts +2 -2
- package/dist/ssr-cap.d.ts.map +1 -1
- package/dist/ssr-cap.js +4 -4
- package/dist/ssr-kv.d.ts +1 -1
- package/dist/ssr-kv.js +1 -1
- package/dist/ssr-render.d.ts +2 -2
- package/dist/ssr-render.d.ts.map +1 -1
- package/dist/ssr-render.js +3 -3
- package/dist/ssr-render.js.map +1 -1
- package/dist/ssr-version-ledger.js +3 -3
- package/dist/style-references.d.ts +2 -3
- package/dist/style-references.d.ts.map +1 -1
- package/dist/style-references.js +10 -11
- package/dist/style-references.js.map +1 -1
- package/dist/support-contact.d.ts +11 -0
- package/dist/support-contact.d.ts.map +1 -0
- package/dist/support-contact.js +11 -0
- package/dist/support-contact.js.map +1 -0
- package/dist/tag-name.d.ts +6 -6
- package/dist/tag-name.d.ts.map +1 -1
- package/dist/tag-name.js +7 -7
- package/dist/tag-name.js.map +1 -1
- package/dist/tar-writer.js +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/text-codec.d.ts +2 -2
- package/dist/text-codec.js +2 -2
- package/dist/url-value.d.ts +1 -1
- package/dist/url-value.d.ts.map +1 -1
- package/dist/url-value.js +7 -7
- package/dist/url-value.js.map +1 -1
- package/dist/usage-guard.d.ts +16 -16
- package/dist/usage-guard.js +15 -15
- package/dist/usage-mirror.d.ts +5 -5
- package/dist/value-check.d.ts +6 -6
- package/dist/value-check.js +20 -20
- package/dist/value-check.js.map +1 -1
- package/dist/value-patterns.js +2 -2
- package/dist/value-schema.d.ts +3 -3
- package/dist/value-schema.d.ts.map +1 -1
- package/dist/value-schema.js +4 -4
- package/dist/value-schema.js.map +1 -1
- package/dist/zod-free.d.ts +25 -25
- package/dist/zod-free.d.ts.map +1 -1
- package/dist/zod-free.js +26 -26
- package/dist/zod-free.js.map +1 -1
- package/package.json +9 -10
- package/dist/consent-text.d.ts +0 -31
- package/dist/consent-text.d.ts.map +0 -1
- package/dist/consent-text.js +0 -41
- package/dist/consent-text.js.map +0 -1
- package/schema/DEPLOYED +0 -12
- package/schema/published/SHA256SUMS +0 -41
- package/schema/published/build-diagnostic/v1.10.json +0 -83
- package/schema/published/build-diagnostic/v1.11.json +0 -83
- package/schema/published/build-diagnostic/v1.3.json +0 -83
- package/schema/published/build-diagnostic/v1.4.json +0 -83
- package/schema/published/build-diagnostic/v1.5.json +0 -83
- package/schema/published/build-diagnostic/v1.6.json +0 -83
- package/schema/published/build-diagnostic/v1.7.json +0 -83
- package/schema/published/build-diagnostic/v1.8.json +0 -83
- package/schema/published/build-diagnostic/v1.9.json +0 -83
- package/schema/published/component-manifest/v1.10.json +0 -1443
- package/schema/published/component-manifest/v1.11.json +0 -1443
- package/schema/published/component-manifest/v1.3.json +0 -1411
- package/schema/published/component-manifest/v1.4.json +0 -1419
- package/schema/published/component-manifest/v1.5.json +0 -1437
- package/schema/published/component-manifest/v1.6.json +0 -1437
- package/schema/published/component-manifest/v1.7.json +0 -1437
- package/schema/published/component-manifest/v1.8.json +0 -1437
- package/schema/published/component-manifest/v1.9.json +0 -1437
- package/schema/published/data-api/v1.10.json +0 -282
- package/schema/published/data-api/v1.11.json +0 -282
- package/schema/published/data-api/v1.3.json +0 -281
- package/schema/published/data-api/v1.4.json +0 -281
- package/schema/published/data-api/v1.5.json +0 -281
- package/schema/published/data-api/v1.6.json +0 -281
- package/schema/published/data-api/v1.7.json +0 -281
- package/schema/published/data-api/v1.8.json +0 -282
- package/schema/published/data-api/v1.9.json +0 -282
- package/schema/published/library-manifest/v1.10.json +0 -68
- package/schema/published/library-manifest/v1.11.json +0 -68
- package/schema/published/library-manifest/v1.5.json +0 -68
- package/schema/published/library-manifest/v1.6.json +0 -68
- package/schema/published/library-manifest/v1.7.json +0 -68
- package/schema/published/library-manifest/v1.8.json +0 -68
- package/schema/published/library-manifest/v1.9.json +0 -68
- package/schema/published/taggor-config/v1.10.json +0 -56
- package/schema/published/taggor-config/v1.11.json +0 -56
- package/schema/published/taggor-config/v1.5.json +0 -56
- package/schema/published/taggor-config/v1.6.json +0 -56
- package/schema/published/taggor-config/v1.7.json +0 -56
- package/schema/published/taggor-config/v1.8.json +0 -56
- package/schema/published/taggor-config/v1.9.json +0 -56
- /package/{schema → dist/schema}/build-diagnostic.v1.json +0 -0
- /package/{schema → dist/schema}/library-manifest.v1.json +0 -0
- /package/{schema → dist/schema}/taggor-config.v1.json +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `BuildDiagnostic
|
|
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}
|
|
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
|
|
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
|
|
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
|
|
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
|
package/dist/build-diagnostic.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `BuildDiagnostic
|
|
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}
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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).
|
|
6
|
+
* listeners). a form field (`formAssociated: true`) also gets the element's form field
|
|
7
7
|
* API (`value`, `form`, `validity`, `validationMessage`, `checkValidity()`, `reportValidity()`).
|
|
8
|
-
*
|
|
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
|
|
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
|
|
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`
|
|
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
|
|
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
|
*
|
package/dist/component-types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The form field API on a form field component's element
|
|
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`
|
|
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
|
|
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
|
-
//
|
|
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;IACF,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,0DAA0D,EAAE;IAC1F,IAAI,EAAE;QACJ,IAAI,EAAE,oCAAoC;QAC1C,GAAG,EAAE,mFAAmF;KACzF;IACD,iB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
|
|
2
|
-
* Versions of the component contract and what each consumer does with them
|
|
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 declare const CONTRACT_MAJOR = 1;
|
|
15
15
|
/**
|
|
16
|
-
* Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* component `libraries` and the workspace library manifest. 1.6
|
|
20
|
-
* the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
|
|
21
|
-
*
|
|
22
|
-
* U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8
|
|
23
|
-
* data API's `daily_cap_reached` error code. 1.9
|
|
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
|
|
26
|
-
* 1.11
|
|
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 =
|
|
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
|
|
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;;;;;;;;;;;;;;;;;GAiBG;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,QA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,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,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"}
|
package/dist/contract-version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Versions of the component contract and what each consumer does with them
|
|
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
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* component `libraries` and the workspace library manifest. 1.6
|
|
20
|
-
* the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
|
|
21
|
-
*
|
|
22
|
-
* U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8
|
|
23
|
-
* data API's `daily_cap_reached` error code. 1.9
|
|
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
|
|
26
|
-
* 1.11
|
|
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 =
|
|
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
|
-
/**
|
|
46
|
-
|
|
47
|
-
|
|
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
|
|
1
|
+
{"version":3,"file":"contract-version.js","sourceRoot":"","sources":["../src/contract-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,iGAAiG;AACjG,MAAM,CA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AC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Names of fields that hold credentials (
|
|
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 (
|
|
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
|
*/
|
package/dist/css-tokens.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A small CSS tokenizer (
|
|
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
|
package/dist/css-tokens.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A small CSS tokenizer (
|
|
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
|
package/dist/css-value.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CSS values a manifest may declare
|
|
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)` (
|
|
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
|
|
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
|
|
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
|
|
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)` (
|
|
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
|
|
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
|
|
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:
|
package/dist/data-api.d.ts
CHANGED
|
@@ -1,36 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Data API of component contract v1
|
|
3
|
-
* the SDK hooks (`useTaggorData`, `useTrack
|
|
4
|
-
* public collection) and `track` (declared
|
|
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
|
|
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
|
|
9
|
-
* `DATA_API_LIMITS` and must be enforced on the raw body before parsing
|
|
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
|
|
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
|
-
* (
|
|
31
|
-
* site chose `protection.suspects: "drop"`).
|
|
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
|
|
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
|
|
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.
|
|
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", "
|
|
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
|
|
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
|
package/dist/data-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-api.d.ts","sourceRoot":"","sources":["../src/data-api.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"data-api.d.ts","sourceRoot":"","sources":["../src/data-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAkB3D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;;;;kBAaI,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,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB;;;;kBAaI,CAAC;AAEpC,wFAAwF;AACxF,eAAO,MAAM,gBAAgB,oMAYlB,CAAC;AAEZ,4FAA4F;AAC5F,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;kBAcQ,CAAC;AAErC,wBAAwB;AACxB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,m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