@fieldia/core 0.28.0 → 0.30.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/README.md +125 -1
- package/package.json +1 -1
- package/schema/page.schema.json +279 -6
- package/src/index.d.mts +8 -2
- package/src/index.d.ts +8 -2
- package/src/index.js +29 -2
- package/src/index.js.map +1 -1
- package/src/index.mjs +11 -2
- package/src/index.mjs.map +1 -1
- package/src/lib/format/approval-checks.d.mts +8 -0
- package/src/lib/format/approval-checks.d.ts +8 -0
- package/src/lib/format/approval-checks.js +29 -0
- package/src/lib/format/approval-checks.js.map +1 -0
- package/src/lib/format/approval-checks.mjs +26 -0
- package/src/lib/format/approval-checks.mjs.map +1 -0
- package/src/lib/format/approval.d.mts +20 -0
- package/src/lib/format/approval.d.ts +20 -0
- package/src/lib/format/approval.js +25 -0
- package/src/lib/format/approval.js.map +1 -0
- package/src/lib/format/approval.mjs +22 -0
- package/src/lib/format/approval.mjs.map +1 -0
- package/src/lib/format/assist-checks.d.mts +14 -0
- package/src/lib/format/assist-checks.d.ts +14 -0
- package/src/lib/format/assist-checks.js +68 -0
- package/src/lib/format/assist-checks.js.map +1 -0
- package/src/lib/format/assist-checks.mjs +64 -0
- package/src/lib/format/assist-checks.mjs.map +1 -0
- package/src/lib/format/assist.d.mts +41 -0
- package/src/lib/format/assist.d.ts +41 -0
- package/src/lib/format/assist.js +29 -0
- package/src/lib/format/assist.js.map +1 -0
- package/src/lib/format/assist.mjs +26 -0
- package/src/lib/format/assist.mjs.map +1 -0
- package/src/lib/format/editable-checks.d.mts +8 -0
- package/src/lib/format/editable-checks.d.ts +8 -0
- package/src/lib/format/editable-checks.js +38 -0
- package/src/lib/format/editable-checks.js.map +1 -0
- package/src/lib/format/editable-checks.mjs +35 -0
- package/src/lib/format/editable-checks.mjs.map +1 -0
- package/src/lib/format/field.d.mts +86 -0
- package/src/lib/format/field.d.ts +86 -0
- package/src/lib/format/field.js +56 -10
- package/src/lib/format/field.js.map +1 -1
- package/src/lib/format/field.mjs +55 -9
- package/src/lib/format/field.mjs.map +1 -1
- package/src/lib/format/head-checks.d.mts +10 -2
- package/src/lib/format/head-checks.d.ts +10 -2
- package/src/lib/format/head-checks.js +9 -2
- package/src/lib/format/head-checks.js.map +1 -1
- package/src/lib/format/head-checks.mjs +10 -4
- package/src/lib/format/head-checks.mjs.map +1 -1
- package/src/lib/format/languages-checks.d.mts +8 -0
- package/src/lib/format/languages-checks.d.ts +8 -0
- package/src/lib/format/languages-checks.js +40 -0
- package/src/lib/format/languages-checks.js.map +1 -0
- package/src/lib/format/languages-checks.mjs +37 -0
- package/src/lib/format/languages-checks.mjs.map +1 -0
- package/src/lib/format/later-checks.d.mts +4 -3
- package/src/lib/format/later-checks.d.ts +4 -3
- package/src/lib/format/later-checks.js +4 -3
- package/src/lib/format/later-checks.js.map +1 -1
- package/src/lib/format/later-checks.mjs +4 -3
- package/src/lib/format/later-checks.mjs.map +1 -1
- package/src/lib/format/layout.d.mts +129 -26
- package/src/lib/format/layout.d.ts +129 -26
- package/src/lib/format/layout.js +24 -3
- package/src/lib/format/layout.js.map +1 -1
- package/src/lib/format/layout.mjs +22 -1
- package/src/lib/format/layout.mjs.map +1 -1
- package/src/lib/format/layout.types.d.mts +2 -1
- package/src/lib/format/layout.types.d.ts +2 -1
- package/src/lib/format/list-editable.d.mts +20 -0
- package/src/lib/format/list-editable.d.ts +20 -0
- package/src/lib/format/list-editable.js +33 -0
- package/src/lib/format/list-editable.js.map +1 -0
- package/src/lib/format/list-editable.mjs +28 -0
- package/src/lib/format/list-editable.mjs.map +1 -0
- package/src/lib/format/page.d.mts +88 -9
- package/src/lib/format/page.d.ts +88 -9
- package/src/lib/format/page.js +4 -0
- package/src/lib/format/page.js.map +1 -1
- package/src/lib/format/page.mjs +4 -0
- package/src/lib/format/page.mjs.map +1 -1
- package/src/lib/format/photos-options.d.mts +29 -0
- package/src/lib/format/photos-options.d.ts +29 -0
- package/src/lib/format/photos-options.js +49 -0
- package/src/lib/format/photos-options.js.map +1 -0
- package/src/lib/format/photos-options.mjs +45 -0
- package/src/lib/format/photos-options.mjs.map +1 -0
- package/src/lib/format/references.d.mts +3 -1
- package/src/lib/format/references.d.ts +3 -1
- package/src/lib/format/references.js +41 -14
- package/src/lib/format/references.js.map +1 -1
- package/src/lib/format/references.mjs +42 -15
- package/src/lib/format/references.mjs.map +1 -1
- package/src/lib/format/scan-checks.d.mts +12 -0
- package/src/lib/format/scan-checks.d.ts +12 -0
- package/src/lib/format/scan-checks.js +89 -0
- package/src/lib/format/scan-checks.js.map +1 -0
- package/src/lib/format/scan-checks.mjs +86 -0
- package/src/lib/format/scan-checks.mjs.map +1 -0
- package/src/lib/format/scan-options.d.mts +84 -0
- package/src/lib/format/scan-options.d.ts +84 -0
- package/src/lib/format/scan-options.js +58 -0
- package/src/lib/format/scan-options.js.map +1 -0
- package/src/lib/format/scan-options.mjs +54 -0
- package/src/lib/format/scan-options.mjs.map +1 -0
- package/src/lib/format/sheet-head-checks.d.mts +10 -2
- package/src/lib/format/sheet-head-checks.d.ts +10 -2
- package/src/lib/format/sheet-head-checks.js +24 -0
- package/src/lib/format/sheet-head-checks.js.map +1 -1
- package/src/lib/format/sheet-head-checks.mjs +23 -0
- package/src/lib/format/sheet-head-checks.mjs.map +1 -1
- package/src/lib/format/upgrade.d.mts +6 -2
- package/src/lib/format/upgrade.d.ts +6 -2
- package/src/lib/format/upgrade.js +6 -2
- package/src/lib/format/upgrade.js.map +1 -1
- package/src/lib/format/upgrade.mjs +6 -2
- package/src/lib/format/upgrade.mjs.map +1 -1
- package/src/lib/format/version.d.mts +2 -2
- package/src/lib/format/version.d.ts +2 -2
- package/src/lib/format/version.js +2 -2
- package/src/lib/format/version.js.map +1 -1
- package/src/lib/format/version.mjs +2 -2
- package/src/lib/format/version.mjs.map +1 -1
- package/src/lib/record/approvals-part.d.mts +6 -0
- package/src/lib/record/approvals-part.d.ts +6 -0
- package/src/lib/record/approvals-part.js +14 -0
- package/src/lib/record/approvals-part.js.map +1 -0
- package/src/lib/record/approvals-part.mjs +7 -0
- package/src/lib/record/approvals-part.mjs.map +1 -0
- package/src/lib/record/approving.d.mts +45 -0
- package/src/lib/record/approving.d.ts +45 -0
- package/src/lib/record/approving.js +10 -0
- package/src/lib/record/approving.js.map +1 -0
- package/src/lib/record/approving.mjs +7 -0
- package/src/lib/record/approving.mjs.map +1 -0
- package/src/lib/record/check.js +4 -0
- package/src/lib/record/check.js.map +1 -1
- package/src/lib/record/check.mjs +4 -0
- package/src/lib/record/check.mjs.map +1 -1
- package/src/lib/record/data-source.d.mts +270 -0
- package/src/lib/record/data-source.d.ts +270 -0
- package/src/lib/record/data-source.js.map +1 -1
- package/src/lib/record/data-source.mjs.map +1 -1
- package/src/lib/record/files-part.d.mts +7 -0
- package/src/lib/record/files-part.d.ts +7 -0
- package/src/lib/record/files-part.js +167 -0
- package/src/lib/record/files-part.js.map +1 -0
- package/src/lib/record/files-part.mjs +163 -0
- package/src/lib/record/files-part.mjs.map +1 -0
- package/src/lib/record/filter.d.mts +5 -0
- package/src/lib/record/filter.d.ts +5 -0
- package/src/lib/record/filter.js +1 -0
- package/src/lib/record/filter.js.map +1 -1
- package/src/lib/record/filter.mjs +1 -1
- package/src/lib/record/filter.mjs.map +1 -1
- package/src/lib/record/form-approvals.d.mts +47 -0
- package/src/lib/record/form-approvals.d.ts +47 -0
- package/src/lib/record/form-approvals.js +186 -0
- package/src/lib/record/form-approvals.js.map +1 -0
- package/src/lib/record/form-approvals.mjs +180 -0
- package/src/lib/record/form-approvals.mjs.map +1 -0
- package/src/lib/record/form.d.mts +32 -1
- package/src/lib/record/form.d.ts +32 -1
- package/src/lib/record/form.js +60 -15
- package/src/lib/record/form.js.map +1 -1
- package/src/lib/record/form.mjs +60 -15
- package/src/lib/record/form.mjs.map +1 -1
- package/src/lib/record/languages-part.d.mts +32 -0
- package/src/lib/record/languages-part.d.ts +32 -0
- package/src/lib/record/languages-part.js +104 -0
- package/src/lib/record/languages-part.js.map +1 -0
- package/src/lib/record/languages-part.mjs +96 -0
- package/src/lib/record/languages-part.mjs.map +1 -0
- package/src/lib/record/languages.d.mts +26 -0
- package/src/lib/record/languages.d.ts +26 -0
- package/src/lib/record/languages.js +20 -0
- package/src/lib/record/languages.js.map +1 -0
- package/src/lib/record/languages.mjs +15 -0
- package/src/lib/record/languages.mjs.map +1 -0
- package/src/lib/record/locales/ar.js +5 -0
- package/src/lib/record/locales/ar.js.map +1 -1
- package/src/lib/record/locales/ar.mjs +5 -0
- package/src/lib/record/locales/ar.mjs.map +1 -1
- package/src/lib/record/locales/de.js +5 -0
- package/src/lib/record/locales/de.js.map +1 -1
- package/src/lib/record/locales/de.mjs +5 -0
- package/src/lib/record/locales/de.mjs.map +1 -1
- package/src/lib/record/locales/fr.js +5 -0
- package/src/lib/record/locales/fr.js.map +1 -1
- package/src/lib/record/locales/fr.mjs +5 -0
- package/src/lib/record/locales/fr.mjs.map +1 -1
- package/src/lib/record/memory-approvals.d.mts +47 -0
- package/src/lib/record/memory-approvals.d.ts +47 -0
- package/src/lib/record/memory-approvals.js +78 -0
- package/src/lib/record/memory-approvals.js.map +1 -0
- package/src/lib/record/memory-approvals.mjs +75 -0
- package/src/lib/record/memory-approvals.mjs.map +1 -0
- package/src/lib/record/memory-assist.d.mts +53 -0
- package/src/lib/record/memory-assist.d.ts +53 -0
- package/src/lib/record/memory-assist.js +519 -0
- package/src/lib/record/memory-assist.js.map +1 -0
- package/src/lib/record/memory-assist.mjs +513 -0
- package/src/lib/record/memory-assist.mjs.map +1 -0
- package/src/lib/record/memory-clusters.d.mts +18 -0
- package/src/lib/record/memory-clusters.d.ts +18 -0
- package/src/lib/record/memory-clusters.js +83 -0
- package/src/lib/record/memory-clusters.js.map +1 -0
- package/src/lib/record/memory-clusters.mjs +80 -0
- package/src/lib/record/memory-clusters.mjs.map +1 -0
- package/src/lib/record/memory-data-source.d.mts +43 -3
- package/src/lib/record/memory-data-source.d.ts +43 -3
- package/src/lib/record/memory-data-source.js +105 -19
- package/src/lib/record/memory-data-source.js.map +1 -1
- package/src/lib/record/memory-data-source.mjs +105 -19
- package/src/lib/record/memory-data-source.mjs.map +1 -1
- package/src/lib/record/memory-later.d.mts +1 -1
- package/src/lib/record/memory-later.d.ts +1 -1
- package/src/lib/record/memory-later.js +4 -1
- package/src/lib/record/memory-later.js.map +1 -1
- package/src/lib/record/memory-later.mjs +4 -1
- package/src/lib/record/memory-later.mjs.map +1 -1
- package/src/lib/record/messages.d.mts +14 -0
- package/src/lib/record/messages.d.ts +14 -0
- package/src/lib/record/messages.js +5 -0
- package/src/lib/record/messages.js.map +1 -1
- package/src/lib/record/messages.mjs +5 -0
- package/src/lib/record/messages.mjs.map +1 -1
- package/src/lib/record/run.d.mts +6 -1
- package/src/lib/record/run.d.ts +6 -1
- package/src/lib/record/run.js.map +1 -1
- package/src/lib/record/run.mjs.map +1 -1
- package/src/lib/record/uploads.d.mts +35 -9
- package/src/lib/record/uploads.d.ts +35 -9
- package/src/lib/record/uploads.js +49 -169
- package/src/lib/record/uploads.js.map +1 -1
- package/src/lib/record/uploads.mjs +42 -164
- package/src/lib/record/uploads.mjs.map +1 -1
- package/src/lib/record/values.d.mts +23 -0
- package/src/lib/record/values.d.ts +23 -0
- package/src/lib/record/values.js +4 -0
- package/src/lib/record/values.js.map +1 -1
- package/src/lib/record/values.mjs +4 -0
- package/src/lib/record/values.mjs.map +1 -1
- package/src/runtime.d.mts +12 -5
- package/src/runtime.d.ts +12 -5
- package/src/runtime.js +18 -3
- package/src/runtime.js.map +1 -1
- package/src/runtime.mjs +7 -1
- package/src/runtime.mjs.map +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* AI help on a page, through the app's own model (Fieldia ships no model and no keys): every value proposed is shown
|
|
4
|
+
* on its field — the old value and the new — to accept or reject, nothing kept until the person accepts it, Undo
|
|
5
|
+
* after; a proposal for a record no longer shown is let go, and what the person types wins over a late one.
|
|
6
|
+
*
|
|
7
|
+
* `suggest` on a page: a "Fill from text" button over its fields. The person pastes words — an e-mail signature, a
|
|
8
|
+
* message, a document's text — or picks files, and the data source's `suggest` answers with values for the fields
|
|
9
|
+
* named here (those shown that a person can set, when left out), a table of lines' as the lines to add.
|
|
10
|
+
*
|
|
11
|
+
* `fromField` reads the words a record holds — a buyer's message, a visit's notes — at a press, with no box to paste in.
|
|
12
|
+
*
|
|
13
|
+
* "suggest": {}
|
|
14
|
+
* "suggest": { "fields": ["name", "email", "phone", "contacts"], "label": "Fill from an e-mail", "from": ["text"] }
|
|
15
|
+
* "suggest": { "fromField": "message", "label": "Fill from the message", "fields": ["kind", "district", "budget"] }
|
|
16
|
+
*/
|
|
17
|
+
export declare const PageSuggestSchema: z.ZodObject<{
|
|
18
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
from: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20
|
+
text: "text";
|
|
21
|
+
files: "files";
|
|
22
|
+
}>>>;
|
|
23
|
+
label: z.ZodOptional<z.ZodString>;
|
|
24
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
25
|
+
fromField: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.z.core.$strict>;
|
|
27
|
+
export type PageSuggest = z.infer<typeof PageSuggestSchema>;
|
|
28
|
+
/**
|
|
29
|
+
* A text field's tools (`options.rewrite` on a char, text or html field), each asking the data source's `rewrite`:
|
|
30
|
+
* `draft` writes the field from the record — a reply to an enquiry from what it asks — and `polish` makes the words
|
|
31
|
+
* the person wrote clearer (offered once there are some). An app's own tool is `{ "how": "shorter", "label": "Make it
|
|
32
|
+
* shorter" }`, its `how` what the source is asked. `true` gives Draft and Polish. Each answer is shown under the field
|
|
33
|
+
* to accept or reject.
|
|
34
|
+
*
|
|
35
|
+
* "options": { "rewrite": ["draft", "polish"] }
|
|
36
|
+
* "options": { "rewrite": ["polish", { "how": "formal", "label": "More formal" }] }
|
|
37
|
+
*/
|
|
38
|
+
export type RewriteTool = 'draft' | 'polish' | {
|
|
39
|
+
how: string;
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageSuggestSchema = void 0;
|
|
4
|
+
const z = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* AI help on a page, through the app's own model (Fieldia ships no model and no keys): every value proposed is shown
|
|
7
|
+
* on its field — the old value and the new — to accept or reject, nothing kept until the person accepts it, Undo
|
|
8
|
+
* after; a proposal for a record no longer shown is let go, and what the person types wins over a late one.
|
|
9
|
+
*
|
|
10
|
+
* `suggest` on a page: a "Fill from text" button over its fields. The person pastes words — an e-mail signature, a
|
|
11
|
+
* message, a document's text — or picks files, and the data source's `suggest` answers with values for the fields
|
|
12
|
+
* named here (those shown that a person can set, when left out), a table of lines' as the lines to add.
|
|
13
|
+
*
|
|
14
|
+
* `fromField` reads the words a record holds — a buyer's message, a visit's notes — at a press, with no box to paste in.
|
|
15
|
+
*
|
|
16
|
+
* "suggest": {}
|
|
17
|
+
* "suggest": { "fields": ["name", "email", "phone", "contacts"], "label": "Fill from an e-mail", "from": ["text"] }
|
|
18
|
+
* "suggest": { "fromField": "message", "label": "Fill from the message", "fields": ["kind", "district", "budget"] }
|
|
19
|
+
*/
|
|
20
|
+
exports.PageSuggestSchema = z
|
|
21
|
+
.strictObject({
|
|
22
|
+
fields: z.array(z.string().min(1)).min(1).optional(),
|
|
23
|
+
from: z.array(z.enum(['text', 'files'], { error: 'from is "text" (words pasted), "files", or both' })).min(1).optional(),
|
|
24
|
+
label: z.string().min(1).max(60).optional(),
|
|
25
|
+
placeholder: z.string().min(1).max(200).optional(),
|
|
26
|
+
fromField: z.string().min(1).optional(),
|
|
27
|
+
})
|
|
28
|
+
.meta({ id: 'PageSuggest' });
|
|
29
|
+
//# sourceMappingURL=assist.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assist.js","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/format/assist.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AAEzB;;;;;;;;;;;;;;GAcG;AACU,QAAA,iBAAiB,GAAG,CAAC;KAC/B,YAAY,CAAC;IACZ,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,iDAAiD,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* AI help on a page, through the app's own model (Fieldia ships no model and no keys): every value proposed is shown
|
|
4
|
+
* on its field — the old value and the new — to accept or reject, nothing kept until the person accepts it, Undo
|
|
5
|
+
* after; a proposal for a record no longer shown is let go, and what the person types wins over a late one.
|
|
6
|
+
*
|
|
7
|
+
* `suggest` on a page: a "Fill from text" button over its fields. The person pastes words — an e-mail signature, a
|
|
8
|
+
* message, a document's text — or picks files, and the data source's `suggest` answers with values for the fields
|
|
9
|
+
* named here (those shown that a person can set, when left out), a table of lines' as the lines to add.
|
|
10
|
+
*
|
|
11
|
+
* `fromField` reads the words a record holds — a buyer's message, a visit's notes — at a press, with no box to paste in.
|
|
12
|
+
*
|
|
13
|
+
* "suggest": {}
|
|
14
|
+
* "suggest": { "fields": ["name", "email", "phone", "contacts"], "label": "Fill from an e-mail", "from": ["text"] }
|
|
15
|
+
* "suggest": { "fromField": "message", "label": "Fill from the message", "fields": ["kind", "district", "budget"] }
|
|
16
|
+
*/
|
|
17
|
+
export const PageSuggestSchema = z
|
|
18
|
+
.strictObject({
|
|
19
|
+
fields: z.array(z.string().min(1)).min(1).optional(),
|
|
20
|
+
from: z.array(z.enum(['text', 'files'], { error: 'from is "text" (words pasted), "files", or both' })).min(1).optional(),
|
|
21
|
+
label: z.string().min(1).max(60).optional(),
|
|
22
|
+
placeholder: z.string().min(1).max(200).optional(),
|
|
23
|
+
fromField: z.string().min(1).optional(),
|
|
24
|
+
})
|
|
25
|
+
.meta({ id: 'PageSuggest' });
|
|
26
|
+
//# sourceMappingURL=assist.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assist.mjs","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/format/assist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,YAAY,CAAC;IACZ,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,iDAAiD,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ListNode } from './layout.mjs';
|
|
2
|
+
import type { FieldTools } from './part-checks.mjs';
|
|
3
|
+
/**
|
|
4
|
+
* A list's cells changed in place (`editable`): each column it names one of its own, of a kind a cell changes, people's
|
|
5
|
+
* to change; with true, one such column at least. In the one-tag script they come with the editable part, which draws
|
|
6
|
+
* what they check (later-checks.ts); the packages' `checkPage` and `validatePage` run them at once.
|
|
7
|
+
*/
|
|
8
|
+
export declare function checkEditable(list: ListNode, path: string, tools: FieldTools): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ListNode } from './layout';
|
|
2
|
+
import type { FieldTools } from './part-checks';
|
|
3
|
+
/**
|
|
4
|
+
* A list's cells changed in place (`editable`): each column it names one of its own, of a kind a cell changes, people's
|
|
5
|
+
* to change; with true, one such column at least. In the one-tag script they come with the editable part, which draws
|
|
6
|
+
* what they check (later-checks.ts); the packages' `checkPage` and `validatePage` run them at once.
|
|
7
|
+
*/
|
|
8
|
+
export declare function checkEditable(list: ListNode, path: string, tools: FieldTools): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkEditable = checkEditable;
|
|
4
|
+
const list_editable_1 = require("./list-editable");
|
|
5
|
+
const languages_1 = require("../record/languages");
|
|
6
|
+
/**
|
|
7
|
+
* A list's cells changed in place (`editable`): each column it names one of its own, of a kind a cell changes, people's
|
|
8
|
+
* to change; with true, one such column at least. In the one-tag script they come with the editable part, which draws
|
|
9
|
+
* what they check (later-checks.ts); the packages' `checkPage` and `validatePage` run them at once.
|
|
10
|
+
*/
|
|
11
|
+
function checkEditable(list, path, tools) {
|
|
12
|
+
const editable = list.editable;
|
|
13
|
+
if (!editable)
|
|
14
|
+
return;
|
|
15
|
+
if (editable === true || !editable.fields) {
|
|
16
|
+
if (!list.columns.some((name) => (0, list_editable_1.cellChangeable)(tools.page.fields[name])))
|
|
17
|
+
tools.report(`${path}.editable`, 'its cells change the columns a box in a cell can, and none of these can: words, a number, money, yes or no, a date, a choice or a link people can change');
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const named = editable.fields;
|
|
21
|
+
named.forEach((name, i) => {
|
|
22
|
+
const at = `${path}.editable.fields[${i}]`;
|
|
23
|
+
if (named.indexOf(name) !== i)
|
|
24
|
+
tools.report(at, `"${name}" is named twice`);
|
|
25
|
+
const def = tools.need(name, at);
|
|
26
|
+
if (!def)
|
|
27
|
+
return;
|
|
28
|
+
if (!list.columns.includes(name))
|
|
29
|
+
tools.report(at, `"${name}" is no column of this list: a cell changed in place is one of its columns`);
|
|
30
|
+
else if (!list_editable_1.EDIT_KINDS.has(def.type))
|
|
31
|
+
tools.report(at, `"${name}" is a ${def.type}; a cell changes words, a number, money, a yes or no, a date, a choice, or a link or links`);
|
|
32
|
+
else if (def.readonly === true || def.compute)
|
|
33
|
+
tools.report(at, `"${name}" is ${def.compute ? 'worked out from other fields' : 'read-only'}; a cell changes a field people can change`);
|
|
34
|
+
else if ((0, languages_1.languagesOf)(def))
|
|
35
|
+
tools.report(at, `"${name}" is kept in several languages (translate); a cell holds one box, so its languages are typed on the record's page, under their switch`);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=editable-checks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editable-checks.js","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/format/editable-checks.ts"],"names":[],"mappings":";;AAUA,sCAkBC;AA3BD,mDAA6D;AAC7D,mDAAkD;AAGlD;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAc,EAAE,IAAY,EAAE,KAAiB;IAC3E,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;IAC/B,IAAI,CAAC,QAAQ;QAAE,OAAO;IACtB,IAAI,QAAQ,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC1C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,8BAAc,EAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,WAAW,EAAE,0JAA0J,CAAC,CAAC;QACxQ,OAAO;IACT,CAAC;IACD,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC9B,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;QACxB,MAAM,EAAE,GAAG,GAAG,IAAI,oBAAoB,CAAC,GAAG,CAAC;QAC3C,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,kBAAkB,CAAC,CAAC;QAC5E,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG;YAAE,OAAO;QACjB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,4EAA4E,CAAC,CAAC;aACpI,IAAI,CAAC,0BAAU,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,UAAU,GAAG,CAAC,IAAI,4FAA4F,CAAC,CAAC;aACxK,IAAI,GAAG,CAAC,QAAQ,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,QAAQ,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,WAAW,4CAA4C,CAAC,CAAC;aACnL,IAAI,IAAA,uBAAW,EAAC,GAAG,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,uIAAuI,CAAC,CAAC;IAC/L,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { cellChangeable, EDIT_KINDS } from './list-editable.mjs';
|
|
2
|
+
import { languagesOf } from '../record/languages.mjs';
|
|
3
|
+
/**
|
|
4
|
+
* A list's cells changed in place (`editable`): each column it names one of its own, of a kind a cell changes, people's
|
|
5
|
+
* to change; with true, one such column at least. In the one-tag script they come with the editable part, which draws
|
|
6
|
+
* what they check (later-checks.ts); the packages' `checkPage` and `validatePage` run them at once.
|
|
7
|
+
*/
|
|
8
|
+
export function checkEditable(list, path, tools) {
|
|
9
|
+
const editable = list.editable;
|
|
10
|
+
if (!editable)
|
|
11
|
+
return;
|
|
12
|
+
if (editable === true || !editable.fields) {
|
|
13
|
+
if (!list.columns.some((name) => cellChangeable(tools.page.fields[name])))
|
|
14
|
+
tools.report(`${path}.editable`, 'its cells change the columns a box in a cell can, and none of these can: words, a number, money, yes or no, a date, a choice or a link people can change');
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const named = editable.fields;
|
|
18
|
+
named.forEach((name, i) => {
|
|
19
|
+
const at = `${path}.editable.fields[${i}]`;
|
|
20
|
+
if (named.indexOf(name) !== i)
|
|
21
|
+
tools.report(at, `"${name}" is named twice`);
|
|
22
|
+
const def = tools.need(name, at);
|
|
23
|
+
if (!def)
|
|
24
|
+
return;
|
|
25
|
+
if (!list.columns.includes(name))
|
|
26
|
+
tools.report(at, `"${name}" is no column of this list: a cell changed in place is one of its columns`);
|
|
27
|
+
else if (!EDIT_KINDS.has(def.type))
|
|
28
|
+
tools.report(at, `"${name}" is a ${def.type}; a cell changes words, a number, money, a yes or no, a date, a choice, or a link or links`);
|
|
29
|
+
else if (def.readonly === true || def.compute)
|
|
30
|
+
tools.report(at, `"${name}" is ${def.compute ? 'worked out from other fields' : 'read-only'}; a cell changes a field people can change`);
|
|
31
|
+
else if (languagesOf(def))
|
|
32
|
+
tools.report(at, `"${name}" is kept in several languages (translate); a cell holds one box, so its languages are typed on the record's page, under their switch`);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=editable-checks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editable-checks.mjs","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/format/editable-checks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,IAAc,EAAE,IAAY,EAAE,KAAiB;IAC3E,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;IAC/B,IAAI,CAAC,QAAQ;QAAE,OAAO;IACtB,IAAI,QAAQ,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC1C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,WAAW,EAAE,0JAA0J,CAAC,CAAC;QACxQ,OAAO;IACT,CAAC;IACD,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC9B,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;QACxB,MAAM,EAAE,GAAG,GAAG,IAAI,oBAAoB,CAAC,GAAG,CAAC;QAC3C,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,kBAAkB,CAAC,CAAC;QAC5E,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG;YAAE,OAAO;QACjB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,4EAA4E,CAAC,CAAC;aACpI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,UAAU,GAAG,CAAC,IAAI,4FAA4F,CAAC,CAAC;aACxK,IAAI,GAAG,CAAC,QAAQ,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,QAAQ,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,WAAW,4CAA4C,CAAC,CAAC;aACnL,IAAI,WAAW,CAAC,GAAG,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,IAAI,uIAAuI,CAAC,CAAC;IAC/L,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -117,6 +117,8 @@ export declare const SetWhenSchema: z.ZodObject<{
|
|
|
117
117
|
on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
118
|
}, z.core.$strict>;
|
|
119
119
|
export type SetWhen = z.infer<typeof SetWhenSchema>;
|
|
120
|
+
/** A language by its BCP 47 tag, as a text kept in several languages is keyed: "ar", "en", "pt-BR", "zh-Hant". */
|
|
121
|
+
export declare const LanguageTagSchema: z.ZodString;
|
|
120
122
|
/** The spans of time an amount can be for: a rent's month, a holiday flat's night. */
|
|
121
123
|
export declare const PERIODS: readonly ["day", "night", "week", "month", "year"];
|
|
122
124
|
export type Period = (typeof PERIODS)[number];
|
|
@@ -222,6 +224,8 @@ export type Shrink = z.infer<typeof ShrinkSchema>;
|
|
|
222
224
|
* A related list's records' fields are the same (`RelatedNode.fields`).
|
|
223
225
|
*/
|
|
224
226
|
export declare const LinkedFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
229
|
size: z.ZodOptional<z.ZodInt>;
|
|
226
230
|
pattern: z.ZodOptional<z.ZodString>;
|
|
227
231
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -239,6 +243,8 @@ export declare const LinkedFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
239
243
|
}, z.core.$strict>>>;
|
|
240
244
|
type: z.ZodLiteral<"char">;
|
|
241
245
|
}, z.core.$strict>, z.ZodObject<{
|
|
246
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
247
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
248
|
size: z.ZodOptional<z.ZodInt>;
|
|
243
249
|
label: z.ZodString;
|
|
244
250
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -491,6 +497,8 @@ export declare const DefinitionsFromSchema: z.ZodObject<{
|
|
|
491
497
|
export type DefinitionsFrom = z.infer<typeof DefinitionsFromSchema>;
|
|
492
498
|
/** A field of a one2many's lines; lines may hold lines of their own, one level down. */
|
|
493
499
|
export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
500
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
501
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
494
502
|
size: z.ZodOptional<z.ZodInt>;
|
|
495
503
|
pattern: z.ZodOptional<z.ZodString>;
|
|
496
504
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -508,6 +516,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
508
516
|
}, z.core.$strict>>>;
|
|
509
517
|
type: z.ZodLiteral<"char">;
|
|
510
518
|
}, z.core.$strict>, z.ZodObject<{
|
|
519
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
520
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
511
521
|
size: z.ZodOptional<z.ZodInt>;
|
|
512
522
|
label: z.ZodString;
|
|
513
523
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -523,6 +533,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
523
533
|
}, z.core.$strict>>>;
|
|
524
534
|
type: z.ZodLiteral<"text">;
|
|
525
535
|
}, z.core.$strict>, z.ZodObject<{
|
|
536
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
537
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
526
538
|
label: z.ZodString;
|
|
527
539
|
help: z.ZodOptional<z.ZodString>;
|
|
528
540
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -819,6 +831,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
819
831
|
}, z.core.$strict>]>>>;
|
|
820
832
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
821
833
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
834
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
835
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
822
836
|
size: z.ZodOptional<z.ZodInt>;
|
|
823
837
|
pattern: z.ZodOptional<z.ZodString>;
|
|
824
838
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -836,6 +850,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
836
850
|
}, z.core.$strict>>>;
|
|
837
851
|
type: z.ZodLiteral<"char">;
|
|
838
852
|
}, z.core.$strict>, z.ZodObject<{
|
|
853
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
854
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
839
855
|
size: z.ZodOptional<z.ZodInt>;
|
|
840
856
|
label: z.ZodString;
|
|
841
857
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -1143,6 +1159,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1143
1159
|
}, z.core.$strict>, z.ZodObject<{
|
|
1144
1160
|
relation: z.ZodString;
|
|
1145
1161
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1162
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
1163
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
1146
1164
|
size: z.ZodOptional<z.ZodInt>;
|
|
1147
1165
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1148
1166
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -1160,6 +1178,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1160
1178
|
}, z.core.$strict>>>;
|
|
1161
1179
|
type: z.ZodLiteral<"char">;
|
|
1162
1180
|
}, z.core.$strict>, z.ZodObject<{
|
|
1181
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
1182
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
1163
1183
|
size: z.ZodOptional<z.ZodInt>;
|
|
1164
1184
|
label: z.ZodString;
|
|
1165
1185
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -1175,6 +1195,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1175
1195
|
}, z.core.$strict>>>;
|
|
1176
1196
|
type: z.ZodLiteral<"text">;
|
|
1177
1197
|
}, z.core.$strict>, z.ZodObject<{
|
|
1198
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
1199
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
1178
1200
|
label: z.ZodString;
|
|
1179
1201
|
help: z.ZodOptional<z.ZodString>;
|
|
1180
1202
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1471,6 +1493,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1471
1493
|
}, z.core.$strict>]>>>;
|
|
1472
1494
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1473
1495
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1496
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1497
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1474
1498
|
size: z.ZodOptional<z.ZodInt>;
|
|
1475
1499
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1476
1500
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -1488,6 +1512,8 @@ export declare const LineFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1488
1512
|
}, z.core.$strict>>>;
|
|
1489
1513
|
type: z.ZodLiteral<"char">;
|
|
1490
1514
|
}, z.core.$strict>, z.ZodObject<{
|
|
1515
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1516
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1491
1517
|
size: z.ZodOptional<z.ZodInt>;
|
|
1492
1518
|
label: z.ZodString;
|
|
1493
1519
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -1823,6 +1849,8 @@ export declare const LineKindsSchema: z.ZodObject<{
|
|
|
1823
1849
|
}, z.core.$strict>;
|
|
1824
1850
|
export type LineKinds = z.infer<typeof LineKindsSchema>;
|
|
1825
1851
|
export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1852
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1853
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1826
1854
|
size: z.ZodOptional<z.ZodInt>;
|
|
1827
1855
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1828
1856
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -1840,6 +1868,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1840
1868
|
}, z.core.$strict>>>;
|
|
1841
1869
|
type: z.ZodLiteral<"char">;
|
|
1842
1870
|
}, z.core.$strict>, z.ZodObject<{
|
|
1871
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1872
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1843
1873
|
size: z.ZodOptional<z.ZodInt>;
|
|
1844
1874
|
label: z.ZodString;
|
|
1845
1875
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -1855,6 +1885,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1855
1885
|
}, z.core.$strict>>>;
|
|
1856
1886
|
type: z.ZodLiteral<"text">;
|
|
1857
1887
|
}, z.core.$strict>, z.ZodObject<{
|
|
1888
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1889
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1858
1890
|
label: z.ZodString;
|
|
1859
1891
|
help: z.ZodOptional<z.ZodString>;
|
|
1860
1892
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2151,6 +2183,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2151
2183
|
}, z.core.$strict>]>>>;
|
|
2152
2184
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2153
2185
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2186
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2187
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2154
2188
|
size: z.ZodOptional<z.ZodInt>;
|
|
2155
2189
|
pattern: z.ZodOptional<z.ZodString>;
|
|
2156
2190
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -2168,6 +2202,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2168
2202
|
}, z.core.$strict>>>;
|
|
2169
2203
|
type: z.ZodLiteral<"char">;
|
|
2170
2204
|
}, z.core.$strict>, z.ZodObject<{
|
|
2205
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2206
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2171
2207
|
size: z.ZodOptional<z.ZodInt>;
|
|
2172
2208
|
label: z.ZodString;
|
|
2173
2209
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -2396,6 +2432,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2396
2432
|
}, z.core.$strict>, z.ZodObject<{
|
|
2397
2433
|
relation: z.ZodString;
|
|
2398
2434
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2435
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
2436
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
2399
2437
|
size: z.ZodOptional<z.ZodInt>;
|
|
2400
2438
|
pattern: z.ZodOptional<z.ZodString>;
|
|
2401
2439
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -2413,6 +2451,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2413
2451
|
}, z.core.$strict>>>;
|
|
2414
2452
|
type: z.ZodLiteral<"char">;
|
|
2415
2453
|
}, z.core.$strict>, z.ZodObject<{
|
|
2454
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
2455
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
2416
2456
|
size: z.ZodOptional<z.ZodInt>;
|
|
2417
2457
|
label: z.ZodString;
|
|
2418
2458
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -2428,6 +2468,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2428
2468
|
}, z.core.$strict>>>;
|
|
2429
2469
|
type: z.ZodLiteral<"text">;
|
|
2430
2470
|
}, z.core.$strict>, z.ZodObject<{
|
|
2471
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
2472
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
2431
2473
|
label: z.ZodString;
|
|
2432
2474
|
help: z.ZodOptional<z.ZodString>;
|
|
2433
2475
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2724,6 +2766,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2724
2766
|
}, z.core.$strict>]>>>;
|
|
2725
2767
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2726
2768
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2769
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2770
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2727
2771
|
size: z.ZodOptional<z.ZodInt>;
|
|
2728
2772
|
pattern: z.ZodOptional<z.ZodString>;
|
|
2729
2773
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -2741,6 +2785,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2741
2785
|
}, z.core.$strict>>>;
|
|
2742
2786
|
type: z.ZodLiteral<"char">;
|
|
2743
2787
|
}, z.core.$strict>, z.ZodObject<{
|
|
2788
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2789
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2744
2790
|
size: z.ZodOptional<z.ZodInt>;
|
|
2745
2791
|
label: z.ZodString;
|
|
2746
2792
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -3048,6 +3094,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3048
3094
|
}, z.core.$strict>, z.ZodObject<{
|
|
3049
3095
|
relation: z.ZodString;
|
|
3050
3096
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3097
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
3098
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
3051
3099
|
size: z.ZodOptional<z.ZodInt>;
|
|
3052
3100
|
pattern: z.ZodOptional<z.ZodString>;
|
|
3053
3101
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -3065,6 +3113,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3065
3113
|
}, z.core.$strict>>>;
|
|
3066
3114
|
type: z.ZodLiteral<"char">;
|
|
3067
3115
|
}, z.core.$strict>, z.ZodObject<{
|
|
3116
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
3117
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
3068
3118
|
size: z.ZodOptional<z.ZodInt>;
|
|
3069
3119
|
label: z.ZodString;
|
|
3070
3120
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -3080,6 +3130,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3080
3130
|
}, z.core.$strict>>>;
|
|
3081
3131
|
type: z.ZodLiteral<"text">;
|
|
3082
3132
|
}, z.core.$strict>, z.ZodObject<{
|
|
3133
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
3134
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
3083
3135
|
label: z.ZodString;
|
|
3084
3136
|
help: z.ZodOptional<z.ZodString>;
|
|
3085
3137
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3376,6 +3428,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3376
3428
|
}, z.core.$strict>]>>>;
|
|
3377
3429
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3378
3430
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3431
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3432
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3379
3433
|
size: z.ZodOptional<z.ZodInt>;
|
|
3380
3434
|
pattern: z.ZodOptional<z.ZodString>;
|
|
3381
3435
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -3393,6 +3447,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3393
3447
|
}, z.core.$strict>>>;
|
|
3394
3448
|
type: z.ZodLiteral<"char">;
|
|
3395
3449
|
}, z.core.$strict>, z.ZodObject<{
|
|
3450
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3451
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3396
3452
|
size: z.ZodOptional<z.ZodInt>;
|
|
3397
3453
|
label: z.ZodString;
|
|
3398
3454
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -3853,6 +3909,8 @@ export declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3853
3909
|
}, z.core.$strict>], "type">;
|
|
3854
3910
|
export type Field = z.infer<typeof FieldSchema>;
|
|
3855
3911
|
export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3912
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3913
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3856
3914
|
size: z.ZodOptional<z.ZodInt>;
|
|
3857
3915
|
pattern: z.ZodOptional<z.ZodString>;
|
|
3858
3916
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -3870,6 +3928,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
3870
3928
|
}, z.core.$strict>>>;
|
|
3871
3929
|
type: z.ZodLiteral<"char">;
|
|
3872
3930
|
}, z.core.$strict>, z.ZodObject<{
|
|
3931
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3932
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3873
3933
|
size: z.ZodOptional<z.ZodInt>;
|
|
3874
3934
|
label: z.ZodString;
|
|
3875
3935
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -3885,6 +3945,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
3885
3945
|
}, z.core.$strict>>>;
|
|
3886
3946
|
type: z.ZodLiteral<"text">;
|
|
3887
3947
|
}, z.core.$strict>, z.ZodObject<{
|
|
3948
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3949
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3888
3950
|
label: z.ZodString;
|
|
3889
3951
|
help: z.ZodOptional<z.ZodString>;
|
|
3890
3952
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4181,6 +4243,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4181
4243
|
}, z.core.$strict>]>>>;
|
|
4182
4244
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4183
4245
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4246
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4247
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4184
4248
|
size: z.ZodOptional<z.ZodInt>;
|
|
4185
4249
|
pattern: z.ZodOptional<z.ZodString>;
|
|
4186
4250
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -4198,6 +4262,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4198
4262
|
}, z.core.$strict>>>;
|
|
4199
4263
|
type: z.ZodLiteral<"char">;
|
|
4200
4264
|
}, z.core.$strict>, z.ZodObject<{
|
|
4265
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4266
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4201
4267
|
size: z.ZodOptional<z.ZodInt>;
|
|
4202
4268
|
label: z.ZodString;
|
|
4203
4269
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -4426,6 +4492,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4426
4492
|
}, z.core.$strict>, z.ZodObject<{
|
|
4427
4493
|
relation: z.ZodString;
|
|
4428
4494
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4495
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
4496
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
4429
4497
|
size: z.ZodOptional<z.ZodInt>;
|
|
4430
4498
|
pattern: z.ZodOptional<z.ZodString>;
|
|
4431
4499
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -4443,6 +4511,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4443
4511
|
}, z.core.$strict>>>;
|
|
4444
4512
|
type: z.ZodLiteral<"char">;
|
|
4445
4513
|
}, z.core.$strict>, z.ZodObject<{
|
|
4514
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
4515
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
4446
4516
|
size: z.ZodOptional<z.ZodInt>;
|
|
4447
4517
|
label: z.ZodString;
|
|
4448
4518
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -4458,6 +4528,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4458
4528
|
}, z.core.$strict>>>;
|
|
4459
4529
|
type: z.ZodLiteral<"text">;
|
|
4460
4530
|
}, z.core.$strict>, z.ZodObject<{
|
|
4531
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
4532
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
4461
4533
|
label: z.ZodString;
|
|
4462
4534
|
help: z.ZodOptional<z.ZodString>;
|
|
4463
4535
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4754,6 +4826,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4754
4826
|
}, z.core.$strict>]>>>;
|
|
4755
4827
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4756
4828
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4829
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4830
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4757
4831
|
size: z.ZodOptional<z.ZodInt>;
|
|
4758
4832
|
pattern: z.ZodOptional<z.ZodString>;
|
|
4759
4833
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -4771,6 +4845,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
4771
4845
|
}, z.core.$strict>>>;
|
|
4772
4846
|
type: z.ZodLiteral<"char">;
|
|
4773
4847
|
}, z.core.$strict>, z.ZodObject<{
|
|
4848
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4849
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4774
4850
|
size: z.ZodOptional<z.ZodInt>;
|
|
4775
4851
|
label: z.ZodString;
|
|
4776
4852
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -5078,6 +5154,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
5078
5154
|
}, z.core.$strict>, z.ZodObject<{
|
|
5079
5155
|
relation: z.ZodString;
|
|
5080
5156
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5157
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
5158
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
5081
5159
|
size: z.ZodOptional<z.ZodInt>;
|
|
5082
5160
|
pattern: z.ZodOptional<z.ZodString>;
|
|
5083
5161
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -5095,6 +5173,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
5095
5173
|
}, z.core.$strict>>>;
|
|
5096
5174
|
type: z.ZodLiteral<"char">;
|
|
5097
5175
|
}, z.core.$strict>, z.ZodObject<{
|
|
5176
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
5177
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
5098
5178
|
size: z.ZodOptional<z.ZodInt>;
|
|
5099
5179
|
label: z.ZodString;
|
|
5100
5180
|
help: z.ZodOptional<z.ZodString>;
|
|
@@ -5110,6 +5190,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
5110
5190
|
}, z.core.$strict>>>;
|
|
5111
5191
|
type: z.ZodLiteral<"text">;
|
|
5112
5192
|
}, z.core.$strict>, z.ZodObject<{
|
|
5193
|
+
translate: z.ZodOptional<z.ZodNever>;
|
|
5194
|
+
requiredIn: z.ZodOptional<z.ZodNever>;
|
|
5113
5195
|
label: z.ZodString;
|
|
5114
5196
|
help: z.ZodOptional<z.ZodString>;
|
|
5115
5197
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5406,6 +5488,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
5406
5488
|
}, z.core.$strict>]>>>;
|
|
5407
5489
|
createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5408
5490
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5491
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5492
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5409
5493
|
size: z.ZodOptional<z.ZodInt>;
|
|
5410
5494
|
pattern: z.ZodOptional<z.ZodString>;
|
|
5411
5495
|
patternHint: z.ZodOptional<z.ZodString>;
|
|
@@ -5423,6 +5507,8 @@ export declare const FieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUn
|
|
|
5423
5507
|
}, z.core.$strict>>>;
|
|
5424
5508
|
type: z.ZodLiteral<"char">;
|
|
5425
5509
|
}, z.core.$strict>, z.ZodObject<{
|
|
5510
|
+
translate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5511
|
+
requiredIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5426
5512
|
size: z.ZodOptional<z.ZodInt>;
|
|
5427
5513
|
label: z.ZodString;
|
|
5428
5514
|
help: z.ZodOptional<z.ZodString>;
|