@taggor/contract 0.2.0 → 0.4.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 +1 -1
- package/dist/artifact-keys.js +1 -1
- package/dist/build-diagnostic.d.ts +1 -1
- package/dist/build-diagnostic.js +1 -1
- package/dist/contract-version.d.ts +10 -9
- package/dist/contract-version.d.ts.map +1 -1
- package/dist/contract-version.js +10 -9
- package/dist/contract-version.js.map +1 -1
- package/dist/diagnostic-catalog.js +2 -2
- package/dist/error-catalog.d.ts +44 -5
- package/dist/error-catalog.d.ts.map +1 -1
- package/dist/error-catalog.js +44 -5
- package/dist/error-catalog.js.map +1 -1
- package/dist/human-actions.d.ts +2 -2
- package/dist/human-actions.d.ts.map +1 -1
- package/dist/human-actions.js +63 -0
- package/dist/human-actions.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/json-schema.d.ts +1 -2
- package/dist/json-schema.d.ts.map +1 -1
- package/dist/json-schema.js +1 -2
- package/dist/json-schema.js.map +1 -1
- package/dist/manifest.d.ts +3 -3
- package/dist/manifest.js +4 -4
- package/dist/manifest.js.map +1 -1
- package/dist/metering.d.ts +2 -3
- package/dist/metering.d.ts.map +1 -1
- package/dist/metering.js +3 -14
- package/dist/metering.js.map +1 -1
- package/dist/migrate.js +1 -1
- package/dist/plan-pricing.js +1 -1
- package/dist/plan-usage.js +1 -1
- package/dist/prop-types.js +1 -1
- package/dist/prop-types.js.map +1 -1
- package/dist/props.d.ts +1 -1
- package/dist/props.js +1 -1
- package/dist/source-archive.js +1 -1
- package/dist/source-package.d.ts +3 -2
- package/dist/source-package.d.ts.map +1 -1
- package/dist/source-package.js +3 -2
- package/dist/source-package.js.map +1 -1
- package/dist/ssr-kv.d.ts +1 -1
- package/dist/ssr-kv.js +1 -1
- package/dist/ssr-render.d.ts +114 -0
- package/dist/ssr-render.d.ts.map +1 -0
- package/dist/ssr-render.js +271 -0
- package/dist/ssr-render.js.map +1 -0
- package/dist/tag-name.d.ts +1 -1
- package/dist/tag-name.js +1 -1
- package/dist/value-check.js +1 -1
- package/dist/value-schema.d.ts +1 -1
- package/dist/value-schema.js +1 -1
- package/dist/zod-free.d.ts +1 -1
- package/dist/zod-free.js +1 -1
- package/package.json +5 -1
- package/schema/DEPLOYED +1 -1
- package/schema/component-manifest.v1.json +2 -2
- package/schema/published/SHA256SUMS +5 -0
- package/schema/published/build-diagnostic/v1.11.json +83 -0
- package/schema/published/component-manifest/v1.11.json +1443 -0
- package/schema/published/data-api/v1.11.json +282 -0
- package/schema/published/library-manifest/v1.11.json +68 -0
- package/schema/published/taggor-config/v1.11.json +56 -0
package/dist/tag-name.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* letters, digits and single hyphens, starting with a letter, at least one hyphen), minus the names
|
|
8
8
|
* the HTML spec reserves and the `taggor-` prefix. Everything here is pure: uniqueness inside a
|
|
9
9
|
* workspace and the workspace prefix are enforced by the API when a component is created (TAG-908);
|
|
10
|
-
* what the runtime does when a tag is already defined on the page is
|
|
10
|
+
* what the runtime does when a tag is already defined on the page is described in docs/agentes/runtime.md.
|
|
11
11
|
*/
|
|
12
12
|
import * as z from "zod";
|
|
13
13
|
/**
|
package/dist/tag-name.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* letters, digits and single hyphens, starting with a letter, at least one hyphen), minus the names
|
|
8
8
|
* the HTML spec reserves and the `taggor-` prefix. Everything here is pure: uniqueness inside a
|
|
9
9
|
* workspace and the workspace prefix are enforced by the API when a component is created (TAG-908);
|
|
10
|
-
* what the runtime does when a tag is already defined on the page is
|
|
10
|
+
* what the runtime does when a tag is already defined on the page is described in docs/agentes/runtime.md.
|
|
11
11
|
*/
|
|
12
12
|
import * as z from "zod";
|
|
13
13
|
import { MANIFEST_LIMITS, WORKSPACE_LIMITS } from "./limits.js";
|
package/dist/value-check.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* applied to a JS value) and `parseBoundedJson` (JSON text with length and nesting limits checked
|
|
4
4
|
* before `JSON.parse`). The string format patterns live in `value-patterns.ts`.
|
|
5
5
|
*
|
|
6
|
-
* The runtime cannot import Zod (its bundle budget
|
|
6
|
+
* The runtime cannot import Zod (its bundle budget), yet it must validate `array` and
|
|
7
7
|
* `object` props that come from attributes, properties or `<script type="application/json">`
|
|
8
8
|
* (TAG-303, TAG-304). `checkValue` is that validator. It interprets the declared data with a
|
|
9
9
|
* `switch`, never generates code, and builds a fresh value with only the declared fields, so
|
package/dist/value-schema.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Declarative value schemas of component contract v1 (TAG-201).
|
|
3
3
|
*
|
|
4
4
|
* A value schema describes a JSON value with plain data (`{ type: "number", min: 0 }`), never with
|
|
5
|
-
* code, regular expressions or expressions (golden rule 5
|
|
5
|
+
* code, regular expressions or expressions (golden rule 5). It types the payload of
|
|
6
6
|
* `array`/`object` props, the `detail` of events, the fields of data collections and the props of
|
|
7
7
|
* track events. Nesting is limited to `MANIFEST_LIMITS.valueSchemaDepth` levels by construction:
|
|
8
8
|
* each level only refers to the level below, so the generated JSON Schema is finite too.
|
package/dist/value-schema.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Declarative value schemas of component contract v1 (TAG-201).
|
|
3
3
|
*
|
|
4
4
|
* A value schema describes a JSON value with plain data (`{ type: "number", min: 0 }`), never with
|
|
5
|
-
* code, regular expressions or expressions (golden rule 5
|
|
5
|
+
* code, regular expressions or expressions (golden rule 5). It types the payload of
|
|
6
6
|
* `array`/`object` props, the `detail` of events, the fields of data collections and the props of
|
|
7
7
|
* track events. Nesting is limited to `MANIFEST_LIMITS.valueSchemaDepth` levels by construction:
|
|
8
8
|
* each level only refers to the level below, so the generated JSON Schema is finite too.
|
package/dist/zod-free.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* `@taggor/contract/zod-free` (TAG-205): the part of the contract the browser runtime may import as
|
|
3
3
|
* values. Nothing reachable from here imports Zod (zod-free.test.ts walks the import graph), so the
|
|
4
4
|
* runtime gets the prop type catalog, the prop ↔ attribute mapping, the reserved names and the
|
|
5
|
-
* limits without the 23 to 33 KB gz of Zod
|
|
5
|
+
* limits without the 23 to 33 KB gz of Zod. Everything else stays `import type`.
|
|
6
6
|
* TAG-207 added the contract version verdict (`checkContractVersion`, the runtime warns with it),
|
|
7
7
|
* `migrateManifest` and the `__proto__` guard. TAG-206 added `checkStyleReferences`, the check of
|
|
8
8
|
* the parts and CSS variables a component's CSS uses against its manifest. TAG-223 exported
|
package/dist/zod-free.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* `@taggor/contract/zod-free` (TAG-205): the part of the contract the browser runtime may import as
|
|
3
3
|
* values. Nothing reachable from here imports Zod (zod-free.test.ts walks the import graph), so the
|
|
4
4
|
* runtime gets the prop type catalog, the prop ↔ attribute mapping, the reserved names and the
|
|
5
|
-
* limits without the 23 to 33 KB gz of Zod
|
|
5
|
+
* limits without the 23 to 33 KB gz of Zod. Everything else stays `import type`.
|
|
6
6
|
* TAG-207 added the contract version verdict (`checkContractVersion`, the runtime warns with it),
|
|
7
7
|
* `migrateManifest` and the `__proto__` guard. TAG-206 added `checkStyleReferences`, the check of
|
|
8
8
|
* the parts and CSS variables a component's CSS uses against its manifest. TAG-223 exported
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taggor/contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Single source (Zod) of the component manifest, props schema, events and data API; generates JSON Schema and types.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"taggor",
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
"types": "./dist/ssr-kv.d.ts",
|
|
34
34
|
"default": "./dist/ssr-kv.js"
|
|
35
35
|
},
|
|
36
|
+
"./ssr-render": {
|
|
37
|
+
"types": "./dist/ssr-render.d.ts",
|
|
38
|
+
"default": "./dist/ssr-render.js"
|
|
39
|
+
},
|
|
36
40
|
"./testing": {
|
|
37
41
|
"types": "./dist/testing.d.ts",
|
|
38
42
|
"default": "./dist/testing.js"
|
package/schema/DEPLOYED
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# The contract versions https://taggor.dev/schema/ serves (
|
|
1
|
+
# The contract versions https://taggor.dev/schema/ serves (TAG-2534). One <major>.<minor>
|
|
2
2
|
# per line. A listed version's lines in published/SHA256SUMS never change or vanish
|
|
3
3
|
# (scripts/snapshot-seal-check.ts); this marker only grows. Not generated: the deploy ticket writes it,
|
|
4
4
|
# and each new minor joins it in the PR of the deploy that serves it.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"properties": {
|
|
6
6
|
"contractVersion": {
|
|
7
7
|
"type": "string",
|
|
8
|
-
"pattern": "^1\\.(?:0|1|2|3|4|5|6|7|8|9|10)\\.(?:0|[1-9]\\d{0,5})$"
|
|
8
|
+
"pattern": "^1\\.(?:0|1|2|3|4|5|6|7|8|9|10|11)\\.(?:0|[1-9]\\d{0,5})$"
|
|
9
9
|
},
|
|
10
10
|
"name": { "$ref": "#/$defs/ComponentName" },
|
|
11
11
|
"tag": { "$ref": "#/$defs/TagName" },
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"type": "number",
|
|
81
81
|
"minimum": 0.001,
|
|
82
82
|
"maximum": 1,
|
|
83
|
-
"description": "Share of interaction and custom events the browser sends, from 0.001 to 1 (default 1: all). Render
|
|
83
|
+
"description": "Share of interaction and custom events the browser sends, from 0.001 to 1 (default 1: all). Render and error events are never sampled. Each stored event is weighted by 1 divided by this rate, so totals stay estimates of the real count."
|
|
84
84
|
},
|
|
85
85
|
"delegatesFocus": {
|
|
86
86
|
"description": "Whether the shadow root delegates focus (TAG-314): focusing the element, clicking one of its labels or a non-focusable part of it focuses the component's first focusable element. Defaults to the value of formAssociated.",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
8bc4b09956e38eb1c1a2a61bb979d4ee24d3a2c98863ebba5ea2246a2bfaa01f build-diagnostic/v1.10.json
|
|
2
|
+
8bc4b09956e38eb1c1a2a61bb979d4ee24d3a2c98863ebba5ea2246a2bfaa01f build-diagnostic/v1.11.json
|
|
2
3
|
1017344c69957decb096dcda6ef79268e86f735673e28f191a334b58581cdc62 build-diagnostic/v1.3.json
|
|
3
4
|
1017344c69957decb096dcda6ef79268e86f735673e28f191a334b58581cdc62 build-diagnostic/v1.4.json
|
|
4
5
|
1017344c69957decb096dcda6ef79268e86f735673e28f191a334b58581cdc62 build-diagnostic/v1.5.json
|
|
@@ -7,6 +8,7 @@
|
|
|
7
8
|
8bc4b09956e38eb1c1a2a61bb979d4ee24d3a2c98863ebba5ea2246a2bfaa01f build-diagnostic/v1.8.json
|
|
8
9
|
8bc4b09956e38eb1c1a2a61bb979d4ee24d3a2c98863ebba5ea2246a2bfaa01f build-diagnostic/v1.9.json
|
|
9
10
|
a9cb5b6eb700b996de9794565bbeb31b13c4cf748d374b3b34b1236b331c0134 component-manifest/v1.10.json
|
|
11
|
+
f4f6e315a0670d332ab2795b59fd16f5f4f2f987157a1b72330690f6abdc282c component-manifest/v1.11.json
|
|
10
12
|
8c372a164e0ff9f54d901686046cf349e11a95a7bf8e3586d616b7116eff3a02 component-manifest/v1.3.json
|
|
11
13
|
1111ec93597932d264b99d5998b37531db9aceb429f67a4b855754d733d9b3c1 component-manifest/v1.4.json
|
|
12
14
|
b9e31ca181bd1660c4ff942d4dd7b9cb4d14aed61ca73985eb184babbc031328 component-manifest/v1.5.json
|
|
@@ -15,6 +17,7 @@ b9e31ca181bd1660c4ff942d4dd7b9cb4d14aed61ca73985eb184babbc031328 component-mani
|
|
|
15
17
|
5c14873c0874b84b7e2f3dd25b4f1f6065d8a39ffefd040220993932d702fd92 component-manifest/v1.8.json
|
|
16
18
|
840784b81019f80e5cd32def044a1f52ab76feee0f5d15a45ca0433d1a4a2e7f component-manifest/v1.9.json
|
|
17
19
|
5938b62b60130b6a9db92dd4723351a16754d7067b1d8013967c52b7a25a91d5 data-api/v1.10.json
|
|
20
|
+
5938b62b60130b6a9db92dd4723351a16754d7067b1d8013967c52b7a25a91d5 data-api/v1.11.json
|
|
18
21
|
43f4214b7ecc529b439f491cf9bcbe389d2c4a057c913c6249597237bd02e41a data-api/v1.3.json
|
|
19
22
|
43f4214b7ecc529b439f491cf9bcbe389d2c4a057c913c6249597237bd02e41a data-api/v1.4.json
|
|
20
23
|
43f4214b7ecc529b439f491cf9bcbe389d2c4a057c913c6249597237bd02e41a data-api/v1.5.json
|
|
@@ -23,12 +26,14 @@ b9e31ca181bd1660c4ff942d4dd7b9cb4d14aed61ca73985eb184babbc031328 component-mani
|
|
|
23
26
|
5938b62b60130b6a9db92dd4723351a16754d7067b1d8013967c52b7a25a91d5 data-api/v1.8.json
|
|
24
27
|
5938b62b60130b6a9db92dd4723351a16754d7067b1d8013967c52b7a25a91d5 data-api/v1.9.json
|
|
25
28
|
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.10.json
|
|
29
|
+
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.11.json
|
|
26
30
|
450415e380284196d462c32fdaad322a1b7a9342b4dfb8c8067548a354ee2b21 library-manifest/v1.5.json
|
|
27
31
|
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.6.json
|
|
28
32
|
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.7.json
|
|
29
33
|
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.8.json
|
|
30
34
|
d191a25aae66557b61402aabec6e39fbda8446d6960a8b6d08531fe5c2ffbab2 library-manifest/v1.9.json
|
|
31
35
|
d6dfadf666e95091af8f98b778afd67c2452faac434bf93bffb8718ca7fbfd2a taggor-config/v1.10.json
|
|
36
|
+
d6dfadf666e95091af8f98b778afd67c2452faac434bf93bffb8718ca7fbfd2a taggor-config/v1.11.json
|
|
32
37
|
2ecb908dcec588907d475903876882ce1860fe84e1597badfbeb08a0de6331b4 taggor-config/v1.5.json
|
|
33
38
|
8f6f48e4c369a97c54eaa844215a54ce7b4b711382fef7b9030ef64396e0d5a1 taggor-config/v1.6.json
|
|
34
39
|
d6dfadf666e95091af8f98b778afd67c2452faac434bf93bffb8718ca7fbfd2a taggor-config/v1.7.json
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://taggor.dev/schema/build-diagnostic/v1.json",
|
|
4
|
+
"$ref": "#/$defs/BuildDiagnostic",
|
|
5
|
+
"$defs": {
|
|
6
|
+
"BuildDiagnostic": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"code": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"maxLength": 40,
|
|
12
|
+
"pattern": "^(?:TS[1-9][0-9]{3,4}|(?!TS[0-9]*$)[A-Z][A-Z0-9_]*)$"
|
|
13
|
+
},
|
|
14
|
+
"severity": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"error",
|
|
18
|
+
"warning"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"message": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"maxLength": 2000,
|
|
25
|
+
"pattern": "^(?:(?!\\udb40\\udc00|\\udb40\\udc01|\\udb40\\udc02|\\udb40\\udc03|\\udb40\\udc04|\\udb40\\udc05|\\udb40\\udc06|\\udb40\\udc07|\\udb40\\udc08|\\udb40\\udc09|\\udb40\\udc0a|\\udb40\\udc0b|\\udb40\\udc0c|\\udb40\\udc0d|\\udb40\\udc0e|\\udb40\\udc0f|\\udb40\\udc10|\\udb40\\udc11|\\udb40\\udc12|\\udb40\\udc13|\\udb40\\udc14|\\udb40\\udc15|\\udb40\\udc16|\\udb40\\udc17|\\udb40\\udc18|\\udb40\\udc19|\\udb40\\udc1a|\\udb40\\udc1b|\\udb40\\udc1c|\\udb40\\udc1d|\\udb40\\udc1e|\\udb40\\udc1f|\\udb40\\udc20|\\udb40\\udc21|\\udb40\\udc22|\\udb40\\udc23|\\udb40\\udc24|\\udb40\\udc25|\\udb40\\udc26|\\udb40\\udc27|\\udb40\\udc28|\\udb40\\udc29|\\udb40\\udc2a|\\udb40\\udc2b|\\udb40\\udc2c|\\udb40\\udc2d|\\udb40\\udc2e|\\udb40\\udc2f|\\udb40\\udc30|\\udb40\\udc31|\\udb40\\udc32|\\udb40\\udc33|\\udb40\\udc34|\\udb40\\udc35|\\udb40\\udc36|\\udb40\\udc37|\\udb40\\udc38|\\udb40\\udc39|\\udb40\\udc3a|\\udb40\\udc3b|\\udb40\\udc3c|\\udb40\\udc3d|\\udb40\\udc3e|\\udb40\\udc3f|\\udb40\\udc40|\\udb40\\udc41|\\udb40\\udc42|\\udb40\\udc43|\\udb40\\udc44|\\udb40\\udc45|\\udb40\\udc46|\\udb40\\udc47|\\udb40\\udc48|\\udb40\\udc49|\\udb40\\udc4a|\\udb40\\udc4b|\\udb40\\udc4c|\\udb40\\udc4d|\\udb40\\udc4e|\\udb40\\udc4f|\\udb40\\udc50|\\udb40\\udc51|\\udb40\\udc52|\\udb40\\udc53|\\udb40\\udc54|\\udb40\\udc55|\\udb40\\udc56|\\udb40\\udc57|\\udb40\\udc58|\\udb40\\udc59|\\udb40\\udc5a|\\udb40\\udc5b|\\udb40\\udc5c|\\udb40\\udc5d|\\udb40\\udc5e|\\udb40\\udc5f|\\udb40\\udc60|\\udb40\\udc61|\\udb40\\udc62|\\udb40\\udc63|\\udb40\\udc64|\\udb40\\udc65|\\udb40\\udc66|\\udb40\\udc67|\\udb40\\udc68|\\udb40\\udc69|\\udb40\\udc6a|\\udb40\\udc6b|\\udb40\\udc6c|\\udb40\\udc6d|\\udb40\\udc6e|\\udb40\\udc6f|\\udb40\\udc70|\\udb40\\udc71|\\udb40\\udc72|\\udb40\\udc73|\\udb40\\udc74|\\udb40\\udc75|\\udb40\\udc76|\\udb40\\udc77|\\udb40\\udc78|\\udb40\\udc79|\\udb40\\udc7a|\\udb40\\udc7b|\\udb40\\udc7c|\\udb40\\udc7d|\\udb40\\udc7e|\\udb40\\udc7f)(?:[^\\u0000-\\u0008\\u000a-\\u001f\\u007f-\\u009f\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u200b\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2060-\\u2064\\u2066-\\u206f\\u3164\\ufeff\\uffa0\\ufff9-\\ufffb\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]))*$"
|
|
26
|
+
},
|
|
27
|
+
"hint": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"maxLength": 1000,
|
|
31
|
+
"pattern": "^(?:(?!\\udb40\\udc00|\\udb40\\udc01|\\udb40\\udc02|\\udb40\\udc03|\\udb40\\udc04|\\udb40\\udc05|\\udb40\\udc06|\\udb40\\udc07|\\udb40\\udc08|\\udb40\\udc09|\\udb40\\udc0a|\\udb40\\udc0b|\\udb40\\udc0c|\\udb40\\udc0d|\\udb40\\udc0e|\\udb40\\udc0f|\\udb40\\udc10|\\udb40\\udc11|\\udb40\\udc12|\\udb40\\udc13|\\udb40\\udc14|\\udb40\\udc15|\\udb40\\udc16|\\udb40\\udc17|\\udb40\\udc18|\\udb40\\udc19|\\udb40\\udc1a|\\udb40\\udc1b|\\udb40\\udc1c|\\udb40\\udc1d|\\udb40\\udc1e|\\udb40\\udc1f|\\udb40\\udc20|\\udb40\\udc21|\\udb40\\udc22|\\udb40\\udc23|\\udb40\\udc24|\\udb40\\udc25|\\udb40\\udc26|\\udb40\\udc27|\\udb40\\udc28|\\udb40\\udc29|\\udb40\\udc2a|\\udb40\\udc2b|\\udb40\\udc2c|\\udb40\\udc2d|\\udb40\\udc2e|\\udb40\\udc2f|\\udb40\\udc30|\\udb40\\udc31|\\udb40\\udc32|\\udb40\\udc33|\\udb40\\udc34|\\udb40\\udc35|\\udb40\\udc36|\\udb40\\udc37|\\udb40\\udc38|\\udb40\\udc39|\\udb40\\udc3a|\\udb40\\udc3b|\\udb40\\udc3c|\\udb40\\udc3d|\\udb40\\udc3e|\\udb40\\udc3f|\\udb40\\udc40|\\udb40\\udc41|\\udb40\\udc42|\\udb40\\udc43|\\udb40\\udc44|\\udb40\\udc45|\\udb40\\udc46|\\udb40\\udc47|\\udb40\\udc48|\\udb40\\udc49|\\udb40\\udc4a|\\udb40\\udc4b|\\udb40\\udc4c|\\udb40\\udc4d|\\udb40\\udc4e|\\udb40\\udc4f|\\udb40\\udc50|\\udb40\\udc51|\\udb40\\udc52|\\udb40\\udc53|\\udb40\\udc54|\\udb40\\udc55|\\udb40\\udc56|\\udb40\\udc57|\\udb40\\udc58|\\udb40\\udc59|\\udb40\\udc5a|\\udb40\\udc5b|\\udb40\\udc5c|\\udb40\\udc5d|\\udb40\\udc5e|\\udb40\\udc5f|\\udb40\\udc60|\\udb40\\udc61|\\udb40\\udc62|\\udb40\\udc63|\\udb40\\udc64|\\udb40\\udc65|\\udb40\\udc66|\\udb40\\udc67|\\udb40\\udc68|\\udb40\\udc69|\\udb40\\udc6a|\\udb40\\udc6b|\\udb40\\udc6c|\\udb40\\udc6d|\\udb40\\udc6e|\\udb40\\udc6f|\\udb40\\udc70|\\udb40\\udc71|\\udb40\\udc72|\\udb40\\udc73|\\udb40\\udc74|\\udb40\\udc75|\\udb40\\udc76|\\udb40\\udc77|\\udb40\\udc78|\\udb40\\udc79|\\udb40\\udc7a|\\udb40\\udc7b|\\udb40\\udc7c|\\udb40\\udc7d|\\udb40\\udc7e|\\udb40\\udc7f)(?:[^\\u0000-\\u0008\\u000a-\\u001f\\u007f-\\u009f\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u200b\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2060-\\u2064\\u2066-\\u206f\\u3164\\ufeff\\uffa0\\ufff9-\\ufffb\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]))*$"
|
|
32
|
+
},
|
|
33
|
+
"docsUrl": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"maxLength": 200,
|
|
36
|
+
"pattern": "^https:\\/\\/docs\\.taggor\\.dev\\/diagnostics\\/[A-Z][A-Z0-9_]*(?:#TS[1-9][0-9]{3,4})?$"
|
|
37
|
+
},
|
|
38
|
+
"file": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1,
|
|
41
|
+
"maxLength": 300,
|
|
42
|
+
"allOf": [
|
|
43
|
+
{
|
|
44
|
+
"pattern": "^(?:(?!\\udb40\\udc00|\\udb40\\udc01|\\udb40\\udc02|\\udb40\\udc03|\\udb40\\udc04|\\udb40\\udc05|\\udb40\\udc06|\\udb40\\udc07|\\udb40\\udc08|\\udb40\\udc09|\\udb40\\udc0a|\\udb40\\udc0b|\\udb40\\udc0c|\\udb40\\udc0d|\\udb40\\udc0e|\\udb40\\udc0f|\\udb40\\udc10|\\udb40\\udc11|\\udb40\\udc12|\\udb40\\udc13|\\udb40\\udc14|\\udb40\\udc15|\\udb40\\udc16|\\udb40\\udc17|\\udb40\\udc18|\\udb40\\udc19|\\udb40\\udc1a|\\udb40\\udc1b|\\udb40\\udc1c|\\udb40\\udc1d|\\udb40\\udc1e|\\udb40\\udc1f|\\udb40\\udc20|\\udb40\\udc21|\\udb40\\udc22|\\udb40\\udc23|\\udb40\\udc24|\\udb40\\udc25|\\udb40\\udc26|\\udb40\\udc27|\\udb40\\udc28|\\udb40\\udc29|\\udb40\\udc2a|\\udb40\\udc2b|\\udb40\\udc2c|\\udb40\\udc2d|\\udb40\\udc2e|\\udb40\\udc2f|\\udb40\\udc30|\\udb40\\udc31|\\udb40\\udc32|\\udb40\\udc33|\\udb40\\udc34|\\udb40\\udc35|\\udb40\\udc36|\\udb40\\udc37|\\udb40\\udc38|\\udb40\\udc39|\\udb40\\udc3a|\\udb40\\udc3b|\\udb40\\udc3c|\\udb40\\udc3d|\\udb40\\udc3e|\\udb40\\udc3f|\\udb40\\udc40|\\udb40\\udc41|\\udb40\\udc42|\\udb40\\udc43|\\udb40\\udc44|\\udb40\\udc45|\\udb40\\udc46|\\udb40\\udc47|\\udb40\\udc48|\\udb40\\udc49|\\udb40\\udc4a|\\udb40\\udc4b|\\udb40\\udc4c|\\udb40\\udc4d|\\udb40\\udc4e|\\udb40\\udc4f|\\udb40\\udc50|\\udb40\\udc51|\\udb40\\udc52|\\udb40\\udc53|\\udb40\\udc54|\\udb40\\udc55|\\udb40\\udc56|\\udb40\\udc57|\\udb40\\udc58|\\udb40\\udc59|\\udb40\\udc5a|\\udb40\\udc5b|\\udb40\\udc5c|\\udb40\\udc5d|\\udb40\\udc5e|\\udb40\\udc5f|\\udb40\\udc60|\\udb40\\udc61|\\udb40\\udc62|\\udb40\\udc63|\\udb40\\udc64|\\udb40\\udc65|\\udb40\\udc66|\\udb40\\udc67|\\udb40\\udc68|\\udb40\\udc69|\\udb40\\udc6a|\\udb40\\udc6b|\\udb40\\udc6c|\\udb40\\udc6d|\\udb40\\udc6e|\\udb40\\udc6f|\\udb40\\udc70|\\udb40\\udc71|\\udb40\\udc72|\\udb40\\udc73|\\udb40\\udc74|\\udb40\\udc75|\\udb40\\udc76|\\udb40\\udc77|\\udb40\\udc78|\\udb40\\udc79|\\udb40\\udc7a|\\udb40\\udc7b|\\udb40\\udc7c|\\udb40\\udc7d|\\udb40\\udc7e|\\udb40\\udc7f)(?:[^\\u0000-\\u0008\\u000a-\\u001f\\u007f-\\u009f\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u200b\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2060-\\u2064\\u2066-\\u206f\\u3164\\ufeff\\uffa0\\ufff9-\\ufffb\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]))*$"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"pattern": "^(?!\\/)(?!.*\\/\\/)(?!(?:.*\\/)?\\.{1,2}(?:\\/|$))(?!.*\\/$)[^\\\\\\u0000-\\u001f\\u007f]+$"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"line": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"minimum": 1,
|
|
54
|
+
"maximum": 10000000
|
|
55
|
+
},
|
|
56
|
+
"column": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"minimum": 1,
|
|
59
|
+
"maximum": 10000000
|
|
60
|
+
},
|
|
61
|
+
"snippet": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"maxLength": 300,
|
|
64
|
+
"pattern": "^(?:(?!\\udb40\\udc00|\\udb40\\udc01|\\udb40\\udc02|\\udb40\\udc03|\\udb40\\udc04|\\udb40\\udc05|\\udb40\\udc06|\\udb40\\udc07|\\udb40\\udc08|\\udb40\\udc09|\\udb40\\udc0a|\\udb40\\udc0b|\\udb40\\udc0c|\\udb40\\udc0d|\\udb40\\udc0e|\\udb40\\udc0f|\\udb40\\udc10|\\udb40\\udc11|\\udb40\\udc12|\\udb40\\udc13|\\udb40\\udc14|\\udb40\\udc15|\\udb40\\udc16|\\udb40\\udc17|\\udb40\\udc18|\\udb40\\udc19|\\udb40\\udc1a|\\udb40\\udc1b|\\udb40\\udc1c|\\udb40\\udc1d|\\udb40\\udc1e|\\udb40\\udc1f|\\udb40\\udc20|\\udb40\\udc21|\\udb40\\udc22|\\udb40\\udc23|\\udb40\\udc24|\\udb40\\udc25|\\udb40\\udc26|\\udb40\\udc27|\\udb40\\udc28|\\udb40\\udc29|\\udb40\\udc2a|\\udb40\\udc2b|\\udb40\\udc2c|\\udb40\\udc2d|\\udb40\\udc2e|\\udb40\\udc2f|\\udb40\\udc30|\\udb40\\udc31|\\udb40\\udc32|\\udb40\\udc33|\\udb40\\udc34|\\udb40\\udc35|\\udb40\\udc36|\\udb40\\udc37|\\udb40\\udc38|\\udb40\\udc39|\\udb40\\udc3a|\\udb40\\udc3b|\\udb40\\udc3c|\\udb40\\udc3d|\\udb40\\udc3e|\\udb40\\udc3f|\\udb40\\udc40|\\udb40\\udc41|\\udb40\\udc42|\\udb40\\udc43|\\udb40\\udc44|\\udb40\\udc45|\\udb40\\udc46|\\udb40\\udc47|\\udb40\\udc48|\\udb40\\udc49|\\udb40\\udc4a|\\udb40\\udc4b|\\udb40\\udc4c|\\udb40\\udc4d|\\udb40\\udc4e|\\udb40\\udc4f|\\udb40\\udc50|\\udb40\\udc51|\\udb40\\udc52|\\udb40\\udc53|\\udb40\\udc54|\\udb40\\udc55|\\udb40\\udc56|\\udb40\\udc57|\\udb40\\udc58|\\udb40\\udc59|\\udb40\\udc5a|\\udb40\\udc5b|\\udb40\\udc5c|\\udb40\\udc5d|\\udb40\\udc5e|\\udb40\\udc5f|\\udb40\\udc60|\\udb40\\udc61|\\udb40\\udc62|\\udb40\\udc63|\\udb40\\udc64|\\udb40\\udc65|\\udb40\\udc66|\\udb40\\udc67|\\udb40\\udc68|\\udb40\\udc69|\\udb40\\udc6a|\\udb40\\udc6b|\\udb40\\udc6c|\\udb40\\udc6d|\\udb40\\udc6e|\\udb40\\udc6f|\\udb40\\udc70|\\udb40\\udc71|\\udb40\\udc72|\\udb40\\udc73|\\udb40\\udc74|\\udb40\\udc75|\\udb40\\udc76|\\udb40\\udc77|\\udb40\\udc78|\\udb40\\udc79|\\udb40\\udc7a|\\udb40\\udc7b|\\udb40\\udc7c|\\udb40\\udc7d|\\udb40\\udc7e|\\udb40\\udc7f)(?:[^\\u0000-\\u0008\\u000a-\\u001f\\u007f-\\u009f\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u200b\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2060-\\u2064\\u2066-\\u206f\\u3164\\ufeff\\uffa0\\ufff9-\\ufffb\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]))*$"
|
|
65
|
+
},
|
|
66
|
+
"manifestPath": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"maxLength": 500,
|
|
69
|
+
"pattern": "^(?:(?!\\udb40\\udc00|\\udb40\\udc01|\\udb40\\udc02|\\udb40\\udc03|\\udb40\\udc04|\\udb40\\udc05|\\udb40\\udc06|\\udb40\\udc07|\\udb40\\udc08|\\udb40\\udc09|\\udb40\\udc0a|\\udb40\\udc0b|\\udb40\\udc0c|\\udb40\\udc0d|\\udb40\\udc0e|\\udb40\\udc0f|\\udb40\\udc10|\\udb40\\udc11|\\udb40\\udc12|\\udb40\\udc13|\\udb40\\udc14|\\udb40\\udc15|\\udb40\\udc16|\\udb40\\udc17|\\udb40\\udc18|\\udb40\\udc19|\\udb40\\udc1a|\\udb40\\udc1b|\\udb40\\udc1c|\\udb40\\udc1d|\\udb40\\udc1e|\\udb40\\udc1f|\\udb40\\udc20|\\udb40\\udc21|\\udb40\\udc22|\\udb40\\udc23|\\udb40\\udc24|\\udb40\\udc25|\\udb40\\udc26|\\udb40\\udc27|\\udb40\\udc28|\\udb40\\udc29|\\udb40\\udc2a|\\udb40\\udc2b|\\udb40\\udc2c|\\udb40\\udc2d|\\udb40\\udc2e|\\udb40\\udc2f|\\udb40\\udc30|\\udb40\\udc31|\\udb40\\udc32|\\udb40\\udc33|\\udb40\\udc34|\\udb40\\udc35|\\udb40\\udc36|\\udb40\\udc37|\\udb40\\udc38|\\udb40\\udc39|\\udb40\\udc3a|\\udb40\\udc3b|\\udb40\\udc3c|\\udb40\\udc3d|\\udb40\\udc3e|\\udb40\\udc3f|\\udb40\\udc40|\\udb40\\udc41|\\udb40\\udc42|\\udb40\\udc43|\\udb40\\udc44|\\udb40\\udc45|\\udb40\\udc46|\\udb40\\udc47|\\udb40\\udc48|\\udb40\\udc49|\\udb40\\udc4a|\\udb40\\udc4b|\\udb40\\udc4c|\\udb40\\udc4d|\\udb40\\udc4e|\\udb40\\udc4f|\\udb40\\udc50|\\udb40\\udc51|\\udb40\\udc52|\\udb40\\udc53|\\udb40\\udc54|\\udb40\\udc55|\\udb40\\udc56|\\udb40\\udc57|\\udb40\\udc58|\\udb40\\udc59|\\udb40\\udc5a|\\udb40\\udc5b|\\udb40\\udc5c|\\udb40\\udc5d|\\udb40\\udc5e|\\udb40\\udc5f|\\udb40\\udc60|\\udb40\\udc61|\\udb40\\udc62|\\udb40\\udc63|\\udb40\\udc64|\\udb40\\udc65|\\udb40\\udc66|\\udb40\\udc67|\\udb40\\udc68|\\udb40\\udc69|\\udb40\\udc6a|\\udb40\\udc6b|\\udb40\\udc6c|\\udb40\\udc6d|\\udb40\\udc6e|\\udb40\\udc6f|\\udb40\\udc70|\\udb40\\udc71|\\udb40\\udc72|\\udb40\\udc73|\\udb40\\udc74|\\udb40\\udc75|\\udb40\\udc76|\\udb40\\udc77|\\udb40\\udc78|\\udb40\\udc79|\\udb40\\udc7a|\\udb40\\udc7b|\\udb40\\udc7c|\\udb40\\udc7d|\\udb40\\udc7e|\\udb40\\udc7f)(?:[^\\u0000-\\u0008\\u000a-\\u001f\\u007f-\\u009f\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u200b\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2060-\\u2064\\u2066-\\u206f\\u3164\\ufeff\\uffa0\\ufff9-\\ufffb\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]))*$"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"code",
|
|
74
|
+
"severity",
|
|
75
|
+
"message",
|
|
76
|
+
"hint",
|
|
77
|
+
"docsUrl"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"description": "One error or warning of a component build. A code you do not know is a generic diagnostic: use its severity, message, hint and docsUrl. Generated from the Zod source in @taggor/contract; do not edit."
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|