markform 0.1.6 → 0.1.8
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 +464 -207
- package/dist/ai-sdk.d.mts +1 -2
- package/dist/ai-sdk.mjs +3 -2
- package/dist/{apply-DMQl-VVd.mjs → apply-BUU2QcJ2.mjs} +130 -23
- package/dist/bin.d.mts +0 -1
- package/dist/bin.mjs +3 -6
- package/dist/{cli-CXjkdym_.mjs → cli-BZh25bvy.mjs} +1380 -632
- package/dist/cli.d.mts +0 -1
- package/dist/cli.mjs +2 -6
- package/dist/coreTypes-BSPJ9H27.d.mts +3253 -0
- package/dist/{coreTypes-pyctKRgc.mjs → coreTypes-DJtu8OOp.mjs} +26 -4
- package/dist/index.d.mts +112 -5
- package/dist/index.mjs +6 -5
- package/dist/{session-uF0e6m6k.mjs → session-CmHdAPyg.mjs} +3 -2
- package/dist/session-DSTNiHza.mjs +4 -0
- package/dist/{shared-u22MtBRo.mjs → shared-C9yW5FLZ.mjs} +2 -1
- package/dist/{shared-DRlgu2ZJ.mjs → shared-DQ6y3Ggc.mjs} +3 -1
- package/dist/{src-o_5TSoHQ.mjs → src-kUggXhN1.mjs} +519 -98
- package/docs/markform-apis.md +30 -1
- package/docs/markform-reference.md +65 -6
- package/docs/markform-spec.md +2 -2
- package/examples/earnings-analysis/earnings-analysis.form.md +1 -0
- package/examples/movie-research/movie-research-basic.form.md +1 -0
- package/examples/movie-research/movie-research-deep.form.md +16 -56
- package/examples/movie-research/movie-research-demo.form.md +60 -0
- package/examples/rejection-test/rejection-test-mock-filled.form.md +41 -0
- package/examples/rejection-test/rejection-test-mock-filled.report.md +15 -0
- package/examples/rejection-test/rejection-test-mock-filled.schema.json +59 -0
- package/examples/rejection-test/rejection-test-mock-filled.yml +13 -0
- package/examples/rejection-test/rejection-test.form.md +35 -0
- package/examples/rejection-test/rejection-test.session.yaml +88 -0
- package/examples/simple/simple-mock-filled.report.md +96 -0
- package/examples/simple/simple-mock-filled.schema.json +374 -0
- package/examples/simple/simple-mock-filled.yml +87 -0
- package/examples/simple/simple-skipped-filled.report.md +90 -0
- package/examples/simple/simple-skipped-filled.schema.json +374 -0
- package/examples/simple/simple-skipped-filled.yml +77 -0
- package/examples/simple/simple-with-skips.session.yaml +3 -3
- package/examples/simple/simple.form.md +1 -0
- package/examples/simple/simple.schema.json +374 -0
- package/examples/simple/simple.session.yaml +3 -3
- package/examples/startup-deep-research/startup-deep-research.form.md +1 -0
- package/examples/startup-research/startup-research.form.md +1 -0
- package/package.json +11 -9
- package/dist/coreTypes-9XZSNOv6.d.mts +0 -8951
- package/dist/session-B_stoXQn.mjs +0 -4
- package/examples/movie-research/movie-research-minimal.form.md +0 -68
|
@@ -0,0 +1,3253 @@
|
|
|
1
|
+
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/engine/coreTypes.d.ts
|
|
5
|
+
|
|
6
|
+
/** Form/group/field ID - globally unique within a document */
|
|
7
|
+
type Id = string;
|
|
8
|
+
/** Option ID - unique within its containing field */
|
|
9
|
+
type OptionId = string;
|
|
10
|
+
/** Qualified option reference - used in doc blocks and external references */
|
|
11
|
+
type QualifiedOptionRef = `${Id}.${OptionId}`;
|
|
12
|
+
/** Qualified column reference - used in table field references (e.g., "team.name") */
|
|
13
|
+
type QualifiedColumnRef = `${Id}.${Id}`;
|
|
14
|
+
/** Validator reference - simple ID or parameterized object */
|
|
15
|
+
type ValidatorRef = string | {
|
|
16
|
+
id: string;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Answer state for a field.
|
|
21
|
+
* What action was taken: no answer yet, answered, skipped, or aborted.
|
|
22
|
+
*/
|
|
23
|
+
type AnswerState = 'unanswered' | 'answered' | 'skipped' | 'aborted';
|
|
24
|
+
/**
|
|
25
|
+
* Field response: combines answer state with optional value.
|
|
26
|
+
* Used in responsesByFieldId for all fields.
|
|
27
|
+
*/
|
|
28
|
+
interface FieldResponse {
|
|
29
|
+
state: AnswerState;
|
|
30
|
+
value?: FieldValue;
|
|
31
|
+
reason?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Unique note ID (implementation uses n1, n2, n3...) */
|
|
34
|
+
type NoteId = string;
|
|
35
|
+
/** Note attached to a field, group, or form */
|
|
36
|
+
interface Note {
|
|
37
|
+
id: NoteId;
|
|
38
|
+
ref: Id;
|
|
39
|
+
role: string;
|
|
40
|
+
text: string;
|
|
41
|
+
}
|
|
42
|
+
/** Multi-checkbox states (checkboxMode="multi", default) - 5 states */
|
|
43
|
+
type MultiCheckboxState = 'todo' | 'done' | 'incomplete' | 'active' | 'na';
|
|
44
|
+
/** Simple checkbox states (checkboxMode="simple") - 2 states, GFM-compatible */
|
|
45
|
+
type SimpleCheckboxState = 'todo' | 'done';
|
|
46
|
+
/** Explicit checkbox values (checkboxMode="explicit") - requires yes/no answer */
|
|
47
|
+
type ExplicitCheckboxValue = 'unfilled' | 'yes' | 'no';
|
|
48
|
+
/** Union type for all checkbox values */
|
|
49
|
+
type CheckboxValue = MultiCheckboxState | ExplicitCheckboxValue;
|
|
50
|
+
/** Checkbox mode determines which states are valid */
|
|
51
|
+
type CheckboxMode = 'multi' | 'simple' | 'explicit';
|
|
52
|
+
/**
|
|
53
|
+
* Controls how fill handles existing values for target role fields.
|
|
54
|
+
* - 'continue': Skip fields that already have values (default)
|
|
55
|
+
* - 'overwrite': Clear and re-fill all fields for the target role
|
|
56
|
+
*/
|
|
57
|
+
type FillMode = 'continue' | 'overwrite';
|
|
58
|
+
/**
|
|
59
|
+
* Agent mode for fill operations.
|
|
60
|
+
* - 'mock': Use mock agent (for testing, requires mock source file)
|
|
61
|
+
* - 'live': Use live LLM agent (default, requires model)
|
|
62
|
+
*/
|
|
63
|
+
type MockMode = 'mock' | 'live';
|
|
64
|
+
/**
|
|
65
|
+
* Controls whether a checkbox field acts as a blocking checkpoint.
|
|
66
|
+
* - 'none': No blocking behavior (default)
|
|
67
|
+
* - 'blocking': Fields after this cannot be filled until checkbox is complete
|
|
68
|
+
*/
|
|
69
|
+
type ApprovalMode = 'none' | 'blocking';
|
|
70
|
+
/** Field kind discriminant */
|
|
71
|
+
type FieldKind = 'string' | 'number' | 'string_list' | 'checkboxes' | 'single_select' | 'multi_select' | 'url' | 'url_list' | 'date' | 'year' | 'table';
|
|
72
|
+
/** Base column type for table cells - simple types only */
|
|
73
|
+
type ColumnTypeName = 'string' | 'number' | 'url' | 'date' | 'year';
|
|
74
|
+
/**
|
|
75
|
+
* Column definition - derived from columnIds, columnLabels, columnTypes attributes.
|
|
76
|
+
* After parsing, columns always have explicit required flag (default: false).
|
|
77
|
+
*/
|
|
78
|
+
interface TableColumn {
|
|
79
|
+
id: Id;
|
|
80
|
+
label: string;
|
|
81
|
+
type: ColumnTypeName;
|
|
82
|
+
required: boolean;
|
|
83
|
+
}
|
|
84
|
+
/** Field priority level for issue scoring */
|
|
85
|
+
type FieldPriorityLevel = 'high' | 'medium' | 'low';
|
|
86
|
+
/** Base interface for all field kinds */
|
|
87
|
+
interface FieldBase {
|
|
88
|
+
id: Id;
|
|
89
|
+
label: string;
|
|
90
|
+
required: boolean;
|
|
91
|
+
priority: FieldPriorityLevel;
|
|
92
|
+
role: string;
|
|
93
|
+
validate?: ValidatorRef[];
|
|
94
|
+
/** Whether to include this field in report output. Default: true */
|
|
95
|
+
report?: boolean;
|
|
96
|
+
/** Hint text for empty field (text-entry fields only) */
|
|
97
|
+
placeholder?: string;
|
|
98
|
+
/** Example values (text-entry fields only) */
|
|
99
|
+
examples?: string[];
|
|
100
|
+
}
|
|
101
|
+
/** String field - single or multiline text */
|
|
102
|
+
interface StringField extends FieldBase {
|
|
103
|
+
kind: 'string';
|
|
104
|
+
multiline?: boolean;
|
|
105
|
+
pattern?: string;
|
|
106
|
+
minLength?: number;
|
|
107
|
+
maxLength?: number;
|
|
108
|
+
}
|
|
109
|
+
/** Number field - numeric value with optional constraints */
|
|
110
|
+
interface NumberField extends FieldBase {
|
|
111
|
+
kind: 'number';
|
|
112
|
+
min?: number;
|
|
113
|
+
max?: number;
|
|
114
|
+
integer?: boolean;
|
|
115
|
+
}
|
|
116
|
+
/** String list field - array of user-provided strings */
|
|
117
|
+
interface StringListField extends FieldBase {
|
|
118
|
+
kind: 'string_list';
|
|
119
|
+
minItems?: number;
|
|
120
|
+
maxItems?: number;
|
|
121
|
+
itemMinLength?: number;
|
|
122
|
+
itemMaxLength?: number;
|
|
123
|
+
uniqueItems?: boolean;
|
|
124
|
+
}
|
|
125
|
+
/** Option in select/checkbox fields */
|
|
126
|
+
interface Option {
|
|
127
|
+
id: Id;
|
|
128
|
+
label: string;
|
|
129
|
+
}
|
|
130
|
+
/** Checkboxes field - stateful checklist with configurable modes */
|
|
131
|
+
interface CheckboxesField extends FieldBase {
|
|
132
|
+
kind: 'checkboxes';
|
|
133
|
+
checkboxMode: CheckboxMode;
|
|
134
|
+
minDone?: number;
|
|
135
|
+
options: Option[];
|
|
136
|
+
approvalMode: ApprovalMode;
|
|
137
|
+
}
|
|
138
|
+
/** Single-select field - exactly one option can be selected */
|
|
139
|
+
interface SingleSelectField extends FieldBase {
|
|
140
|
+
kind: 'single_select';
|
|
141
|
+
options: Option[];
|
|
142
|
+
}
|
|
143
|
+
/** Multi-select field - multiple options can be selected */
|
|
144
|
+
interface MultiSelectField extends FieldBase {
|
|
145
|
+
kind: 'multi_select';
|
|
146
|
+
options: Option[];
|
|
147
|
+
minSelections?: number;
|
|
148
|
+
maxSelections?: number;
|
|
149
|
+
}
|
|
150
|
+
/** URL field - single URL value with built-in format validation */
|
|
151
|
+
interface UrlField extends FieldBase {
|
|
152
|
+
kind: 'url';
|
|
153
|
+
}
|
|
154
|
+
/** URL list field - multiple URLs (for citations, sources, references) */
|
|
155
|
+
interface UrlListField extends FieldBase {
|
|
156
|
+
kind: 'url_list';
|
|
157
|
+
minItems?: number;
|
|
158
|
+
maxItems?: number;
|
|
159
|
+
uniqueItems?: boolean;
|
|
160
|
+
}
|
|
161
|
+
/** Date field - ISO 8601 date (YYYY-MM-DD) with optional min/max constraints */
|
|
162
|
+
interface DateField extends FieldBase {
|
|
163
|
+
kind: 'date';
|
|
164
|
+
min?: string;
|
|
165
|
+
max?: string;
|
|
166
|
+
}
|
|
167
|
+
/** Year field - integer year with optional min/max constraints */
|
|
168
|
+
interface YearField extends FieldBase {
|
|
169
|
+
kind: 'year';
|
|
170
|
+
min?: number;
|
|
171
|
+
max?: number;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Table field - structured tabular data with typed columns.
|
|
175
|
+
* Inherits all FieldBase properties including `report?: boolean`.
|
|
176
|
+
*/
|
|
177
|
+
interface TableField extends FieldBase {
|
|
178
|
+
kind: 'table';
|
|
179
|
+
columns: TableColumn[];
|
|
180
|
+
minRows?: number;
|
|
181
|
+
maxRows?: number;
|
|
182
|
+
}
|
|
183
|
+
/** Union of all field kinds */
|
|
184
|
+
type Field = StringField | NumberField | StringListField | CheckboxesField | SingleSelectField | MultiSelectField | UrlField | UrlListField | DateField | YearField | TableField;
|
|
185
|
+
/**
|
|
186
|
+
* Field group: container for fields (nested groups deferred to future).
|
|
187
|
+
*/
|
|
188
|
+
interface FieldGroup {
|
|
189
|
+
id: Id;
|
|
190
|
+
title?: string;
|
|
191
|
+
validate?: ValidatorRef[];
|
|
192
|
+
children: Field[];
|
|
193
|
+
/** Whether to include this group in report output. Default: true */
|
|
194
|
+
report?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* True if this group was implicitly created for fields placed directly
|
|
197
|
+
* under the form (not wrapped in an explicit group).
|
|
198
|
+
* Implicit groups are serialized without group wrapper tags.
|
|
199
|
+
*/
|
|
200
|
+
implicit?: boolean;
|
|
201
|
+
}
|
|
202
|
+
/** Form schema - root container with groups */
|
|
203
|
+
interface FormSchema {
|
|
204
|
+
id: Id;
|
|
205
|
+
title?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
groups: FieldGroup[];
|
|
208
|
+
}
|
|
209
|
+
/** String field value */
|
|
210
|
+
interface StringValue {
|
|
211
|
+
kind: 'string';
|
|
212
|
+
value: string | null;
|
|
213
|
+
}
|
|
214
|
+
/** Number field value */
|
|
215
|
+
interface NumberValue {
|
|
216
|
+
kind: 'number';
|
|
217
|
+
value: number | null;
|
|
218
|
+
}
|
|
219
|
+
/** String list field value */
|
|
220
|
+
interface StringListValue {
|
|
221
|
+
kind: 'string_list';
|
|
222
|
+
items: string[];
|
|
223
|
+
}
|
|
224
|
+
/** Checkboxes field value */
|
|
225
|
+
interface CheckboxesValue {
|
|
226
|
+
kind: 'checkboxes';
|
|
227
|
+
values: Record<OptionId, CheckboxValue>;
|
|
228
|
+
}
|
|
229
|
+
/** Single-select field value */
|
|
230
|
+
interface SingleSelectValue {
|
|
231
|
+
kind: 'single_select';
|
|
232
|
+
selected: OptionId | null;
|
|
233
|
+
}
|
|
234
|
+
/** Multi-select field value */
|
|
235
|
+
interface MultiSelectValue {
|
|
236
|
+
kind: 'multi_select';
|
|
237
|
+
selected: OptionId[];
|
|
238
|
+
}
|
|
239
|
+
/** URL field value */
|
|
240
|
+
interface UrlValue {
|
|
241
|
+
kind: 'url';
|
|
242
|
+
value: string | null;
|
|
243
|
+
}
|
|
244
|
+
/** URL list field value */
|
|
245
|
+
interface UrlListValue {
|
|
246
|
+
kind: 'url_list';
|
|
247
|
+
items: string[];
|
|
248
|
+
}
|
|
249
|
+
/** Date field value */
|
|
250
|
+
interface DateValue {
|
|
251
|
+
kind: 'date';
|
|
252
|
+
value: string | null;
|
|
253
|
+
}
|
|
254
|
+
/** Year field value */
|
|
255
|
+
interface YearValue {
|
|
256
|
+
kind: 'year';
|
|
257
|
+
value: number | null;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Cell value - scalar value only (never null).
|
|
261
|
+
* Empty/skipped cells use %SKIP% sentinel, not null.
|
|
262
|
+
*/
|
|
263
|
+
type CellValue = string | number;
|
|
264
|
+
/**
|
|
265
|
+
* Cell response - matches FieldResponse pattern.
|
|
266
|
+
* Used in internal representation (ParsedForm).
|
|
267
|
+
*/
|
|
268
|
+
interface CellResponse {
|
|
269
|
+
state: 'answered' | 'skipped' | 'aborted';
|
|
270
|
+
value?: CellValue;
|
|
271
|
+
reason?: string;
|
|
272
|
+
}
|
|
273
|
+
/** Table row response - each cell has a response (internal representation) */
|
|
274
|
+
type TableRowResponse = Record<Id, CellResponse>;
|
|
275
|
+
/** Table field value (internal representation) */
|
|
276
|
+
interface TableValue {
|
|
277
|
+
kind: 'table';
|
|
278
|
+
rows: TableRowResponse[];
|
|
279
|
+
}
|
|
280
|
+
/** Union of all field value types */
|
|
281
|
+
type FieldValue = StringValue | NumberValue | StringListValue | CheckboxesValue | SingleSelectValue | MultiSelectValue | UrlValue | UrlListValue | DateValue | YearValue | TableValue;
|
|
282
|
+
/** Documentation tag type - determines the semantic purpose of the block */
|
|
283
|
+
type DocumentationTag = 'description' | 'instructions' | 'documentation';
|
|
284
|
+
/** Documentation block attached to form elements */
|
|
285
|
+
interface DocumentationBlock {
|
|
286
|
+
/** The semantic tag type: description, instructions, or documentation */
|
|
287
|
+
tag: DocumentationTag;
|
|
288
|
+
/** Reference to form/group/field ID or qualified option ref (fieldId.optionId) */
|
|
289
|
+
ref: string;
|
|
290
|
+
bodyMarkdown: string;
|
|
291
|
+
/**
|
|
292
|
+
* Whether to include this block in report output.
|
|
293
|
+
* Default: false for 'instructions' tag, true for others.
|
|
294
|
+
*/
|
|
295
|
+
report?: boolean;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Optional harness configuration from frontmatter.
|
|
299
|
+
* Forms can specify default harness settings for fill operations.
|
|
300
|
+
*/
|
|
301
|
+
interface FrontmatterHarnessConfig {
|
|
302
|
+
maxTurns?: number;
|
|
303
|
+
maxPatchesPerTurn?: number;
|
|
304
|
+
maxIssuesPerTurn?: number;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Run mode for the form - determines how 'markform run' executes.
|
|
308
|
+
* - interactive: Launch interactive fill for user-role fields
|
|
309
|
+
* - fill: Prompt for model, run agent fill
|
|
310
|
+
* - research: Prompt for web-search model, run research fill
|
|
311
|
+
*/
|
|
312
|
+
type RunMode = 'interactive' | 'fill' | 'research';
|
|
313
|
+
/** Form-level metadata from YAML frontmatter, including role configuration */
|
|
314
|
+
interface FormMetadata {
|
|
315
|
+
markformVersion: string;
|
|
316
|
+
roles: string[];
|
|
317
|
+
roleInstructions: Record<string, string>;
|
|
318
|
+
/** Optional harness configuration from frontmatter */
|
|
319
|
+
harnessConfig?: FrontmatterHarnessConfig;
|
|
320
|
+
/** How this form should be executed by 'markform run' */
|
|
321
|
+
runMode?: RunMode;
|
|
322
|
+
}
|
|
323
|
+
/** Node type for ID index entries - identifies what structural element an ID refers to */
|
|
324
|
+
type NodeType = 'form' | 'group' | 'field' | 'option';
|
|
325
|
+
/** ID index entry for fast lookup and validation */
|
|
326
|
+
interface IdIndexEntry {
|
|
327
|
+
nodeType: NodeType;
|
|
328
|
+
parentId?: Id;
|
|
329
|
+
fieldId?: Id;
|
|
330
|
+
}
|
|
331
|
+
/** Canonical internal representation returned by parseForm() */
|
|
332
|
+
interface ParsedForm {
|
|
333
|
+
schema: FormSchema;
|
|
334
|
+
responsesByFieldId: Record<Id, FieldResponse>;
|
|
335
|
+
notes: Note[];
|
|
336
|
+
docs: DocumentationBlock[];
|
|
337
|
+
orderIndex: Id[];
|
|
338
|
+
idIndex: Map<Id, IdIndexEntry>;
|
|
339
|
+
metadata?: FormMetadata;
|
|
340
|
+
}
|
|
341
|
+
/** Validation issue severity */
|
|
342
|
+
type Severity = 'error' | 'warning' | 'info';
|
|
343
|
+
/** Source position for error locations */
|
|
344
|
+
interface SourcePosition {
|
|
345
|
+
line: number;
|
|
346
|
+
col: number;
|
|
347
|
+
}
|
|
348
|
+
/** Source range for error locations */
|
|
349
|
+
interface SourceRange {
|
|
350
|
+
start: SourcePosition;
|
|
351
|
+
end: SourcePosition;
|
|
352
|
+
}
|
|
353
|
+
/** Validation issue from the validation pipeline */
|
|
354
|
+
interface ValidationIssue {
|
|
355
|
+
severity: Severity;
|
|
356
|
+
message: string;
|
|
357
|
+
code?: string;
|
|
358
|
+
ref?: Id;
|
|
359
|
+
path?: string;
|
|
360
|
+
range?: SourceRange;
|
|
361
|
+
validatorId?: string;
|
|
362
|
+
source: 'builtin' | 'code' | 'llm';
|
|
363
|
+
}
|
|
364
|
+
/** Standard reason codes for inspect issues */
|
|
365
|
+
type IssueReason = 'validation_error' | 'required_missing' | 'checkbox_incomplete' | 'min_items_not_met' | 'optional_empty';
|
|
366
|
+
/** Issue scope - the level at which the issue applies */
|
|
367
|
+
type IssueScope = 'form' | 'group' | 'field' | 'option' | 'column' | 'cell';
|
|
368
|
+
/** Inspect issue - unified type for agent/UI consumption */
|
|
369
|
+
interface InspectIssue {
|
|
370
|
+
ref: string;
|
|
371
|
+
scope: IssueScope;
|
|
372
|
+
reason: IssueReason;
|
|
373
|
+
message: string;
|
|
374
|
+
severity: 'required' | 'recommended';
|
|
375
|
+
priority: number;
|
|
376
|
+
blockedBy?: Id;
|
|
377
|
+
}
|
|
378
|
+
/** Structure summary - describes static form schema */
|
|
379
|
+
interface StructureSummary {
|
|
380
|
+
groupCount: number;
|
|
381
|
+
fieldCount: number;
|
|
382
|
+
optionCount: number;
|
|
383
|
+
/** Count of table columns across all table fields */
|
|
384
|
+
columnCount: number;
|
|
385
|
+
fieldCountByKind: Record<FieldKind, number>;
|
|
386
|
+
groupsById: Record<Id, 'field_group'>;
|
|
387
|
+
fieldsById: Record<Id, FieldKind>;
|
|
388
|
+
optionsById: Record<QualifiedOptionRef, {
|
|
389
|
+
parentFieldId: Id;
|
|
390
|
+
parentFieldKind: FieldKind;
|
|
391
|
+
}>;
|
|
392
|
+
/** Map of qualified column refs to column metadata */
|
|
393
|
+
columnsById: Record<QualifiedColumnRef, {
|
|
394
|
+
parentFieldId: Id;
|
|
395
|
+
columnType: ColumnTypeName;
|
|
396
|
+
}>;
|
|
397
|
+
}
|
|
398
|
+
/** Progress state for a field or form */
|
|
399
|
+
type ProgressState = 'empty' | 'incomplete' | 'invalid' | 'complete';
|
|
400
|
+
/** Checkbox progress counts */
|
|
401
|
+
interface CheckboxProgressCounts {
|
|
402
|
+
total: number;
|
|
403
|
+
todo: number;
|
|
404
|
+
done: number;
|
|
405
|
+
incomplete: number;
|
|
406
|
+
active: number;
|
|
407
|
+
na: number;
|
|
408
|
+
unfilled: number;
|
|
409
|
+
yes: number;
|
|
410
|
+
no: number;
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Field progress tracking.
|
|
414
|
+
* Uses orthogonal booleans instead of ProgressState enum.
|
|
415
|
+
*/
|
|
416
|
+
interface FieldProgress {
|
|
417
|
+
kind: FieldKind;
|
|
418
|
+
required: boolean;
|
|
419
|
+
answerState: AnswerState;
|
|
420
|
+
hasNotes: boolean;
|
|
421
|
+
noteCount: number;
|
|
422
|
+
/** Whether the field has a value (answered, or has checkbox selections) */
|
|
423
|
+
empty: boolean;
|
|
424
|
+
/** Whether the field passes validation (no issues) */
|
|
425
|
+
valid: boolean;
|
|
426
|
+
issueCount: number;
|
|
427
|
+
checkboxProgress?: CheckboxProgressCounts;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Progress counts rollup with three orthogonal dimensions.
|
|
431
|
+
*/
|
|
432
|
+
interface ProgressCounts {
|
|
433
|
+
totalFields: number;
|
|
434
|
+
requiredFields: number;
|
|
435
|
+
unansweredFields: number;
|
|
436
|
+
answeredFields: number;
|
|
437
|
+
skippedFields: number;
|
|
438
|
+
abortedFields: number;
|
|
439
|
+
validFields: number;
|
|
440
|
+
invalidFields: number;
|
|
441
|
+
emptyFields: number;
|
|
442
|
+
filledFields: number;
|
|
443
|
+
emptyRequiredFields: number;
|
|
444
|
+
totalNotes: number;
|
|
445
|
+
}
|
|
446
|
+
/** Progress summary - tracks filling progress */
|
|
447
|
+
interface ProgressSummary {
|
|
448
|
+
counts: ProgressCounts;
|
|
449
|
+
fields: Record<Id, FieldProgress>;
|
|
450
|
+
}
|
|
451
|
+
/** Result from inspect operation */
|
|
452
|
+
interface InspectResult {
|
|
453
|
+
structureSummary: StructureSummary;
|
|
454
|
+
progressSummary: ProgressSummary;
|
|
455
|
+
issues: InspectIssue[];
|
|
456
|
+
isComplete: boolean;
|
|
457
|
+
formState: ProgressState;
|
|
458
|
+
}
|
|
459
|
+
/** Details about a rejected patch */
|
|
460
|
+
interface PatchRejection {
|
|
461
|
+
patchIndex: number;
|
|
462
|
+
message: string;
|
|
463
|
+
/** Field ID if available (for type mismatch errors) */
|
|
464
|
+
fieldId?: string;
|
|
465
|
+
/** Field kind if available (for type mismatch errors) */
|
|
466
|
+
fieldKind?: string;
|
|
467
|
+
/** Column IDs if available (for table fields) */
|
|
468
|
+
columnIds?: string[];
|
|
469
|
+
}
|
|
470
|
+
/** Result from apply operation */
|
|
471
|
+
interface ApplyResult {
|
|
472
|
+
applyStatus: 'applied' | 'rejected';
|
|
473
|
+
structureSummary: StructureSummary;
|
|
474
|
+
progressSummary: ProgressSummary;
|
|
475
|
+
issues: InspectIssue[];
|
|
476
|
+
isComplete: boolean;
|
|
477
|
+
formState: ProgressState;
|
|
478
|
+
/** Empty on success, contains rejection details on failure */
|
|
479
|
+
rejectedPatches: PatchRejection[];
|
|
480
|
+
}
|
|
481
|
+
/** Set string field value */
|
|
482
|
+
interface SetStringPatch {
|
|
483
|
+
op: 'set_string';
|
|
484
|
+
fieldId: Id;
|
|
485
|
+
value: string | null;
|
|
486
|
+
}
|
|
487
|
+
/** Set number field value */
|
|
488
|
+
interface SetNumberPatch {
|
|
489
|
+
op: 'set_number';
|
|
490
|
+
fieldId: Id;
|
|
491
|
+
value: number | null;
|
|
492
|
+
}
|
|
493
|
+
/** Set string list field value */
|
|
494
|
+
interface SetStringListPatch {
|
|
495
|
+
op: 'set_string_list';
|
|
496
|
+
fieldId: Id;
|
|
497
|
+
items: string[];
|
|
498
|
+
}
|
|
499
|
+
/** Set checkboxes field value (merges with existing) */
|
|
500
|
+
interface SetCheckboxesPatch {
|
|
501
|
+
op: 'set_checkboxes';
|
|
502
|
+
fieldId: Id;
|
|
503
|
+
values: Record<OptionId, CheckboxValue>;
|
|
504
|
+
}
|
|
505
|
+
/** Set single-select field value */
|
|
506
|
+
interface SetSingleSelectPatch {
|
|
507
|
+
op: 'set_single_select';
|
|
508
|
+
fieldId: Id;
|
|
509
|
+
selected: OptionId | null;
|
|
510
|
+
}
|
|
511
|
+
/** Set multi-select field value */
|
|
512
|
+
interface SetMultiSelectPatch {
|
|
513
|
+
op: 'set_multi_select';
|
|
514
|
+
fieldId: Id;
|
|
515
|
+
selected: OptionId[];
|
|
516
|
+
}
|
|
517
|
+
/** Set URL field value */
|
|
518
|
+
interface SetUrlPatch {
|
|
519
|
+
op: 'set_url';
|
|
520
|
+
fieldId: Id;
|
|
521
|
+
value: string | null;
|
|
522
|
+
}
|
|
523
|
+
/** Set URL list field value */
|
|
524
|
+
interface SetUrlListPatch {
|
|
525
|
+
op: 'set_url_list';
|
|
526
|
+
fieldId: Id;
|
|
527
|
+
items: string[];
|
|
528
|
+
}
|
|
529
|
+
/** Set date field value */
|
|
530
|
+
interface SetDatePatch {
|
|
531
|
+
op: 'set_date';
|
|
532
|
+
fieldId: Id;
|
|
533
|
+
value: string | null;
|
|
534
|
+
}
|
|
535
|
+
/** Set year field value */
|
|
536
|
+
interface SetYearPatch {
|
|
537
|
+
op: 'set_year';
|
|
538
|
+
fieldId: Id;
|
|
539
|
+
value: number | null;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Table row for patches - simplified format.
|
|
543
|
+
* Values can be:
|
|
544
|
+
* - Actual value (string/number)
|
|
545
|
+
* - null to indicate %SKIP% (serialized as %SKIP% in markdown)
|
|
546
|
+
* - "%SKIP%" or "%ABORT%" sentinel strings with optional reason
|
|
547
|
+
*/
|
|
548
|
+
type TableRowPatch = Record<Id, CellValue | null | string>;
|
|
549
|
+
/**
|
|
550
|
+
* Set table field patch.
|
|
551
|
+
* Uses simplified format where null values become %SKIP% on serialize.
|
|
552
|
+
*/
|
|
553
|
+
interface SetTablePatch {
|
|
554
|
+
op: 'set_table';
|
|
555
|
+
fieldId: Id;
|
|
556
|
+
rows: TableRowPatch[];
|
|
557
|
+
}
|
|
558
|
+
/** Clear field value */
|
|
559
|
+
interface ClearFieldPatch {
|
|
560
|
+
op: 'clear_field';
|
|
561
|
+
fieldId: Id;
|
|
562
|
+
}
|
|
563
|
+
/** Skip field - explicitly skip an optional field without providing a value */
|
|
564
|
+
interface SkipFieldPatch {
|
|
565
|
+
op: 'skip_field';
|
|
566
|
+
fieldId: Id;
|
|
567
|
+
role: string;
|
|
568
|
+
reason?: string;
|
|
569
|
+
}
|
|
570
|
+
/** Abort field - mark a field as unable to be completed */
|
|
571
|
+
interface AbortFieldPatch {
|
|
572
|
+
op: 'abort_field';
|
|
573
|
+
fieldId: Id;
|
|
574
|
+
role: string;
|
|
575
|
+
reason?: string;
|
|
576
|
+
}
|
|
577
|
+
/** Add note - attach a note to a form element */
|
|
578
|
+
interface AddNotePatch {
|
|
579
|
+
op: 'add_note';
|
|
580
|
+
ref: Id;
|
|
581
|
+
role: string;
|
|
582
|
+
text: string;
|
|
583
|
+
}
|
|
584
|
+
/** Remove note - remove a specific note by ID */
|
|
585
|
+
interface RemoveNotePatch {
|
|
586
|
+
op: 'remove_note';
|
|
587
|
+
noteId: NoteId;
|
|
588
|
+
}
|
|
589
|
+
/** Union of all patch types */
|
|
590
|
+
type Patch = SetStringPatch | SetNumberPatch | SetStringListPatch | SetCheckboxesPatch | SetSingleSelectPatch | SetMultiSelectPatch | SetUrlPatch | SetUrlListPatch | SetDatePatch | SetYearPatch | SetTablePatch | ClearFieldPatch | SkipFieldPatch | AbortFieldPatch | AddNotePatch | RemoveNotePatch;
|
|
591
|
+
/** Result from harness step */
|
|
592
|
+
interface StepResult {
|
|
593
|
+
structureSummary: StructureSummary;
|
|
594
|
+
progressSummary: ProgressSummary;
|
|
595
|
+
issues: InspectIssue[];
|
|
596
|
+
stepBudget: number;
|
|
597
|
+
isComplete: boolean;
|
|
598
|
+
turnNumber: number;
|
|
599
|
+
/** Number of patches actually applied (set by harness.apply, undefined for step-only results) */
|
|
600
|
+
patchesApplied?: number;
|
|
601
|
+
/** Rejection details if patches failed (set by harness.apply, undefined for step-only results) */
|
|
602
|
+
rejectedPatches?: PatchRejection[];
|
|
603
|
+
}
|
|
604
|
+
/** Harness configuration */
|
|
605
|
+
interface HarnessConfig {
|
|
606
|
+
maxIssuesPerTurn: number;
|
|
607
|
+
maxPatchesPerTurn: number;
|
|
608
|
+
maxTurns: number;
|
|
609
|
+
/** Maximum unique fields to include issues for per turn (undefined = unlimited) */
|
|
610
|
+
maxFieldsPerTurn?: number;
|
|
611
|
+
/** Maximum unique groups to include issues for per turn (undefined = unlimited) */
|
|
612
|
+
maxGroupsPerTurn?: number;
|
|
613
|
+
/** Target roles to fill (default: [AGENT_ROLE], '*' for all) */
|
|
614
|
+
targetRoles?: string[];
|
|
615
|
+
/** Fill mode: 'continue' (skip filled) or 'overwrite' (re-fill) */
|
|
616
|
+
fillMode?: FillMode;
|
|
617
|
+
}
|
|
618
|
+
/** LLM stats for a turn (from live agent) */
|
|
619
|
+
interface SessionTurnStats {
|
|
620
|
+
/** Input tokens for this turn */
|
|
621
|
+
inputTokens?: number;
|
|
622
|
+
/** Output tokens for this turn */
|
|
623
|
+
outputTokens?: number;
|
|
624
|
+
/** Tool calls made during this turn */
|
|
625
|
+
toolCalls?: {
|
|
626
|
+
name: string;
|
|
627
|
+
count: number;
|
|
628
|
+
}[];
|
|
629
|
+
}
|
|
630
|
+
/** Context prompts sent to LLM (for session logging and debugging) */
|
|
631
|
+
interface SessionTurnContext {
|
|
632
|
+
/** System prompt with instructions */
|
|
633
|
+
systemPrompt: string;
|
|
634
|
+
/** Context prompt with issues and field schema */
|
|
635
|
+
contextPrompt: string;
|
|
636
|
+
}
|
|
637
|
+
/** Session turn - one iteration of the harness loop */
|
|
638
|
+
interface SessionTurn {
|
|
639
|
+
turn: number;
|
|
640
|
+
inspect: {
|
|
641
|
+
issues: InspectIssue[];
|
|
642
|
+
};
|
|
643
|
+
/** Context sent to LLM (prompts with field schema info) */
|
|
644
|
+
context?: SessionTurnContext;
|
|
645
|
+
apply: {
|
|
646
|
+
patches: Patch[];
|
|
647
|
+
/** Patches that were rejected (type mismatch, invalid field, etc.) */
|
|
648
|
+
rejectedPatches?: PatchRejection[];
|
|
649
|
+
};
|
|
650
|
+
after: {
|
|
651
|
+
requiredIssueCount: number;
|
|
652
|
+
markdownSha256: string;
|
|
653
|
+
answeredFieldCount: number;
|
|
654
|
+
skippedFieldCount: number;
|
|
655
|
+
};
|
|
656
|
+
/** LLM stats (only present for live agent sessions) */
|
|
657
|
+
llm?: SessionTurnStats;
|
|
658
|
+
}
|
|
659
|
+
/** Final session expectations */
|
|
660
|
+
interface SessionFinal {
|
|
661
|
+
expectComplete: boolean;
|
|
662
|
+
expectedCompletedForm: string;
|
|
663
|
+
}
|
|
664
|
+
/** Session transcript for golden testing */
|
|
665
|
+
interface SessionTranscript {
|
|
666
|
+
sessionVersion: string;
|
|
667
|
+
mode: MockMode;
|
|
668
|
+
form: {
|
|
669
|
+
path: string;
|
|
670
|
+
};
|
|
671
|
+
validators?: {
|
|
672
|
+
code?: string;
|
|
673
|
+
};
|
|
674
|
+
mock?: {
|
|
675
|
+
completedMock: string;
|
|
676
|
+
};
|
|
677
|
+
live?: {
|
|
678
|
+
modelId: string;
|
|
679
|
+
};
|
|
680
|
+
harness: HarnessConfig;
|
|
681
|
+
turns: SessionTurn[];
|
|
682
|
+
final: SessionFinal;
|
|
683
|
+
}
|
|
684
|
+
/** Markform frontmatter structure */
|
|
685
|
+
interface MarkformFrontmatter {
|
|
686
|
+
markformVersion: string;
|
|
687
|
+
formSummary: StructureSummary;
|
|
688
|
+
formProgress: ProgressSummary;
|
|
689
|
+
formState: ProgressState;
|
|
690
|
+
}
|
|
691
|
+
/** Context passed to validator functions */
|
|
692
|
+
interface ValidatorContext {
|
|
693
|
+
schema: FormSchema;
|
|
694
|
+
values: Record<Id, FieldValue>;
|
|
695
|
+
targetId: Id;
|
|
696
|
+
targetSchema: Field | FieldGroup | FormSchema;
|
|
697
|
+
params: Record<string, unknown>;
|
|
698
|
+
}
|
|
699
|
+
/** Validator function signature */
|
|
700
|
+
type ValidatorFn = (ctx: ValidatorContext) => ValidationIssue[];
|
|
701
|
+
/** Validator registry from sidecar files */
|
|
702
|
+
type ValidatorRegistry = Record<string, ValidatorFn>;
|
|
703
|
+
declare const IdSchema: z.ZodString;
|
|
704
|
+
declare const OptionIdSchema: z.ZodString;
|
|
705
|
+
declare const ValidatorRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
706
|
+
id: z.ZodString;
|
|
707
|
+
}, z.core.$loose>]>;
|
|
708
|
+
declare const AnswerStateSchema: z.ZodEnum<{
|
|
709
|
+
unanswered: "unanswered";
|
|
710
|
+
answered: "answered";
|
|
711
|
+
skipped: "skipped";
|
|
712
|
+
aborted: "aborted";
|
|
713
|
+
}>;
|
|
714
|
+
declare const MultiCheckboxStateSchema: z.ZodEnum<{
|
|
715
|
+
todo: "todo";
|
|
716
|
+
done: "done";
|
|
717
|
+
incomplete: "incomplete";
|
|
718
|
+
active: "active";
|
|
719
|
+
na: "na";
|
|
720
|
+
}>;
|
|
721
|
+
declare const SimpleCheckboxStateSchema: z.ZodEnum<{
|
|
722
|
+
todo: "todo";
|
|
723
|
+
done: "done";
|
|
724
|
+
}>;
|
|
725
|
+
declare const ExplicitCheckboxValueSchema: z.ZodEnum<{
|
|
726
|
+
unfilled: "unfilled";
|
|
727
|
+
yes: "yes";
|
|
728
|
+
no: "no";
|
|
729
|
+
}>;
|
|
730
|
+
declare const CheckboxValueSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
731
|
+
todo: "todo";
|
|
732
|
+
done: "done";
|
|
733
|
+
incomplete: "incomplete";
|
|
734
|
+
active: "active";
|
|
735
|
+
na: "na";
|
|
736
|
+
}>, z.ZodEnum<{
|
|
737
|
+
unfilled: "unfilled";
|
|
738
|
+
yes: "yes";
|
|
739
|
+
no: "no";
|
|
740
|
+
}>]>;
|
|
741
|
+
declare const CheckboxModeSchema: z.ZodEnum<{
|
|
742
|
+
multi: "multi";
|
|
743
|
+
simple: "simple";
|
|
744
|
+
explicit: "explicit";
|
|
745
|
+
}>;
|
|
746
|
+
declare const FieldKindSchema: z.ZodEnum<{
|
|
747
|
+
string: "string";
|
|
748
|
+
number: "number";
|
|
749
|
+
string_list: "string_list";
|
|
750
|
+
url: "url";
|
|
751
|
+
url_list: "url_list";
|
|
752
|
+
single_select: "single_select";
|
|
753
|
+
multi_select: "multi_select";
|
|
754
|
+
checkboxes: "checkboxes";
|
|
755
|
+
date: "date";
|
|
756
|
+
year: "year";
|
|
757
|
+
table: "table";
|
|
758
|
+
}>;
|
|
759
|
+
/** Base column type name schema */
|
|
760
|
+
declare const ColumnTypeNameSchema: z.ZodEnum<{
|
|
761
|
+
string: "string";
|
|
762
|
+
number: "number";
|
|
763
|
+
url: "url";
|
|
764
|
+
date: "date";
|
|
765
|
+
year: "year";
|
|
766
|
+
}>;
|
|
767
|
+
/**
|
|
768
|
+
* Table column schema (normalized form after parsing).
|
|
769
|
+
* Always has explicit required flag.
|
|
770
|
+
*/
|
|
771
|
+
declare const TableColumnSchema: z.ZodObject<{
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
label: z.ZodString;
|
|
774
|
+
type: z.ZodEnum<{
|
|
775
|
+
string: "string";
|
|
776
|
+
number: "number";
|
|
777
|
+
url: "url";
|
|
778
|
+
date: "date";
|
|
779
|
+
year: "year";
|
|
780
|
+
}>;
|
|
781
|
+
required: z.ZodBoolean;
|
|
782
|
+
}, z.core.$strip>;
|
|
783
|
+
/** Cell response schema */
|
|
784
|
+
declare const CellResponseSchema: z.ZodObject<{
|
|
785
|
+
state: z.ZodEnum<{
|
|
786
|
+
answered: "answered";
|
|
787
|
+
skipped: "skipped";
|
|
788
|
+
aborted: "aborted";
|
|
789
|
+
}>;
|
|
790
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
791
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
792
|
+
}, z.core.$strip>;
|
|
793
|
+
/** Table row response schema */
|
|
794
|
+
declare const TableRowResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
795
|
+
state: z.ZodEnum<{
|
|
796
|
+
answered: "answered";
|
|
797
|
+
skipped: "skipped";
|
|
798
|
+
aborted: "aborted";
|
|
799
|
+
}>;
|
|
800
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
801
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
802
|
+
}, z.core.$strip>>;
|
|
803
|
+
/** Table value schema */
|
|
804
|
+
declare const TableValueSchema: z.ZodObject<{
|
|
805
|
+
kind: z.ZodLiteral<"table">;
|
|
806
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
807
|
+
state: z.ZodEnum<{
|
|
808
|
+
answered: "answered";
|
|
809
|
+
skipped: "skipped";
|
|
810
|
+
aborted: "aborted";
|
|
811
|
+
}>;
|
|
812
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
813
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
814
|
+
}, z.core.$strip>>>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
/** Table row patch schema (simplified for patches) */
|
|
817
|
+
declare const TableRowPatchSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodNull, z.ZodString]>>;
|
|
818
|
+
declare const OptionSchema: z.ZodObject<{
|
|
819
|
+
id: z.ZodString;
|
|
820
|
+
label: z.ZodString;
|
|
821
|
+
}, z.core.$strip>;
|
|
822
|
+
declare const StringFieldSchema: z.ZodObject<{
|
|
823
|
+
kind: z.ZodLiteral<"string">;
|
|
824
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
825
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
826
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
827
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
id: z.ZodString;
|
|
829
|
+
label: z.ZodString;
|
|
830
|
+
required: z.ZodBoolean;
|
|
831
|
+
priority: z.ZodEnum<{
|
|
832
|
+
high: "high";
|
|
833
|
+
medium: "medium";
|
|
834
|
+
low: "low";
|
|
835
|
+
}>;
|
|
836
|
+
role: z.ZodString;
|
|
837
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
838
|
+
id: z.ZodString;
|
|
839
|
+
}, z.core.$loose>]>>>;
|
|
840
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
841
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
842
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
843
|
+
}, z.core.$strip>;
|
|
844
|
+
declare const NumberFieldSchema: z.ZodObject<{
|
|
845
|
+
kind: z.ZodLiteral<"number">;
|
|
846
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
847
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
848
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
849
|
+
id: z.ZodString;
|
|
850
|
+
label: z.ZodString;
|
|
851
|
+
required: z.ZodBoolean;
|
|
852
|
+
priority: z.ZodEnum<{
|
|
853
|
+
high: "high";
|
|
854
|
+
medium: "medium";
|
|
855
|
+
low: "low";
|
|
856
|
+
}>;
|
|
857
|
+
role: z.ZodString;
|
|
858
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
859
|
+
id: z.ZodString;
|
|
860
|
+
}, z.core.$loose>]>>>;
|
|
861
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
863
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
864
|
+
}, z.core.$strip>;
|
|
865
|
+
declare const StringListFieldSchema: z.ZodObject<{
|
|
866
|
+
kind: z.ZodLiteral<"string_list">;
|
|
867
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
868
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
869
|
+
itemMinLength: z.ZodOptional<z.ZodNumber>;
|
|
870
|
+
itemMaxLength: z.ZodOptional<z.ZodNumber>;
|
|
871
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
id: z.ZodString;
|
|
873
|
+
label: z.ZodString;
|
|
874
|
+
required: z.ZodBoolean;
|
|
875
|
+
priority: z.ZodEnum<{
|
|
876
|
+
high: "high";
|
|
877
|
+
medium: "medium";
|
|
878
|
+
low: "low";
|
|
879
|
+
}>;
|
|
880
|
+
role: z.ZodString;
|
|
881
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
882
|
+
id: z.ZodString;
|
|
883
|
+
}, z.core.$loose>]>>>;
|
|
884
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
885
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
886
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
declare const CheckboxesFieldSchema: z.ZodObject<{
|
|
889
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
890
|
+
checkboxMode: z.ZodEnum<{
|
|
891
|
+
multi: "multi";
|
|
892
|
+
simple: "simple";
|
|
893
|
+
explicit: "explicit";
|
|
894
|
+
}>;
|
|
895
|
+
minDone: z.ZodOptional<z.ZodNumber>;
|
|
896
|
+
options: z.ZodArray<z.ZodObject<{
|
|
897
|
+
id: z.ZodString;
|
|
898
|
+
label: z.ZodString;
|
|
899
|
+
}, z.core.$strip>>;
|
|
900
|
+
approvalMode: z.ZodEnum<{
|
|
901
|
+
none: "none";
|
|
902
|
+
blocking: "blocking";
|
|
903
|
+
}>;
|
|
904
|
+
id: z.ZodString;
|
|
905
|
+
label: z.ZodString;
|
|
906
|
+
required: z.ZodBoolean;
|
|
907
|
+
priority: z.ZodEnum<{
|
|
908
|
+
high: "high";
|
|
909
|
+
medium: "medium";
|
|
910
|
+
low: "low";
|
|
911
|
+
}>;
|
|
912
|
+
role: z.ZodString;
|
|
913
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
914
|
+
id: z.ZodString;
|
|
915
|
+
}, z.core.$loose>]>>>;
|
|
916
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
918
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
919
|
+
}, z.core.$strip>;
|
|
920
|
+
declare const SingleSelectFieldSchema: z.ZodObject<{
|
|
921
|
+
kind: z.ZodLiteral<"single_select">;
|
|
922
|
+
options: z.ZodArray<z.ZodObject<{
|
|
923
|
+
id: z.ZodString;
|
|
924
|
+
label: z.ZodString;
|
|
925
|
+
}, z.core.$strip>>;
|
|
926
|
+
id: z.ZodString;
|
|
927
|
+
label: z.ZodString;
|
|
928
|
+
required: z.ZodBoolean;
|
|
929
|
+
priority: z.ZodEnum<{
|
|
930
|
+
high: "high";
|
|
931
|
+
medium: "medium";
|
|
932
|
+
low: "low";
|
|
933
|
+
}>;
|
|
934
|
+
role: z.ZodString;
|
|
935
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
936
|
+
id: z.ZodString;
|
|
937
|
+
}, z.core.$loose>]>>>;
|
|
938
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
940
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
declare const MultiSelectFieldSchema: z.ZodObject<{
|
|
943
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
944
|
+
options: z.ZodArray<z.ZodObject<{
|
|
945
|
+
id: z.ZodString;
|
|
946
|
+
label: z.ZodString;
|
|
947
|
+
}, z.core.$strip>>;
|
|
948
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
950
|
+
id: z.ZodString;
|
|
951
|
+
label: z.ZodString;
|
|
952
|
+
required: z.ZodBoolean;
|
|
953
|
+
priority: z.ZodEnum<{
|
|
954
|
+
high: "high";
|
|
955
|
+
medium: "medium";
|
|
956
|
+
low: "low";
|
|
957
|
+
}>;
|
|
958
|
+
role: z.ZodString;
|
|
959
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
960
|
+
id: z.ZodString;
|
|
961
|
+
}, z.core.$loose>]>>>;
|
|
962
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
964
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
965
|
+
}, z.core.$strip>;
|
|
966
|
+
declare const UrlFieldSchema: z.ZodObject<{
|
|
967
|
+
kind: z.ZodLiteral<"url">;
|
|
968
|
+
id: z.ZodString;
|
|
969
|
+
label: z.ZodString;
|
|
970
|
+
required: z.ZodBoolean;
|
|
971
|
+
priority: z.ZodEnum<{
|
|
972
|
+
high: "high";
|
|
973
|
+
medium: "medium";
|
|
974
|
+
low: "low";
|
|
975
|
+
}>;
|
|
976
|
+
role: z.ZodString;
|
|
977
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
978
|
+
id: z.ZodString;
|
|
979
|
+
}, z.core.$loose>]>>>;
|
|
980
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
981
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
982
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
983
|
+
}, z.core.$strip>;
|
|
984
|
+
declare const UrlListFieldSchema: z.ZodObject<{
|
|
985
|
+
kind: z.ZodLiteral<"url_list">;
|
|
986
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
987
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
989
|
+
id: z.ZodString;
|
|
990
|
+
label: z.ZodString;
|
|
991
|
+
required: z.ZodBoolean;
|
|
992
|
+
priority: z.ZodEnum<{
|
|
993
|
+
high: "high";
|
|
994
|
+
medium: "medium";
|
|
995
|
+
low: "low";
|
|
996
|
+
}>;
|
|
997
|
+
role: z.ZodString;
|
|
998
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
999
|
+
id: z.ZodString;
|
|
1000
|
+
}, z.core.$loose>]>>>;
|
|
1001
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1002
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1004
|
+
}, z.core.$strip>;
|
|
1005
|
+
declare const DateFieldSchema: z.ZodObject<{
|
|
1006
|
+
kind: z.ZodLiteral<"date">;
|
|
1007
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
id: z.ZodString;
|
|
1010
|
+
label: z.ZodString;
|
|
1011
|
+
required: z.ZodBoolean;
|
|
1012
|
+
priority: z.ZodEnum<{
|
|
1013
|
+
high: "high";
|
|
1014
|
+
medium: "medium";
|
|
1015
|
+
low: "low";
|
|
1016
|
+
}>;
|
|
1017
|
+
role: z.ZodString;
|
|
1018
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1019
|
+
id: z.ZodString;
|
|
1020
|
+
}, z.core.$loose>]>>>;
|
|
1021
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1024
|
+
}, z.core.$strip>;
|
|
1025
|
+
declare const YearFieldSchema: z.ZodObject<{
|
|
1026
|
+
kind: z.ZodLiteral<"year">;
|
|
1027
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1028
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
label: z.ZodString;
|
|
1031
|
+
required: z.ZodBoolean;
|
|
1032
|
+
priority: z.ZodEnum<{
|
|
1033
|
+
high: "high";
|
|
1034
|
+
medium: "medium";
|
|
1035
|
+
low: "low";
|
|
1036
|
+
}>;
|
|
1037
|
+
role: z.ZodString;
|
|
1038
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1039
|
+
id: z.ZodString;
|
|
1040
|
+
}, z.core.$loose>]>>>;
|
|
1041
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1042
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1044
|
+
}, z.core.$strip>;
|
|
1045
|
+
/** Table field schema (extends FieldBase pattern) */
|
|
1046
|
+
declare const TableFieldSchema: z.ZodObject<{
|
|
1047
|
+
kind: z.ZodLiteral<"table">;
|
|
1048
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1049
|
+
id: z.ZodString;
|
|
1050
|
+
label: z.ZodString;
|
|
1051
|
+
type: z.ZodEnum<{
|
|
1052
|
+
string: "string";
|
|
1053
|
+
number: "number";
|
|
1054
|
+
url: "url";
|
|
1055
|
+
date: "date";
|
|
1056
|
+
year: "year";
|
|
1057
|
+
}>;
|
|
1058
|
+
required: z.ZodBoolean;
|
|
1059
|
+
}, z.core.$strip>>;
|
|
1060
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
1062
|
+
id: z.ZodString;
|
|
1063
|
+
label: z.ZodString;
|
|
1064
|
+
required: z.ZodBoolean;
|
|
1065
|
+
priority: z.ZodEnum<{
|
|
1066
|
+
high: "high";
|
|
1067
|
+
medium: "medium";
|
|
1068
|
+
low: "low";
|
|
1069
|
+
}>;
|
|
1070
|
+
role: z.ZodString;
|
|
1071
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1072
|
+
id: z.ZodString;
|
|
1073
|
+
}, z.core.$loose>]>>>;
|
|
1074
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1075
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
declare const FieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1079
|
+
kind: z.ZodLiteral<"string">;
|
|
1080
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1083
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1084
|
+
id: z.ZodString;
|
|
1085
|
+
label: z.ZodString;
|
|
1086
|
+
required: z.ZodBoolean;
|
|
1087
|
+
priority: z.ZodEnum<{
|
|
1088
|
+
high: "high";
|
|
1089
|
+
medium: "medium";
|
|
1090
|
+
low: "low";
|
|
1091
|
+
}>;
|
|
1092
|
+
role: z.ZodString;
|
|
1093
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1094
|
+
id: z.ZodString;
|
|
1095
|
+
}, z.core.$loose>]>>>;
|
|
1096
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1100
|
+
kind: z.ZodLiteral<"number">;
|
|
1101
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1102
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
1104
|
+
id: z.ZodString;
|
|
1105
|
+
label: z.ZodString;
|
|
1106
|
+
required: z.ZodBoolean;
|
|
1107
|
+
priority: z.ZodEnum<{
|
|
1108
|
+
high: "high";
|
|
1109
|
+
medium: "medium";
|
|
1110
|
+
low: "low";
|
|
1111
|
+
}>;
|
|
1112
|
+
role: z.ZodString;
|
|
1113
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1114
|
+
id: z.ZodString;
|
|
1115
|
+
}, z.core.$loose>]>>>;
|
|
1116
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1117
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1120
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1121
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1122
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1123
|
+
itemMinLength: z.ZodOptional<z.ZodNumber>;
|
|
1124
|
+
itemMaxLength: z.ZodOptional<z.ZodNumber>;
|
|
1125
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1126
|
+
id: z.ZodString;
|
|
1127
|
+
label: z.ZodString;
|
|
1128
|
+
required: z.ZodBoolean;
|
|
1129
|
+
priority: z.ZodEnum<{
|
|
1130
|
+
high: "high";
|
|
1131
|
+
medium: "medium";
|
|
1132
|
+
low: "low";
|
|
1133
|
+
}>;
|
|
1134
|
+
role: z.ZodString;
|
|
1135
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1136
|
+
id: z.ZodString;
|
|
1137
|
+
}, z.core.$loose>]>>>;
|
|
1138
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1142
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1143
|
+
checkboxMode: z.ZodEnum<{
|
|
1144
|
+
multi: "multi";
|
|
1145
|
+
simple: "simple";
|
|
1146
|
+
explicit: "explicit";
|
|
1147
|
+
}>;
|
|
1148
|
+
minDone: z.ZodOptional<z.ZodNumber>;
|
|
1149
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1150
|
+
id: z.ZodString;
|
|
1151
|
+
label: z.ZodString;
|
|
1152
|
+
}, z.core.$strip>>;
|
|
1153
|
+
approvalMode: z.ZodEnum<{
|
|
1154
|
+
none: "none";
|
|
1155
|
+
blocking: "blocking";
|
|
1156
|
+
}>;
|
|
1157
|
+
id: z.ZodString;
|
|
1158
|
+
label: z.ZodString;
|
|
1159
|
+
required: z.ZodBoolean;
|
|
1160
|
+
priority: z.ZodEnum<{
|
|
1161
|
+
high: "high";
|
|
1162
|
+
medium: "medium";
|
|
1163
|
+
low: "low";
|
|
1164
|
+
}>;
|
|
1165
|
+
role: z.ZodString;
|
|
1166
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1167
|
+
id: z.ZodString;
|
|
1168
|
+
}, z.core.$loose>]>>>;
|
|
1169
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1170
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1173
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1174
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1175
|
+
id: z.ZodString;
|
|
1176
|
+
label: z.ZodString;
|
|
1177
|
+
}, z.core.$strip>>;
|
|
1178
|
+
id: z.ZodString;
|
|
1179
|
+
label: z.ZodString;
|
|
1180
|
+
required: z.ZodBoolean;
|
|
1181
|
+
priority: z.ZodEnum<{
|
|
1182
|
+
high: "high";
|
|
1183
|
+
medium: "medium";
|
|
1184
|
+
low: "low";
|
|
1185
|
+
}>;
|
|
1186
|
+
role: z.ZodString;
|
|
1187
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1188
|
+
id: z.ZodString;
|
|
1189
|
+
}, z.core.$loose>]>>>;
|
|
1190
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1191
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1194
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1195
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
id: z.ZodString;
|
|
1197
|
+
label: z.ZodString;
|
|
1198
|
+
}, z.core.$strip>>;
|
|
1199
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1200
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
+
id: z.ZodString;
|
|
1202
|
+
label: z.ZodString;
|
|
1203
|
+
required: z.ZodBoolean;
|
|
1204
|
+
priority: z.ZodEnum<{
|
|
1205
|
+
high: "high";
|
|
1206
|
+
medium: "medium";
|
|
1207
|
+
low: "low";
|
|
1208
|
+
}>;
|
|
1209
|
+
role: z.ZodString;
|
|
1210
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1211
|
+
id: z.ZodString;
|
|
1212
|
+
}, z.core.$loose>]>>>;
|
|
1213
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1214
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1217
|
+
kind: z.ZodLiteral<"url">;
|
|
1218
|
+
id: z.ZodString;
|
|
1219
|
+
label: z.ZodString;
|
|
1220
|
+
required: z.ZodBoolean;
|
|
1221
|
+
priority: z.ZodEnum<{
|
|
1222
|
+
high: "high";
|
|
1223
|
+
medium: "medium";
|
|
1224
|
+
low: "low";
|
|
1225
|
+
}>;
|
|
1226
|
+
role: z.ZodString;
|
|
1227
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1228
|
+
id: z.ZodString;
|
|
1229
|
+
}, z.core.$loose>]>>>;
|
|
1230
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1231
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1234
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1235
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1236
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1237
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1238
|
+
id: z.ZodString;
|
|
1239
|
+
label: z.ZodString;
|
|
1240
|
+
required: z.ZodBoolean;
|
|
1241
|
+
priority: z.ZodEnum<{
|
|
1242
|
+
high: "high";
|
|
1243
|
+
medium: "medium";
|
|
1244
|
+
low: "low";
|
|
1245
|
+
}>;
|
|
1246
|
+
role: z.ZodString;
|
|
1247
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1248
|
+
id: z.ZodString;
|
|
1249
|
+
}, z.core.$loose>]>>>;
|
|
1250
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1251
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1253
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1254
|
+
kind: z.ZodLiteral<"date">;
|
|
1255
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
id: z.ZodString;
|
|
1258
|
+
label: z.ZodString;
|
|
1259
|
+
required: z.ZodBoolean;
|
|
1260
|
+
priority: z.ZodEnum<{
|
|
1261
|
+
high: "high";
|
|
1262
|
+
medium: "medium";
|
|
1263
|
+
low: "low";
|
|
1264
|
+
}>;
|
|
1265
|
+
role: z.ZodString;
|
|
1266
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1267
|
+
id: z.ZodString;
|
|
1268
|
+
}, z.core.$loose>]>>>;
|
|
1269
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1270
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1273
|
+
kind: z.ZodLiteral<"year">;
|
|
1274
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1275
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
+
id: z.ZodString;
|
|
1277
|
+
label: z.ZodString;
|
|
1278
|
+
required: z.ZodBoolean;
|
|
1279
|
+
priority: z.ZodEnum<{
|
|
1280
|
+
high: "high";
|
|
1281
|
+
medium: "medium";
|
|
1282
|
+
low: "low";
|
|
1283
|
+
}>;
|
|
1284
|
+
role: z.ZodString;
|
|
1285
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1286
|
+
id: z.ZodString;
|
|
1287
|
+
}, z.core.$loose>]>>>;
|
|
1288
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1289
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1292
|
+
kind: z.ZodLiteral<"table">;
|
|
1293
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1294
|
+
id: z.ZodString;
|
|
1295
|
+
label: z.ZodString;
|
|
1296
|
+
type: z.ZodEnum<{
|
|
1297
|
+
string: "string";
|
|
1298
|
+
number: "number";
|
|
1299
|
+
url: "url";
|
|
1300
|
+
date: "date";
|
|
1301
|
+
year: "year";
|
|
1302
|
+
}>;
|
|
1303
|
+
required: z.ZodBoolean;
|
|
1304
|
+
}, z.core.$strip>>;
|
|
1305
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
1306
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
1307
|
+
id: z.ZodString;
|
|
1308
|
+
label: z.ZodString;
|
|
1309
|
+
required: z.ZodBoolean;
|
|
1310
|
+
priority: z.ZodEnum<{
|
|
1311
|
+
high: "high";
|
|
1312
|
+
medium: "medium";
|
|
1313
|
+
low: "low";
|
|
1314
|
+
}>;
|
|
1315
|
+
role: z.ZodString;
|
|
1316
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1317
|
+
id: z.ZodString;
|
|
1318
|
+
}, z.core.$loose>]>>>;
|
|
1319
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1320
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1322
|
+
}, z.core.$strip>], "kind">;
|
|
1323
|
+
declare const FieldGroupSchema: z.ZodObject<{
|
|
1324
|
+
id: z.ZodString;
|
|
1325
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1327
|
+
id: z.ZodString;
|
|
1328
|
+
}, z.core.$loose>]>>>;
|
|
1329
|
+
children: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1330
|
+
kind: z.ZodLiteral<"string">;
|
|
1331
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1334
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
id: z.ZodString;
|
|
1336
|
+
label: z.ZodString;
|
|
1337
|
+
required: z.ZodBoolean;
|
|
1338
|
+
priority: z.ZodEnum<{
|
|
1339
|
+
high: "high";
|
|
1340
|
+
medium: "medium";
|
|
1341
|
+
low: "low";
|
|
1342
|
+
}>;
|
|
1343
|
+
role: z.ZodString;
|
|
1344
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1345
|
+
id: z.ZodString;
|
|
1346
|
+
}, z.core.$loose>]>>>;
|
|
1347
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1348
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"number">;
|
|
1352
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
1355
|
+
id: z.ZodString;
|
|
1356
|
+
label: z.ZodString;
|
|
1357
|
+
required: z.ZodBoolean;
|
|
1358
|
+
priority: z.ZodEnum<{
|
|
1359
|
+
high: "high";
|
|
1360
|
+
medium: "medium";
|
|
1361
|
+
low: "low";
|
|
1362
|
+
}>;
|
|
1363
|
+
role: z.ZodString;
|
|
1364
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1365
|
+
id: z.ZodString;
|
|
1366
|
+
}, z.core.$loose>]>>>;
|
|
1367
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1371
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1372
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1374
|
+
itemMinLength: z.ZodOptional<z.ZodNumber>;
|
|
1375
|
+
itemMaxLength: z.ZodOptional<z.ZodNumber>;
|
|
1376
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1377
|
+
id: z.ZodString;
|
|
1378
|
+
label: z.ZodString;
|
|
1379
|
+
required: z.ZodBoolean;
|
|
1380
|
+
priority: z.ZodEnum<{
|
|
1381
|
+
high: "high";
|
|
1382
|
+
medium: "medium";
|
|
1383
|
+
low: "low";
|
|
1384
|
+
}>;
|
|
1385
|
+
role: z.ZodString;
|
|
1386
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1387
|
+
id: z.ZodString;
|
|
1388
|
+
}, z.core.$loose>]>>>;
|
|
1389
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1390
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1393
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1394
|
+
checkboxMode: z.ZodEnum<{
|
|
1395
|
+
multi: "multi";
|
|
1396
|
+
simple: "simple";
|
|
1397
|
+
explicit: "explicit";
|
|
1398
|
+
}>;
|
|
1399
|
+
minDone: z.ZodOptional<z.ZodNumber>;
|
|
1400
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1401
|
+
id: z.ZodString;
|
|
1402
|
+
label: z.ZodString;
|
|
1403
|
+
}, z.core.$strip>>;
|
|
1404
|
+
approvalMode: z.ZodEnum<{
|
|
1405
|
+
none: "none";
|
|
1406
|
+
blocking: "blocking";
|
|
1407
|
+
}>;
|
|
1408
|
+
id: z.ZodString;
|
|
1409
|
+
label: z.ZodString;
|
|
1410
|
+
required: z.ZodBoolean;
|
|
1411
|
+
priority: z.ZodEnum<{
|
|
1412
|
+
high: "high";
|
|
1413
|
+
medium: "medium";
|
|
1414
|
+
low: "low";
|
|
1415
|
+
}>;
|
|
1416
|
+
role: z.ZodString;
|
|
1417
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1418
|
+
id: z.ZodString;
|
|
1419
|
+
}, z.core.$loose>]>>>;
|
|
1420
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1421
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1424
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1425
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1426
|
+
id: z.ZodString;
|
|
1427
|
+
label: z.ZodString;
|
|
1428
|
+
}, z.core.$strip>>;
|
|
1429
|
+
id: z.ZodString;
|
|
1430
|
+
label: z.ZodString;
|
|
1431
|
+
required: z.ZodBoolean;
|
|
1432
|
+
priority: z.ZodEnum<{
|
|
1433
|
+
high: "high";
|
|
1434
|
+
medium: "medium";
|
|
1435
|
+
low: "low";
|
|
1436
|
+
}>;
|
|
1437
|
+
role: z.ZodString;
|
|
1438
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1439
|
+
id: z.ZodString;
|
|
1440
|
+
}, z.core.$loose>]>>>;
|
|
1441
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1442
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1444
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1445
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1446
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1447
|
+
id: z.ZodString;
|
|
1448
|
+
label: z.ZodString;
|
|
1449
|
+
}, z.core.$strip>>;
|
|
1450
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1451
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1452
|
+
id: z.ZodString;
|
|
1453
|
+
label: z.ZodString;
|
|
1454
|
+
required: z.ZodBoolean;
|
|
1455
|
+
priority: z.ZodEnum<{
|
|
1456
|
+
high: "high";
|
|
1457
|
+
medium: "medium";
|
|
1458
|
+
low: "low";
|
|
1459
|
+
}>;
|
|
1460
|
+
role: z.ZodString;
|
|
1461
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1462
|
+
id: z.ZodString;
|
|
1463
|
+
}, z.core.$loose>]>>>;
|
|
1464
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1468
|
+
kind: z.ZodLiteral<"url">;
|
|
1469
|
+
id: z.ZodString;
|
|
1470
|
+
label: z.ZodString;
|
|
1471
|
+
required: z.ZodBoolean;
|
|
1472
|
+
priority: z.ZodEnum<{
|
|
1473
|
+
high: "high";
|
|
1474
|
+
medium: "medium";
|
|
1475
|
+
low: "low";
|
|
1476
|
+
}>;
|
|
1477
|
+
role: z.ZodString;
|
|
1478
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1479
|
+
id: z.ZodString;
|
|
1480
|
+
}, z.core.$loose>]>>>;
|
|
1481
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1482
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1485
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1486
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1487
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1488
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1489
|
+
id: z.ZodString;
|
|
1490
|
+
label: z.ZodString;
|
|
1491
|
+
required: z.ZodBoolean;
|
|
1492
|
+
priority: z.ZodEnum<{
|
|
1493
|
+
high: "high";
|
|
1494
|
+
medium: "medium";
|
|
1495
|
+
low: "low";
|
|
1496
|
+
}>;
|
|
1497
|
+
role: z.ZodString;
|
|
1498
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1499
|
+
id: z.ZodString;
|
|
1500
|
+
}, z.core.$loose>]>>>;
|
|
1501
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1502
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1504
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1505
|
+
kind: z.ZodLiteral<"date">;
|
|
1506
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
id: z.ZodString;
|
|
1509
|
+
label: z.ZodString;
|
|
1510
|
+
required: z.ZodBoolean;
|
|
1511
|
+
priority: z.ZodEnum<{
|
|
1512
|
+
high: "high";
|
|
1513
|
+
medium: "medium";
|
|
1514
|
+
low: "low";
|
|
1515
|
+
}>;
|
|
1516
|
+
role: z.ZodString;
|
|
1517
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1518
|
+
id: z.ZodString;
|
|
1519
|
+
}, z.core.$loose>]>>>;
|
|
1520
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1521
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1524
|
+
kind: z.ZodLiteral<"year">;
|
|
1525
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1526
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1527
|
+
id: z.ZodString;
|
|
1528
|
+
label: z.ZodString;
|
|
1529
|
+
required: z.ZodBoolean;
|
|
1530
|
+
priority: z.ZodEnum<{
|
|
1531
|
+
high: "high";
|
|
1532
|
+
medium: "medium";
|
|
1533
|
+
low: "low";
|
|
1534
|
+
}>;
|
|
1535
|
+
role: z.ZodString;
|
|
1536
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1537
|
+
id: z.ZodString;
|
|
1538
|
+
}, z.core.$loose>]>>>;
|
|
1539
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1540
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1543
|
+
kind: z.ZodLiteral<"table">;
|
|
1544
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1545
|
+
id: z.ZodString;
|
|
1546
|
+
label: z.ZodString;
|
|
1547
|
+
type: z.ZodEnum<{
|
|
1548
|
+
string: "string";
|
|
1549
|
+
number: "number";
|
|
1550
|
+
url: "url";
|
|
1551
|
+
date: "date";
|
|
1552
|
+
year: "year";
|
|
1553
|
+
}>;
|
|
1554
|
+
required: z.ZodBoolean;
|
|
1555
|
+
}, z.core.$strip>>;
|
|
1556
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
1557
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
1558
|
+
id: z.ZodString;
|
|
1559
|
+
label: z.ZodString;
|
|
1560
|
+
required: z.ZodBoolean;
|
|
1561
|
+
priority: z.ZodEnum<{
|
|
1562
|
+
high: "high";
|
|
1563
|
+
medium: "medium";
|
|
1564
|
+
low: "low";
|
|
1565
|
+
}>;
|
|
1566
|
+
role: z.ZodString;
|
|
1567
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1568
|
+
id: z.ZodString;
|
|
1569
|
+
}, z.core.$loose>]>>>;
|
|
1570
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1571
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1573
|
+
}, z.core.$strip>], "kind">>;
|
|
1574
|
+
}, z.core.$strip>;
|
|
1575
|
+
declare const FormSchemaSchema: z.ZodObject<{
|
|
1576
|
+
id: z.ZodString;
|
|
1577
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
1579
|
+
id: z.ZodString;
|
|
1580
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1582
|
+
id: z.ZodString;
|
|
1583
|
+
}, z.core.$loose>]>>>;
|
|
1584
|
+
children: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1585
|
+
kind: z.ZodLiteral<"string">;
|
|
1586
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1587
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1589
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1590
|
+
id: z.ZodString;
|
|
1591
|
+
label: z.ZodString;
|
|
1592
|
+
required: z.ZodBoolean;
|
|
1593
|
+
priority: z.ZodEnum<{
|
|
1594
|
+
high: "high";
|
|
1595
|
+
medium: "medium";
|
|
1596
|
+
low: "low";
|
|
1597
|
+
}>;
|
|
1598
|
+
role: z.ZodString;
|
|
1599
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1600
|
+
id: z.ZodString;
|
|
1601
|
+
}, z.core.$loose>]>>>;
|
|
1602
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1603
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1606
|
+
kind: z.ZodLiteral<"number">;
|
|
1607
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1608
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1609
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
1610
|
+
id: z.ZodString;
|
|
1611
|
+
label: z.ZodString;
|
|
1612
|
+
required: z.ZodBoolean;
|
|
1613
|
+
priority: z.ZodEnum<{
|
|
1614
|
+
high: "high";
|
|
1615
|
+
medium: "medium";
|
|
1616
|
+
low: "low";
|
|
1617
|
+
}>;
|
|
1618
|
+
role: z.ZodString;
|
|
1619
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1620
|
+
id: z.ZodString;
|
|
1621
|
+
}, z.core.$loose>]>>>;
|
|
1622
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1623
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1626
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1627
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1628
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1629
|
+
itemMinLength: z.ZodOptional<z.ZodNumber>;
|
|
1630
|
+
itemMaxLength: z.ZodOptional<z.ZodNumber>;
|
|
1631
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1632
|
+
id: z.ZodString;
|
|
1633
|
+
label: z.ZodString;
|
|
1634
|
+
required: z.ZodBoolean;
|
|
1635
|
+
priority: z.ZodEnum<{
|
|
1636
|
+
high: "high";
|
|
1637
|
+
medium: "medium";
|
|
1638
|
+
low: "low";
|
|
1639
|
+
}>;
|
|
1640
|
+
role: z.ZodString;
|
|
1641
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1642
|
+
id: z.ZodString;
|
|
1643
|
+
}, z.core.$loose>]>>>;
|
|
1644
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1645
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1648
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1649
|
+
checkboxMode: z.ZodEnum<{
|
|
1650
|
+
multi: "multi";
|
|
1651
|
+
simple: "simple";
|
|
1652
|
+
explicit: "explicit";
|
|
1653
|
+
}>;
|
|
1654
|
+
minDone: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1656
|
+
id: z.ZodString;
|
|
1657
|
+
label: z.ZodString;
|
|
1658
|
+
}, z.core.$strip>>;
|
|
1659
|
+
approvalMode: z.ZodEnum<{
|
|
1660
|
+
none: "none";
|
|
1661
|
+
blocking: "blocking";
|
|
1662
|
+
}>;
|
|
1663
|
+
id: z.ZodString;
|
|
1664
|
+
label: z.ZodString;
|
|
1665
|
+
required: z.ZodBoolean;
|
|
1666
|
+
priority: z.ZodEnum<{
|
|
1667
|
+
high: "high";
|
|
1668
|
+
medium: "medium";
|
|
1669
|
+
low: "low";
|
|
1670
|
+
}>;
|
|
1671
|
+
role: z.ZodString;
|
|
1672
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1673
|
+
id: z.ZodString;
|
|
1674
|
+
}, z.core.$loose>]>>>;
|
|
1675
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1676
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1679
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1680
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1681
|
+
id: z.ZodString;
|
|
1682
|
+
label: z.ZodString;
|
|
1683
|
+
}, z.core.$strip>>;
|
|
1684
|
+
id: z.ZodString;
|
|
1685
|
+
label: z.ZodString;
|
|
1686
|
+
required: z.ZodBoolean;
|
|
1687
|
+
priority: z.ZodEnum<{
|
|
1688
|
+
high: "high";
|
|
1689
|
+
medium: "medium";
|
|
1690
|
+
low: "low";
|
|
1691
|
+
}>;
|
|
1692
|
+
role: z.ZodString;
|
|
1693
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1694
|
+
id: z.ZodString;
|
|
1695
|
+
}, z.core.$loose>]>>>;
|
|
1696
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1697
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1699
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1700
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1701
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1702
|
+
id: z.ZodString;
|
|
1703
|
+
label: z.ZodString;
|
|
1704
|
+
}, z.core.$strip>>;
|
|
1705
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1706
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1707
|
+
id: z.ZodString;
|
|
1708
|
+
label: z.ZodString;
|
|
1709
|
+
required: z.ZodBoolean;
|
|
1710
|
+
priority: z.ZodEnum<{
|
|
1711
|
+
high: "high";
|
|
1712
|
+
medium: "medium";
|
|
1713
|
+
low: "low";
|
|
1714
|
+
}>;
|
|
1715
|
+
role: z.ZodString;
|
|
1716
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1717
|
+
id: z.ZodString;
|
|
1718
|
+
}, z.core.$loose>]>>>;
|
|
1719
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1720
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1723
|
+
kind: z.ZodLiteral<"url">;
|
|
1724
|
+
id: z.ZodString;
|
|
1725
|
+
label: z.ZodString;
|
|
1726
|
+
required: z.ZodBoolean;
|
|
1727
|
+
priority: z.ZodEnum<{
|
|
1728
|
+
high: "high";
|
|
1729
|
+
medium: "medium";
|
|
1730
|
+
low: "low";
|
|
1731
|
+
}>;
|
|
1732
|
+
role: z.ZodString;
|
|
1733
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1734
|
+
id: z.ZodString;
|
|
1735
|
+
}, z.core.$loose>]>>>;
|
|
1736
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1737
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1740
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1741
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1743
|
+
uniqueItems: z.ZodOptional<z.ZodBoolean>;
|
|
1744
|
+
id: z.ZodString;
|
|
1745
|
+
label: z.ZodString;
|
|
1746
|
+
required: z.ZodBoolean;
|
|
1747
|
+
priority: z.ZodEnum<{
|
|
1748
|
+
high: "high";
|
|
1749
|
+
medium: "medium";
|
|
1750
|
+
low: "low";
|
|
1751
|
+
}>;
|
|
1752
|
+
role: z.ZodString;
|
|
1753
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
}, z.core.$loose>]>>>;
|
|
1756
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1757
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1760
|
+
kind: z.ZodLiteral<"date">;
|
|
1761
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
id: z.ZodString;
|
|
1764
|
+
label: z.ZodString;
|
|
1765
|
+
required: z.ZodBoolean;
|
|
1766
|
+
priority: z.ZodEnum<{
|
|
1767
|
+
high: "high";
|
|
1768
|
+
medium: "medium";
|
|
1769
|
+
low: "low";
|
|
1770
|
+
}>;
|
|
1771
|
+
role: z.ZodString;
|
|
1772
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1773
|
+
id: z.ZodString;
|
|
1774
|
+
}, z.core.$loose>]>>>;
|
|
1775
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1776
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1778
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1779
|
+
kind: z.ZodLiteral<"year">;
|
|
1780
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1781
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1782
|
+
id: z.ZodString;
|
|
1783
|
+
label: z.ZodString;
|
|
1784
|
+
required: z.ZodBoolean;
|
|
1785
|
+
priority: z.ZodEnum<{
|
|
1786
|
+
high: "high";
|
|
1787
|
+
medium: "medium";
|
|
1788
|
+
low: "low";
|
|
1789
|
+
}>;
|
|
1790
|
+
role: z.ZodString;
|
|
1791
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1792
|
+
id: z.ZodString;
|
|
1793
|
+
}, z.core.$loose>]>>>;
|
|
1794
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1795
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1798
|
+
kind: z.ZodLiteral<"table">;
|
|
1799
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1800
|
+
id: z.ZodString;
|
|
1801
|
+
label: z.ZodString;
|
|
1802
|
+
type: z.ZodEnum<{
|
|
1803
|
+
string: "string";
|
|
1804
|
+
number: "number";
|
|
1805
|
+
url: "url";
|
|
1806
|
+
date: "date";
|
|
1807
|
+
year: "year";
|
|
1808
|
+
}>;
|
|
1809
|
+
required: z.ZodBoolean;
|
|
1810
|
+
}, z.core.$strip>>;
|
|
1811
|
+
minRows: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
1813
|
+
id: z.ZodString;
|
|
1814
|
+
label: z.ZodString;
|
|
1815
|
+
required: z.ZodBoolean;
|
|
1816
|
+
priority: z.ZodEnum<{
|
|
1817
|
+
high: "high";
|
|
1818
|
+
medium: "medium";
|
|
1819
|
+
low: "low";
|
|
1820
|
+
}>;
|
|
1821
|
+
role: z.ZodString;
|
|
1822
|
+
validate: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1823
|
+
id: z.ZodString;
|
|
1824
|
+
}, z.core.$loose>]>>>;
|
|
1825
|
+
report: z.ZodOptional<z.ZodBoolean>;
|
|
1826
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1827
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1828
|
+
}, z.core.$strip>], "kind">>;
|
|
1829
|
+
}, z.core.$strip>>;
|
|
1830
|
+
}, z.core.$strip>;
|
|
1831
|
+
declare const StringValueSchema: z.ZodObject<{
|
|
1832
|
+
kind: z.ZodLiteral<"string">;
|
|
1833
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1834
|
+
}, z.core.$strip>;
|
|
1835
|
+
declare const NumberValueSchema: z.ZodObject<{
|
|
1836
|
+
kind: z.ZodLiteral<"number">;
|
|
1837
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1838
|
+
}, z.core.$strip>;
|
|
1839
|
+
declare const StringListValueSchema: z.ZodObject<{
|
|
1840
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1841
|
+
items: z.ZodArray<z.ZodString>;
|
|
1842
|
+
}, z.core.$strip>;
|
|
1843
|
+
declare const CheckboxesValueSchema: z.ZodObject<{
|
|
1844
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1845
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
1846
|
+
todo: "todo";
|
|
1847
|
+
done: "done";
|
|
1848
|
+
incomplete: "incomplete";
|
|
1849
|
+
active: "active";
|
|
1850
|
+
na: "na";
|
|
1851
|
+
}>, z.ZodEnum<{
|
|
1852
|
+
unfilled: "unfilled";
|
|
1853
|
+
yes: "yes";
|
|
1854
|
+
no: "no";
|
|
1855
|
+
}>]>>;
|
|
1856
|
+
}, z.core.$strip>;
|
|
1857
|
+
declare const SingleSelectValueSchema: z.ZodObject<{
|
|
1858
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1859
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1861
|
+
declare const MultiSelectValueSchema: z.ZodObject<{
|
|
1862
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1863
|
+
selected: z.ZodArray<z.ZodString>;
|
|
1864
|
+
}, z.core.$strip>;
|
|
1865
|
+
declare const UrlValueSchema: z.ZodObject<{
|
|
1866
|
+
kind: z.ZodLiteral<"url">;
|
|
1867
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1868
|
+
}, z.core.$strip>;
|
|
1869
|
+
declare const UrlListValueSchema: z.ZodObject<{
|
|
1870
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1871
|
+
items: z.ZodArray<z.ZodString>;
|
|
1872
|
+
}, z.core.$strip>;
|
|
1873
|
+
declare const DateValueSchema: z.ZodObject<{
|
|
1874
|
+
kind: z.ZodLiteral<"date">;
|
|
1875
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1876
|
+
}, z.core.$strip>;
|
|
1877
|
+
declare const YearValueSchema: z.ZodObject<{
|
|
1878
|
+
kind: z.ZodLiteral<"year">;
|
|
1879
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1880
|
+
}, z.core.$strip>;
|
|
1881
|
+
declare const FieldValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1882
|
+
kind: z.ZodLiteral<"string">;
|
|
1883
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1885
|
+
kind: z.ZodLiteral<"number">;
|
|
1886
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1888
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1889
|
+
items: z.ZodArray<z.ZodString>;
|
|
1890
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1891
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1892
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
1893
|
+
todo: "todo";
|
|
1894
|
+
done: "done";
|
|
1895
|
+
incomplete: "incomplete";
|
|
1896
|
+
active: "active";
|
|
1897
|
+
na: "na";
|
|
1898
|
+
}>, z.ZodEnum<{
|
|
1899
|
+
unfilled: "unfilled";
|
|
1900
|
+
yes: "yes";
|
|
1901
|
+
no: "no";
|
|
1902
|
+
}>]>>;
|
|
1903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1904
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1905
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
1906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1907
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1908
|
+
selected: z.ZodArray<z.ZodString>;
|
|
1909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1910
|
+
kind: z.ZodLiteral<"url">;
|
|
1911
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1913
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1914
|
+
items: z.ZodArray<z.ZodString>;
|
|
1915
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1916
|
+
kind: z.ZodLiteral<"date">;
|
|
1917
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1918
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1919
|
+
kind: z.ZodLiteral<"year">;
|
|
1920
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1922
|
+
kind: z.ZodLiteral<"table">;
|
|
1923
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1924
|
+
state: z.ZodEnum<{
|
|
1925
|
+
answered: "answered";
|
|
1926
|
+
skipped: "skipped";
|
|
1927
|
+
aborted: "aborted";
|
|
1928
|
+
}>;
|
|
1929
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1930
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
}, z.core.$strip>>>;
|
|
1932
|
+
}, z.core.$strip>], "kind">;
|
|
1933
|
+
declare const FieldResponseSchema: z.ZodObject<{
|
|
1934
|
+
state: z.ZodEnum<{
|
|
1935
|
+
unanswered: "unanswered";
|
|
1936
|
+
answered: "answered";
|
|
1937
|
+
skipped: "skipped";
|
|
1938
|
+
aborted: "aborted";
|
|
1939
|
+
}>;
|
|
1940
|
+
value: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1941
|
+
kind: z.ZodLiteral<"string">;
|
|
1942
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1943
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1944
|
+
kind: z.ZodLiteral<"number">;
|
|
1945
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1946
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1947
|
+
kind: z.ZodLiteral<"string_list">;
|
|
1948
|
+
items: z.ZodArray<z.ZodString>;
|
|
1949
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1950
|
+
kind: z.ZodLiteral<"checkboxes">;
|
|
1951
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
1952
|
+
todo: "todo";
|
|
1953
|
+
done: "done";
|
|
1954
|
+
incomplete: "incomplete";
|
|
1955
|
+
active: "active";
|
|
1956
|
+
na: "na";
|
|
1957
|
+
}>, z.ZodEnum<{
|
|
1958
|
+
unfilled: "unfilled";
|
|
1959
|
+
yes: "yes";
|
|
1960
|
+
no: "no";
|
|
1961
|
+
}>]>>;
|
|
1962
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1963
|
+
kind: z.ZodLiteral<"single_select">;
|
|
1964
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
1965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1966
|
+
kind: z.ZodLiteral<"multi_select">;
|
|
1967
|
+
selected: z.ZodArray<z.ZodString>;
|
|
1968
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1969
|
+
kind: z.ZodLiteral<"url">;
|
|
1970
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1972
|
+
kind: z.ZodLiteral<"url_list">;
|
|
1973
|
+
items: z.ZodArray<z.ZodString>;
|
|
1974
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1975
|
+
kind: z.ZodLiteral<"date">;
|
|
1976
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1978
|
+
kind: z.ZodLiteral<"year">;
|
|
1979
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1980
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1981
|
+
kind: z.ZodLiteral<"table">;
|
|
1982
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1983
|
+
state: z.ZodEnum<{
|
|
1984
|
+
answered: "answered";
|
|
1985
|
+
skipped: "skipped";
|
|
1986
|
+
aborted: "aborted";
|
|
1987
|
+
}>;
|
|
1988
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1989
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
}, z.core.$strip>>>;
|
|
1991
|
+
}, z.core.$strip>], "kind">>;
|
|
1992
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
}, z.core.$strip>;
|
|
1994
|
+
declare const DocumentationTagSchema: z.ZodEnum<{
|
|
1995
|
+
description: "description";
|
|
1996
|
+
instructions: "instructions";
|
|
1997
|
+
documentation: "documentation";
|
|
1998
|
+
}>;
|
|
1999
|
+
declare const DocumentationBlockSchema: z.ZodObject<{
|
|
2000
|
+
tag: z.ZodEnum<{
|
|
2001
|
+
description: "description";
|
|
2002
|
+
instructions: "instructions";
|
|
2003
|
+
documentation: "documentation";
|
|
2004
|
+
}>;
|
|
2005
|
+
ref: z.ZodString;
|
|
2006
|
+
bodyMarkdown: z.ZodString;
|
|
2007
|
+
}, z.core.$strip>;
|
|
2008
|
+
declare const RunModeSchema: z.ZodEnum<{
|
|
2009
|
+
interactive: "interactive";
|
|
2010
|
+
fill: "fill";
|
|
2011
|
+
research: "research";
|
|
2012
|
+
}>;
|
|
2013
|
+
declare const SeveritySchema: z.ZodEnum<{
|
|
2014
|
+
error: "error";
|
|
2015
|
+
warning: "warning";
|
|
2016
|
+
info: "info";
|
|
2017
|
+
}>;
|
|
2018
|
+
declare const SourcePositionSchema: z.ZodObject<{
|
|
2019
|
+
line: z.ZodNumber;
|
|
2020
|
+
col: z.ZodNumber;
|
|
2021
|
+
}, z.core.$strip>;
|
|
2022
|
+
declare const SourceRangeSchema: z.ZodObject<{
|
|
2023
|
+
start: z.ZodObject<{
|
|
2024
|
+
line: z.ZodNumber;
|
|
2025
|
+
col: z.ZodNumber;
|
|
2026
|
+
}, z.core.$strip>;
|
|
2027
|
+
end: z.ZodObject<{
|
|
2028
|
+
line: z.ZodNumber;
|
|
2029
|
+
col: z.ZodNumber;
|
|
2030
|
+
}, z.core.$strip>;
|
|
2031
|
+
}, z.core.$strip>;
|
|
2032
|
+
declare const ValidationIssueSchema: z.ZodObject<{
|
|
2033
|
+
severity: z.ZodEnum<{
|
|
2034
|
+
error: "error";
|
|
2035
|
+
warning: "warning";
|
|
2036
|
+
info: "info";
|
|
2037
|
+
}>;
|
|
2038
|
+
message: z.ZodString;
|
|
2039
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2041
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2043
|
+
start: z.ZodObject<{
|
|
2044
|
+
line: z.ZodNumber;
|
|
2045
|
+
col: z.ZodNumber;
|
|
2046
|
+
}, z.core.$strip>;
|
|
2047
|
+
end: z.ZodObject<{
|
|
2048
|
+
line: z.ZodNumber;
|
|
2049
|
+
col: z.ZodNumber;
|
|
2050
|
+
}, z.core.$strip>;
|
|
2051
|
+
}, z.core.$strip>>;
|
|
2052
|
+
validatorId: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
source: z.ZodEnum<{
|
|
2054
|
+
code: "code";
|
|
2055
|
+
builtin: "builtin";
|
|
2056
|
+
llm: "llm";
|
|
2057
|
+
}>;
|
|
2058
|
+
}, z.core.$strip>;
|
|
2059
|
+
declare const IssueReasonSchema: z.ZodEnum<{
|
|
2060
|
+
validation_error: "validation_error";
|
|
2061
|
+
required_missing: "required_missing";
|
|
2062
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2063
|
+
min_items_not_met: "min_items_not_met";
|
|
2064
|
+
optional_empty: "optional_empty";
|
|
2065
|
+
}>;
|
|
2066
|
+
declare const IssueScopeSchema: z.ZodEnum<{
|
|
2067
|
+
column: "column";
|
|
2068
|
+
form: "form";
|
|
2069
|
+
group: "group";
|
|
2070
|
+
field: "field";
|
|
2071
|
+
option: "option";
|
|
2072
|
+
cell: "cell";
|
|
2073
|
+
}>;
|
|
2074
|
+
declare const InspectIssueSchema: z.ZodObject<{
|
|
2075
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2076
|
+
scope: z.ZodEnum<{
|
|
2077
|
+
column: "column";
|
|
2078
|
+
form: "form";
|
|
2079
|
+
group: "group";
|
|
2080
|
+
field: "field";
|
|
2081
|
+
option: "option";
|
|
2082
|
+
cell: "cell";
|
|
2083
|
+
}>;
|
|
2084
|
+
reason: z.ZodEnum<{
|
|
2085
|
+
validation_error: "validation_error";
|
|
2086
|
+
required_missing: "required_missing";
|
|
2087
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2088
|
+
min_items_not_met: "min_items_not_met";
|
|
2089
|
+
optional_empty: "optional_empty";
|
|
2090
|
+
}>;
|
|
2091
|
+
message: z.ZodString;
|
|
2092
|
+
severity: z.ZodEnum<{
|
|
2093
|
+
required: "required";
|
|
2094
|
+
recommended: "recommended";
|
|
2095
|
+
}>;
|
|
2096
|
+
priority: z.ZodNumber;
|
|
2097
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
}, z.core.$strip>;
|
|
2099
|
+
declare const ProgressStateSchema: z.ZodEnum<{
|
|
2100
|
+
incomplete: "incomplete";
|
|
2101
|
+
empty: "empty";
|
|
2102
|
+
invalid: "invalid";
|
|
2103
|
+
complete: "complete";
|
|
2104
|
+
}>;
|
|
2105
|
+
declare const CheckboxProgressCountsSchema: z.ZodObject<{
|
|
2106
|
+
total: z.ZodNumber;
|
|
2107
|
+
todo: z.ZodNumber;
|
|
2108
|
+
done: z.ZodNumber;
|
|
2109
|
+
incomplete: z.ZodNumber;
|
|
2110
|
+
active: z.ZodNumber;
|
|
2111
|
+
na: z.ZodNumber;
|
|
2112
|
+
unfilled: z.ZodNumber;
|
|
2113
|
+
yes: z.ZodNumber;
|
|
2114
|
+
no: z.ZodNumber;
|
|
2115
|
+
}, z.core.$strip>;
|
|
2116
|
+
declare const FieldProgressSchema: z.ZodObject<{
|
|
2117
|
+
kind: z.ZodEnum<{
|
|
2118
|
+
string: "string";
|
|
2119
|
+
number: "number";
|
|
2120
|
+
string_list: "string_list";
|
|
2121
|
+
url: "url";
|
|
2122
|
+
url_list: "url_list";
|
|
2123
|
+
single_select: "single_select";
|
|
2124
|
+
multi_select: "multi_select";
|
|
2125
|
+
checkboxes: "checkboxes";
|
|
2126
|
+
date: "date";
|
|
2127
|
+
year: "year";
|
|
2128
|
+
table: "table";
|
|
2129
|
+
}>;
|
|
2130
|
+
required: z.ZodBoolean;
|
|
2131
|
+
answerState: z.ZodEnum<{
|
|
2132
|
+
unanswered: "unanswered";
|
|
2133
|
+
answered: "answered";
|
|
2134
|
+
skipped: "skipped";
|
|
2135
|
+
aborted: "aborted";
|
|
2136
|
+
}>;
|
|
2137
|
+
hasNotes: z.ZodBoolean;
|
|
2138
|
+
noteCount: z.ZodNumber;
|
|
2139
|
+
empty: z.ZodBoolean;
|
|
2140
|
+
valid: z.ZodBoolean;
|
|
2141
|
+
issueCount: z.ZodNumber;
|
|
2142
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
2143
|
+
total: z.ZodNumber;
|
|
2144
|
+
todo: z.ZodNumber;
|
|
2145
|
+
done: z.ZodNumber;
|
|
2146
|
+
incomplete: z.ZodNumber;
|
|
2147
|
+
active: z.ZodNumber;
|
|
2148
|
+
na: z.ZodNumber;
|
|
2149
|
+
unfilled: z.ZodNumber;
|
|
2150
|
+
yes: z.ZodNumber;
|
|
2151
|
+
no: z.ZodNumber;
|
|
2152
|
+
}, z.core.$strip>>;
|
|
2153
|
+
}, z.core.$strip>;
|
|
2154
|
+
declare const ProgressCountsSchema: z.ZodObject<{
|
|
2155
|
+
totalFields: z.ZodNumber;
|
|
2156
|
+
requiredFields: z.ZodNumber;
|
|
2157
|
+
unansweredFields: z.ZodNumber;
|
|
2158
|
+
answeredFields: z.ZodNumber;
|
|
2159
|
+
skippedFields: z.ZodNumber;
|
|
2160
|
+
abortedFields: z.ZodNumber;
|
|
2161
|
+
validFields: z.ZodNumber;
|
|
2162
|
+
invalidFields: z.ZodNumber;
|
|
2163
|
+
emptyFields: z.ZodNumber;
|
|
2164
|
+
filledFields: z.ZodNumber;
|
|
2165
|
+
emptyRequiredFields: z.ZodNumber;
|
|
2166
|
+
totalNotes: z.ZodNumber;
|
|
2167
|
+
}, z.core.$strip>;
|
|
2168
|
+
declare const ProgressSummarySchema: z.ZodObject<{
|
|
2169
|
+
counts: z.ZodObject<{
|
|
2170
|
+
totalFields: z.ZodNumber;
|
|
2171
|
+
requiredFields: z.ZodNumber;
|
|
2172
|
+
unansweredFields: z.ZodNumber;
|
|
2173
|
+
answeredFields: z.ZodNumber;
|
|
2174
|
+
skippedFields: z.ZodNumber;
|
|
2175
|
+
abortedFields: z.ZodNumber;
|
|
2176
|
+
validFields: z.ZodNumber;
|
|
2177
|
+
invalidFields: z.ZodNumber;
|
|
2178
|
+
emptyFields: z.ZodNumber;
|
|
2179
|
+
filledFields: z.ZodNumber;
|
|
2180
|
+
emptyRequiredFields: z.ZodNumber;
|
|
2181
|
+
totalNotes: z.ZodNumber;
|
|
2182
|
+
}, z.core.$strip>;
|
|
2183
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2184
|
+
kind: z.ZodEnum<{
|
|
2185
|
+
string: "string";
|
|
2186
|
+
number: "number";
|
|
2187
|
+
string_list: "string_list";
|
|
2188
|
+
url: "url";
|
|
2189
|
+
url_list: "url_list";
|
|
2190
|
+
single_select: "single_select";
|
|
2191
|
+
multi_select: "multi_select";
|
|
2192
|
+
checkboxes: "checkboxes";
|
|
2193
|
+
date: "date";
|
|
2194
|
+
year: "year";
|
|
2195
|
+
table: "table";
|
|
2196
|
+
}>;
|
|
2197
|
+
required: z.ZodBoolean;
|
|
2198
|
+
answerState: z.ZodEnum<{
|
|
2199
|
+
unanswered: "unanswered";
|
|
2200
|
+
answered: "answered";
|
|
2201
|
+
skipped: "skipped";
|
|
2202
|
+
aborted: "aborted";
|
|
2203
|
+
}>;
|
|
2204
|
+
hasNotes: z.ZodBoolean;
|
|
2205
|
+
noteCount: z.ZodNumber;
|
|
2206
|
+
empty: z.ZodBoolean;
|
|
2207
|
+
valid: z.ZodBoolean;
|
|
2208
|
+
issueCount: z.ZodNumber;
|
|
2209
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
2210
|
+
total: z.ZodNumber;
|
|
2211
|
+
todo: z.ZodNumber;
|
|
2212
|
+
done: z.ZodNumber;
|
|
2213
|
+
incomplete: z.ZodNumber;
|
|
2214
|
+
active: z.ZodNumber;
|
|
2215
|
+
na: z.ZodNumber;
|
|
2216
|
+
unfilled: z.ZodNumber;
|
|
2217
|
+
yes: z.ZodNumber;
|
|
2218
|
+
no: z.ZodNumber;
|
|
2219
|
+
}, z.core.$strip>>;
|
|
2220
|
+
}, z.core.$strip>>;
|
|
2221
|
+
}, z.core.$strip>;
|
|
2222
|
+
declare const StructureSummarySchema: z.ZodObject<{
|
|
2223
|
+
groupCount: z.ZodNumber;
|
|
2224
|
+
fieldCount: z.ZodNumber;
|
|
2225
|
+
optionCount: z.ZodNumber;
|
|
2226
|
+
fieldCountByKind: z.ZodRecord<z.ZodEnum<{
|
|
2227
|
+
string: "string";
|
|
2228
|
+
number: "number";
|
|
2229
|
+
string_list: "string_list";
|
|
2230
|
+
url: "url";
|
|
2231
|
+
url_list: "url_list";
|
|
2232
|
+
single_select: "single_select";
|
|
2233
|
+
multi_select: "multi_select";
|
|
2234
|
+
checkboxes: "checkboxes";
|
|
2235
|
+
date: "date";
|
|
2236
|
+
year: "year";
|
|
2237
|
+
table: "table";
|
|
2238
|
+
}>, z.ZodNumber>;
|
|
2239
|
+
groupsById: z.ZodRecord<z.ZodString, z.ZodLiteral<"field_group">>;
|
|
2240
|
+
fieldsById: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2241
|
+
string: "string";
|
|
2242
|
+
number: "number";
|
|
2243
|
+
string_list: "string_list";
|
|
2244
|
+
url: "url";
|
|
2245
|
+
url_list: "url_list";
|
|
2246
|
+
single_select: "single_select";
|
|
2247
|
+
multi_select: "multi_select";
|
|
2248
|
+
checkboxes: "checkboxes";
|
|
2249
|
+
date: "date";
|
|
2250
|
+
year: "year";
|
|
2251
|
+
table: "table";
|
|
2252
|
+
}>>;
|
|
2253
|
+
optionsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2254
|
+
parentFieldId: z.ZodString;
|
|
2255
|
+
parentFieldKind: z.ZodEnum<{
|
|
2256
|
+
string: "string";
|
|
2257
|
+
number: "number";
|
|
2258
|
+
string_list: "string_list";
|
|
2259
|
+
url: "url";
|
|
2260
|
+
url_list: "url_list";
|
|
2261
|
+
single_select: "single_select";
|
|
2262
|
+
multi_select: "multi_select";
|
|
2263
|
+
checkboxes: "checkboxes";
|
|
2264
|
+
date: "date";
|
|
2265
|
+
year: "year";
|
|
2266
|
+
table: "table";
|
|
2267
|
+
}>;
|
|
2268
|
+
}, z.core.$strip>>;
|
|
2269
|
+
}, z.core.$strip>;
|
|
2270
|
+
declare const InspectResultSchema: z.ZodObject<{
|
|
2271
|
+
structureSummary: z.ZodObject<{
|
|
2272
|
+
groupCount: z.ZodNumber;
|
|
2273
|
+
fieldCount: z.ZodNumber;
|
|
2274
|
+
optionCount: z.ZodNumber;
|
|
2275
|
+
fieldCountByKind: z.ZodRecord<z.ZodEnum<{
|
|
2276
|
+
string: "string";
|
|
2277
|
+
number: "number";
|
|
2278
|
+
string_list: "string_list";
|
|
2279
|
+
url: "url";
|
|
2280
|
+
url_list: "url_list";
|
|
2281
|
+
single_select: "single_select";
|
|
2282
|
+
multi_select: "multi_select";
|
|
2283
|
+
checkboxes: "checkboxes";
|
|
2284
|
+
date: "date";
|
|
2285
|
+
year: "year";
|
|
2286
|
+
table: "table";
|
|
2287
|
+
}>, z.ZodNumber>;
|
|
2288
|
+
groupsById: z.ZodRecord<z.ZodString, z.ZodLiteral<"field_group">>;
|
|
2289
|
+
fieldsById: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2290
|
+
string: "string";
|
|
2291
|
+
number: "number";
|
|
2292
|
+
string_list: "string_list";
|
|
2293
|
+
url: "url";
|
|
2294
|
+
url_list: "url_list";
|
|
2295
|
+
single_select: "single_select";
|
|
2296
|
+
multi_select: "multi_select";
|
|
2297
|
+
checkboxes: "checkboxes";
|
|
2298
|
+
date: "date";
|
|
2299
|
+
year: "year";
|
|
2300
|
+
table: "table";
|
|
2301
|
+
}>>;
|
|
2302
|
+
optionsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2303
|
+
parentFieldId: z.ZodString;
|
|
2304
|
+
parentFieldKind: z.ZodEnum<{
|
|
2305
|
+
string: "string";
|
|
2306
|
+
number: "number";
|
|
2307
|
+
string_list: "string_list";
|
|
2308
|
+
url: "url";
|
|
2309
|
+
url_list: "url_list";
|
|
2310
|
+
single_select: "single_select";
|
|
2311
|
+
multi_select: "multi_select";
|
|
2312
|
+
checkboxes: "checkboxes";
|
|
2313
|
+
date: "date";
|
|
2314
|
+
year: "year";
|
|
2315
|
+
table: "table";
|
|
2316
|
+
}>;
|
|
2317
|
+
}, z.core.$strip>>;
|
|
2318
|
+
}, z.core.$strip>;
|
|
2319
|
+
progressSummary: z.ZodObject<{
|
|
2320
|
+
counts: z.ZodObject<{
|
|
2321
|
+
totalFields: z.ZodNumber;
|
|
2322
|
+
requiredFields: z.ZodNumber;
|
|
2323
|
+
unansweredFields: z.ZodNumber;
|
|
2324
|
+
answeredFields: z.ZodNumber;
|
|
2325
|
+
skippedFields: z.ZodNumber;
|
|
2326
|
+
abortedFields: z.ZodNumber;
|
|
2327
|
+
validFields: z.ZodNumber;
|
|
2328
|
+
invalidFields: z.ZodNumber;
|
|
2329
|
+
emptyFields: z.ZodNumber;
|
|
2330
|
+
filledFields: z.ZodNumber;
|
|
2331
|
+
emptyRequiredFields: z.ZodNumber;
|
|
2332
|
+
totalNotes: z.ZodNumber;
|
|
2333
|
+
}, z.core.$strip>;
|
|
2334
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2335
|
+
kind: z.ZodEnum<{
|
|
2336
|
+
string: "string";
|
|
2337
|
+
number: "number";
|
|
2338
|
+
string_list: "string_list";
|
|
2339
|
+
url: "url";
|
|
2340
|
+
url_list: "url_list";
|
|
2341
|
+
single_select: "single_select";
|
|
2342
|
+
multi_select: "multi_select";
|
|
2343
|
+
checkboxes: "checkboxes";
|
|
2344
|
+
date: "date";
|
|
2345
|
+
year: "year";
|
|
2346
|
+
table: "table";
|
|
2347
|
+
}>;
|
|
2348
|
+
required: z.ZodBoolean;
|
|
2349
|
+
answerState: z.ZodEnum<{
|
|
2350
|
+
unanswered: "unanswered";
|
|
2351
|
+
answered: "answered";
|
|
2352
|
+
skipped: "skipped";
|
|
2353
|
+
aborted: "aborted";
|
|
2354
|
+
}>;
|
|
2355
|
+
hasNotes: z.ZodBoolean;
|
|
2356
|
+
noteCount: z.ZodNumber;
|
|
2357
|
+
empty: z.ZodBoolean;
|
|
2358
|
+
valid: z.ZodBoolean;
|
|
2359
|
+
issueCount: z.ZodNumber;
|
|
2360
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
2361
|
+
total: z.ZodNumber;
|
|
2362
|
+
todo: z.ZodNumber;
|
|
2363
|
+
done: z.ZodNumber;
|
|
2364
|
+
incomplete: z.ZodNumber;
|
|
2365
|
+
active: z.ZodNumber;
|
|
2366
|
+
na: z.ZodNumber;
|
|
2367
|
+
unfilled: z.ZodNumber;
|
|
2368
|
+
yes: z.ZodNumber;
|
|
2369
|
+
no: z.ZodNumber;
|
|
2370
|
+
}, z.core.$strip>>;
|
|
2371
|
+
}, z.core.$strip>>;
|
|
2372
|
+
}, z.core.$strip>;
|
|
2373
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
2374
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2375
|
+
scope: z.ZodEnum<{
|
|
2376
|
+
column: "column";
|
|
2377
|
+
form: "form";
|
|
2378
|
+
group: "group";
|
|
2379
|
+
field: "field";
|
|
2380
|
+
option: "option";
|
|
2381
|
+
cell: "cell";
|
|
2382
|
+
}>;
|
|
2383
|
+
reason: z.ZodEnum<{
|
|
2384
|
+
validation_error: "validation_error";
|
|
2385
|
+
required_missing: "required_missing";
|
|
2386
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2387
|
+
min_items_not_met: "min_items_not_met";
|
|
2388
|
+
optional_empty: "optional_empty";
|
|
2389
|
+
}>;
|
|
2390
|
+
message: z.ZodString;
|
|
2391
|
+
severity: z.ZodEnum<{
|
|
2392
|
+
required: "required";
|
|
2393
|
+
recommended: "recommended";
|
|
2394
|
+
}>;
|
|
2395
|
+
priority: z.ZodNumber;
|
|
2396
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
2397
|
+
}, z.core.$strip>>;
|
|
2398
|
+
isComplete: z.ZodBoolean;
|
|
2399
|
+
formState: z.ZodEnum<{
|
|
2400
|
+
incomplete: "incomplete";
|
|
2401
|
+
empty: "empty";
|
|
2402
|
+
invalid: "invalid";
|
|
2403
|
+
complete: "complete";
|
|
2404
|
+
}>;
|
|
2405
|
+
}, z.core.$strip>;
|
|
2406
|
+
declare const ApplyResultSchema: z.ZodObject<{
|
|
2407
|
+
applyStatus: z.ZodEnum<{
|
|
2408
|
+
applied: "applied";
|
|
2409
|
+
rejected: "rejected";
|
|
2410
|
+
}>;
|
|
2411
|
+
structureSummary: z.ZodObject<{
|
|
2412
|
+
groupCount: z.ZodNumber;
|
|
2413
|
+
fieldCount: z.ZodNumber;
|
|
2414
|
+
optionCount: z.ZodNumber;
|
|
2415
|
+
fieldCountByKind: z.ZodRecord<z.ZodEnum<{
|
|
2416
|
+
string: "string";
|
|
2417
|
+
number: "number";
|
|
2418
|
+
string_list: "string_list";
|
|
2419
|
+
url: "url";
|
|
2420
|
+
url_list: "url_list";
|
|
2421
|
+
single_select: "single_select";
|
|
2422
|
+
multi_select: "multi_select";
|
|
2423
|
+
checkboxes: "checkboxes";
|
|
2424
|
+
date: "date";
|
|
2425
|
+
year: "year";
|
|
2426
|
+
table: "table";
|
|
2427
|
+
}>, z.ZodNumber>;
|
|
2428
|
+
groupsById: z.ZodRecord<z.ZodString, z.ZodLiteral<"field_group">>;
|
|
2429
|
+
fieldsById: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2430
|
+
string: "string";
|
|
2431
|
+
number: "number";
|
|
2432
|
+
string_list: "string_list";
|
|
2433
|
+
url: "url";
|
|
2434
|
+
url_list: "url_list";
|
|
2435
|
+
single_select: "single_select";
|
|
2436
|
+
multi_select: "multi_select";
|
|
2437
|
+
checkboxes: "checkboxes";
|
|
2438
|
+
date: "date";
|
|
2439
|
+
year: "year";
|
|
2440
|
+
table: "table";
|
|
2441
|
+
}>>;
|
|
2442
|
+
optionsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2443
|
+
parentFieldId: z.ZodString;
|
|
2444
|
+
parentFieldKind: z.ZodEnum<{
|
|
2445
|
+
string: "string";
|
|
2446
|
+
number: "number";
|
|
2447
|
+
string_list: "string_list";
|
|
2448
|
+
url: "url";
|
|
2449
|
+
url_list: "url_list";
|
|
2450
|
+
single_select: "single_select";
|
|
2451
|
+
multi_select: "multi_select";
|
|
2452
|
+
checkboxes: "checkboxes";
|
|
2453
|
+
date: "date";
|
|
2454
|
+
year: "year";
|
|
2455
|
+
table: "table";
|
|
2456
|
+
}>;
|
|
2457
|
+
}, z.core.$strip>>;
|
|
2458
|
+
}, z.core.$strip>;
|
|
2459
|
+
progressSummary: z.ZodObject<{
|
|
2460
|
+
counts: z.ZodObject<{
|
|
2461
|
+
totalFields: z.ZodNumber;
|
|
2462
|
+
requiredFields: z.ZodNumber;
|
|
2463
|
+
unansweredFields: z.ZodNumber;
|
|
2464
|
+
answeredFields: z.ZodNumber;
|
|
2465
|
+
skippedFields: z.ZodNumber;
|
|
2466
|
+
abortedFields: z.ZodNumber;
|
|
2467
|
+
validFields: z.ZodNumber;
|
|
2468
|
+
invalidFields: z.ZodNumber;
|
|
2469
|
+
emptyFields: z.ZodNumber;
|
|
2470
|
+
filledFields: z.ZodNumber;
|
|
2471
|
+
emptyRequiredFields: z.ZodNumber;
|
|
2472
|
+
totalNotes: z.ZodNumber;
|
|
2473
|
+
}, z.core.$strip>;
|
|
2474
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2475
|
+
kind: z.ZodEnum<{
|
|
2476
|
+
string: "string";
|
|
2477
|
+
number: "number";
|
|
2478
|
+
string_list: "string_list";
|
|
2479
|
+
url: "url";
|
|
2480
|
+
url_list: "url_list";
|
|
2481
|
+
single_select: "single_select";
|
|
2482
|
+
multi_select: "multi_select";
|
|
2483
|
+
checkboxes: "checkboxes";
|
|
2484
|
+
date: "date";
|
|
2485
|
+
year: "year";
|
|
2486
|
+
table: "table";
|
|
2487
|
+
}>;
|
|
2488
|
+
required: z.ZodBoolean;
|
|
2489
|
+
answerState: z.ZodEnum<{
|
|
2490
|
+
unanswered: "unanswered";
|
|
2491
|
+
answered: "answered";
|
|
2492
|
+
skipped: "skipped";
|
|
2493
|
+
aborted: "aborted";
|
|
2494
|
+
}>;
|
|
2495
|
+
hasNotes: z.ZodBoolean;
|
|
2496
|
+
noteCount: z.ZodNumber;
|
|
2497
|
+
empty: z.ZodBoolean;
|
|
2498
|
+
valid: z.ZodBoolean;
|
|
2499
|
+
issueCount: z.ZodNumber;
|
|
2500
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
2501
|
+
total: z.ZodNumber;
|
|
2502
|
+
todo: z.ZodNumber;
|
|
2503
|
+
done: z.ZodNumber;
|
|
2504
|
+
incomplete: z.ZodNumber;
|
|
2505
|
+
active: z.ZodNumber;
|
|
2506
|
+
na: z.ZodNumber;
|
|
2507
|
+
unfilled: z.ZodNumber;
|
|
2508
|
+
yes: z.ZodNumber;
|
|
2509
|
+
no: z.ZodNumber;
|
|
2510
|
+
}, z.core.$strip>>;
|
|
2511
|
+
}, z.core.$strip>>;
|
|
2512
|
+
}, z.core.$strip>;
|
|
2513
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
2514
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2515
|
+
scope: z.ZodEnum<{
|
|
2516
|
+
column: "column";
|
|
2517
|
+
form: "form";
|
|
2518
|
+
group: "group";
|
|
2519
|
+
field: "field";
|
|
2520
|
+
option: "option";
|
|
2521
|
+
cell: "cell";
|
|
2522
|
+
}>;
|
|
2523
|
+
reason: z.ZodEnum<{
|
|
2524
|
+
validation_error: "validation_error";
|
|
2525
|
+
required_missing: "required_missing";
|
|
2526
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2527
|
+
min_items_not_met: "min_items_not_met";
|
|
2528
|
+
optional_empty: "optional_empty";
|
|
2529
|
+
}>;
|
|
2530
|
+
message: z.ZodString;
|
|
2531
|
+
severity: z.ZodEnum<{
|
|
2532
|
+
required: "required";
|
|
2533
|
+
recommended: "recommended";
|
|
2534
|
+
}>;
|
|
2535
|
+
priority: z.ZodNumber;
|
|
2536
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
2537
|
+
}, z.core.$strip>>;
|
|
2538
|
+
isComplete: z.ZodBoolean;
|
|
2539
|
+
formState: z.ZodEnum<{
|
|
2540
|
+
incomplete: "incomplete";
|
|
2541
|
+
empty: "empty";
|
|
2542
|
+
invalid: "invalid";
|
|
2543
|
+
complete: "complete";
|
|
2544
|
+
}>;
|
|
2545
|
+
}, z.core.$strip>;
|
|
2546
|
+
declare const SetStringPatchSchema: z.ZodObject<{
|
|
2547
|
+
op: z.ZodLiteral<"set_string">;
|
|
2548
|
+
fieldId: z.ZodString;
|
|
2549
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2550
|
+
}, z.core.$strip>;
|
|
2551
|
+
declare const SetNumberPatchSchema: z.ZodObject<{
|
|
2552
|
+
op: z.ZodLiteral<"set_number">;
|
|
2553
|
+
fieldId: z.ZodString;
|
|
2554
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2555
|
+
}, z.core.$strip>;
|
|
2556
|
+
declare const SetStringListPatchSchema: z.ZodObject<{
|
|
2557
|
+
op: z.ZodLiteral<"set_string_list">;
|
|
2558
|
+
fieldId: z.ZodString;
|
|
2559
|
+
items: z.ZodArray<z.ZodString>;
|
|
2560
|
+
}, z.core.$strip>;
|
|
2561
|
+
declare const SetCheckboxesPatchSchema: z.ZodObject<{
|
|
2562
|
+
op: z.ZodLiteral<"set_checkboxes">;
|
|
2563
|
+
fieldId: z.ZodString;
|
|
2564
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
2565
|
+
todo: "todo";
|
|
2566
|
+
done: "done";
|
|
2567
|
+
incomplete: "incomplete";
|
|
2568
|
+
active: "active";
|
|
2569
|
+
na: "na";
|
|
2570
|
+
}>, z.ZodEnum<{
|
|
2571
|
+
unfilled: "unfilled";
|
|
2572
|
+
yes: "yes";
|
|
2573
|
+
no: "no";
|
|
2574
|
+
}>]>>;
|
|
2575
|
+
}, z.core.$strip>;
|
|
2576
|
+
declare const SetSingleSelectPatchSchema: z.ZodObject<{
|
|
2577
|
+
op: z.ZodLiteral<"set_single_select">;
|
|
2578
|
+
fieldId: z.ZodString;
|
|
2579
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
2580
|
+
}, z.core.$strip>;
|
|
2581
|
+
declare const SetMultiSelectPatchSchema: z.ZodObject<{
|
|
2582
|
+
op: z.ZodLiteral<"set_multi_select">;
|
|
2583
|
+
fieldId: z.ZodString;
|
|
2584
|
+
selected: z.ZodArray<z.ZodString>;
|
|
2585
|
+
}, z.core.$strip>;
|
|
2586
|
+
declare const SetUrlPatchSchema: z.ZodObject<{
|
|
2587
|
+
op: z.ZodLiteral<"set_url">;
|
|
2588
|
+
fieldId: z.ZodString;
|
|
2589
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2590
|
+
}, z.core.$strip>;
|
|
2591
|
+
declare const SetUrlListPatchSchema: z.ZodObject<{
|
|
2592
|
+
op: z.ZodLiteral<"set_url_list">;
|
|
2593
|
+
fieldId: z.ZodString;
|
|
2594
|
+
items: z.ZodArray<z.ZodString>;
|
|
2595
|
+
}, z.core.$strip>;
|
|
2596
|
+
declare const SetDatePatchSchema: z.ZodObject<{
|
|
2597
|
+
op: z.ZodLiteral<"set_date">;
|
|
2598
|
+
fieldId: z.ZodString;
|
|
2599
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2600
|
+
}, z.core.$strip>;
|
|
2601
|
+
declare const SetYearPatchSchema: z.ZodObject<{
|
|
2602
|
+
op: z.ZodLiteral<"set_year">;
|
|
2603
|
+
fieldId: z.ZodString;
|
|
2604
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2605
|
+
}, z.core.$strip>;
|
|
2606
|
+
/** Set table patch schema */
|
|
2607
|
+
declare const SetTablePatchSchema: z.ZodObject<{
|
|
2608
|
+
op: z.ZodLiteral<"set_table">;
|
|
2609
|
+
fieldId: z.ZodString;
|
|
2610
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodNull, z.ZodString]>>>;
|
|
2611
|
+
}, z.core.$strip>;
|
|
2612
|
+
declare const ClearFieldPatchSchema: z.ZodObject<{
|
|
2613
|
+
op: z.ZodLiteral<"clear_field">;
|
|
2614
|
+
fieldId: z.ZodString;
|
|
2615
|
+
}, z.core.$strip>;
|
|
2616
|
+
declare const PatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2617
|
+
op: z.ZodLiteral<"set_string">;
|
|
2618
|
+
fieldId: z.ZodString;
|
|
2619
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2621
|
+
op: z.ZodLiteral<"set_number">;
|
|
2622
|
+
fieldId: z.ZodString;
|
|
2623
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2625
|
+
op: z.ZodLiteral<"set_string_list">;
|
|
2626
|
+
fieldId: z.ZodString;
|
|
2627
|
+
items: z.ZodArray<z.ZodString>;
|
|
2628
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2629
|
+
op: z.ZodLiteral<"set_checkboxes">;
|
|
2630
|
+
fieldId: z.ZodString;
|
|
2631
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
2632
|
+
todo: "todo";
|
|
2633
|
+
done: "done";
|
|
2634
|
+
incomplete: "incomplete";
|
|
2635
|
+
active: "active";
|
|
2636
|
+
na: "na";
|
|
2637
|
+
}>, z.ZodEnum<{
|
|
2638
|
+
unfilled: "unfilled";
|
|
2639
|
+
yes: "yes";
|
|
2640
|
+
no: "no";
|
|
2641
|
+
}>]>>;
|
|
2642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2643
|
+
op: z.ZodLiteral<"set_single_select">;
|
|
2644
|
+
fieldId: z.ZodString;
|
|
2645
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
2646
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2647
|
+
op: z.ZodLiteral<"set_multi_select">;
|
|
2648
|
+
fieldId: z.ZodString;
|
|
2649
|
+
selected: z.ZodArray<z.ZodString>;
|
|
2650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2651
|
+
op: z.ZodLiteral<"set_url">;
|
|
2652
|
+
fieldId: z.ZodString;
|
|
2653
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2654
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2655
|
+
op: z.ZodLiteral<"set_url_list">;
|
|
2656
|
+
fieldId: z.ZodString;
|
|
2657
|
+
items: z.ZodArray<z.ZodString>;
|
|
2658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2659
|
+
op: z.ZodLiteral<"set_date">;
|
|
2660
|
+
fieldId: z.ZodString;
|
|
2661
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2663
|
+
op: z.ZodLiteral<"set_year">;
|
|
2664
|
+
fieldId: z.ZodString;
|
|
2665
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2667
|
+
op: z.ZodLiteral<"set_table">;
|
|
2668
|
+
fieldId: z.ZodString;
|
|
2669
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodNull, z.ZodString]>>>;
|
|
2670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2671
|
+
op: z.ZodLiteral<"clear_field">;
|
|
2672
|
+
fieldId: z.ZodString;
|
|
2673
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2674
|
+
op: z.ZodLiteral<"skip_field">;
|
|
2675
|
+
fieldId: z.ZodString;
|
|
2676
|
+
role: z.ZodString;
|
|
2677
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2679
|
+
op: z.ZodLiteral<"abort_field">;
|
|
2680
|
+
fieldId: z.ZodString;
|
|
2681
|
+
role: z.ZodString;
|
|
2682
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2684
|
+
op: z.ZodLiteral<"add_note">;
|
|
2685
|
+
ref: z.ZodString;
|
|
2686
|
+
role: z.ZodString;
|
|
2687
|
+
text: z.ZodString;
|
|
2688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2689
|
+
op: z.ZodLiteral<"remove_note">;
|
|
2690
|
+
noteId: z.ZodString;
|
|
2691
|
+
}, z.core.$strip>], "op">;
|
|
2692
|
+
declare const StepResultSchema: z.ZodObject<{
|
|
2693
|
+
structureSummary: z.ZodObject<{
|
|
2694
|
+
groupCount: z.ZodNumber;
|
|
2695
|
+
fieldCount: z.ZodNumber;
|
|
2696
|
+
optionCount: z.ZodNumber;
|
|
2697
|
+
fieldCountByKind: z.ZodRecord<z.ZodEnum<{
|
|
2698
|
+
string: "string";
|
|
2699
|
+
number: "number";
|
|
2700
|
+
string_list: "string_list";
|
|
2701
|
+
url: "url";
|
|
2702
|
+
url_list: "url_list";
|
|
2703
|
+
single_select: "single_select";
|
|
2704
|
+
multi_select: "multi_select";
|
|
2705
|
+
checkboxes: "checkboxes";
|
|
2706
|
+
date: "date";
|
|
2707
|
+
year: "year";
|
|
2708
|
+
table: "table";
|
|
2709
|
+
}>, z.ZodNumber>;
|
|
2710
|
+
groupsById: z.ZodRecord<z.ZodString, z.ZodLiteral<"field_group">>;
|
|
2711
|
+
fieldsById: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2712
|
+
string: "string";
|
|
2713
|
+
number: "number";
|
|
2714
|
+
string_list: "string_list";
|
|
2715
|
+
url: "url";
|
|
2716
|
+
url_list: "url_list";
|
|
2717
|
+
single_select: "single_select";
|
|
2718
|
+
multi_select: "multi_select";
|
|
2719
|
+
checkboxes: "checkboxes";
|
|
2720
|
+
date: "date";
|
|
2721
|
+
year: "year";
|
|
2722
|
+
table: "table";
|
|
2723
|
+
}>>;
|
|
2724
|
+
optionsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2725
|
+
parentFieldId: z.ZodString;
|
|
2726
|
+
parentFieldKind: z.ZodEnum<{
|
|
2727
|
+
string: "string";
|
|
2728
|
+
number: "number";
|
|
2729
|
+
string_list: "string_list";
|
|
2730
|
+
url: "url";
|
|
2731
|
+
url_list: "url_list";
|
|
2732
|
+
single_select: "single_select";
|
|
2733
|
+
multi_select: "multi_select";
|
|
2734
|
+
checkboxes: "checkboxes";
|
|
2735
|
+
date: "date";
|
|
2736
|
+
year: "year";
|
|
2737
|
+
table: "table";
|
|
2738
|
+
}>;
|
|
2739
|
+
}, z.core.$strip>>;
|
|
2740
|
+
}, z.core.$strip>;
|
|
2741
|
+
progressSummary: z.ZodObject<{
|
|
2742
|
+
counts: z.ZodObject<{
|
|
2743
|
+
totalFields: z.ZodNumber;
|
|
2744
|
+
requiredFields: z.ZodNumber;
|
|
2745
|
+
unansweredFields: z.ZodNumber;
|
|
2746
|
+
answeredFields: z.ZodNumber;
|
|
2747
|
+
skippedFields: z.ZodNumber;
|
|
2748
|
+
abortedFields: z.ZodNumber;
|
|
2749
|
+
validFields: z.ZodNumber;
|
|
2750
|
+
invalidFields: z.ZodNumber;
|
|
2751
|
+
emptyFields: z.ZodNumber;
|
|
2752
|
+
filledFields: z.ZodNumber;
|
|
2753
|
+
emptyRequiredFields: z.ZodNumber;
|
|
2754
|
+
totalNotes: z.ZodNumber;
|
|
2755
|
+
}, z.core.$strip>;
|
|
2756
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2757
|
+
kind: z.ZodEnum<{
|
|
2758
|
+
string: "string";
|
|
2759
|
+
number: "number";
|
|
2760
|
+
string_list: "string_list";
|
|
2761
|
+
url: "url";
|
|
2762
|
+
url_list: "url_list";
|
|
2763
|
+
single_select: "single_select";
|
|
2764
|
+
multi_select: "multi_select";
|
|
2765
|
+
checkboxes: "checkboxes";
|
|
2766
|
+
date: "date";
|
|
2767
|
+
year: "year";
|
|
2768
|
+
table: "table";
|
|
2769
|
+
}>;
|
|
2770
|
+
required: z.ZodBoolean;
|
|
2771
|
+
answerState: z.ZodEnum<{
|
|
2772
|
+
unanswered: "unanswered";
|
|
2773
|
+
answered: "answered";
|
|
2774
|
+
skipped: "skipped";
|
|
2775
|
+
aborted: "aborted";
|
|
2776
|
+
}>;
|
|
2777
|
+
hasNotes: z.ZodBoolean;
|
|
2778
|
+
noteCount: z.ZodNumber;
|
|
2779
|
+
empty: z.ZodBoolean;
|
|
2780
|
+
valid: z.ZodBoolean;
|
|
2781
|
+
issueCount: z.ZodNumber;
|
|
2782
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
2783
|
+
total: z.ZodNumber;
|
|
2784
|
+
todo: z.ZodNumber;
|
|
2785
|
+
done: z.ZodNumber;
|
|
2786
|
+
incomplete: z.ZodNumber;
|
|
2787
|
+
active: z.ZodNumber;
|
|
2788
|
+
na: z.ZodNumber;
|
|
2789
|
+
unfilled: z.ZodNumber;
|
|
2790
|
+
yes: z.ZodNumber;
|
|
2791
|
+
no: z.ZodNumber;
|
|
2792
|
+
}, z.core.$strip>>;
|
|
2793
|
+
}, z.core.$strip>>;
|
|
2794
|
+
}, z.core.$strip>;
|
|
2795
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
2796
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2797
|
+
scope: z.ZodEnum<{
|
|
2798
|
+
column: "column";
|
|
2799
|
+
form: "form";
|
|
2800
|
+
group: "group";
|
|
2801
|
+
field: "field";
|
|
2802
|
+
option: "option";
|
|
2803
|
+
cell: "cell";
|
|
2804
|
+
}>;
|
|
2805
|
+
reason: z.ZodEnum<{
|
|
2806
|
+
validation_error: "validation_error";
|
|
2807
|
+
required_missing: "required_missing";
|
|
2808
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2809
|
+
min_items_not_met: "min_items_not_met";
|
|
2810
|
+
optional_empty: "optional_empty";
|
|
2811
|
+
}>;
|
|
2812
|
+
message: z.ZodString;
|
|
2813
|
+
severity: z.ZodEnum<{
|
|
2814
|
+
required: "required";
|
|
2815
|
+
recommended: "recommended";
|
|
2816
|
+
}>;
|
|
2817
|
+
priority: z.ZodNumber;
|
|
2818
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
2819
|
+
}, z.core.$strip>>;
|
|
2820
|
+
stepBudget: z.ZodNumber;
|
|
2821
|
+
isComplete: z.ZodBoolean;
|
|
2822
|
+
turnNumber: z.ZodNumber;
|
|
2823
|
+
}, z.core.$strip>;
|
|
2824
|
+
declare const HarnessConfigSchema: z.ZodObject<{
|
|
2825
|
+
maxIssuesPerTurn: z.ZodNumber;
|
|
2826
|
+
maxPatchesPerTurn: z.ZodNumber;
|
|
2827
|
+
maxTurns: z.ZodNumber;
|
|
2828
|
+
maxFieldsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
2829
|
+
maxGroupsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
2830
|
+
targetRoles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2831
|
+
fillMode: z.ZodOptional<z.ZodEnum<{
|
|
2832
|
+
continue: "continue";
|
|
2833
|
+
overwrite: "overwrite";
|
|
2834
|
+
}>>;
|
|
2835
|
+
}, z.core.$strip>;
|
|
2836
|
+
declare const SessionTurnSchema: z.ZodObject<{
|
|
2837
|
+
turn: z.ZodNumber;
|
|
2838
|
+
inspect: z.ZodObject<{
|
|
2839
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
2840
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2841
|
+
scope: z.ZodEnum<{
|
|
2842
|
+
column: "column";
|
|
2843
|
+
form: "form";
|
|
2844
|
+
group: "group";
|
|
2845
|
+
field: "field";
|
|
2846
|
+
option: "option";
|
|
2847
|
+
cell: "cell";
|
|
2848
|
+
}>;
|
|
2849
|
+
reason: z.ZodEnum<{
|
|
2850
|
+
validation_error: "validation_error";
|
|
2851
|
+
required_missing: "required_missing";
|
|
2852
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
2853
|
+
min_items_not_met: "min_items_not_met";
|
|
2854
|
+
optional_empty: "optional_empty";
|
|
2855
|
+
}>;
|
|
2856
|
+
message: z.ZodString;
|
|
2857
|
+
severity: z.ZodEnum<{
|
|
2858
|
+
required: "required";
|
|
2859
|
+
recommended: "recommended";
|
|
2860
|
+
}>;
|
|
2861
|
+
priority: z.ZodNumber;
|
|
2862
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
2863
|
+
}, z.core.$strip>>;
|
|
2864
|
+
}, z.core.$strip>;
|
|
2865
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
2866
|
+
systemPrompt: z.ZodString;
|
|
2867
|
+
contextPrompt: z.ZodString;
|
|
2868
|
+
}, z.core.$strip>>;
|
|
2869
|
+
apply: z.ZodObject<{
|
|
2870
|
+
patches: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2871
|
+
op: z.ZodLiteral<"set_string">;
|
|
2872
|
+
fieldId: z.ZodString;
|
|
2873
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2874
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2875
|
+
op: z.ZodLiteral<"set_number">;
|
|
2876
|
+
fieldId: z.ZodString;
|
|
2877
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2878
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2879
|
+
op: z.ZodLiteral<"set_string_list">;
|
|
2880
|
+
fieldId: z.ZodString;
|
|
2881
|
+
items: z.ZodArray<z.ZodString>;
|
|
2882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2883
|
+
op: z.ZodLiteral<"set_checkboxes">;
|
|
2884
|
+
fieldId: z.ZodString;
|
|
2885
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
2886
|
+
todo: "todo";
|
|
2887
|
+
done: "done";
|
|
2888
|
+
incomplete: "incomplete";
|
|
2889
|
+
active: "active";
|
|
2890
|
+
na: "na";
|
|
2891
|
+
}>, z.ZodEnum<{
|
|
2892
|
+
unfilled: "unfilled";
|
|
2893
|
+
yes: "yes";
|
|
2894
|
+
no: "no";
|
|
2895
|
+
}>]>>;
|
|
2896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2897
|
+
op: z.ZodLiteral<"set_single_select">;
|
|
2898
|
+
fieldId: z.ZodString;
|
|
2899
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
2900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2901
|
+
op: z.ZodLiteral<"set_multi_select">;
|
|
2902
|
+
fieldId: z.ZodString;
|
|
2903
|
+
selected: z.ZodArray<z.ZodString>;
|
|
2904
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2905
|
+
op: z.ZodLiteral<"set_url">;
|
|
2906
|
+
fieldId: z.ZodString;
|
|
2907
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2908
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2909
|
+
op: z.ZodLiteral<"set_url_list">;
|
|
2910
|
+
fieldId: z.ZodString;
|
|
2911
|
+
items: z.ZodArray<z.ZodString>;
|
|
2912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2913
|
+
op: z.ZodLiteral<"set_date">;
|
|
2914
|
+
fieldId: z.ZodString;
|
|
2915
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2917
|
+
op: z.ZodLiteral<"set_year">;
|
|
2918
|
+
fieldId: z.ZodString;
|
|
2919
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2920
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2921
|
+
op: z.ZodLiteral<"set_table">;
|
|
2922
|
+
fieldId: z.ZodString;
|
|
2923
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodNull, z.ZodString]>>>;
|
|
2924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2925
|
+
op: z.ZodLiteral<"clear_field">;
|
|
2926
|
+
fieldId: z.ZodString;
|
|
2927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2928
|
+
op: z.ZodLiteral<"skip_field">;
|
|
2929
|
+
fieldId: z.ZodString;
|
|
2930
|
+
role: z.ZodString;
|
|
2931
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2933
|
+
op: z.ZodLiteral<"abort_field">;
|
|
2934
|
+
fieldId: z.ZodString;
|
|
2935
|
+
role: z.ZodString;
|
|
2936
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2938
|
+
op: z.ZodLiteral<"add_note">;
|
|
2939
|
+
ref: z.ZodString;
|
|
2940
|
+
role: z.ZodString;
|
|
2941
|
+
text: z.ZodString;
|
|
2942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2943
|
+
op: z.ZodLiteral<"remove_note">;
|
|
2944
|
+
noteId: z.ZodString;
|
|
2945
|
+
}, z.core.$strip>], "op">>;
|
|
2946
|
+
rejectedPatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2947
|
+
patchIndex: z.ZodNumber;
|
|
2948
|
+
message: z.ZodString;
|
|
2949
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
2950
|
+
fieldKind: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
columnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2952
|
+
}, z.core.$strip>>>;
|
|
2953
|
+
}, z.core.$strip>;
|
|
2954
|
+
after: z.ZodObject<{
|
|
2955
|
+
requiredIssueCount: z.ZodNumber;
|
|
2956
|
+
markdownSha256: z.ZodString;
|
|
2957
|
+
answeredFieldCount: z.ZodNumber;
|
|
2958
|
+
skippedFieldCount: z.ZodNumber;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
2961
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2962
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2963
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2964
|
+
name: z.ZodString;
|
|
2965
|
+
count: z.ZodNumber;
|
|
2966
|
+
}, z.core.$strip>>>;
|
|
2967
|
+
}, z.core.$strip>>;
|
|
2968
|
+
}, z.core.$strip>;
|
|
2969
|
+
declare const SessionFinalSchema: z.ZodObject<{
|
|
2970
|
+
expectComplete: z.ZodBoolean;
|
|
2971
|
+
expectedCompletedForm: z.ZodString;
|
|
2972
|
+
}, z.core.$strip>;
|
|
2973
|
+
declare const SessionTranscriptSchema: z.ZodObject<{
|
|
2974
|
+
sessionVersion: z.ZodString;
|
|
2975
|
+
mode: z.ZodEnum<{
|
|
2976
|
+
mock: "mock";
|
|
2977
|
+
live: "live";
|
|
2978
|
+
}>;
|
|
2979
|
+
form: z.ZodObject<{
|
|
2980
|
+
path: z.ZodString;
|
|
2981
|
+
}, z.core.$strip>;
|
|
2982
|
+
validators: z.ZodOptional<z.ZodObject<{
|
|
2983
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
}, z.core.$strip>>;
|
|
2985
|
+
mock: z.ZodOptional<z.ZodObject<{
|
|
2986
|
+
completedMock: z.ZodString;
|
|
2987
|
+
}, z.core.$strip>>;
|
|
2988
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2989
|
+
modelId: z.ZodString;
|
|
2990
|
+
}, z.core.$strip>>;
|
|
2991
|
+
harness: z.ZodObject<{
|
|
2992
|
+
maxIssuesPerTurn: z.ZodNumber;
|
|
2993
|
+
maxPatchesPerTurn: z.ZodNumber;
|
|
2994
|
+
maxTurns: z.ZodNumber;
|
|
2995
|
+
maxFieldsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
2996
|
+
maxGroupsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
2997
|
+
targetRoles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2998
|
+
fillMode: z.ZodOptional<z.ZodEnum<{
|
|
2999
|
+
continue: "continue";
|
|
3000
|
+
overwrite: "overwrite";
|
|
3001
|
+
}>>;
|
|
3002
|
+
}, z.core.$strip>;
|
|
3003
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
3004
|
+
turn: z.ZodNumber;
|
|
3005
|
+
inspect: z.ZodObject<{
|
|
3006
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
3007
|
+
ref: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3008
|
+
scope: z.ZodEnum<{
|
|
3009
|
+
column: "column";
|
|
3010
|
+
form: "form";
|
|
3011
|
+
group: "group";
|
|
3012
|
+
field: "field";
|
|
3013
|
+
option: "option";
|
|
3014
|
+
cell: "cell";
|
|
3015
|
+
}>;
|
|
3016
|
+
reason: z.ZodEnum<{
|
|
3017
|
+
validation_error: "validation_error";
|
|
3018
|
+
required_missing: "required_missing";
|
|
3019
|
+
checkbox_incomplete: "checkbox_incomplete";
|
|
3020
|
+
min_items_not_met: "min_items_not_met";
|
|
3021
|
+
optional_empty: "optional_empty";
|
|
3022
|
+
}>;
|
|
3023
|
+
message: z.ZodString;
|
|
3024
|
+
severity: z.ZodEnum<{
|
|
3025
|
+
required: "required";
|
|
3026
|
+
recommended: "recommended";
|
|
3027
|
+
}>;
|
|
3028
|
+
priority: z.ZodNumber;
|
|
3029
|
+
blockedBy: z.ZodOptional<z.ZodString>;
|
|
3030
|
+
}, z.core.$strip>>;
|
|
3031
|
+
}, z.core.$strip>;
|
|
3032
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3033
|
+
systemPrompt: z.ZodString;
|
|
3034
|
+
contextPrompt: z.ZodString;
|
|
3035
|
+
}, z.core.$strip>>;
|
|
3036
|
+
apply: z.ZodObject<{
|
|
3037
|
+
patches: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3038
|
+
op: z.ZodLiteral<"set_string">;
|
|
3039
|
+
fieldId: z.ZodString;
|
|
3040
|
+
value: z.ZodNullable<z.ZodString>;
|
|
3041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3042
|
+
op: z.ZodLiteral<"set_number">;
|
|
3043
|
+
fieldId: z.ZodString;
|
|
3044
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
3045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3046
|
+
op: z.ZodLiteral<"set_string_list">;
|
|
3047
|
+
fieldId: z.ZodString;
|
|
3048
|
+
items: z.ZodArray<z.ZodString>;
|
|
3049
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3050
|
+
op: z.ZodLiteral<"set_checkboxes">;
|
|
3051
|
+
fieldId: z.ZodString;
|
|
3052
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
3053
|
+
todo: "todo";
|
|
3054
|
+
done: "done";
|
|
3055
|
+
incomplete: "incomplete";
|
|
3056
|
+
active: "active";
|
|
3057
|
+
na: "na";
|
|
3058
|
+
}>, z.ZodEnum<{
|
|
3059
|
+
unfilled: "unfilled";
|
|
3060
|
+
yes: "yes";
|
|
3061
|
+
no: "no";
|
|
3062
|
+
}>]>>;
|
|
3063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3064
|
+
op: z.ZodLiteral<"set_single_select">;
|
|
3065
|
+
fieldId: z.ZodString;
|
|
3066
|
+
selected: z.ZodNullable<z.ZodString>;
|
|
3067
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3068
|
+
op: z.ZodLiteral<"set_multi_select">;
|
|
3069
|
+
fieldId: z.ZodString;
|
|
3070
|
+
selected: z.ZodArray<z.ZodString>;
|
|
3071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3072
|
+
op: z.ZodLiteral<"set_url">;
|
|
3073
|
+
fieldId: z.ZodString;
|
|
3074
|
+
value: z.ZodNullable<z.ZodString>;
|
|
3075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3076
|
+
op: z.ZodLiteral<"set_url_list">;
|
|
3077
|
+
fieldId: z.ZodString;
|
|
3078
|
+
items: z.ZodArray<z.ZodString>;
|
|
3079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3080
|
+
op: z.ZodLiteral<"set_date">;
|
|
3081
|
+
fieldId: z.ZodString;
|
|
3082
|
+
value: z.ZodNullable<z.ZodString>;
|
|
3083
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3084
|
+
op: z.ZodLiteral<"set_year">;
|
|
3085
|
+
fieldId: z.ZodString;
|
|
3086
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
3087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3088
|
+
op: z.ZodLiteral<"set_table">;
|
|
3089
|
+
fieldId: z.ZodString;
|
|
3090
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodNull, z.ZodString]>>>;
|
|
3091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3092
|
+
op: z.ZodLiteral<"clear_field">;
|
|
3093
|
+
fieldId: z.ZodString;
|
|
3094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3095
|
+
op: z.ZodLiteral<"skip_field">;
|
|
3096
|
+
fieldId: z.ZodString;
|
|
3097
|
+
role: z.ZodString;
|
|
3098
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3100
|
+
op: z.ZodLiteral<"abort_field">;
|
|
3101
|
+
fieldId: z.ZodString;
|
|
3102
|
+
role: z.ZodString;
|
|
3103
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3105
|
+
op: z.ZodLiteral<"add_note">;
|
|
3106
|
+
ref: z.ZodString;
|
|
3107
|
+
role: z.ZodString;
|
|
3108
|
+
text: z.ZodString;
|
|
3109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3110
|
+
op: z.ZodLiteral<"remove_note">;
|
|
3111
|
+
noteId: z.ZodString;
|
|
3112
|
+
}, z.core.$strip>], "op">>;
|
|
3113
|
+
rejectedPatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3114
|
+
patchIndex: z.ZodNumber;
|
|
3115
|
+
message: z.ZodString;
|
|
3116
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
fieldKind: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
columnIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3119
|
+
}, z.core.$strip>>>;
|
|
3120
|
+
}, z.core.$strip>;
|
|
3121
|
+
after: z.ZodObject<{
|
|
3122
|
+
requiredIssueCount: z.ZodNumber;
|
|
3123
|
+
markdownSha256: z.ZodString;
|
|
3124
|
+
answeredFieldCount: z.ZodNumber;
|
|
3125
|
+
skippedFieldCount: z.ZodNumber;
|
|
3126
|
+
}, z.core.$strip>;
|
|
3127
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
3128
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3129
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3130
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3131
|
+
name: z.ZodString;
|
|
3132
|
+
count: z.ZodNumber;
|
|
3133
|
+
}, z.core.$strip>>>;
|
|
3134
|
+
}, z.core.$strip>>;
|
|
3135
|
+
}, z.core.$strip>>;
|
|
3136
|
+
final: z.ZodObject<{
|
|
3137
|
+
expectComplete: z.ZodBoolean;
|
|
3138
|
+
expectedCompletedForm: z.ZodString;
|
|
3139
|
+
}, z.core.$strip>;
|
|
3140
|
+
}, z.core.$strip>;
|
|
3141
|
+
declare const MarkformFrontmatterSchema: z.ZodObject<{
|
|
3142
|
+
markformVersion: z.ZodString;
|
|
3143
|
+
formSummary: z.ZodObject<{
|
|
3144
|
+
groupCount: z.ZodNumber;
|
|
3145
|
+
fieldCount: z.ZodNumber;
|
|
3146
|
+
optionCount: z.ZodNumber;
|
|
3147
|
+
fieldCountByKind: z.ZodRecord<z.ZodEnum<{
|
|
3148
|
+
string: "string";
|
|
3149
|
+
number: "number";
|
|
3150
|
+
string_list: "string_list";
|
|
3151
|
+
url: "url";
|
|
3152
|
+
url_list: "url_list";
|
|
3153
|
+
single_select: "single_select";
|
|
3154
|
+
multi_select: "multi_select";
|
|
3155
|
+
checkboxes: "checkboxes";
|
|
3156
|
+
date: "date";
|
|
3157
|
+
year: "year";
|
|
3158
|
+
table: "table";
|
|
3159
|
+
}>, z.ZodNumber>;
|
|
3160
|
+
groupsById: z.ZodRecord<z.ZodString, z.ZodLiteral<"field_group">>;
|
|
3161
|
+
fieldsById: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3162
|
+
string: "string";
|
|
3163
|
+
number: "number";
|
|
3164
|
+
string_list: "string_list";
|
|
3165
|
+
url: "url";
|
|
3166
|
+
url_list: "url_list";
|
|
3167
|
+
single_select: "single_select";
|
|
3168
|
+
multi_select: "multi_select";
|
|
3169
|
+
checkboxes: "checkboxes";
|
|
3170
|
+
date: "date";
|
|
3171
|
+
year: "year";
|
|
3172
|
+
table: "table";
|
|
3173
|
+
}>>;
|
|
3174
|
+
optionsById: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3175
|
+
parentFieldId: z.ZodString;
|
|
3176
|
+
parentFieldKind: z.ZodEnum<{
|
|
3177
|
+
string: "string";
|
|
3178
|
+
number: "number";
|
|
3179
|
+
string_list: "string_list";
|
|
3180
|
+
url: "url";
|
|
3181
|
+
url_list: "url_list";
|
|
3182
|
+
single_select: "single_select";
|
|
3183
|
+
multi_select: "multi_select";
|
|
3184
|
+
checkboxes: "checkboxes";
|
|
3185
|
+
date: "date";
|
|
3186
|
+
year: "year";
|
|
3187
|
+
table: "table";
|
|
3188
|
+
}>;
|
|
3189
|
+
}, z.core.$strip>>;
|
|
3190
|
+
}, z.core.$strip>;
|
|
3191
|
+
formProgress: z.ZodObject<{
|
|
3192
|
+
counts: z.ZodObject<{
|
|
3193
|
+
totalFields: z.ZodNumber;
|
|
3194
|
+
requiredFields: z.ZodNumber;
|
|
3195
|
+
unansweredFields: z.ZodNumber;
|
|
3196
|
+
answeredFields: z.ZodNumber;
|
|
3197
|
+
skippedFields: z.ZodNumber;
|
|
3198
|
+
abortedFields: z.ZodNumber;
|
|
3199
|
+
validFields: z.ZodNumber;
|
|
3200
|
+
invalidFields: z.ZodNumber;
|
|
3201
|
+
emptyFields: z.ZodNumber;
|
|
3202
|
+
filledFields: z.ZodNumber;
|
|
3203
|
+
emptyRequiredFields: z.ZodNumber;
|
|
3204
|
+
totalNotes: z.ZodNumber;
|
|
3205
|
+
}, z.core.$strip>;
|
|
3206
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3207
|
+
kind: z.ZodEnum<{
|
|
3208
|
+
string: "string";
|
|
3209
|
+
number: "number";
|
|
3210
|
+
string_list: "string_list";
|
|
3211
|
+
url: "url";
|
|
3212
|
+
url_list: "url_list";
|
|
3213
|
+
single_select: "single_select";
|
|
3214
|
+
multi_select: "multi_select";
|
|
3215
|
+
checkboxes: "checkboxes";
|
|
3216
|
+
date: "date";
|
|
3217
|
+
year: "year";
|
|
3218
|
+
table: "table";
|
|
3219
|
+
}>;
|
|
3220
|
+
required: z.ZodBoolean;
|
|
3221
|
+
answerState: z.ZodEnum<{
|
|
3222
|
+
unanswered: "unanswered";
|
|
3223
|
+
answered: "answered";
|
|
3224
|
+
skipped: "skipped";
|
|
3225
|
+
aborted: "aborted";
|
|
3226
|
+
}>;
|
|
3227
|
+
hasNotes: z.ZodBoolean;
|
|
3228
|
+
noteCount: z.ZodNumber;
|
|
3229
|
+
empty: z.ZodBoolean;
|
|
3230
|
+
valid: z.ZodBoolean;
|
|
3231
|
+
issueCount: z.ZodNumber;
|
|
3232
|
+
checkboxProgress: z.ZodOptional<z.ZodObject<{
|
|
3233
|
+
total: z.ZodNumber;
|
|
3234
|
+
todo: z.ZodNumber;
|
|
3235
|
+
done: z.ZodNumber;
|
|
3236
|
+
incomplete: z.ZodNumber;
|
|
3237
|
+
active: z.ZodNumber;
|
|
3238
|
+
na: z.ZodNumber;
|
|
3239
|
+
unfilled: z.ZodNumber;
|
|
3240
|
+
yes: z.ZodNumber;
|
|
3241
|
+
no: z.ZodNumber;
|
|
3242
|
+
}, z.core.$strip>>;
|
|
3243
|
+
}, z.core.$strip>>;
|
|
3244
|
+
}, z.core.$strip>;
|
|
3245
|
+
formState: z.ZodEnum<{
|
|
3246
|
+
incomplete: "incomplete";
|
|
3247
|
+
empty: "empty";
|
|
3248
|
+
invalid: "invalid";
|
|
3249
|
+
complete: "complete";
|
|
3250
|
+
}>;
|
|
3251
|
+
}, z.core.$strip>;
|
|
3252
|
+
//#endregion
|
|
3253
|
+
export { IdIndexEntry as $, UrlListField as $n, SetMultiSelectPatch as $t, ExplicitCheckboxValue as A, StepResultSchema as An, PatchSchema as At, FieldProgressSchema as B, StructureSummarySchema as Bn, RunModeSchema as Bt, DateFieldSchema as C, SingleSelectValue as Cn, Option as Ct, DocumentationBlockSchema as D, SourceRange as Dn, ParsedForm as Dt, DocumentationBlock as E, SourcePositionSchema as En, OptionSchema as Et, FieldGroupSchema as F, StringListValue as Fn, ProgressSummary as Ft, FieldValueSchema as G, TableRowPatch as Gn, SessionTurn as Gt, FieldResponseSchema as H, TableColumnSchema as Hn, SessionFinalSchema as Ht, FieldKind as I, StringListValueSchema as In, ProgressSummarySchema as It, FormSchemaSchema as J, TableRowResponseSchema as Jn, SessionTurnStats as Jt, FillMode as K, TableRowPatchSchema as Kn, SessionTurnContext as Kt, FieldKindSchema as L, StringValue as Ln, QualifiedColumnRef as Lt, Field as M, StringFieldSchema as Mn, ProgressCountsSchema as Mt, FieldBase as N, StringListField as Nn, ProgressState as Nt, DocumentationTag as O, SourceRangeSchema as On, Patch as Ot, FieldGroup as P, StringListFieldSchema as Pn, ProgressStateSchema as Pt, Id as Q, UrlFieldSchema as Qn, SetDatePatchSchema as Qt, FieldPriorityLevel as R, StringValueSchema as Rn, QualifiedOptionRef as Rt, DateField as S, SingleSelectFieldSchema as Sn, NumberValueSchema as St, DateValueSchema as T, SourcePosition as Tn, OptionIdSchema as Tt, FieldSchema as U, TableField as Un, SessionTranscript as Ut, FieldResponse as V, TableColumn as Vn, SessionFinal as Vt, FieldValue as W, TableFieldSchema as Wn, SessionTranscriptSchema as Wt, HarnessConfig as X, TableValueSchema as Xn, SetCheckboxesPatchSchema as Xt, FrontmatterHarnessConfig as Y, TableValue as Yn, SetCheckboxesPatch as Yt, HarnessConfigSchema as Z, UrlField as Zn, SetDatePatch as Zt, CheckboxesValueSchema as _, Severity as _n, NodeType as _t, ApprovalMode as a, SetStringListPatch as an, ValidationIssue as ar, IssueReason as at, ColumnTypeName as b, SimpleCheckboxStateSchema as bn, NumberFieldSchema as bt, CheckboxMode as c, SetStringPatchSchema as cn, ValidatorFn as cr, IssueScopeSchema as ct, CheckboxProgressCountsSchema as d, SetUrlListPatch as dn, ValidatorRegistry as dr, MultiCheckboxState as dt, SetMultiSelectPatchSchema as en, UrlListFieldSchema as er, IdSchema as et, CheckboxValue as f, SetUrlListPatchSchema as fn, YearField as fr, MultiCheckboxStateSchema as ft, CheckboxesValue as g, SetYearPatchSchema as gn, MultiSelectValueSchema as gt, CheckboxesFieldSchema as h, SetYearPatch as hn, YearValueSchema as hr, MultiSelectValue as ht, ApplyResultSchema as i, SetSingleSelectPatchSchema as in, UrlValueSchema as ir, InspectResultSchema as it, ExplicitCheckboxValueSchema as j, StringField as jn, ProgressCounts as jt, DocumentationTagSchema as k, StepResult as kn, PatchRejection as kt, CheckboxModeSchema as l, SetTablePatch as ln, ValidatorRef as lr, MarkformFrontmatter as lt, CheckboxesField as m, SetUrlPatchSchema as mn, YearValue as mr, MultiSelectFieldSchema as mt, AnswerStateSchema as n, SetNumberPatchSchema as nn, UrlListValueSchema as nr, InspectIssueSchema as nt, CellResponse as o, SetStringListPatchSchema as on, ValidationIssueSchema as or, IssueReasonSchema as ot, CheckboxValueSchema as p, SetUrlPatch as pn, YearFieldSchema as pr, MultiSelectField as pt, FormSchema as q, TableRowResponse as qn, SessionTurnSchema as qt, ApplyResult as r, SetSingleSelectPatch as rn, UrlValue as rr, InspectResult as rt, CellResponseSchema as s, SetStringPatch as sn, ValidatorContext as sr, IssueScope as st, AnswerState as t, SetNumberPatch as tn, UrlListValue as tr, InspectIssue as tt, CheckboxProgressCounts as u, SetTablePatchSchema as un, ValidatorRefSchema as ur, MarkformFrontmatterSchema as ut, ClearFieldPatch as v, SeveritySchema as vn, Note as vt, DateValue as w, SingleSelectValueSchema as wn, OptionId as wt, ColumnTypeNameSchema as x, SingleSelectField as xn, NumberValue as xt, ClearFieldPatchSchema as y, SimpleCheckboxState as yn, NumberField as yt, FieldProgress as z, StructureSummary as zn, RunMode as zt };
|