@fieldia/core 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +204 -0
- package/package.json +1 -1
- package/schema/page.schema.json +4700 -904
- package/src/index.d.mts +2 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +7 -1
- package/src/index.js.map +1 -1
- package/src/index.mjs +2 -1
- package/src/index.mjs.map +1 -1
- package/src/lib/expression/built-ins.d.mts +4 -0
- package/src/lib/expression/built-ins.d.ts +4 -0
- package/src/lib/expression/built-ins.js +8 -0
- package/src/lib/expression/built-ins.js.map +1 -0
- package/src/lib/expression/built-ins.mjs +5 -0
- package/src/lib/expression/built-ins.mjs.map +1 -0
- package/src/lib/expression/evaluator.js +17 -7
- package/src/lib/expression/evaluator.js.map +1 -1
- package/src/lib/expression/evaluator.mjs +17 -7
- package/src/lib/expression/evaluator.mjs.map +1 -1
- package/src/lib/expression/expression.d.mts +7 -0
- package/src/lib/expression/expression.d.ts +7 -0
- package/src/lib/expression/expression.js +2 -0
- package/src/lib/expression/expression.js.map +1 -1
- package/src/lib/expression/expression.mjs +3 -1
- package/src/lib/expression/expression.mjs.map +1 -1
- package/src/lib/expression/functions.d.mts +2 -0
- package/src/lib/expression/functions.d.ts +2 -0
- package/src/lib/expression/functions.js +38 -5
- package/src/lib/expression/functions.js.map +1 -1
- package/src/lib/expression/functions.mjs +38 -5
- package/src/lib/expression/functions.mjs.map +1 -1
- package/src/lib/expression/modifier.d.mts +7 -0
- package/src/lib/expression/modifier.d.ts +7 -0
- package/src/lib/expression/modifier.js +3 -1
- package/src/lib/expression/modifier.js.map +1 -1
- package/src/lib/expression/modifier.mjs +4 -2
- package/src/lib/expression/modifier.mjs.map +1 -1
- package/src/lib/expression/parser.d.mts +8 -1
- package/src/lib/expression/parser.d.ts +8 -1
- package/src/lib/expression/parser.js +30 -2
- package/src/lib/expression/parser.js.map +1 -1
- package/src/lib/expression/parser.mjs +30 -2
- package/src/lib/expression/parser.mjs.map +1 -1
- package/src/lib/expression/reads.d.mts +7 -0
- package/src/lib/expression/reads.d.ts +7 -0
- package/src/lib/expression/reads.js +23 -0
- package/src/lib/expression/reads.js.map +1 -1
- package/src/lib/expression/reads.mjs +21 -0
- package/src/lib/expression/reads.mjs.map +1 -1
- package/src/lib/format/actions.d.mts +1176 -0
- package/src/lib/format/actions.d.ts +1176 -0
- package/src/lib/format/actions.js +62 -0
- package/src/lib/format/actions.js.map +1 -0
- package/src/lib/format/actions.mjs +59 -0
- package/src/lib/format/actions.mjs.map +1 -0
- package/src/lib/format/check-page.d.mts +7 -2
- package/src/lib/format/check-page.d.ts +7 -2
- package/src/lib/format/check-page.js +6 -3
- package/src/lib/format/check-page.js.map +1 -1
- package/src/lib/format/check-page.mjs +6 -3
- package/src/lib/format/check-page.mjs.map +1 -1
- package/src/lib/format/field.d.mts +3285 -214
- package/src/lib/format/field.d.ts +3285 -214
- package/src/lib/format/field.js +105 -16
- package/src/lib/format/field.js.map +1 -1
- package/src/lib/format/field.mjs +104 -15
- package/src/lib/format/field.mjs.map +1 -1
- package/src/lib/format/hotkeys.d.mts +6 -0
- package/src/lib/format/hotkeys.d.ts +6 -0
- package/src/lib/format/hotkeys.js +11 -0
- package/src/lib/format/hotkeys.js.map +1 -0
- package/src/lib/format/hotkeys.mjs +7 -0
- package/src/lib/format/hotkeys.mjs.map +1 -0
- package/src/lib/format/layout.d.mts +4773 -211
- package/src/lib/format/layout.d.ts +4773 -211
- package/src/lib/format/layout.js +147 -21
- package/src/lib/format/layout.js.map +1 -1
- package/src/lib/format/layout.mjs +146 -20
- package/src/lib/format/layout.mjs.map +1 -1
- package/src/lib/format/layout.types.d.mts +2 -1
- package/src/lib/format/layout.types.d.ts +2 -1
- package/src/lib/format/page.d.mts +3563 -222
- package/src/lib/format/page.d.ts +3563 -222
- package/src/lib/format/page.js +19 -2
- package/src/lib/format/page.js.map +1 -1
- package/src/lib/format/page.mjs +20 -3
- package/src/lib/format/page.mjs.map +1 -1
- package/src/lib/format/part-look.d.mts +36 -0
- package/src/lib/format/part-look.d.ts +36 -0
- package/src/lib/format/part-look.js +23 -0
- package/src/lib/format/part-look.js.map +1 -0
- package/src/lib/format/part-look.mjs +20 -0
- package/src/lib/format/part-look.mjs.map +1 -0
- package/src/lib/format/references.d.mts +54 -2
- package/src/lib/format/references.d.ts +54 -2
- package/src/lib/format/references.js +450 -43
- package/src/lib/format/references.js.map +1 -1
- package/src/lib/format/references.mjs +450 -43
- package/src/lib/format/references.mjs.map +1 -1
- package/src/lib/format/translate.js +5 -3
- package/src/lib/format/translate.js.map +1 -1
- package/src/lib/format/translate.mjs +5 -3
- package/src/lib/format/translate.mjs.map +1 -1
- package/src/lib/format/words.d.mts +9 -0
- package/src/lib/format/words.d.ts +9 -0
- package/src/lib/format/words.js +35 -0
- package/src/lib/format/words.js.map +1 -0
- package/src/lib/format/words.mjs +30 -0
- package/src/lib/format/words.mjs.map +1 -0
- package/src/lib/record/cells.d.mts +37 -0
- package/src/lib/record/cells.d.ts +37 -0
- package/src/lib/record/cells.js +59 -0
- package/src/lib/record/cells.js.map +1 -0
- package/src/lib/record/cells.mjs +54 -0
- package/src/lib/record/cells.mjs.map +1 -0
- package/src/lib/record/compute.d.mts +5 -4
- package/src/lib/record/compute.d.ts +5 -4
- package/src/lib/record/compute.js +11 -10
- package/src/lib/record/compute.js.map +1 -1
- package/src/lib/record/compute.mjs +12 -11
- package/src/lib/record/compute.mjs.map +1 -1
- package/src/lib/record/data-source.d.mts +37 -3
- package/src/lib/record/data-source.d.ts +37 -3
- package/src/lib/record/data-source.js.map +1 -1
- package/src/lib/record/data-source.mjs.map +1 -1
- package/src/lib/record/env.d.mts +38 -1
- package/src/lib/record/env.d.ts +38 -1
- package/src/lib/record/env.js +41 -3
- package/src/lib/record/env.js.map +1 -1
- package/src/lib/record/env.mjs +38 -3
- package/src/lib/record/env.mjs.map +1 -1
- package/src/lib/record/filter.d.mts +10 -0
- package/src/lib/record/filter.d.ts +10 -0
- package/src/lib/record/filter.js +49 -0
- package/src/lib/record/filter.js.map +1 -1
- package/src/lib/record/filter.mjs +48 -0
- package/src/lib/record/filter.mjs.map +1 -1
- package/src/lib/record/form.d.mts +226 -25
- package/src/lib/record/form.d.ts +226 -25
- package/src/lib/record/form.js +785 -83
- package/src/lib/record/form.js.map +1 -1
- package/src/lib/record/form.mjs +787 -85
- package/src/lib/record/form.mjs.map +1 -1
- package/src/lib/record/locales/ar.js +3 -0
- package/src/lib/record/locales/ar.js.map +1 -1
- package/src/lib/record/locales/ar.mjs +3 -0
- package/src/lib/record/locales/ar.mjs.map +1 -1
- package/src/lib/record/locales/de.js +3 -0
- package/src/lib/record/locales/de.js.map +1 -1
- package/src/lib/record/locales/de.mjs +3 -0
- package/src/lib/record/locales/de.mjs.map +1 -1
- package/src/lib/record/locales/fr.js +3 -0
- package/src/lib/record/locales/fr.js.map +1 -1
- package/src/lib/record/locales/fr.mjs +3 -0
- package/src/lib/record/locales/fr.mjs.map +1 -1
- package/src/lib/record/memory-data-source.d.mts +26 -2
- package/src/lib/record/memory-data-source.d.ts +26 -2
- package/src/lib/record/memory-data-source.js +98 -7
- package/src/lib/record/memory-data-source.js.map +1 -1
- package/src/lib/record/memory-data-source.mjs +98 -7
- package/src/lib/record/memory-data-source.mjs.map +1 -1
- package/src/lib/record/messages.d.mts +5 -0
- package/src/lib/record/messages.d.ts +5 -0
- package/src/lib/record/messages.js +3 -0
- package/src/lib/record/messages.js.map +1 -1
- package/src/lib/record/messages.mjs +3 -0
- package/src/lib/record/messages.mjs.map +1 -1
- package/src/lib/record/roles.d.mts +10 -0
- package/src/lib/record/roles.d.ts +10 -0
- package/src/lib/record/roles.js +21 -0
- package/src/lib/record/roles.js.map +1 -0
- package/src/lib/record/roles.mjs +18 -0
- package/src/lib/record/roles.mjs.map +1 -0
- package/src/lib/record/rules.js +30 -0
- package/src/lib/record/rules.js.map +1 -1
- package/src/lib/record/rules.mjs +31 -1
- package/src/lib/record/rules.mjs.map +1 -1
- package/src/lib/record/run.d.mts +248 -0
- package/src/lib/record/run.d.ts +248 -0
- package/src/lib/record/run.js +455 -0
- package/src/lib/record/run.js.map +1 -0
- package/src/lib/record/run.mjs +450 -0
- package/src/lib/record/run.mjs.map +1 -0
- package/src/lib/record/set-when.d.mts +5 -2
- package/src/lib/record/set-when.d.ts +5 -2
- package/src/lib/record/set-when.js +28 -12
- package/src/lib/record/set-when.js.map +1 -1
- package/src/lib/record/set-when.mjs +30 -14
- package/src/lib/record/set-when.mjs.map +1 -1
- package/src/lib/record/value-map.d.mts +41 -0
- package/src/lib/record/value-map.d.ts +41 -0
- package/src/lib/record/value-map.js +80 -0
- package/src/lib/record/value-map.js.map +1 -0
- package/src/lib/record/value-map.mjs +73 -0
- package/src/lib/record/value-map.mjs.map +1 -0
- package/src/lib/record/values.d.mts +10 -0
- package/src/lib/record/values.d.ts +10 -0
- package/src/lib/record/values.js.map +1 -1
- package/src/lib/record/values.mjs.map +1 -1
- package/src/runtime.d.mts +11 -4
- package/src/runtime.d.ts +11 -4
- package/src/runtime.js +13 -1
- package/src/runtime.js.map +1 -1
- package/src/runtime.mjs +4 -0
- package/src/runtime.mjs.map +1 -1
|
@@ -0,0 +1,1176 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
import { FilterItemSchema, type FilterItem } from './field';
|
|
3
|
+
import { type JsonValue } from './json';
|
|
4
|
+
import type { Modifier, Tone } from './layout';
|
|
5
|
+
/**
|
|
6
|
+
* What a press, a change or a moment of the form does: steps, run in order,
|
|
7
|
+
* each plain data — never code. Anything only the app can do is a `call` of
|
|
8
|
+
* one of its own actions, by name. A step may run only `when` a condition
|
|
9
|
+
* holds. A step that fails or is refused stops the ones after it: a check
|
|
10
|
+
* that finds problems, a question answered No, a save that cannot be made,
|
|
11
|
+
* an app action that says stop, a page opened and closed without saving.
|
|
12
|
+
*
|
|
13
|
+
* Expressions are the format's own (`price * quantity`, `'Cairo'`,
|
|
14
|
+
* `today()`), read against the form's values where the step runs.
|
|
15
|
+
*/
|
|
16
|
+
/** Values for fields, by name: each an expression. */
|
|
17
|
+
export type ValueMap = {
|
|
18
|
+
[field: string]: string;
|
|
19
|
+
};
|
|
20
|
+
interface StepBase {
|
|
21
|
+
/** Run this step only while this holds; skipped, the steps after it still run. */
|
|
22
|
+
when?: Modifier;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The edge a panel comes from: the end of the line (the default: the right,
|
|
26
|
+
* or the left in a page written right to left) or its start, as the page
|
|
27
|
+
* reads; or the left, right, top or bottom of the screen, whatever the page's
|
|
28
|
+
* direction. A panel at the top or bottom runs the whole width.
|
|
29
|
+
*/
|
|
30
|
+
export type PanelSide = 'end' | 'start' | 'right' | 'left' | 'top' | 'bottom';
|
|
31
|
+
/**
|
|
32
|
+
* Open another page: in a dialog over this form (the default), in a panel
|
|
33
|
+
* beside it, or in its place. A list page shows only the records its
|
|
34
|
+
* `filter` lets through — each `valueFrom` read from this form — such as the
|
|
35
|
+
* invoices of this order, as Flectra's smart buttons open them. A panel comes from the `side` named, the end of
|
|
36
|
+
* the line unless told. It starts on a record (`record`, an expression
|
|
37
|
+
* giving its id) or a new one with `values`. Once it is saved or sent, `into`
|
|
38
|
+
* sets this form's fields from its answers — each an expression over the
|
|
39
|
+
* opened form's values, where `id` is the record it saved — and `then` runs
|
|
40
|
+
* here. Closed without saving, the steps after it do not run.
|
|
41
|
+
*/
|
|
42
|
+
export interface OpenStep extends StepBase {
|
|
43
|
+
do: 'open';
|
|
44
|
+
/** The page's id, as the app's `pages` finds it. */
|
|
45
|
+
page: string;
|
|
46
|
+
/** One published version; left out, the latest. */
|
|
47
|
+
version?: number;
|
|
48
|
+
as?: 'dialog' | 'panel' | 'page';
|
|
49
|
+
/** Where a panel comes from (`as: 'panel'` alone): the end of the line unless told. */
|
|
50
|
+
side?: PanelSide;
|
|
51
|
+
/** The words over it; left out, the page's own title. */
|
|
52
|
+
title?: string;
|
|
53
|
+
record?: string;
|
|
54
|
+
/** What the opened form starts with: its fields, each an expression over this form's values. */
|
|
55
|
+
values?: ValueMap;
|
|
56
|
+
/** On a list page, the records it shows: conditions as a link's filter, `valueFrom` naming this form's fields. */
|
|
57
|
+
filter?: FilterItem[];
|
|
58
|
+
/** This form's fields, each an expression over the opened form's values once it is saved or sent. */
|
|
59
|
+
into?: ValueMap;
|
|
60
|
+
then?: ActionStep[];
|
|
61
|
+
}
|
|
62
|
+
/** Give a field of this form a value: an expression over its values. */
|
|
63
|
+
export interface SetStep extends StepBase {
|
|
64
|
+
do: 'set';
|
|
65
|
+
field: string;
|
|
66
|
+
value: string;
|
|
67
|
+
}
|
|
68
|
+
/** Empty a field of this form. */
|
|
69
|
+
export interface ClearStep extends StepBase {
|
|
70
|
+
do: 'clear';
|
|
71
|
+
field: string;
|
|
72
|
+
}
|
|
73
|
+
/** Add a line to a table of lines (a one2many), its fields from expressions over this form's values. */
|
|
74
|
+
export interface AddLineStep extends StepBase {
|
|
75
|
+
do: 'addLine';
|
|
76
|
+
field: string;
|
|
77
|
+
values?: ValueMap;
|
|
78
|
+
}
|
|
79
|
+
/** Check the form — or only these fields — as sending does: problems are shown, and stop the steps after it. */
|
|
80
|
+
export interface CheckStep extends StepBase {
|
|
81
|
+
do: 'check';
|
|
82
|
+
fields?: string[];
|
|
83
|
+
}
|
|
84
|
+
/** Save the record, or send the answers: a page of responses sends. Refused, it stops the steps after it. */
|
|
85
|
+
export interface SaveStep extends StepBase {
|
|
86
|
+
do: 'save';
|
|
87
|
+
}
|
|
88
|
+
/** Put the form back as it was loaded, or empty for a new one. */
|
|
89
|
+
export interface ResetStep extends StepBase {
|
|
90
|
+
do: 'reset';
|
|
91
|
+
}
|
|
92
|
+
/** Show a wizard's step or a tab, by its id. */
|
|
93
|
+
export interface GoToStep extends StepBase {
|
|
94
|
+
do: 'goTo';
|
|
95
|
+
target: string;
|
|
96
|
+
}
|
|
97
|
+
/** Say something to the person, in a tone. */
|
|
98
|
+
export interface SayStep extends StepBase {
|
|
99
|
+
do: 'say';
|
|
100
|
+
message: string;
|
|
101
|
+
tone?: Tone;
|
|
102
|
+
}
|
|
103
|
+
/** Ask a question answered Yes or No: No stops the steps after it. */
|
|
104
|
+
export interface AskStep extends StepBase {
|
|
105
|
+
do: 'ask';
|
|
106
|
+
message: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* One of the app's own actions, by the name its `onAction` receives, with
|
|
110
|
+
* `params`. The app may answer: values to set, something to say, a page to
|
|
111
|
+
* open, or to stop the steps after it.
|
|
112
|
+
*/
|
|
113
|
+
export interface CallStep extends StepBase {
|
|
114
|
+
do: 'call';
|
|
115
|
+
action: string;
|
|
116
|
+
params?: {
|
|
117
|
+
[key: string]: JsonValue;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/** Close the dialog or panel this form was opened in, without saving it. */
|
|
121
|
+
export interface CloseStep extends StepBase {
|
|
122
|
+
do: 'close';
|
|
123
|
+
}
|
|
124
|
+
/** Load the record again, as its data source now has it: after the app has changed it on its server. */
|
|
125
|
+
export interface ReloadStep extends StepBase {
|
|
126
|
+
do: 'reload';
|
|
127
|
+
}
|
|
128
|
+
/** Open a web address, an expression: in a new tab unless `newTab` is false. Flectra's `act_url`. */
|
|
129
|
+
export interface OpenUrlStep extends StepBase {
|
|
130
|
+
do: 'openUrl';
|
|
131
|
+
url: string;
|
|
132
|
+
newTab?: boolean;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Archive the record, as Flectra's Archive: through the data source's
|
|
136
|
+
* `archive`, or — without one — the app's action named "archive". The record
|
|
137
|
+
* is then loaded again, so a ribbon or a condition on `active` follows. A
|
|
138
|
+
* new record cannot be.
|
|
139
|
+
*/
|
|
140
|
+
export interface ArchiveStep extends StepBase {
|
|
141
|
+
do: 'archive';
|
|
142
|
+
}
|
|
143
|
+
/** Bring an archived record back: the data source's `archive` told so, or the app's action "unarchive". */
|
|
144
|
+
export interface UnarchiveStep extends StepBase {
|
|
145
|
+
do: 'unarchive';
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Copy the record and show the copy, as Flectra's Duplicate: changes not
|
|
149
|
+
* saved yet are saved first, then the data source's `copy` makes it — or,
|
|
150
|
+
* without one, the app's action "duplicate", answering with the copy's id
|
|
151
|
+
* (`record`).
|
|
152
|
+
*/
|
|
153
|
+
export interface DuplicateStep extends StepBase {
|
|
154
|
+
do: 'duplicate';
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Delete the record: the data source's `delete`, or the app's action
|
|
158
|
+
* "delete". The form then shows the next record of its pager, or goes back
|
|
159
|
+
* along its breadcrumbs, or starts a new record.
|
|
160
|
+
*/
|
|
161
|
+
export interface DeleteStep extends StepBase {
|
|
162
|
+
do: 'delete';
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Post a message about the record in its conversation — the chatter beside
|
|
166
|
+
* it, or, in a page opened over a record, that record's — as Flectra posts a
|
|
167
|
+
* closing note: the words, each `{field}` showing that field's value. A note
|
|
168
|
+
* for the team unless it is a `message` its followers get.
|
|
169
|
+
*/
|
|
170
|
+
export interface PostStep extends StepBase {
|
|
171
|
+
do: 'post';
|
|
172
|
+
message: string;
|
|
173
|
+
kind?: 'note' | 'message';
|
|
174
|
+
}
|
|
175
|
+
export type ActionStep = OpenStep | SetStep | ClearStep | AddLineStep | CheckStep | SaveStep | ResetStep | GoToStep | SayStep | AskStep | CallStep | CloseStep | ReloadStep | OpenUrlStep | ArchiveStep | UnarchiveStep | DuplicateStep | DeleteStep | PostStep;
|
|
176
|
+
/**
|
|
177
|
+
* The moments of a form that run steps. A change is a person's: values set by
|
|
178
|
+
* a step, a rule or the app do not run `change` again, so steps never chase
|
|
179
|
+
* each other round.
|
|
180
|
+
*/
|
|
181
|
+
export interface PageEvents {
|
|
182
|
+
/** When the form has its values: loaded, or new. */
|
|
183
|
+
open?: ActionStep[];
|
|
184
|
+
/** When a person changes a field, by its name. */
|
|
185
|
+
change?: {
|
|
186
|
+
[field: string]: ActionStep[];
|
|
187
|
+
};
|
|
188
|
+
/** Before it is saved or sent: a step that stops keeps it unsaved. */
|
|
189
|
+
beforeSave?: ActionStep[];
|
|
190
|
+
/** After it is saved or sent. */
|
|
191
|
+
afterSave?: ActionStep[];
|
|
192
|
+
/** When a wizard's step or a tab is shown, by its id. */
|
|
193
|
+
show?: {
|
|
194
|
+
[id: string]: ActionStep[];
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
export declare const OpenStepSchema: z.ZodObject<{
|
|
198
|
+
do: z.ZodLiteral<"open">;
|
|
199
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
200
|
+
page: z.ZodString;
|
|
201
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
202
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
203
|
+
page: "page";
|
|
204
|
+
dialog: "dialog";
|
|
205
|
+
panel: "panel";
|
|
206
|
+
}>>;
|
|
207
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
208
|
+
end: "end";
|
|
209
|
+
start: "start";
|
|
210
|
+
right: "right";
|
|
211
|
+
left: "left";
|
|
212
|
+
top: "top";
|
|
213
|
+
bottom: "bottom";
|
|
214
|
+
}>>;
|
|
215
|
+
title: z.ZodOptional<z.ZodString>;
|
|
216
|
+
record: z.ZodOptional<z.ZodString>;
|
|
217
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
218
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
219
|
+
field: z.ZodString;
|
|
220
|
+
op: z.ZodEnum<{
|
|
221
|
+
set: "set";
|
|
222
|
+
"=": "=";
|
|
223
|
+
"!=": "!=";
|
|
224
|
+
"<": "<";
|
|
225
|
+
">": ">";
|
|
226
|
+
"<=": "<=";
|
|
227
|
+
">=": ">=";
|
|
228
|
+
in: "in";
|
|
229
|
+
"not in": "not in";
|
|
230
|
+
like: "like";
|
|
231
|
+
ilike: "ilike";
|
|
232
|
+
startswith: "startswith";
|
|
233
|
+
endswith: "endswith";
|
|
234
|
+
notset: "notset";
|
|
235
|
+
between: "between";
|
|
236
|
+
contains: "contains";
|
|
237
|
+
"not contains": "not contains";
|
|
238
|
+
"=?": "=?";
|
|
239
|
+
}>;
|
|
240
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
241
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
243
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
244
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
245
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
246
|
+
}, z.z.core.$strict>]>>>;
|
|
247
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
248
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
249
|
+
}, z.z.core.$strict>;
|
|
250
|
+
export declare const ActionStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
251
|
+
do: z.ZodLiteral<"open">;
|
|
252
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
253
|
+
page: z.ZodString;
|
|
254
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
255
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
page: "page";
|
|
257
|
+
dialog: "dialog";
|
|
258
|
+
panel: "panel";
|
|
259
|
+
}>>;
|
|
260
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
end: "end";
|
|
262
|
+
start: "start";
|
|
263
|
+
right: "right";
|
|
264
|
+
left: "left";
|
|
265
|
+
top: "top";
|
|
266
|
+
bottom: "bottom";
|
|
267
|
+
}>>;
|
|
268
|
+
title: z.ZodOptional<z.ZodString>;
|
|
269
|
+
record: z.ZodOptional<z.ZodString>;
|
|
270
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
271
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
272
|
+
field: z.ZodString;
|
|
273
|
+
op: z.ZodEnum<{
|
|
274
|
+
set: "set";
|
|
275
|
+
"=": "=";
|
|
276
|
+
"!=": "!=";
|
|
277
|
+
"<": "<";
|
|
278
|
+
">": ">";
|
|
279
|
+
"<=": "<=";
|
|
280
|
+
">=": ">=";
|
|
281
|
+
in: "in";
|
|
282
|
+
"not in": "not in";
|
|
283
|
+
like: "like";
|
|
284
|
+
ilike: "ilike";
|
|
285
|
+
startswith: "startswith";
|
|
286
|
+
endswith: "endswith";
|
|
287
|
+
notset: "notset";
|
|
288
|
+
between: "between";
|
|
289
|
+
contains: "contains";
|
|
290
|
+
"not contains": "not contains";
|
|
291
|
+
"=?": "=?";
|
|
292
|
+
}>;
|
|
293
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
294
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
295
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
296
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
297
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
298
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
299
|
+
}, z.z.core.$strict>]>>>;
|
|
300
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
301
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
302
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
303
|
+
do: z.ZodLiteral<"set">;
|
|
304
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
305
|
+
field: z.ZodString;
|
|
306
|
+
value: z.ZodString;
|
|
307
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
308
|
+
do: z.ZodLiteral<"clear">;
|
|
309
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
310
|
+
field: z.ZodString;
|
|
311
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
312
|
+
do: z.ZodLiteral<"addLine">;
|
|
313
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
314
|
+
field: z.ZodString;
|
|
315
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
316
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
317
|
+
do: z.ZodLiteral<"check">;
|
|
318
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
319
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
321
|
+
do: z.ZodLiteral<"save">;
|
|
322
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
323
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
324
|
+
do: z.ZodLiteral<"reset">;
|
|
325
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
326
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
327
|
+
do: z.ZodLiteral<"goTo">;
|
|
328
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
329
|
+
target: z.ZodString;
|
|
330
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
331
|
+
do: z.ZodLiteral<"say">;
|
|
332
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
333
|
+
message: z.ZodString;
|
|
334
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
success: "success";
|
|
336
|
+
info: "info";
|
|
337
|
+
warning: "warning";
|
|
338
|
+
danger: "danger";
|
|
339
|
+
muted: "muted";
|
|
340
|
+
}>>;
|
|
341
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
342
|
+
do: z.ZodLiteral<"ask">;
|
|
343
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
344
|
+
message: z.ZodString;
|
|
345
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
346
|
+
do: z.ZodLiteral<"call">;
|
|
347
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
348
|
+
action: z.ZodString;
|
|
349
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
350
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
351
|
+
do: z.ZodLiteral<"close">;
|
|
352
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
353
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
354
|
+
do: z.ZodLiteral<"reload">;
|
|
355
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
356
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
357
|
+
do: z.ZodLiteral<"openUrl">;
|
|
358
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
359
|
+
url: z.ZodString;
|
|
360
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
362
|
+
do: z.ZodLiteral<"archive">;
|
|
363
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
364
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
365
|
+
do: z.ZodLiteral<"unarchive">;
|
|
366
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
367
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
368
|
+
do: z.ZodLiteral<"duplicate">;
|
|
369
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
370
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
371
|
+
do: z.ZodLiteral<"delete">;
|
|
372
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
373
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
374
|
+
do: z.ZodLiteral<"post">;
|
|
375
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
376
|
+
message: z.ZodString;
|
|
377
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
378
|
+
message: "message";
|
|
379
|
+
note: "note";
|
|
380
|
+
}>>;
|
|
381
|
+
}, z.z.core.$strict>], "do">;
|
|
382
|
+
export declare const ActionStepsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
383
|
+
do: z.ZodLiteral<"open">;
|
|
384
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
385
|
+
page: z.ZodString;
|
|
386
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
387
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
388
|
+
page: "page";
|
|
389
|
+
dialog: "dialog";
|
|
390
|
+
panel: "panel";
|
|
391
|
+
}>>;
|
|
392
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
393
|
+
end: "end";
|
|
394
|
+
start: "start";
|
|
395
|
+
right: "right";
|
|
396
|
+
left: "left";
|
|
397
|
+
top: "top";
|
|
398
|
+
bottom: "bottom";
|
|
399
|
+
}>>;
|
|
400
|
+
title: z.ZodOptional<z.ZodString>;
|
|
401
|
+
record: z.ZodOptional<z.ZodString>;
|
|
402
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
403
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
404
|
+
field: z.ZodString;
|
|
405
|
+
op: z.ZodEnum<{
|
|
406
|
+
set: "set";
|
|
407
|
+
"=": "=";
|
|
408
|
+
"!=": "!=";
|
|
409
|
+
"<": "<";
|
|
410
|
+
">": ">";
|
|
411
|
+
"<=": "<=";
|
|
412
|
+
">=": ">=";
|
|
413
|
+
in: "in";
|
|
414
|
+
"not in": "not in";
|
|
415
|
+
like: "like";
|
|
416
|
+
ilike: "ilike";
|
|
417
|
+
startswith: "startswith";
|
|
418
|
+
endswith: "endswith";
|
|
419
|
+
notset: "notset";
|
|
420
|
+
between: "between";
|
|
421
|
+
contains: "contains";
|
|
422
|
+
"not contains": "not contains";
|
|
423
|
+
"=?": "=?";
|
|
424
|
+
}>;
|
|
425
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
426
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
428
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
429
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
430
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
431
|
+
}, z.z.core.$strict>]>>>;
|
|
432
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
433
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
434
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
435
|
+
do: z.ZodLiteral<"set">;
|
|
436
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
437
|
+
field: z.ZodString;
|
|
438
|
+
value: z.ZodString;
|
|
439
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
440
|
+
do: z.ZodLiteral<"clear">;
|
|
441
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
442
|
+
field: z.ZodString;
|
|
443
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
444
|
+
do: z.ZodLiteral<"addLine">;
|
|
445
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
446
|
+
field: z.ZodString;
|
|
447
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
448
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
449
|
+
do: z.ZodLiteral<"check">;
|
|
450
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
451
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
453
|
+
do: z.ZodLiteral<"save">;
|
|
454
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
455
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
456
|
+
do: z.ZodLiteral<"reset">;
|
|
457
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
458
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
459
|
+
do: z.ZodLiteral<"goTo">;
|
|
460
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
461
|
+
target: z.ZodString;
|
|
462
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
463
|
+
do: z.ZodLiteral<"say">;
|
|
464
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
465
|
+
message: z.ZodString;
|
|
466
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
467
|
+
success: "success";
|
|
468
|
+
info: "info";
|
|
469
|
+
warning: "warning";
|
|
470
|
+
danger: "danger";
|
|
471
|
+
muted: "muted";
|
|
472
|
+
}>>;
|
|
473
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
474
|
+
do: z.ZodLiteral<"ask">;
|
|
475
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
476
|
+
message: z.ZodString;
|
|
477
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
478
|
+
do: z.ZodLiteral<"call">;
|
|
479
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
480
|
+
action: z.ZodString;
|
|
481
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
482
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
483
|
+
do: z.ZodLiteral<"close">;
|
|
484
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
485
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
486
|
+
do: z.ZodLiteral<"reload">;
|
|
487
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
488
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
489
|
+
do: z.ZodLiteral<"openUrl">;
|
|
490
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
491
|
+
url: z.ZodString;
|
|
492
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
494
|
+
do: z.ZodLiteral<"archive">;
|
|
495
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
496
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
497
|
+
do: z.ZodLiteral<"unarchive">;
|
|
498
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
499
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
500
|
+
do: z.ZodLiteral<"duplicate">;
|
|
501
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
502
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
503
|
+
do: z.ZodLiteral<"delete">;
|
|
504
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
505
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
506
|
+
do: z.ZodLiteral<"post">;
|
|
507
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
508
|
+
message: z.ZodString;
|
|
509
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
message: "message";
|
|
511
|
+
note: "note";
|
|
512
|
+
}>>;
|
|
513
|
+
}, z.z.core.$strict>], "do">>;
|
|
514
|
+
export declare const PageEventsSchema: z.ZodObject<{
|
|
515
|
+
open: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
516
|
+
do: z.ZodLiteral<"open">;
|
|
517
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
518
|
+
page: z.ZodString;
|
|
519
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
520
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
521
|
+
page: "page";
|
|
522
|
+
dialog: "dialog";
|
|
523
|
+
panel: "panel";
|
|
524
|
+
}>>;
|
|
525
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
526
|
+
end: "end";
|
|
527
|
+
start: "start";
|
|
528
|
+
right: "right";
|
|
529
|
+
left: "left";
|
|
530
|
+
top: "top";
|
|
531
|
+
bottom: "bottom";
|
|
532
|
+
}>>;
|
|
533
|
+
title: z.ZodOptional<z.ZodString>;
|
|
534
|
+
record: z.ZodOptional<z.ZodString>;
|
|
535
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
536
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
537
|
+
field: z.ZodString;
|
|
538
|
+
op: z.ZodEnum<{
|
|
539
|
+
set: "set";
|
|
540
|
+
"=": "=";
|
|
541
|
+
"!=": "!=";
|
|
542
|
+
"<": "<";
|
|
543
|
+
">": ">";
|
|
544
|
+
"<=": "<=";
|
|
545
|
+
">=": ">=";
|
|
546
|
+
in: "in";
|
|
547
|
+
"not in": "not in";
|
|
548
|
+
like: "like";
|
|
549
|
+
ilike: "ilike";
|
|
550
|
+
startswith: "startswith";
|
|
551
|
+
endswith: "endswith";
|
|
552
|
+
notset: "notset";
|
|
553
|
+
between: "between";
|
|
554
|
+
contains: "contains";
|
|
555
|
+
"not contains": "not contains";
|
|
556
|
+
"=?": "=?";
|
|
557
|
+
}>;
|
|
558
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
559
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
560
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
561
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
562
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
563
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
564
|
+
}, z.z.core.$strict>]>>>;
|
|
565
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
566
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
567
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
568
|
+
do: z.ZodLiteral<"set">;
|
|
569
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
570
|
+
field: z.ZodString;
|
|
571
|
+
value: z.ZodString;
|
|
572
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
573
|
+
do: z.ZodLiteral<"clear">;
|
|
574
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
575
|
+
field: z.ZodString;
|
|
576
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
577
|
+
do: z.ZodLiteral<"addLine">;
|
|
578
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
579
|
+
field: z.ZodString;
|
|
580
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
581
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
582
|
+
do: z.ZodLiteral<"check">;
|
|
583
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
584
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
585
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
586
|
+
do: z.ZodLiteral<"save">;
|
|
587
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
588
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
589
|
+
do: z.ZodLiteral<"reset">;
|
|
590
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
591
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
592
|
+
do: z.ZodLiteral<"goTo">;
|
|
593
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
594
|
+
target: z.ZodString;
|
|
595
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
596
|
+
do: z.ZodLiteral<"say">;
|
|
597
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
success: "success";
|
|
601
|
+
info: "info";
|
|
602
|
+
warning: "warning";
|
|
603
|
+
danger: "danger";
|
|
604
|
+
muted: "muted";
|
|
605
|
+
}>>;
|
|
606
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
607
|
+
do: z.ZodLiteral<"ask">;
|
|
608
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
609
|
+
message: z.ZodString;
|
|
610
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
611
|
+
do: z.ZodLiteral<"call">;
|
|
612
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
613
|
+
action: z.ZodString;
|
|
614
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
615
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
616
|
+
do: z.ZodLiteral<"close">;
|
|
617
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
618
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
619
|
+
do: z.ZodLiteral<"reload">;
|
|
620
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
621
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
622
|
+
do: z.ZodLiteral<"openUrl">;
|
|
623
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
624
|
+
url: z.ZodString;
|
|
625
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
627
|
+
do: z.ZodLiteral<"archive">;
|
|
628
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
629
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
630
|
+
do: z.ZodLiteral<"unarchive">;
|
|
631
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
632
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
633
|
+
do: z.ZodLiteral<"duplicate">;
|
|
634
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
635
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
636
|
+
do: z.ZodLiteral<"delete">;
|
|
637
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
638
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
639
|
+
do: z.ZodLiteral<"post">;
|
|
640
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
641
|
+
message: z.ZodString;
|
|
642
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
643
|
+
message: "message";
|
|
644
|
+
note: "note";
|
|
645
|
+
}>>;
|
|
646
|
+
}, z.z.core.$strict>], "do">>>;
|
|
647
|
+
change: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
648
|
+
do: z.ZodLiteral<"open">;
|
|
649
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
650
|
+
page: z.ZodString;
|
|
651
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
652
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
653
|
+
page: "page";
|
|
654
|
+
dialog: "dialog";
|
|
655
|
+
panel: "panel";
|
|
656
|
+
}>>;
|
|
657
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
end: "end";
|
|
659
|
+
start: "start";
|
|
660
|
+
right: "right";
|
|
661
|
+
left: "left";
|
|
662
|
+
top: "top";
|
|
663
|
+
bottom: "bottom";
|
|
664
|
+
}>>;
|
|
665
|
+
title: z.ZodOptional<z.ZodString>;
|
|
666
|
+
record: z.ZodOptional<z.ZodString>;
|
|
667
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
668
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
669
|
+
field: z.ZodString;
|
|
670
|
+
op: z.ZodEnum<{
|
|
671
|
+
set: "set";
|
|
672
|
+
"=": "=";
|
|
673
|
+
"!=": "!=";
|
|
674
|
+
"<": "<";
|
|
675
|
+
">": ">";
|
|
676
|
+
"<=": "<=";
|
|
677
|
+
">=": ">=";
|
|
678
|
+
in: "in";
|
|
679
|
+
"not in": "not in";
|
|
680
|
+
like: "like";
|
|
681
|
+
ilike: "ilike";
|
|
682
|
+
startswith: "startswith";
|
|
683
|
+
endswith: "endswith";
|
|
684
|
+
notset: "notset";
|
|
685
|
+
between: "between";
|
|
686
|
+
contains: "contains";
|
|
687
|
+
"not contains": "not contains";
|
|
688
|
+
"=?": "=?";
|
|
689
|
+
}>;
|
|
690
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
691
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
692
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
693
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
694
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
695
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
696
|
+
}, z.z.core.$strict>]>>>;
|
|
697
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
698
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
699
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
700
|
+
do: z.ZodLiteral<"set">;
|
|
701
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
702
|
+
field: z.ZodString;
|
|
703
|
+
value: z.ZodString;
|
|
704
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
705
|
+
do: z.ZodLiteral<"clear">;
|
|
706
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
707
|
+
field: z.ZodString;
|
|
708
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
709
|
+
do: z.ZodLiteral<"addLine">;
|
|
710
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
711
|
+
field: z.ZodString;
|
|
712
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
713
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
714
|
+
do: z.ZodLiteral<"check">;
|
|
715
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
716
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
717
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
718
|
+
do: z.ZodLiteral<"save">;
|
|
719
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
720
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
721
|
+
do: z.ZodLiteral<"reset">;
|
|
722
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
723
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
724
|
+
do: z.ZodLiteral<"goTo">;
|
|
725
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
726
|
+
target: z.ZodString;
|
|
727
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
728
|
+
do: z.ZodLiteral<"say">;
|
|
729
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
730
|
+
message: z.ZodString;
|
|
731
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
732
|
+
success: "success";
|
|
733
|
+
info: "info";
|
|
734
|
+
warning: "warning";
|
|
735
|
+
danger: "danger";
|
|
736
|
+
muted: "muted";
|
|
737
|
+
}>>;
|
|
738
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
739
|
+
do: z.ZodLiteral<"ask">;
|
|
740
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
741
|
+
message: z.ZodString;
|
|
742
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
743
|
+
do: z.ZodLiteral<"call">;
|
|
744
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
745
|
+
action: z.ZodString;
|
|
746
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
747
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
748
|
+
do: z.ZodLiteral<"close">;
|
|
749
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
750
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
751
|
+
do: z.ZodLiteral<"reload">;
|
|
752
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
753
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
754
|
+
do: z.ZodLiteral<"openUrl">;
|
|
755
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
756
|
+
url: z.ZodString;
|
|
757
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
758
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
759
|
+
do: z.ZodLiteral<"archive">;
|
|
760
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
761
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
762
|
+
do: z.ZodLiteral<"unarchive">;
|
|
763
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
764
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
765
|
+
do: z.ZodLiteral<"duplicate">;
|
|
766
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
767
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
768
|
+
do: z.ZodLiteral<"delete">;
|
|
769
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
770
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
771
|
+
do: z.ZodLiteral<"post">;
|
|
772
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
773
|
+
message: z.ZodString;
|
|
774
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
775
|
+
message: "message";
|
|
776
|
+
note: "note";
|
|
777
|
+
}>>;
|
|
778
|
+
}, z.z.core.$strict>], "do">>>>;
|
|
779
|
+
beforeSave: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
780
|
+
do: z.ZodLiteral<"open">;
|
|
781
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
782
|
+
page: z.ZodString;
|
|
783
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
784
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
785
|
+
page: "page";
|
|
786
|
+
dialog: "dialog";
|
|
787
|
+
panel: "panel";
|
|
788
|
+
}>>;
|
|
789
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
790
|
+
end: "end";
|
|
791
|
+
start: "start";
|
|
792
|
+
right: "right";
|
|
793
|
+
left: "left";
|
|
794
|
+
top: "top";
|
|
795
|
+
bottom: "bottom";
|
|
796
|
+
}>>;
|
|
797
|
+
title: z.ZodOptional<z.ZodString>;
|
|
798
|
+
record: z.ZodOptional<z.ZodString>;
|
|
799
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
800
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
801
|
+
field: z.ZodString;
|
|
802
|
+
op: z.ZodEnum<{
|
|
803
|
+
set: "set";
|
|
804
|
+
"=": "=";
|
|
805
|
+
"!=": "!=";
|
|
806
|
+
"<": "<";
|
|
807
|
+
">": ">";
|
|
808
|
+
"<=": "<=";
|
|
809
|
+
">=": ">=";
|
|
810
|
+
in: "in";
|
|
811
|
+
"not in": "not in";
|
|
812
|
+
like: "like";
|
|
813
|
+
ilike: "ilike";
|
|
814
|
+
startswith: "startswith";
|
|
815
|
+
endswith: "endswith";
|
|
816
|
+
notset: "notset";
|
|
817
|
+
between: "between";
|
|
818
|
+
contains: "contains";
|
|
819
|
+
"not contains": "not contains";
|
|
820
|
+
"=?": "=?";
|
|
821
|
+
}>;
|
|
822
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
823
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
824
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
825
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
826
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
827
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
828
|
+
}, z.z.core.$strict>]>>>;
|
|
829
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
830
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
831
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
832
|
+
do: z.ZodLiteral<"set">;
|
|
833
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
834
|
+
field: z.ZodString;
|
|
835
|
+
value: z.ZodString;
|
|
836
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
837
|
+
do: z.ZodLiteral<"clear">;
|
|
838
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
839
|
+
field: z.ZodString;
|
|
840
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
841
|
+
do: z.ZodLiteral<"addLine">;
|
|
842
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
843
|
+
field: z.ZodString;
|
|
844
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
845
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
846
|
+
do: z.ZodLiteral<"check">;
|
|
847
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
848
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
849
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
850
|
+
do: z.ZodLiteral<"save">;
|
|
851
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
852
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
853
|
+
do: z.ZodLiteral<"reset">;
|
|
854
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
855
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
856
|
+
do: z.ZodLiteral<"goTo">;
|
|
857
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
858
|
+
target: z.ZodString;
|
|
859
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
860
|
+
do: z.ZodLiteral<"say">;
|
|
861
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
862
|
+
message: z.ZodString;
|
|
863
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
864
|
+
success: "success";
|
|
865
|
+
info: "info";
|
|
866
|
+
warning: "warning";
|
|
867
|
+
danger: "danger";
|
|
868
|
+
muted: "muted";
|
|
869
|
+
}>>;
|
|
870
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
871
|
+
do: z.ZodLiteral<"ask">;
|
|
872
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
873
|
+
message: z.ZodString;
|
|
874
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
875
|
+
do: z.ZodLiteral<"call">;
|
|
876
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
877
|
+
action: z.ZodString;
|
|
878
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
879
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
880
|
+
do: z.ZodLiteral<"close">;
|
|
881
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
882
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
883
|
+
do: z.ZodLiteral<"reload">;
|
|
884
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
885
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
886
|
+
do: z.ZodLiteral<"openUrl">;
|
|
887
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
888
|
+
url: z.ZodString;
|
|
889
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
890
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
891
|
+
do: z.ZodLiteral<"archive">;
|
|
892
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
893
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
894
|
+
do: z.ZodLiteral<"unarchive">;
|
|
895
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
896
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
897
|
+
do: z.ZodLiteral<"duplicate">;
|
|
898
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
899
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
900
|
+
do: z.ZodLiteral<"delete">;
|
|
901
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
902
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
903
|
+
do: z.ZodLiteral<"post">;
|
|
904
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
905
|
+
message: z.ZodString;
|
|
906
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
907
|
+
message: "message";
|
|
908
|
+
note: "note";
|
|
909
|
+
}>>;
|
|
910
|
+
}, z.z.core.$strict>], "do">>>;
|
|
911
|
+
afterSave: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
912
|
+
do: z.ZodLiteral<"open">;
|
|
913
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
914
|
+
page: z.ZodString;
|
|
915
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
916
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
917
|
+
page: "page";
|
|
918
|
+
dialog: "dialog";
|
|
919
|
+
panel: "panel";
|
|
920
|
+
}>>;
|
|
921
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
922
|
+
end: "end";
|
|
923
|
+
start: "start";
|
|
924
|
+
right: "right";
|
|
925
|
+
left: "left";
|
|
926
|
+
top: "top";
|
|
927
|
+
bottom: "bottom";
|
|
928
|
+
}>>;
|
|
929
|
+
title: z.ZodOptional<z.ZodString>;
|
|
930
|
+
record: z.ZodOptional<z.ZodString>;
|
|
931
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
932
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
933
|
+
field: z.ZodString;
|
|
934
|
+
op: z.ZodEnum<{
|
|
935
|
+
set: "set";
|
|
936
|
+
"=": "=";
|
|
937
|
+
"!=": "!=";
|
|
938
|
+
"<": "<";
|
|
939
|
+
">": ">";
|
|
940
|
+
"<=": "<=";
|
|
941
|
+
">=": ">=";
|
|
942
|
+
in: "in";
|
|
943
|
+
"not in": "not in";
|
|
944
|
+
like: "like";
|
|
945
|
+
ilike: "ilike";
|
|
946
|
+
startswith: "startswith";
|
|
947
|
+
endswith: "endswith";
|
|
948
|
+
notset: "notset";
|
|
949
|
+
between: "between";
|
|
950
|
+
contains: "contains";
|
|
951
|
+
"not contains": "not contains";
|
|
952
|
+
"=?": "=?";
|
|
953
|
+
}>;
|
|
954
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
955
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
956
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
957
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
958
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
959
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
960
|
+
}, z.z.core.$strict>]>>>;
|
|
961
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
962
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
963
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
964
|
+
do: z.ZodLiteral<"set">;
|
|
965
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
966
|
+
field: z.ZodString;
|
|
967
|
+
value: z.ZodString;
|
|
968
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
969
|
+
do: z.ZodLiteral<"clear">;
|
|
970
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
971
|
+
field: z.ZodString;
|
|
972
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
973
|
+
do: z.ZodLiteral<"addLine">;
|
|
974
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
975
|
+
field: z.ZodString;
|
|
976
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
977
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
978
|
+
do: z.ZodLiteral<"check">;
|
|
979
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
980
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
981
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
982
|
+
do: z.ZodLiteral<"save">;
|
|
983
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
984
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
985
|
+
do: z.ZodLiteral<"reset">;
|
|
986
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
987
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
988
|
+
do: z.ZodLiteral<"goTo">;
|
|
989
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
990
|
+
target: z.ZodString;
|
|
991
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
992
|
+
do: z.ZodLiteral<"say">;
|
|
993
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
994
|
+
message: z.ZodString;
|
|
995
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
996
|
+
success: "success";
|
|
997
|
+
info: "info";
|
|
998
|
+
warning: "warning";
|
|
999
|
+
danger: "danger";
|
|
1000
|
+
muted: "muted";
|
|
1001
|
+
}>>;
|
|
1002
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1003
|
+
do: z.ZodLiteral<"ask">;
|
|
1004
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1005
|
+
message: z.ZodString;
|
|
1006
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1007
|
+
do: z.ZodLiteral<"call">;
|
|
1008
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1009
|
+
action: z.ZodString;
|
|
1010
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1011
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1012
|
+
do: z.ZodLiteral<"close">;
|
|
1013
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1014
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1015
|
+
do: z.ZodLiteral<"reload">;
|
|
1016
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1017
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1018
|
+
do: z.ZodLiteral<"openUrl">;
|
|
1019
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1020
|
+
url: z.ZodString;
|
|
1021
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1023
|
+
do: z.ZodLiteral<"archive">;
|
|
1024
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1025
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1026
|
+
do: z.ZodLiteral<"unarchive">;
|
|
1027
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1028
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1029
|
+
do: z.ZodLiteral<"duplicate">;
|
|
1030
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1031
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1032
|
+
do: z.ZodLiteral<"delete">;
|
|
1033
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1034
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1035
|
+
do: z.ZodLiteral<"post">;
|
|
1036
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1037
|
+
message: z.ZodString;
|
|
1038
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1039
|
+
message: "message";
|
|
1040
|
+
note: "note";
|
|
1041
|
+
}>>;
|
|
1042
|
+
}, z.z.core.$strict>], "do">>>;
|
|
1043
|
+
show: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1044
|
+
do: z.ZodLiteral<"open">;
|
|
1045
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1046
|
+
page: z.ZodString;
|
|
1047
|
+
version: z.ZodOptional<z.ZodInt>;
|
|
1048
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
+
page: "page";
|
|
1050
|
+
dialog: "dialog";
|
|
1051
|
+
panel: "panel";
|
|
1052
|
+
}>>;
|
|
1053
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
1054
|
+
end: "end";
|
|
1055
|
+
start: "start";
|
|
1056
|
+
right: "right";
|
|
1057
|
+
left: "left";
|
|
1058
|
+
top: "top";
|
|
1059
|
+
bottom: "bottom";
|
|
1060
|
+
}>>;
|
|
1061
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
record: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1064
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1065
|
+
field: z.ZodString;
|
|
1066
|
+
op: z.ZodEnum<{
|
|
1067
|
+
set: "set";
|
|
1068
|
+
"=": "=";
|
|
1069
|
+
"!=": "!=";
|
|
1070
|
+
"<": "<";
|
|
1071
|
+
">": ">";
|
|
1072
|
+
"<=": "<=";
|
|
1073
|
+
">=": ">=";
|
|
1074
|
+
in: "in";
|
|
1075
|
+
"not in": "not in";
|
|
1076
|
+
like: "like";
|
|
1077
|
+
ilike: "ilike";
|
|
1078
|
+
startswith: "startswith";
|
|
1079
|
+
endswith: "endswith";
|
|
1080
|
+
notset: "notset";
|
|
1081
|
+
between: "between";
|
|
1082
|
+
contains: "contains";
|
|
1083
|
+
"not contains": "not contains";
|
|
1084
|
+
"=?": "=?";
|
|
1085
|
+
}>;
|
|
1086
|
+
value: z.ZodOptional<z.ZodJSONSchema>;
|
|
1087
|
+
valueFrom: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1089
|
+
any: z.ZodArray<typeof FilterItemSchema>;
|
|
1090
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1091
|
+
all: z.ZodArray<typeof FilterItemSchema>;
|
|
1092
|
+
}, z.z.core.$strict>]>>>;
|
|
1093
|
+
into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1094
|
+
then: z.ZodOptional<z.ZodArray<typeof ActionStepSchema>>;
|
|
1095
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1096
|
+
do: z.ZodLiteral<"set">;
|
|
1097
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1098
|
+
field: z.ZodString;
|
|
1099
|
+
value: z.ZodString;
|
|
1100
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1101
|
+
do: z.ZodLiteral<"clear">;
|
|
1102
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1103
|
+
field: z.ZodString;
|
|
1104
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1105
|
+
do: z.ZodLiteral<"addLine">;
|
|
1106
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1107
|
+
field: z.ZodString;
|
|
1108
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1109
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1110
|
+
do: z.ZodLiteral<"check">;
|
|
1111
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1112
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1113
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1114
|
+
do: z.ZodLiteral<"save">;
|
|
1115
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1116
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1117
|
+
do: z.ZodLiteral<"reset">;
|
|
1118
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1119
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1120
|
+
do: z.ZodLiteral<"goTo">;
|
|
1121
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1122
|
+
target: z.ZodString;
|
|
1123
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1124
|
+
do: z.ZodLiteral<"say">;
|
|
1125
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1126
|
+
message: z.ZodString;
|
|
1127
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
1128
|
+
success: "success";
|
|
1129
|
+
info: "info";
|
|
1130
|
+
warning: "warning";
|
|
1131
|
+
danger: "danger";
|
|
1132
|
+
muted: "muted";
|
|
1133
|
+
}>>;
|
|
1134
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1135
|
+
do: z.ZodLiteral<"ask">;
|
|
1136
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1137
|
+
message: z.ZodString;
|
|
1138
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1139
|
+
do: z.ZodLiteral<"call">;
|
|
1140
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1141
|
+
action: z.ZodString;
|
|
1142
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1143
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1144
|
+
do: z.ZodLiteral<"close">;
|
|
1145
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1146
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1147
|
+
do: z.ZodLiteral<"reload">;
|
|
1148
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1149
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1150
|
+
do: z.ZodLiteral<"openUrl">;
|
|
1151
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1152
|
+
url: z.ZodString;
|
|
1153
|
+
newTab: z.ZodOptional<z.ZodBoolean>;
|
|
1154
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1155
|
+
do: z.ZodLiteral<"archive">;
|
|
1156
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1157
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1158
|
+
do: z.ZodLiteral<"unarchive">;
|
|
1159
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1160
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1161
|
+
do: z.ZodLiteral<"duplicate">;
|
|
1162
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1163
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1164
|
+
do: z.ZodLiteral<"delete">;
|
|
1165
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1166
|
+
}, z.z.core.$strict>, z.ZodObject<{
|
|
1167
|
+
do: z.ZodLiteral<"post">;
|
|
1168
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1169
|
+
message: z.ZodString;
|
|
1170
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1171
|
+
message: "message";
|
|
1172
|
+
note: "note";
|
|
1173
|
+
}>>;
|
|
1174
|
+
}, z.z.core.$strict>], "do">>>>;
|
|
1175
|
+
}, z.z.core.$strict>;
|
|
1176
|
+
export {};
|