@jirathip-dev/blocks 0.0.0-stage → 2.2.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/LICENSE +21 -0
- package/README.md +67 -2
- package/package.json +46 -4
- package/web/dist/blocks.css +1 -0
- package/web/dist/blocks.js +10 -0
- package/web/dist/blocks.scoped.css +1 -0
- package/web/dist/core.js +9749 -0
- package/web/dist/import.js +2 -0
- package/web/dist/react.js +4073 -0
- package/web/dist/scan.js +22 -0
- package/web/dist/types/react/src/act.d.ts +71 -0
- package/web/dist/types/react/src/arrange.d.ts +10 -0
- package/web/dist/types/react/src/block.d.ts +41 -0
- package/web/dist/types/react/src/draw.d.ts +34 -0
- package/web/dist/types/react/src/fields/_input.d.ts +16 -0
- package/web/dist/types/react/src/fields/_view.d.ts +27 -0
- package/web/dist/types/react/src/fields/picker.d.ts +3 -0
- package/web/dist/types/react/src/fields/scan.d.ts +3 -0
- package/web/dist/types/react/src/fields/search.d.ts +14 -0
- package/web/dist/types/react/src/fields/secret.d.ts +3 -0
- package/web/dist/types/react/src/fields/slider.d.ts +5 -0
- package/web/dist/types/react/src/fields/text.d.ts +3 -0
- package/web/dist/types/react/src/fields/toggle.d.ts +3 -0
- package/web/dist/types/react/src/fields/upload.d.ts +7 -0
- package/web/dist/types/react/src/gen/fields.d.ts +2 -0
- package/web/dist/types/react/src/gen/views.d.ts +2 -0
- package/web/dist/types/react/src/h.d.ts +7 -0
- package/web/dist/types/react/src/index.d.ts +3 -0
- package/web/dist/types/react/src/island.d.ts +7 -0
- package/web/dist/types/react/src/kinds/button.d.ts +5 -0
- package/web/dist/types/react/src/kinds/card.d.ts +5 -0
- package/web/dist/types/react/src/kinds/chips.d.ts +5 -0
- package/web/dist/types/react/src/kinds/choice.d.ts +5 -0
- package/web/dist/types/react/src/kinds/composer.d.ts +5 -0
- package/web/dist/types/react/src/kinds/config.d.ts +5 -0
- package/web/dist/types/react/src/kinds/diagram.d.ts +7 -0
- package/web/dist/types/react/src/kinds/diff.d.ts +7 -0
- package/web/dist/types/react/src/kinds/editor.d.ts +5 -0
- package/web/dist/types/react/src/kinds/form.d.ts +22 -0
- package/web/dist/types/react/src/kinds/hero.d.ts +5 -0
- package/web/dist/types/react/src/kinds/images.d.ts +5 -0
- package/web/dist/types/react/src/kinds/import.d.ts +5 -0
- package/web/dist/types/react/src/kinds/list.d.ts +6 -0
- package/web/dist/types/react/src/kinds/media.d.ts +6 -0
- package/web/dist/types/react/src/kinds/message.d.ts +5 -0
- package/web/dist/types/react/src/kinds/modal.d.ts +5 -0
- package/web/dist/types/react/src/kinds/nav.d.ts +5 -0
- package/web/dist/types/react/src/kinds/pages.d.ts +5 -0
- package/web/dist/types/react/src/kinds/prose.d.ts +5 -0
- package/web/dist/types/react/src/kinds/row.d.ts +5 -0
- package/web/dist/types/react/src/kinds/run.d.ts +5 -0
- package/web/dist/types/react/src/kinds/scene.d.ts +5 -0
- package/web/dist/types/react/src/kinds/screen.d.ts +5 -0
- package/web/dist/types/react/src/kinds/secret.d.ts +5 -0
- package/web/dist/types/react/src/kinds/section.d.ts +5 -0
- package/web/dist/types/react/src/kinds/sheet.d.ts +1 -0
- package/web/dist/types/react/src/kinds/sidebar.d.ts +5 -0
- package/web/dist/types/react/src/kinds/stat.d.ts +5 -0
- package/web/dist/types/react/src/kinds/steps.d.ts +7 -0
- package/web/dist/types/react/src/kinds/table.d.ts +5 -0
- package/web/dist/types/react/src/kinds/text.d.ts +5 -0
- package/web/dist/types/react/src/kinds/timeline.d.ts +5 -0
- package/web/dist/types/react/src/kinds/tool.d.ts +5 -0
- package/web/dist/types/react/src/kinds/web.d.ts +5 -0
- package/web/dist/types/react/src/view.d.ts +14 -0
- package/web/dist/types/src/arrange.d.ts +8 -0
- package/web/dist/types/src/behave.d.ts +1 -0
- package/web/dist/types/src/core/apply.d.ts +7 -0
- package/web/dist/types/src/core/built.d.ts +7 -0
- package/web/dist/types/src/core/check.d.ts +5 -0
- package/web/dist/types/src/core/code.d.ts +7 -0
- package/web/dist/types/src/core/eval.d.ts +25 -0
- package/web/dist/types/src/core/field/files.d.ts +53 -0
- package/web/dist/types/src/core/field/match.d.ts +15 -0
- package/web/dist/types/src/core/field/slider.d.ts +3 -0
- package/web/dist/types/src/core/gate.d.ts +7 -0
- package/web/dist/types/src/core/gesture.d.ts +53 -0
- package/web/dist/types/src/core/index.d.ts +21 -0
- package/web/dist/types/src/core/kind/boxplot.d.ts +7 -0
- package/web/dist/types/src/core/kind/chart.d.ts +18 -0
- package/web/dist/types/src/core/kind/diagram.d.ts +44 -0
- package/web/dist/types/src/core/kind/import.d.ts +40 -0
- package/web/dist/types/src/core/kind/list.d.ts +3 -0
- package/web/dist/types/src/core/kind/media.d.ts +36 -0
- package/web/dist/types/src/core/kind/message.d.ts +4 -0
- package/web/dist/types/src/core/kind/modal.d.ts +23 -0
- package/web/dist/types/src/core/kind/plot.d.ts +22 -0
- package/web/dist/types/src/core/kind/prose.d.ts +5 -0
- package/web/dist/types/src/core/kind/sidebar.d.ts +7 -0
- package/web/dist/types/src/core/kind/table.d.ts +26 -0
- package/web/dist/types/src/core/kind/timeline.d.ts +28 -0
- package/web/dist/types/src/core/layout.d.ts +9 -0
- package/web/dist/types/src/core/look.d.ts +11 -0
- package/web/dist/types/src/core/nonce.d.ts +1 -0
- package/web/dist/types/src/core/share.d.ts +1 -0
- package/web/dist/types/src/core/table.d.ts +6 -0
- package/web/dist/types/src/core/text.d.ts +6 -0
- package/web/dist/types/src/core/tree.d.ts +12 -0
- package/web/dist/types/src/dump.d.ts +2 -0
- package/web/dist/types/src/edits.d.ts +18 -0
- package/web/dist/types/src/gen/builders.d.ts +64 -0
- package/web/dist/types/src/gen/fields.d.ts +2 -0
- package/web/dist/types/src/gen/hooks.d.ts +11 -0
- package/web/dist/types/src/gen/kinds.d.ts +9 -0
- package/web/dist/types/src/gen/layout.d.ts +19 -0
- package/web/dist/types/src/gen/schemes.d.ts +73 -0
- package/web/dist/types/src/gen/shapes.d.ts +61 -0
- package/web/dist/types/src/gen/types.d.ts +1517 -0
- package/web/dist/types/src/gen/words-import.d.ts +1 -0
- package/web/dist/types/src/gen/words.d.ts +1 -0
- package/web/dist/types/src/gesture.d.ts +54 -0
- package/web/dist/types/src/island.d.ts +3 -0
- package/web/dist/types/src/lazy/import.d.ts +13 -0
- package/web/dist/types/src/modal.d.ts +14 -0
- package/web/dist/types/src/motion.d.ts +2 -0
- package/web/dist/types/src/paging.d.ts +2 -0
- package/web/dist/types/src/patch.d.ts +17 -0
- package/web/dist/types/src/render/act.d.ts +9 -0
- package/web/dist/types/src/render/block.d.ts +5 -0
- package/web/dist/types/src/render/ctx.d.ts +34 -0
- package/web/dist/types/src/render/dom.d.ts +16 -0
- package/web/dist/types/src/render/field/_input.d.ts +3 -0
- package/web/dist/types/src/render/field/_view.d.ts +26 -0
- package/web/dist/types/src/render/field/picker.d.ts +3 -0
- package/web/dist/types/src/render/field/scan.d.ts +3 -0
- package/web/dist/types/src/render/field/search.d.ts +5 -0
- package/web/dist/types/src/render/field/secret.d.ts +3 -0
- package/web/dist/types/src/render/field/slider.d.ts +5 -0
- package/web/dist/types/src/render/field/text.d.ts +3 -0
- package/web/dist/types/src/render/field/toggle.d.ts +3 -0
- package/web/dist/types/src/render/field/upload.d.ts +5 -0
- package/web/dist/types/src/render/kind/boxplot.d.ts +3 -0
- package/web/dist/types/src/render/kind/button.d.ts +3 -0
- package/web/dist/types/src/render/kind/card.d.ts +3 -0
- package/web/dist/types/src/render/kind/chart.d.ts +4 -0
- package/web/dist/types/src/render/kind/chips.d.ts +3 -0
- package/web/dist/types/src/render/kind/choice.d.ts +3 -0
- package/web/dist/types/src/render/kind/composer.d.ts +3 -0
- package/web/dist/types/src/render/kind/config.d.ts +3 -0
- package/web/dist/types/src/render/kind/diagram.d.ts +3 -0
- package/web/dist/types/src/render/kind/diff.d.ts +3 -0
- package/web/dist/types/src/render/kind/editor.d.ts +3 -0
- package/web/dist/types/src/render/kind/form.d.ts +14 -0
- package/web/dist/types/src/render/kind/heat.d.ts +3 -0
- package/web/dist/types/src/render/kind/hero.d.ts +3 -0
- package/web/dist/types/src/render/kind/images.d.ts +3 -0
- package/web/dist/types/src/render/kind/import.d.ts +3 -0
- package/web/dist/types/src/render/kind/island.d.ts +3 -0
- package/web/dist/types/src/render/kind/lines.d.ts +5 -0
- package/web/dist/types/src/render/kind/list.d.ts +3 -0
- package/web/dist/types/src/render/kind/media.d.ts +4 -0
- package/web/dist/types/src/render/kind/message.d.ts +3 -0
- package/web/dist/types/src/render/kind/modal.d.ts +9 -0
- package/web/dist/types/src/render/kind/nav.d.ts +2 -0
- package/web/dist/types/src/render/kind/pages.d.ts +2 -0
- package/web/dist/types/src/render/kind/plot.d.ts +3 -0
- package/web/dist/types/src/render/kind/prose.d.ts +4 -0
- package/web/dist/types/src/render/kind/row.d.ts +3 -0
- package/web/dist/types/src/render/kind/run.d.ts +3 -0
- package/web/dist/types/src/render/kind/scene.d.ts +3 -0
- package/web/dist/types/src/render/kind/screen.d.ts +3 -0
- package/web/dist/types/src/render/kind/secret.d.ts +3 -0
- package/web/dist/types/src/render/kind/section.d.ts +3 -0
- package/web/dist/types/src/render/kind/sheet.d.ts +1 -0
- package/web/dist/types/src/render/kind/sidebar.d.ts +3 -0
- package/web/dist/types/src/render/kind/stat.d.ts +2 -0
- package/web/dist/types/src/render/kind/steps.d.ts +3 -0
- package/web/dist/types/src/render/kind/table.d.ts +3 -0
- package/web/dist/types/src/render/kind/text.d.ts +3 -0
- package/web/dist/types/src/render/kind/timeline.d.ts +3 -0
- package/web/dist/types/src/render/kind/toast.d.ts +4 -0
- package/web/dist/types/src/render/kind/tool.d.ts +3 -0
- package/web/dist/types/src/render/kind/web.d.ts +2 -0
- package/web/dist/types/src/render/more.d.ts +11 -0
- package/web/dist/types/src/render/text.d.ts +5 -0
- package/web/dist/types/src/scan/index.d.ts +26 -0
- package/web/dist/types/src/scan/page.d.ts +18 -0
- package/web/dist/types/src/shell/adopt.d.ts +8 -0
- package/web/dist/types/src/shell/host.d.ts +30 -0
- package/web/dist/types/src/shell/layout.d.ts +29 -0
- package/web/dist/types/src/shell/local.d.ts +10 -0
- package/web/dist/types/src/shell/look.d.ts +15 -0
- package/web/dist/types/src/shell/mount.d.ts +34 -0
- package/web/dist/types/src/shell/sheet.d.ts +17 -0
- package/web/dist/types/src/shell/source.d.ts +12 -0
- package/web/dist/types/src/shell/store.d.ts +2 -0
- package/web/dist/types/src/shell.d.ts +26 -0
- package/web/dist/types/src/sidebar.d.ts +2 -0
- package/web/dist/types/src/stream.d.ts +28 -0
- package/web/dist/types/src/theme.d.ts +24 -0
- package/web/dist/types/src/toasts.d.ts +7 -0
|
@@ -0,0 +1,1517 @@
|
|
|
1
|
+
export declare const schemaVersion = 2;
|
|
2
|
+
export type Frame = {
|
|
3
|
+
from?: number | null;
|
|
4
|
+
k: string;
|
|
5
|
+
ops?: Op[] | null;
|
|
6
|
+
rev: number;
|
|
7
|
+
screen?: Block | null;
|
|
8
|
+
};
|
|
9
|
+
export type Accept = "image" | "pdf" | "sheet";
|
|
10
|
+
export type Accessory = "chevron" | "none";
|
|
11
|
+
export type Act = {
|
|
12
|
+
action?: string | null;
|
|
13
|
+
confirm?: Confirm | null;
|
|
14
|
+
enabled?: Expr | null;
|
|
15
|
+
icon?: string | null;
|
|
16
|
+
label: string;
|
|
17
|
+
menu?: Act[] | null;
|
|
18
|
+
tap?: Tap | null;
|
|
19
|
+
tone?: Tone | null;
|
|
20
|
+
values?: Record<string, unknown> | null;
|
|
21
|
+
};
|
|
22
|
+
export type Action = {
|
|
23
|
+
action: string;
|
|
24
|
+
block?: string | null;
|
|
25
|
+
screen: string;
|
|
26
|
+
values?: Record<string, unknown> | null;
|
|
27
|
+
};
|
|
28
|
+
export type Align = "start" | "end";
|
|
29
|
+
export type Answer = {
|
|
30
|
+
close?: boolean | null;
|
|
31
|
+
open?: string | null;
|
|
32
|
+
ops?: Op[] | null;
|
|
33
|
+
toast?: Toast | null;
|
|
34
|
+
};
|
|
35
|
+
export type AppBlock = {
|
|
36
|
+
fallback?: Fallback | null;
|
|
37
|
+
id?: string | null;
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
export type Attachment = {
|
|
41
|
+
name: string;
|
|
42
|
+
src?: string | null;
|
|
43
|
+
tap: Tap;
|
|
44
|
+
};
|
|
45
|
+
export type AxisScale = "number" | "time";
|
|
46
|
+
export type Band = {
|
|
47
|
+
blocks?: Block[] | null;
|
|
48
|
+
header?: string | null;
|
|
49
|
+
id: string;
|
|
50
|
+
rows?: SceneRow[] | null;
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
export type Bar = {
|
|
54
|
+
label: string;
|
|
55
|
+
sub?: string | null;
|
|
56
|
+
tone?: Tone | null;
|
|
57
|
+
value: number;
|
|
58
|
+
};
|
|
59
|
+
export type Block = ({
|
|
60
|
+
type: "screen";
|
|
61
|
+
} & Screen) | ({
|
|
62
|
+
type: "modal";
|
|
63
|
+
} & Modal) | ({
|
|
64
|
+
type: "sheet";
|
|
65
|
+
} & Modal) | ({
|
|
66
|
+
type: "section";
|
|
67
|
+
} & Section) | ({
|
|
68
|
+
type: "list";
|
|
69
|
+
} & List) | ({
|
|
70
|
+
type: "row";
|
|
71
|
+
} & Row) | ({
|
|
72
|
+
type: "card";
|
|
73
|
+
} & Card) | ({
|
|
74
|
+
type: "choice";
|
|
75
|
+
} & Choice) | ({
|
|
76
|
+
type: "form";
|
|
77
|
+
} & Form) | ({
|
|
78
|
+
type: "config";
|
|
79
|
+
} & Form) | ({
|
|
80
|
+
type: "secret";
|
|
81
|
+
} & Secret) | ({
|
|
82
|
+
type: "run";
|
|
83
|
+
} & Run) | ({
|
|
84
|
+
type: "button";
|
|
85
|
+
} & Button) | ({
|
|
86
|
+
type: "chips";
|
|
87
|
+
} & Chips) | ({
|
|
88
|
+
type: "stat";
|
|
89
|
+
} & Stat) | ({
|
|
90
|
+
type: "text";
|
|
91
|
+
} & Text) | ({
|
|
92
|
+
type: "images";
|
|
93
|
+
} & Images) | ({
|
|
94
|
+
type: "web";
|
|
95
|
+
} & Web) | ({
|
|
96
|
+
type: "diff";
|
|
97
|
+
} & Diff) | ({
|
|
98
|
+
type: "editor";
|
|
99
|
+
} & Editor) | ({
|
|
100
|
+
type: "scene";
|
|
101
|
+
} & Scene) | ({
|
|
102
|
+
type: "diagram";
|
|
103
|
+
} & Diagram) | ({
|
|
104
|
+
type: "composer";
|
|
105
|
+
} & Composer) | ({
|
|
106
|
+
type: "lines";
|
|
107
|
+
} & Lines) | ({
|
|
108
|
+
type: "prose";
|
|
109
|
+
} & Prose) | ({
|
|
110
|
+
type: "hero";
|
|
111
|
+
} & Hero) | ({
|
|
112
|
+
type: "media";
|
|
113
|
+
} & Media) | ({
|
|
114
|
+
type: "nav";
|
|
115
|
+
} & Nav) | ({
|
|
116
|
+
type: "island";
|
|
117
|
+
} & Island) | ({
|
|
118
|
+
type: "table";
|
|
119
|
+
} & Table) | ({
|
|
120
|
+
type: "steps";
|
|
121
|
+
} & Steps) | ({
|
|
122
|
+
type: "chart";
|
|
123
|
+
} & Chart) | ({
|
|
124
|
+
type: "toast";
|
|
125
|
+
} & Toast) | ({
|
|
126
|
+
type: "pages";
|
|
127
|
+
} & Pages) | ({
|
|
128
|
+
type: "timeline";
|
|
129
|
+
} & Timeline) | ({
|
|
130
|
+
type: "import";
|
|
131
|
+
} & Import) | ({
|
|
132
|
+
type: "message";
|
|
133
|
+
} & Message) | ({
|
|
134
|
+
type: "tool";
|
|
135
|
+
} & Tool) | ({
|
|
136
|
+
type: "sidebar";
|
|
137
|
+
} & Sidebar) | ({
|
|
138
|
+
type: "boxplot";
|
|
139
|
+
} & Boxplot) | ({
|
|
140
|
+
type: "heat";
|
|
141
|
+
} & Heat) | ({
|
|
142
|
+
type: "plot";
|
|
143
|
+
} & Plot) | ({
|
|
144
|
+
type: "glance";
|
|
145
|
+
} & Glance) | (AppBlock & {
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
});
|
|
148
|
+
export type Bound = {
|
|
149
|
+
get: string;
|
|
150
|
+
};
|
|
151
|
+
export type Boxplot = {
|
|
152
|
+
axis: string;
|
|
153
|
+
boxes: PlotBox[];
|
|
154
|
+
empty?: string | null;
|
|
155
|
+
id?: string | null;
|
|
156
|
+
selected?: string | null;
|
|
157
|
+
show?: Expr | null;
|
|
158
|
+
tap?: Tap | null;
|
|
159
|
+
title: string;
|
|
160
|
+
unit?: string | null;
|
|
161
|
+
};
|
|
162
|
+
export type BulkAction = {
|
|
163
|
+
action: string;
|
|
164
|
+
bad?: boolean | null;
|
|
165
|
+
label: string;
|
|
166
|
+
};
|
|
167
|
+
export type Button = {
|
|
168
|
+
action?: string | null;
|
|
169
|
+
confirm?: Confirm | null;
|
|
170
|
+
enabled?: Expr | null;
|
|
171
|
+
id?: string | null;
|
|
172
|
+
label: string;
|
|
173
|
+
show?: Expr | null;
|
|
174
|
+
style?: ButtonStyle | null;
|
|
175
|
+
tap?: Tap | null;
|
|
176
|
+
values?: Record<string, unknown> | null;
|
|
177
|
+
};
|
|
178
|
+
export type ButtonStyle = "primary" | "plain" | "destructive";
|
|
179
|
+
export type Bye = {
|
|
180
|
+
why: Why;
|
|
181
|
+
};
|
|
182
|
+
export type Card = {
|
|
183
|
+
badge?: Label | null;
|
|
184
|
+
blocks?: Block[] | null;
|
|
185
|
+
buttons?: Block[] | null;
|
|
186
|
+
color?: string | null;
|
|
187
|
+
fold?: Fold | null;
|
|
188
|
+
id?: string | null;
|
|
189
|
+
kind?: CardKind | null;
|
|
190
|
+
menu?: Act[] | null;
|
|
191
|
+
meta?: Shown | null;
|
|
192
|
+
push?: boolean | null;
|
|
193
|
+
show?: Expr | null;
|
|
194
|
+
subtitle?: Toned | null;
|
|
195
|
+
tap?: Tap | null;
|
|
196
|
+
title?: string | null;
|
|
197
|
+
tone?: Tone | null;
|
|
198
|
+
};
|
|
199
|
+
export type CardKind = "ask" | "run" | "secret" | "config" | "proposal";
|
|
200
|
+
export type Cell = string | number | number[] | Label;
|
|
201
|
+
export type Chart = {
|
|
202
|
+
chart: ChartKind;
|
|
203
|
+
currency?: string | null;
|
|
204
|
+
empty?: string | null;
|
|
205
|
+
era?: Era | null;
|
|
206
|
+
format?: ChartFormat | null;
|
|
207
|
+
id?: string | null;
|
|
208
|
+
lang?: string | null;
|
|
209
|
+
move?: Gesture | null;
|
|
210
|
+
selected?: string | null;
|
|
211
|
+
series: Series[];
|
|
212
|
+
show?: Expr | null;
|
|
213
|
+
tap?: Tap | null;
|
|
214
|
+
title: string;
|
|
215
|
+
x: string[];
|
|
216
|
+
};
|
|
217
|
+
export type ChartFormat = "count" | "money" | "percent";
|
|
218
|
+
export type ChartKind = "bar" | "stacked" | "line" | "combo" | "donut";
|
|
219
|
+
export type Check = {
|
|
220
|
+
ok: Expr;
|
|
221
|
+
say: string;
|
|
222
|
+
};
|
|
223
|
+
export type Child = Block | Lane | Round | TableRow;
|
|
224
|
+
export type ChipOption = {
|
|
225
|
+
label: string;
|
|
226
|
+
value: string;
|
|
227
|
+
};
|
|
228
|
+
export type Chips = {
|
|
229
|
+
action?: string | null;
|
|
230
|
+
id?: string | null;
|
|
231
|
+
multi?: boolean | null;
|
|
232
|
+
name: string;
|
|
233
|
+
options: ChipOption[];
|
|
234
|
+
selected?: string[] | null;
|
|
235
|
+
show?: Expr | null;
|
|
236
|
+
};
|
|
237
|
+
export type Choice = {
|
|
238
|
+
action: string;
|
|
239
|
+
default?: ChoiceDefault | null;
|
|
240
|
+
id?: string | null;
|
|
241
|
+
options: ChoiceOption[];
|
|
242
|
+
other?: Other | null;
|
|
243
|
+
question?: string | null;
|
|
244
|
+
recommended?: string | null;
|
|
245
|
+
show?: Expr | null;
|
|
246
|
+
values?: Record<string, unknown> | null;
|
|
247
|
+
};
|
|
248
|
+
export type ChoiceDefault = {
|
|
249
|
+
label?: string | null;
|
|
250
|
+
until: string;
|
|
251
|
+
value: string;
|
|
252
|
+
};
|
|
253
|
+
export type ChoiceOption = {
|
|
254
|
+
confirm?: Confirm | null;
|
|
255
|
+
label: string;
|
|
256
|
+
value: string;
|
|
257
|
+
values?: Record<string, unknown> | null;
|
|
258
|
+
};
|
|
259
|
+
export type Column = {
|
|
260
|
+
align?: Align | null;
|
|
261
|
+
currency?: string | null;
|
|
262
|
+
digits?: number | null;
|
|
263
|
+
edit?: boolean | null;
|
|
264
|
+
era?: Era | null;
|
|
265
|
+
hide?: boolean | null;
|
|
266
|
+
id: string;
|
|
267
|
+
kind: ColumnKind;
|
|
268
|
+
label: string;
|
|
269
|
+
max?: number | null;
|
|
270
|
+
phone?: PhonePart | null;
|
|
271
|
+
sort?: boolean | null;
|
|
272
|
+
tone?: Tone | null;
|
|
273
|
+
total?: Total | null;
|
|
274
|
+
unit?: string | null;
|
|
275
|
+
width?: number | null;
|
|
276
|
+
};
|
|
277
|
+
export type ColumnKind = "text" | "number" | "money" | "date" | "tone" | "bar" | "spark";
|
|
278
|
+
export type Composer = {
|
|
279
|
+
action: string;
|
|
280
|
+
acts?: Record<string, string> | null;
|
|
281
|
+
chips?: ComposerChip[] | null;
|
|
282
|
+
id?: string | null;
|
|
283
|
+
label?: string | null;
|
|
284
|
+
placeholder?: string | null;
|
|
285
|
+
queued?: Queued[] | null;
|
|
286
|
+
show?: Expr | null;
|
|
287
|
+
values?: Record<string, unknown> | null;
|
|
288
|
+
working?: Working | null;
|
|
289
|
+
};
|
|
290
|
+
export type ComposerChip = {
|
|
291
|
+
all: string[];
|
|
292
|
+
cur?: string | null;
|
|
293
|
+
name: string;
|
|
294
|
+
};
|
|
295
|
+
export type Confirm = {
|
|
296
|
+
destructive?: boolean | null;
|
|
297
|
+
message?: string | null;
|
|
298
|
+
ok?: string | null;
|
|
299
|
+
title: string;
|
|
300
|
+
};
|
|
301
|
+
export type DaySpan = {
|
|
302
|
+
end: string;
|
|
303
|
+
id?: string | null;
|
|
304
|
+
row?: string | null;
|
|
305
|
+
start: string;
|
|
306
|
+
};
|
|
307
|
+
export type Diagram = {
|
|
308
|
+
counts?: Record<string, number> | null;
|
|
309
|
+
id?: string | null;
|
|
310
|
+
nodes?: Nodes | null;
|
|
311
|
+
selected?: string | null;
|
|
312
|
+
show?: Expr | null;
|
|
313
|
+
source: string;
|
|
314
|
+
title?: string | null;
|
|
315
|
+
};
|
|
316
|
+
export type Diff = {
|
|
317
|
+
file: string;
|
|
318
|
+
hunks: Hunk[];
|
|
319
|
+
id?: string | null;
|
|
320
|
+
show?: Expr | null;
|
|
321
|
+
summary?: string | null;
|
|
322
|
+
};
|
|
323
|
+
export type Editor = {
|
|
324
|
+
action: string;
|
|
325
|
+
errors?: LineError[] | null;
|
|
326
|
+
first?: number | null;
|
|
327
|
+
id?: string | null;
|
|
328
|
+
name: string;
|
|
329
|
+
show?: Expr | null;
|
|
330
|
+
text: string;
|
|
331
|
+
};
|
|
332
|
+
export type Era = "ce" | "be";
|
|
333
|
+
export type ExportFormat = "csv" | "xlsx";
|
|
334
|
+
export type Expr = {
|
|
335
|
+
get: string;
|
|
336
|
+
} | {
|
|
337
|
+
not: Expr;
|
|
338
|
+
} | {
|
|
339
|
+
all: Expr[];
|
|
340
|
+
} | {
|
|
341
|
+
any: Expr[];
|
|
342
|
+
} | {
|
|
343
|
+
eq: Expr[];
|
|
344
|
+
} | {
|
|
345
|
+
lt: Expr[];
|
|
346
|
+
} | {
|
|
347
|
+
len: Expr;
|
|
348
|
+
} | {
|
|
349
|
+
has: Expr[];
|
|
350
|
+
} | {
|
|
351
|
+
is: Match;
|
|
352
|
+
} | {
|
|
353
|
+
add: Expr[];
|
|
354
|
+
} | {
|
|
355
|
+
sub: Expr[];
|
|
356
|
+
} | {
|
|
357
|
+
mul: Expr[];
|
|
358
|
+
} | {
|
|
359
|
+
div: Expr[];
|
|
360
|
+
} | {
|
|
361
|
+
cat: Expr[];
|
|
362
|
+
} | {
|
|
363
|
+
pick: Expr[];
|
|
364
|
+
} | Lit;
|
|
365
|
+
export type Fallback = {
|
|
366
|
+
subtitle?: string | null;
|
|
367
|
+
tap?: Tap | null;
|
|
368
|
+
title: string;
|
|
369
|
+
};
|
|
370
|
+
export type Field = ({
|
|
371
|
+
type: "text";
|
|
372
|
+
} & TextField) | ({
|
|
373
|
+
type: "toggle";
|
|
374
|
+
} & ToggleField) | ({
|
|
375
|
+
type: "picker";
|
|
376
|
+
} & PickerField) | ({
|
|
377
|
+
type: "secret";
|
|
378
|
+
} & SecretField) | ({
|
|
379
|
+
type: "search";
|
|
380
|
+
} & SearchField) | ({
|
|
381
|
+
type: "upload";
|
|
382
|
+
} & UploadField) | ({
|
|
383
|
+
type: "scan";
|
|
384
|
+
} & ScanField) | ({
|
|
385
|
+
type: "slider";
|
|
386
|
+
} & SliderField) | (OtherField & {
|
|
387
|
+
[key: string]: unknown;
|
|
388
|
+
});
|
|
389
|
+
export type FieldDrawn = "native" | "plain" | "hidden";
|
|
390
|
+
export type FieldNode = {
|
|
391
|
+
drawn: FieldDrawn;
|
|
392
|
+
label: string;
|
|
393
|
+
name: string;
|
|
394
|
+
role: string;
|
|
395
|
+
type: string;
|
|
396
|
+
};
|
|
397
|
+
export type FieldValue = string | number | boolean;
|
|
398
|
+
export type Figure = {
|
|
399
|
+
act?: string | null;
|
|
400
|
+
avatar?: string | null;
|
|
401
|
+
coat?: string | null;
|
|
402
|
+
grow?: string | null;
|
|
403
|
+
icon?: string | null;
|
|
404
|
+
issue?: number | null;
|
|
405
|
+
load?: string | null;
|
|
406
|
+
moment?: string | null;
|
|
407
|
+
state?: Tone | null;
|
|
408
|
+
tool?: string | null;
|
|
409
|
+
};
|
|
410
|
+
export type FileLink = {
|
|
411
|
+
name: string;
|
|
412
|
+
src: string;
|
|
413
|
+
};
|
|
414
|
+
export type FileRef = {
|
|
415
|
+
id: string;
|
|
416
|
+
name?: string | null;
|
|
417
|
+
src?: string | null;
|
|
418
|
+
};
|
|
419
|
+
export type Finding = {
|
|
420
|
+
at: string;
|
|
421
|
+
file: string;
|
|
422
|
+
fix: string;
|
|
423
|
+
line?: number | null;
|
|
424
|
+
message: string;
|
|
425
|
+
rule: string;
|
|
426
|
+
severity: Severity;
|
|
427
|
+
steps?: string | null;
|
|
428
|
+
};
|
|
429
|
+
export type Fold = {
|
|
430
|
+
line: string;
|
|
431
|
+
main?: FoldMain | null;
|
|
432
|
+
};
|
|
433
|
+
export type FoldMain = {
|
|
434
|
+
action: string;
|
|
435
|
+
block?: string | null;
|
|
436
|
+
label: string;
|
|
437
|
+
value?: string | null;
|
|
438
|
+
values?: Record<string, unknown> | null;
|
|
439
|
+
};
|
|
440
|
+
export type Form = {
|
|
441
|
+
action?: string | null;
|
|
442
|
+
fields: Field[];
|
|
443
|
+
id?: string | null;
|
|
444
|
+
more?: string | null;
|
|
445
|
+
show?: Expr | null;
|
|
446
|
+
submit?: Submit | null;
|
|
447
|
+
};
|
|
448
|
+
export type Gesture = {
|
|
449
|
+
action: string;
|
|
450
|
+
enabled?: Expr | null;
|
|
451
|
+
name: string;
|
|
452
|
+
};
|
|
453
|
+
export type Glance = {
|
|
454
|
+
expanded?: GlanceBody | null;
|
|
455
|
+
figure?: Figure | null;
|
|
456
|
+
id?: string | null;
|
|
457
|
+
leading?: GlanceSide | null;
|
|
458
|
+
medium?: GlanceBody | null;
|
|
459
|
+
show?: Expr | null;
|
|
460
|
+
small?: GlanceBody | null;
|
|
461
|
+
subtitle?: string | null;
|
|
462
|
+
tap?: Tap | null;
|
|
463
|
+
title: string;
|
|
464
|
+
tone?: Tone | null;
|
|
465
|
+
trailing?: GlanceSide | null;
|
|
466
|
+
value?: Shown | null;
|
|
467
|
+
};
|
|
468
|
+
export type GlanceBody = {
|
|
469
|
+
acts?: Act[] | null;
|
|
470
|
+
foot?: string | null;
|
|
471
|
+
line?: string | null;
|
|
472
|
+
rows?: GlanceRow[] | null;
|
|
473
|
+
};
|
|
474
|
+
export type GlanceRow = {
|
|
475
|
+
figure?: Figure | null;
|
|
476
|
+
subtitle?: string | null;
|
|
477
|
+
tap?: Tap | null;
|
|
478
|
+
title: string;
|
|
479
|
+
tone?: Tone | null;
|
|
480
|
+
value?: Shown | null;
|
|
481
|
+
};
|
|
482
|
+
export type GlanceSide = {
|
|
483
|
+
figure?: Figure | null;
|
|
484
|
+
text?: Shown | null;
|
|
485
|
+
tone?: Tone | null;
|
|
486
|
+
};
|
|
487
|
+
export type Handler = "answers" | "fails" | "waits";
|
|
488
|
+
export type Have = {
|
|
489
|
+
k: string;
|
|
490
|
+
rev?: number | null;
|
|
491
|
+
};
|
|
492
|
+
export type Heat = {
|
|
493
|
+
columns: string[];
|
|
494
|
+
edges?: HeatEdges | null;
|
|
495
|
+
empty?: string | null;
|
|
496
|
+
grid: HeatRow[];
|
|
497
|
+
id?: string | null;
|
|
498
|
+
lang?: string | null;
|
|
499
|
+
scale?: HeatScale | null;
|
|
500
|
+
selected?: HeatPick | null;
|
|
501
|
+
show?: Expr | null;
|
|
502
|
+
tap?: Tap | null;
|
|
503
|
+
title: string;
|
|
504
|
+
tone?: HeatTone | null;
|
|
505
|
+
};
|
|
506
|
+
export type HeatCell = {
|
|
507
|
+
label?: string | null;
|
|
508
|
+
value?: number | null;
|
|
509
|
+
};
|
|
510
|
+
export type HeatEdges = "steps" | "ends";
|
|
511
|
+
export type HeatPick = {
|
|
512
|
+
column: string;
|
|
513
|
+
row: string;
|
|
514
|
+
};
|
|
515
|
+
export type HeatRow = {
|
|
516
|
+
cells: HeatCell[];
|
|
517
|
+
name: string;
|
|
518
|
+
};
|
|
519
|
+
export type HeatScale = {
|
|
520
|
+
max?: number | null;
|
|
521
|
+
min?: number | null;
|
|
522
|
+
unit?: string | null;
|
|
523
|
+
};
|
|
524
|
+
export type HeatTone = "info" | "ok" | "warn" | "bad" | "accent" | "mute";
|
|
525
|
+
export type Hello = {
|
|
526
|
+
epoch: string;
|
|
527
|
+
keys: number;
|
|
528
|
+
sid: string;
|
|
529
|
+
v: number;
|
|
530
|
+
};
|
|
531
|
+
export type Hero = {
|
|
532
|
+
actions?: Act[] | null;
|
|
533
|
+
id?: string | null;
|
|
534
|
+
media?: Media | null;
|
|
535
|
+
show?: Expr | null;
|
|
536
|
+
subtitle?: string | null;
|
|
537
|
+
title: string;
|
|
538
|
+
};
|
|
539
|
+
export type Hunk = {
|
|
540
|
+
at: string;
|
|
541
|
+
lines: string[];
|
|
542
|
+
};
|
|
543
|
+
export type Image = {
|
|
544
|
+
alt?: string | null;
|
|
545
|
+
caption?: string | null;
|
|
546
|
+
src: string;
|
|
547
|
+
};
|
|
548
|
+
export type ImageSize = "small" | "large";
|
|
549
|
+
export type Images = {
|
|
550
|
+
id?: string | null;
|
|
551
|
+
items: Image[];
|
|
552
|
+
show?: Expr | null;
|
|
553
|
+
size?: ImageSize | null;
|
|
554
|
+
};
|
|
555
|
+
export type Import = {
|
|
556
|
+
accept?: string[] | null;
|
|
557
|
+
action?: string | null;
|
|
558
|
+
columns: ImportColumn[];
|
|
559
|
+
done?: ImportDone | null;
|
|
560
|
+
error?: string | null;
|
|
561
|
+
id?: string | null;
|
|
562
|
+
into?: string | null;
|
|
563
|
+
mb?: number | null;
|
|
564
|
+
read?: string | null;
|
|
565
|
+
refused?: ImportRow[] | null;
|
|
566
|
+
sheet?: ImportSheet | null;
|
|
567
|
+
show?: Expr | null;
|
|
568
|
+
template?: FileLink | null;
|
|
569
|
+
title: string;
|
|
570
|
+
};
|
|
571
|
+
export type ImportColumn = {
|
|
572
|
+
key: string;
|
|
573
|
+
label: string;
|
|
574
|
+
required?: boolean | null;
|
|
575
|
+
type?: ImportType | null;
|
|
576
|
+
values?: string[] | null;
|
|
577
|
+
};
|
|
578
|
+
export type ImportDone = {
|
|
579
|
+
count: number;
|
|
580
|
+
file?: FileLink | null;
|
|
581
|
+
left?: number | null;
|
|
582
|
+
};
|
|
583
|
+
export type ImportFile = {
|
|
584
|
+
id: string;
|
|
585
|
+
name: string;
|
|
586
|
+
rows: number;
|
|
587
|
+
sheet?: string | null;
|
|
588
|
+
sheets?: string[] | null;
|
|
589
|
+
size?: number | null;
|
|
590
|
+
};
|
|
591
|
+
export type ImportRow = {
|
|
592
|
+
bad?: Record<string, string> | null;
|
|
593
|
+
cells: Record<string, string>;
|
|
594
|
+
n: number;
|
|
595
|
+
};
|
|
596
|
+
export type ImportSheet = {
|
|
597
|
+
bad?: ImportRow[] | null;
|
|
598
|
+
file: ImportFile;
|
|
599
|
+
headers: string[];
|
|
600
|
+
map: Record<string, string>;
|
|
601
|
+
rows: ImportRow[];
|
|
602
|
+
};
|
|
603
|
+
export type ImportType = "text" | "number" | "money" | "date" | "choice";
|
|
604
|
+
export type Island = {
|
|
605
|
+
events?: string[] | null;
|
|
606
|
+
fallback: Fallback;
|
|
607
|
+
id?: string | null;
|
|
608
|
+
name: string;
|
|
609
|
+
props?: Record<string, unknown> | null;
|
|
610
|
+
show?: Expr | null;
|
|
611
|
+
size?: IslandSize | null;
|
|
612
|
+
};
|
|
613
|
+
export type IslandSize = {
|
|
614
|
+
aspect?: string | null;
|
|
615
|
+
height?: number | null;
|
|
616
|
+
width?: number | null;
|
|
617
|
+
};
|
|
618
|
+
export type KeyState = {
|
|
619
|
+
gone?: number | null;
|
|
620
|
+
k: string;
|
|
621
|
+
ops?: Op[] | null;
|
|
622
|
+
rev?: number | null;
|
|
623
|
+
screen?: Block | null;
|
|
624
|
+
};
|
|
625
|
+
export type Keyboard = "default" | "url" | "number";
|
|
626
|
+
export type Label = {
|
|
627
|
+
text: Shown;
|
|
628
|
+
tone?: Tone | null;
|
|
629
|
+
};
|
|
630
|
+
export type Lane = {
|
|
631
|
+
id: string;
|
|
632
|
+
since?: string | null;
|
|
633
|
+
stage?: string | null;
|
|
634
|
+
state: LaneState;
|
|
635
|
+
tap?: Tap | null;
|
|
636
|
+
title: string;
|
|
637
|
+
tool?: string | null;
|
|
638
|
+
};
|
|
639
|
+
export type LaneState = "working" | "needs" | "done" | "idle" | "fail" | "merged";
|
|
640
|
+
export type Lang = "en" | "th";
|
|
641
|
+
export type LineError = {
|
|
642
|
+
line: number;
|
|
643
|
+
message: string;
|
|
644
|
+
};
|
|
645
|
+
export type LineItem = {
|
|
646
|
+
id: string;
|
|
647
|
+
values: Record<string, unknown>;
|
|
648
|
+
};
|
|
649
|
+
export type Lines = {
|
|
650
|
+
action?: string | null;
|
|
651
|
+
add?: string | null;
|
|
652
|
+
balance?: string[] | null;
|
|
653
|
+
calc?: Record<string, Expr> | null;
|
|
654
|
+
columns: Field[];
|
|
655
|
+
empty?: string | null;
|
|
656
|
+
errors?: RowError[] | null;
|
|
657
|
+
id?: string | null;
|
|
658
|
+
items: LineItem[];
|
|
659
|
+
label?: string | null;
|
|
660
|
+
max?: number | null;
|
|
661
|
+
min?: number | null;
|
|
662
|
+
name: string;
|
|
663
|
+
scale?: number | null;
|
|
664
|
+
show?: Expr | null;
|
|
665
|
+
submit?: Submit | null;
|
|
666
|
+
sum?: string[] | null;
|
|
667
|
+
};
|
|
668
|
+
export type Link = {
|
|
669
|
+
label: string;
|
|
670
|
+
tap: Tap;
|
|
671
|
+
};
|
|
672
|
+
export type List = {
|
|
673
|
+
empty?: string | null;
|
|
674
|
+
id?: string | null;
|
|
675
|
+
more?: More | null;
|
|
676
|
+
reorder?: Gesture | null;
|
|
677
|
+
rows: Block[];
|
|
678
|
+
show?: Expr | null;
|
|
679
|
+
};
|
|
680
|
+
export type Lit = null | boolean | number | string;
|
|
681
|
+
export type Load = "calm" | "busy" | "held";
|
|
682
|
+
export type Locale = {
|
|
683
|
+
era?: Era | null;
|
|
684
|
+
lang?: Lang | null;
|
|
685
|
+
today?: string | null;
|
|
686
|
+
};
|
|
687
|
+
export type Mark = {
|
|
688
|
+
at: number[];
|
|
689
|
+
fixed?: boolean | null;
|
|
690
|
+
group?: string | null;
|
|
691
|
+
id: string;
|
|
692
|
+
kind: MarkKind;
|
|
693
|
+
path?: number[][] | null;
|
|
694
|
+
text?: string | null;
|
|
695
|
+
to?: number[] | null;
|
|
696
|
+
tone?: Tone | null;
|
|
697
|
+
};
|
|
698
|
+
export type MarkKind = "arrow" | "box" | "ellipse" | "text" | "pin" | "highlight" | "line";
|
|
699
|
+
export type Match = {
|
|
700
|
+
pattern: Pattern;
|
|
701
|
+
value: Expr;
|
|
702
|
+
};
|
|
703
|
+
export type Media = {
|
|
704
|
+
alt: string;
|
|
705
|
+
caption?: string | null;
|
|
706
|
+
draw?: Gesture | null;
|
|
707
|
+
height: number;
|
|
708
|
+
id?: string | null;
|
|
709
|
+
marks?: Mark[] | null;
|
|
710
|
+
move?: Gesture | null;
|
|
711
|
+
poster?: string | null;
|
|
712
|
+
remove?: Gesture | null;
|
|
713
|
+
show?: Expr | null;
|
|
714
|
+
src: string;
|
|
715
|
+
stretch?: Gesture | null;
|
|
716
|
+
tools?: MarkKind[] | null;
|
|
717
|
+
video?: boolean | null;
|
|
718
|
+
width: number;
|
|
719
|
+
};
|
|
720
|
+
export type Message = {
|
|
721
|
+
avatar?: string | null;
|
|
722
|
+
blocks?: Block[] | null;
|
|
723
|
+
files?: Attachment[] | null;
|
|
724
|
+
id?: string | null;
|
|
725
|
+
name: string;
|
|
726
|
+
role: Role;
|
|
727
|
+
show?: Expr | null;
|
|
728
|
+
time?: string | null;
|
|
729
|
+
};
|
|
730
|
+
export type Modal = {
|
|
731
|
+
blocks: Block[];
|
|
732
|
+
cancel?: string | null;
|
|
733
|
+
destructive?: boolean | null;
|
|
734
|
+
done?: Submit | null;
|
|
735
|
+
id?: string | null;
|
|
736
|
+
locale?: Locale | null;
|
|
737
|
+
message?: string | null;
|
|
738
|
+
ok?: string | null;
|
|
739
|
+
show?: Expr | null;
|
|
740
|
+
title: string;
|
|
741
|
+
variant?: ModalVariant | null;
|
|
742
|
+
};
|
|
743
|
+
export type ModalVariant = "dialog" | "alert" | "tool";
|
|
744
|
+
export type More = string | Page;
|
|
745
|
+
export type Nav = {
|
|
746
|
+
brand?: NavLink | null;
|
|
747
|
+
id?: string | null;
|
|
748
|
+
links: NavLink[];
|
|
749
|
+
show?: Expr | null;
|
|
750
|
+
};
|
|
751
|
+
export type NavLink = {
|
|
752
|
+
current?: boolean | null;
|
|
753
|
+
href: string;
|
|
754
|
+
label: string;
|
|
755
|
+
};
|
|
756
|
+
export type Node = {
|
|
757
|
+
coat?: string | null;
|
|
758
|
+
id?: string | null;
|
|
759
|
+
label?: string | null;
|
|
760
|
+
limit?: string | null;
|
|
761
|
+
state?: Tone | null;
|
|
762
|
+
tap?: Tap | null;
|
|
763
|
+
value?: string | null;
|
|
764
|
+
};
|
|
765
|
+
export type Nodes = Node[] | Record<string, Node>;
|
|
766
|
+
export type OldFrame = {
|
|
767
|
+
ops: Op[];
|
|
768
|
+
seq: number;
|
|
769
|
+
};
|
|
770
|
+
export type Op = {
|
|
771
|
+
op: "merge";
|
|
772
|
+
fields: Record<string, unknown>;
|
|
773
|
+
id: string;
|
|
774
|
+
} | {
|
|
775
|
+
op: "insert";
|
|
776
|
+
after?: string | null;
|
|
777
|
+
before?: string | null;
|
|
778
|
+
block: Child;
|
|
779
|
+
into: string;
|
|
780
|
+
} | {
|
|
781
|
+
op: "move";
|
|
782
|
+
before?: string | null;
|
|
783
|
+
id: string;
|
|
784
|
+
into: string;
|
|
785
|
+
} | {
|
|
786
|
+
op: "remove";
|
|
787
|
+
id: string;
|
|
788
|
+
} | {
|
|
789
|
+
op: "replace";
|
|
790
|
+
block: Child;
|
|
791
|
+
id: string;
|
|
792
|
+
} | {
|
|
793
|
+
op: "append";
|
|
794
|
+
id: string;
|
|
795
|
+
keep?: number | null;
|
|
796
|
+
parts?: Part[] | null;
|
|
797
|
+
text?: string | null;
|
|
798
|
+
} | {
|
|
799
|
+
op: "points";
|
|
800
|
+
drop?: number | null;
|
|
801
|
+
id: string;
|
|
802
|
+
series: string;
|
|
803
|
+
x: number[];
|
|
804
|
+
y: number[];
|
|
805
|
+
} | {
|
|
806
|
+
op: "badge";
|
|
807
|
+
count: number;
|
|
808
|
+
} | {
|
|
809
|
+
op: "dot";
|
|
810
|
+
on: boolean;
|
|
811
|
+
} | {
|
|
812
|
+
op: "screen";
|
|
813
|
+
screen: Block;
|
|
814
|
+
};
|
|
815
|
+
export type Other = {
|
|
816
|
+
for?: string | null;
|
|
817
|
+
placeholder?: string | null;
|
|
818
|
+
};
|
|
819
|
+
export type OtherField = {
|
|
820
|
+
checks?: Check[] | null;
|
|
821
|
+
doc?: string | null;
|
|
822
|
+
enabled?: Expr | null;
|
|
823
|
+
error?: string | null;
|
|
824
|
+
label?: string | null;
|
|
825
|
+
name: string;
|
|
826
|
+
open?: boolean | null;
|
|
827
|
+
show?: Expr | null;
|
|
828
|
+
type: string;
|
|
829
|
+
was?: string | null;
|
|
830
|
+
};
|
|
831
|
+
export type Page = {
|
|
832
|
+
action: string;
|
|
833
|
+
cursor: string;
|
|
834
|
+
};
|
|
835
|
+
export type PageImage = {
|
|
836
|
+
alt: string;
|
|
837
|
+
height: number;
|
|
838
|
+
src: string;
|
|
839
|
+
width: number;
|
|
840
|
+
};
|
|
841
|
+
export type Pages = {
|
|
842
|
+
fallback?: Fallback | null;
|
|
843
|
+
file?: string | null;
|
|
844
|
+
id?: string | null;
|
|
845
|
+
note?: string | null;
|
|
846
|
+
pages: PageImage[];
|
|
847
|
+
show?: Expr | null;
|
|
848
|
+
title?: string | null;
|
|
849
|
+
};
|
|
850
|
+
export type Part = {
|
|
851
|
+
part: "heading";
|
|
852
|
+
level: number;
|
|
853
|
+
spans: Span[];
|
|
854
|
+
} | {
|
|
855
|
+
part: "para";
|
|
856
|
+
spans: Span[];
|
|
857
|
+
} | {
|
|
858
|
+
part: "list";
|
|
859
|
+
items: Span[][];
|
|
860
|
+
ordered: boolean;
|
|
861
|
+
} | {
|
|
862
|
+
part: "quote";
|
|
863
|
+
spans: Span[];
|
|
864
|
+
} | {
|
|
865
|
+
part: "code";
|
|
866
|
+
lang?: string | null;
|
|
867
|
+
text: string;
|
|
868
|
+
} | {
|
|
869
|
+
part: "rule";
|
|
870
|
+
};
|
|
871
|
+
export type Pattern = "filled" | "email" | "url" | "number";
|
|
872
|
+
export type Peak = {
|
|
873
|
+
label: string;
|
|
874
|
+
y: number;
|
|
875
|
+
};
|
|
876
|
+
export type Pending = {
|
|
877
|
+
count: string;
|
|
878
|
+
discard: Tap;
|
|
879
|
+
review: Tap;
|
|
880
|
+
text: string;
|
|
881
|
+
};
|
|
882
|
+
export type PhonePart = "title" | "tag" | "value" | "meta" | "hide";
|
|
883
|
+
export type PickerField = {
|
|
884
|
+
checks?: Check[] | null;
|
|
885
|
+
doc?: string | null;
|
|
886
|
+
enabled?: Expr | null;
|
|
887
|
+
error?: string | null;
|
|
888
|
+
label?: string | null;
|
|
889
|
+
name: string;
|
|
890
|
+
open?: boolean | null;
|
|
891
|
+
options?: string[] | null;
|
|
892
|
+
show?: Expr | null;
|
|
893
|
+
value?: FieldValue | null;
|
|
894
|
+
was?: string | null;
|
|
895
|
+
};
|
|
896
|
+
export type Plan = {
|
|
897
|
+
out: string;
|
|
898
|
+
runs: PlanRun[];
|
|
899
|
+
};
|
|
900
|
+
export type PlanRun = {
|
|
901
|
+
css: string[];
|
|
902
|
+
kinds: string[];
|
|
903
|
+
name: string;
|
|
904
|
+
probes: boolean;
|
|
905
|
+
screen: string;
|
|
906
|
+
scripts: string[];
|
|
907
|
+
size: string;
|
|
908
|
+
steps: Step[];
|
|
909
|
+
};
|
|
910
|
+
export type Plot = {
|
|
911
|
+
empty?: string | null;
|
|
912
|
+
id?: string | null;
|
|
913
|
+
peak?: Peak | null;
|
|
914
|
+
series: Trace[];
|
|
915
|
+
show?: Expr | null;
|
|
916
|
+
target?: Target | null;
|
|
917
|
+
title: string;
|
|
918
|
+
window?: number | null;
|
|
919
|
+
x?: PlotAxis | null;
|
|
920
|
+
y?: PlotAxis | null;
|
|
921
|
+
};
|
|
922
|
+
export type PlotAxis = {
|
|
923
|
+
label?: string | null;
|
|
924
|
+
max?: number | null;
|
|
925
|
+
min?: number | null;
|
|
926
|
+
scale?: AxisScale | null;
|
|
927
|
+
unit?: string | null;
|
|
928
|
+
};
|
|
929
|
+
export type PlotBox = {
|
|
930
|
+
max: number;
|
|
931
|
+
median: number;
|
|
932
|
+
min: number;
|
|
933
|
+
name: string;
|
|
934
|
+
outliers?: number[] | null;
|
|
935
|
+
q1: number;
|
|
936
|
+
q3: number;
|
|
937
|
+
tone?: Tone | null;
|
|
938
|
+
};
|
|
939
|
+
export type PointMove = {
|
|
940
|
+
at: string;
|
|
941
|
+
series: string;
|
|
942
|
+
y: number;
|
|
943
|
+
};
|
|
944
|
+
export type Prose = {
|
|
945
|
+
id?: string | null;
|
|
946
|
+
parts: Part[];
|
|
947
|
+
show?: Expr | null;
|
|
948
|
+
streaming?: boolean | null;
|
|
949
|
+
};
|
|
950
|
+
export type Queued = {
|
|
951
|
+
q: number;
|
|
952
|
+
text: string;
|
|
953
|
+
};
|
|
954
|
+
export type Report = {
|
|
955
|
+
dropped: string[];
|
|
956
|
+
sent: Action[];
|
|
957
|
+
shots: string[];
|
|
958
|
+
timings: Timings;
|
|
959
|
+
worn?: Record<string, string[]> | null;
|
|
960
|
+
};
|
|
961
|
+
export type Role = "agent" | "owner" | "system";
|
|
962
|
+
export type Round = {
|
|
963
|
+
blocks?: Block[] | null;
|
|
964
|
+
id: string;
|
|
965
|
+
lane?: RoundLane | null;
|
|
966
|
+
links?: Link[] | null;
|
|
967
|
+
name: string;
|
|
968
|
+
since?: string | null;
|
|
969
|
+
state: LaneState;
|
|
970
|
+
summary?: string | null;
|
|
971
|
+
tap?: Tap | null;
|
|
972
|
+
};
|
|
973
|
+
export type RoundLane = {
|
|
974
|
+
harness?: string | null;
|
|
975
|
+
host?: string | null;
|
|
976
|
+
lines?: string[] | null;
|
|
977
|
+
model?: string | null;
|
|
978
|
+
name?: string | null;
|
|
979
|
+
};
|
|
980
|
+
export type Row = {
|
|
981
|
+
accessory?: Accessory | null;
|
|
982
|
+
badge?: Label | null;
|
|
983
|
+
button?: Act | null;
|
|
984
|
+
changed?: boolean | null;
|
|
985
|
+
figure?: Figure | null;
|
|
986
|
+
handle?: boolean | null;
|
|
987
|
+
id?: string | null;
|
|
988
|
+
indent?: number | null;
|
|
989
|
+
lifted?: boolean | null;
|
|
990
|
+
menu?: Act[] | null;
|
|
991
|
+
rounds?: Round[] | null;
|
|
992
|
+
show?: Expr | null;
|
|
993
|
+
sticky?: boolean | null;
|
|
994
|
+
style?: RowStyle | null;
|
|
995
|
+
subtitle?: Toned | null;
|
|
996
|
+
swipe?: Act[] | null;
|
|
997
|
+
tap?: Tap | null;
|
|
998
|
+
title?: string | null;
|
|
999
|
+
value?: Shown | null;
|
|
1000
|
+
};
|
|
1001
|
+
export type RowError = {
|
|
1002
|
+
message: string;
|
|
1003
|
+
name?: string | null;
|
|
1004
|
+
row?: string | null;
|
|
1005
|
+
};
|
|
1006
|
+
export type RowStyle = "link" | "destructive";
|
|
1007
|
+
export type Run = {
|
|
1008
|
+
action: string;
|
|
1009
|
+
command: string;
|
|
1010
|
+
dir?: string | null;
|
|
1011
|
+
id?: string | null;
|
|
1012
|
+
sha: string;
|
|
1013
|
+
show?: Expr | null;
|
|
1014
|
+
touches?: string | null;
|
|
1015
|
+
until?: string | null;
|
|
1016
|
+
};
|
|
1017
|
+
export type ScanField = {
|
|
1018
|
+
checks?: Check[] | null;
|
|
1019
|
+
doc?: string | null;
|
|
1020
|
+
enabled?: Expr | null;
|
|
1021
|
+
error?: string | null;
|
|
1022
|
+
file?: FileRef | null;
|
|
1023
|
+
label?: string | null;
|
|
1024
|
+
max?: number | null;
|
|
1025
|
+
name: string;
|
|
1026
|
+
open?: boolean | null;
|
|
1027
|
+
show?: Expr | null;
|
|
1028
|
+
was?: string | null;
|
|
1029
|
+
};
|
|
1030
|
+
export type Scene = {
|
|
1031
|
+
id?: string | null;
|
|
1032
|
+
label?: string | null;
|
|
1033
|
+
lanes?: Lane[] | null;
|
|
1034
|
+
load?: Load | null;
|
|
1035
|
+
repos?: SceneRepo[] | null;
|
|
1036
|
+
show?: Expr | null;
|
|
1037
|
+
weather?: Weather | null;
|
|
1038
|
+
};
|
|
1039
|
+
export type SceneRepo = {
|
|
1040
|
+
blocks: Band[];
|
|
1041
|
+
color?: string | null;
|
|
1042
|
+
id: string;
|
|
1043
|
+
subtitle?: string | null;
|
|
1044
|
+
title: string;
|
|
1045
|
+
};
|
|
1046
|
+
export type SceneRow = {
|
|
1047
|
+
blocked_by?: number | null;
|
|
1048
|
+
figure?: Figure | null;
|
|
1049
|
+
host?: string | null;
|
|
1050
|
+
id: string;
|
|
1051
|
+
needs?: number | null;
|
|
1052
|
+
subtitle?: string | null;
|
|
1053
|
+
tap?: Tap | null;
|
|
1054
|
+
title: string;
|
|
1055
|
+
tone?: Tone | null;
|
|
1056
|
+
value?: string | null;
|
|
1057
|
+
};
|
|
1058
|
+
export type Screen = {
|
|
1059
|
+
actions?: Act[] | null;
|
|
1060
|
+
back?: string | null;
|
|
1061
|
+
badge?: number | null;
|
|
1062
|
+
blocks?: Block[] | null;
|
|
1063
|
+
done?: Submit | null;
|
|
1064
|
+
focus?: boolean | null;
|
|
1065
|
+
id?: string | null;
|
|
1066
|
+
large?: boolean | null;
|
|
1067
|
+
locale?: Locale | null;
|
|
1068
|
+
pending?: Pending | null;
|
|
1069
|
+
personas?: Record<string, unknown>[] | null;
|
|
1070
|
+
refresh?: boolean | null;
|
|
1071
|
+
show?: Expr | null;
|
|
1072
|
+
sites?: number | null;
|
|
1073
|
+
source?: string | null;
|
|
1074
|
+
state?: Record<string, Lit> | null;
|
|
1075
|
+
stream?: string | null;
|
|
1076
|
+
threads?: Record<string, unknown>[] | null;
|
|
1077
|
+
title?: string | null;
|
|
1078
|
+
url?: string | null;
|
|
1079
|
+
};
|
|
1080
|
+
export type SearchField = {
|
|
1081
|
+
checks?: Check[] | null;
|
|
1082
|
+
doc?: string | null;
|
|
1083
|
+
enabled?: Expr | null;
|
|
1084
|
+
error?: string | null;
|
|
1085
|
+
filters?: string | null;
|
|
1086
|
+
label?: string | null;
|
|
1087
|
+
name: string;
|
|
1088
|
+
open?: boolean | null;
|
|
1089
|
+
placeholder?: string | null;
|
|
1090
|
+
show?: Expr | null;
|
|
1091
|
+
value?: string | null;
|
|
1092
|
+
was?: string | null;
|
|
1093
|
+
};
|
|
1094
|
+
export type Secret = {
|
|
1095
|
+
action: string;
|
|
1096
|
+
id?: string | null;
|
|
1097
|
+
label?: string | null;
|
|
1098
|
+
name: string;
|
|
1099
|
+
placeholder?: string | null;
|
|
1100
|
+
set?: boolean | null;
|
|
1101
|
+
show?: Expr | null;
|
|
1102
|
+
values?: Record<string, unknown> | null;
|
|
1103
|
+
};
|
|
1104
|
+
export type SecretField = {
|
|
1105
|
+
checks?: Check[] | null;
|
|
1106
|
+
doc?: string | null;
|
|
1107
|
+
enabled?: Expr | null;
|
|
1108
|
+
error?: string | null;
|
|
1109
|
+
label?: string | null;
|
|
1110
|
+
name: string;
|
|
1111
|
+
open?: boolean | null;
|
|
1112
|
+
placeholder?: string | null;
|
|
1113
|
+
set?: boolean | null;
|
|
1114
|
+
show?: Expr | null;
|
|
1115
|
+
value?: string | null;
|
|
1116
|
+
was?: string | null;
|
|
1117
|
+
};
|
|
1118
|
+
export type Section = {
|
|
1119
|
+
blocks: Block[];
|
|
1120
|
+
footer?: string | null;
|
|
1121
|
+
header?: string | null;
|
|
1122
|
+
id?: string | null;
|
|
1123
|
+
show?: Expr | null;
|
|
1124
|
+
side?: boolean | null;
|
|
1125
|
+
};
|
|
1126
|
+
export type Seen = {
|
|
1127
|
+
at: string;
|
|
1128
|
+
detail: string;
|
|
1129
|
+
file?: string | null;
|
|
1130
|
+
line?: number | null;
|
|
1131
|
+
rule: string;
|
|
1132
|
+
run?: string | null;
|
|
1133
|
+
shot?: string | null;
|
|
1134
|
+
};
|
|
1135
|
+
export type Series = {
|
|
1136
|
+
as?: SeriesMark | null;
|
|
1137
|
+
dash?: boolean | null;
|
|
1138
|
+
fixed?: boolean | null;
|
|
1139
|
+
name: string;
|
|
1140
|
+
step?: number | null;
|
|
1141
|
+
tone?: Tone | null;
|
|
1142
|
+
values: number[];
|
|
1143
|
+
};
|
|
1144
|
+
export type SeriesMark = "bar" | "line";
|
|
1145
|
+
export type SetState = {
|
|
1146
|
+
key: string;
|
|
1147
|
+
to: Expr;
|
|
1148
|
+
};
|
|
1149
|
+
export type Severity = "error" | "warn";
|
|
1150
|
+
export type Shown = string | number | Bound | Time;
|
|
1151
|
+
export type SideBadge = {
|
|
1152
|
+
count: number;
|
|
1153
|
+
tone?: Tone | null;
|
|
1154
|
+
};
|
|
1155
|
+
export type SideGroup = {
|
|
1156
|
+
links: SideItem[];
|
|
1157
|
+
title?: string | null;
|
|
1158
|
+
};
|
|
1159
|
+
export type SideItem = {
|
|
1160
|
+
badge?: SideBadge | null;
|
|
1161
|
+
children?: SideLink[] | null;
|
|
1162
|
+
current?: boolean | null;
|
|
1163
|
+
href?: string | null;
|
|
1164
|
+
icon?: string | null;
|
|
1165
|
+
label: string;
|
|
1166
|
+
open?: boolean | null;
|
|
1167
|
+
};
|
|
1168
|
+
export type SideLink = {
|
|
1169
|
+
badge?: SideBadge | null;
|
|
1170
|
+
current?: boolean | null;
|
|
1171
|
+
href: string;
|
|
1172
|
+
icon?: string | null;
|
|
1173
|
+
label: string;
|
|
1174
|
+
};
|
|
1175
|
+
export type Sidebar = {
|
|
1176
|
+
brand?: SideLink | null;
|
|
1177
|
+
empty?: string | null;
|
|
1178
|
+
footer?: SideLink[] | null;
|
|
1179
|
+
groups: SideGroup[];
|
|
1180
|
+
id?: string | null;
|
|
1181
|
+
label: string;
|
|
1182
|
+
show?: Expr | null;
|
|
1183
|
+
};
|
|
1184
|
+
export type Sky = "clear" | "windy" | "fog" | "storm";
|
|
1185
|
+
export type SliderField = {
|
|
1186
|
+
checks?: Check[] | null;
|
|
1187
|
+
doc?: string | null;
|
|
1188
|
+
enabled?: Expr | null;
|
|
1189
|
+
error?: string | null;
|
|
1190
|
+
label?: string | null;
|
|
1191
|
+
max: number;
|
|
1192
|
+
min: number;
|
|
1193
|
+
name: string;
|
|
1194
|
+
open?: boolean | null;
|
|
1195
|
+
show?: Expr | null;
|
|
1196
|
+
step?: number | null;
|
|
1197
|
+
unit?: string | null;
|
|
1198
|
+
value?: number | null;
|
|
1199
|
+
was?: string | null;
|
|
1200
|
+
};
|
|
1201
|
+
export type SortDir = "asc" | "desc";
|
|
1202
|
+
export type Span = {
|
|
1203
|
+
bold?: boolean | null;
|
|
1204
|
+
code?: boolean | null;
|
|
1205
|
+
italic?: boolean | null;
|
|
1206
|
+
link?: string | null;
|
|
1207
|
+
text: string;
|
|
1208
|
+
};
|
|
1209
|
+
export type Stage = {
|
|
1210
|
+
id: string;
|
|
1211
|
+
label: string;
|
|
1212
|
+
sub?: string | null;
|
|
1213
|
+
tap?: Tap | null;
|
|
1214
|
+
};
|
|
1215
|
+
export type Stat = {
|
|
1216
|
+
id?: string | null;
|
|
1217
|
+
items?: Tile[] | null;
|
|
1218
|
+
label?: string | null;
|
|
1219
|
+
show?: Expr | null;
|
|
1220
|
+
spark?: number[] | null;
|
|
1221
|
+
tone?: Tone | null;
|
|
1222
|
+
unit?: string | null;
|
|
1223
|
+
value?: Shown | null;
|
|
1224
|
+
};
|
|
1225
|
+
export type Step = {
|
|
1226
|
+
tap: StepOn;
|
|
1227
|
+
} | {
|
|
1228
|
+
type: StepType;
|
|
1229
|
+
} | {
|
|
1230
|
+
scroll: StepOn;
|
|
1231
|
+
} | {
|
|
1232
|
+
frame: Frame;
|
|
1233
|
+
} | {
|
|
1234
|
+
answer: Answer;
|
|
1235
|
+
} | {
|
|
1236
|
+
shot: StepShot;
|
|
1237
|
+
} | {
|
|
1238
|
+
gesture: StepGesture;
|
|
1239
|
+
} | {
|
|
1240
|
+
refuse: StepRefuse;
|
|
1241
|
+
} | {
|
|
1242
|
+
file: StepFile;
|
|
1243
|
+
} | {
|
|
1244
|
+
slide: StepSlide;
|
|
1245
|
+
};
|
|
1246
|
+
export type StepFile = {
|
|
1247
|
+
field: string;
|
|
1248
|
+
handler: Handler;
|
|
1249
|
+
mime: string;
|
|
1250
|
+
name: string;
|
|
1251
|
+
size: number;
|
|
1252
|
+
};
|
|
1253
|
+
export type StepGesture = {
|
|
1254
|
+
grab: unknown;
|
|
1255
|
+
id: string;
|
|
1256
|
+
reach: unknown[];
|
|
1257
|
+
via: Via;
|
|
1258
|
+
};
|
|
1259
|
+
export type StepOn = {
|
|
1260
|
+
id: string;
|
|
1261
|
+
};
|
|
1262
|
+
export type StepRefuse = {
|
|
1263
|
+
toast: string;
|
|
1264
|
+
};
|
|
1265
|
+
export type StepShot = {
|
|
1266
|
+
name: string;
|
|
1267
|
+
};
|
|
1268
|
+
export type StepSlide = {
|
|
1269
|
+
field: string;
|
|
1270
|
+
to: number;
|
|
1271
|
+
};
|
|
1272
|
+
export type StepType = {
|
|
1273
|
+
id: string;
|
|
1274
|
+
text: string;
|
|
1275
|
+
};
|
|
1276
|
+
export type Steps = {
|
|
1277
|
+
bars?: Bar[] | null;
|
|
1278
|
+
current?: string | null;
|
|
1279
|
+
done?: boolean | null;
|
|
1280
|
+
fallback?: Fallback | null;
|
|
1281
|
+
id?: string | null;
|
|
1282
|
+
show?: Expr | null;
|
|
1283
|
+
steps?: Stage[] | null;
|
|
1284
|
+
title?: string | null;
|
|
1285
|
+
};
|
|
1286
|
+
export type Submit = {
|
|
1287
|
+
action: string;
|
|
1288
|
+
label: string;
|
|
1289
|
+
off?: boolean | null;
|
|
1290
|
+
values?: Record<string, unknown> | null;
|
|
1291
|
+
};
|
|
1292
|
+
export type Sync = {
|
|
1293
|
+
close?: string[] | null;
|
|
1294
|
+
open: Have[];
|
|
1295
|
+
};
|
|
1296
|
+
export type Synced = {
|
|
1297
|
+
keys: KeyState[];
|
|
1298
|
+
};
|
|
1299
|
+
export type Table = {
|
|
1300
|
+
calc?: Record<string, Expr> | null;
|
|
1301
|
+
columns: Column[];
|
|
1302
|
+
edit?: Gesture | null;
|
|
1303
|
+
empty?: string | null;
|
|
1304
|
+
export?: ExportFormat[] | null;
|
|
1305
|
+
filter?: boolean | null;
|
|
1306
|
+
id?: string | null;
|
|
1307
|
+
more?: Page | null;
|
|
1308
|
+
reorder?: Gesture | null;
|
|
1309
|
+
rows: TableRow[];
|
|
1310
|
+
select?: TableSelect | null;
|
|
1311
|
+
show?: Expr | null;
|
|
1312
|
+
sort?: TableSort | null;
|
|
1313
|
+
title?: string | null;
|
|
1314
|
+
};
|
|
1315
|
+
export type TableRow = {
|
|
1316
|
+
cells: Record<string, Cell>;
|
|
1317
|
+
fixed?: boolean | null;
|
|
1318
|
+
group?: boolean | null;
|
|
1319
|
+
id: string;
|
|
1320
|
+
tap?: Tap | null;
|
|
1321
|
+
};
|
|
1322
|
+
export type TableSelect = {
|
|
1323
|
+
actions: BulkAction[];
|
|
1324
|
+
};
|
|
1325
|
+
export type TableSort = {
|
|
1326
|
+
by: string;
|
|
1327
|
+
dir: SortDir;
|
|
1328
|
+
};
|
|
1329
|
+
export type Tap = {
|
|
1330
|
+
action?: string | null;
|
|
1331
|
+
copy?: string | null;
|
|
1332
|
+
focus?: string | null;
|
|
1333
|
+
keep?: boolean | null;
|
|
1334
|
+
open?: string | null;
|
|
1335
|
+
set?: SetState[] | null;
|
|
1336
|
+
sheet?: string | null;
|
|
1337
|
+
thread?: string | null;
|
|
1338
|
+
url?: string | null;
|
|
1339
|
+
values?: Record<string, unknown> | null;
|
|
1340
|
+
};
|
|
1341
|
+
export type Target = {
|
|
1342
|
+
max: number;
|
|
1343
|
+
min: number;
|
|
1344
|
+
};
|
|
1345
|
+
export type Text = {
|
|
1346
|
+
center?: boolean | null;
|
|
1347
|
+
font?: string | null;
|
|
1348
|
+
id?: string | null;
|
|
1349
|
+
markdown?: string | null;
|
|
1350
|
+
show?: Expr | null;
|
|
1351
|
+
size?: number | null;
|
|
1352
|
+
style?: TextStyle | null;
|
|
1353
|
+
text?: string | null;
|
|
1354
|
+
tone?: Tone | null;
|
|
1355
|
+
top?: number | null;
|
|
1356
|
+
until?: string | null;
|
|
1357
|
+
weight?: string | null;
|
|
1358
|
+
};
|
|
1359
|
+
export type TextField = {
|
|
1360
|
+
checks?: Check[] | null;
|
|
1361
|
+
doc?: string | null;
|
|
1362
|
+
enabled?: Expr | null;
|
|
1363
|
+
error?: string | null;
|
|
1364
|
+
keyboard?: Keyboard | null;
|
|
1365
|
+
label?: string | null;
|
|
1366
|
+
name: string;
|
|
1367
|
+
open?: boolean | null;
|
|
1368
|
+
placeholder?: string | null;
|
|
1369
|
+
show?: Expr | null;
|
|
1370
|
+
value?: FieldValue | null;
|
|
1371
|
+
was?: string | null;
|
|
1372
|
+
};
|
|
1373
|
+
export type TextStyle = "body" | "footnote";
|
|
1374
|
+
export type Tile = {
|
|
1375
|
+
label: string;
|
|
1376
|
+
spark?: number[] | null;
|
|
1377
|
+
tone?: Tone | null;
|
|
1378
|
+
unit?: string | null;
|
|
1379
|
+
value: Shown;
|
|
1380
|
+
};
|
|
1381
|
+
export type Time = {
|
|
1382
|
+
label?: string | null;
|
|
1383
|
+
since?: string | null;
|
|
1384
|
+
until?: string | null;
|
|
1385
|
+
};
|
|
1386
|
+
export type TimeBar = {
|
|
1387
|
+
end: string;
|
|
1388
|
+
fixed?: boolean | null;
|
|
1389
|
+
id: string;
|
|
1390
|
+
label?: string | null;
|
|
1391
|
+
progress?: number | null;
|
|
1392
|
+
start: string;
|
|
1393
|
+
tap?: Tap | null;
|
|
1394
|
+
tone?: Tone | null;
|
|
1395
|
+
};
|
|
1396
|
+
export type TimeRow = {
|
|
1397
|
+
bars: TimeBar[];
|
|
1398
|
+
id: string;
|
|
1399
|
+
subtitle?: string | null;
|
|
1400
|
+
tap?: Tap | null;
|
|
1401
|
+
title: string;
|
|
1402
|
+
};
|
|
1403
|
+
export type Timeline = {
|
|
1404
|
+
draw?: Gesture | null;
|
|
1405
|
+
empty?: string | null;
|
|
1406
|
+
from: string;
|
|
1407
|
+
id?: string | null;
|
|
1408
|
+
move?: Gesture | null;
|
|
1409
|
+
off?: string[] | null;
|
|
1410
|
+
show?: Expr | null;
|
|
1411
|
+
stretch?: Gesture | null;
|
|
1412
|
+
title?: string | null;
|
|
1413
|
+
to: string;
|
|
1414
|
+
tracks: TimeRow[];
|
|
1415
|
+
};
|
|
1416
|
+
export type Timings = {
|
|
1417
|
+
first_paint_ms: number;
|
|
1418
|
+
frames_over_budget?: number | null;
|
|
1419
|
+
longest_frame_ms?: number | null;
|
|
1420
|
+
longest_patch_ms?: number | null;
|
|
1421
|
+
p99_patch_ms?: number | null;
|
|
1422
|
+
steps_ms: number[];
|
|
1423
|
+
};
|
|
1424
|
+
export type Toast = {
|
|
1425
|
+
fallback?: Fallback | null;
|
|
1426
|
+
id?: string | null;
|
|
1427
|
+
show?: Expr | null;
|
|
1428
|
+
title: string;
|
|
1429
|
+
tone?: Tone | null;
|
|
1430
|
+
undo?: Undo | null;
|
|
1431
|
+
};
|
|
1432
|
+
export type ToggleField = {
|
|
1433
|
+
as?: ToggleLook | null;
|
|
1434
|
+
checks?: Check[] | null;
|
|
1435
|
+
doc?: string | null;
|
|
1436
|
+
enabled?: Expr | null;
|
|
1437
|
+
error?: string | null;
|
|
1438
|
+
label?: string | null;
|
|
1439
|
+
name: string;
|
|
1440
|
+
open?: boolean | null;
|
|
1441
|
+
show?: Expr | null;
|
|
1442
|
+
value?: FieldValue | null;
|
|
1443
|
+
was?: string | null;
|
|
1444
|
+
};
|
|
1445
|
+
export type ToggleLook = "switch" | "check";
|
|
1446
|
+
export type Tone = "ok" | "warn" | "bad" | "info" | "mute" | "accent" | "working" | "needs" | "done" | "fail" | "idle";
|
|
1447
|
+
export type Toned = string | Label;
|
|
1448
|
+
export type Tool = {
|
|
1449
|
+
body?: string | null;
|
|
1450
|
+
id?: string | null;
|
|
1451
|
+
name: string;
|
|
1452
|
+
show?: Expr | null;
|
|
1453
|
+
state: ToolState;
|
|
1454
|
+
summary?: string | null;
|
|
1455
|
+
};
|
|
1456
|
+
export type ToolState = "running" | "done" | "failed";
|
|
1457
|
+
export type Total = "sum" | "avg" | "count";
|
|
1458
|
+
export type Trace = {
|
|
1459
|
+
name: string;
|
|
1460
|
+
tone?: Tone | null;
|
|
1461
|
+
x: number[];
|
|
1462
|
+
y: number[];
|
|
1463
|
+
};
|
|
1464
|
+
export type TreeDrawn = "native" | "fallback" | "hidden";
|
|
1465
|
+
export type TreeNode = {
|
|
1466
|
+
children: TreeNode[];
|
|
1467
|
+
drawn: TreeDrawn;
|
|
1468
|
+
fields?: FieldNode[] | null;
|
|
1469
|
+
id?: string | null;
|
|
1470
|
+
kind: string;
|
|
1471
|
+
name: string;
|
|
1472
|
+
rect?: number[] | null;
|
|
1473
|
+
role: string;
|
|
1474
|
+
text?: string | null;
|
|
1475
|
+
variant?: string | null;
|
|
1476
|
+
};
|
|
1477
|
+
export type Undo = {
|
|
1478
|
+
action: string;
|
|
1479
|
+
confirm?: Confirm | null;
|
|
1480
|
+
label?: string | null;
|
|
1481
|
+
values?: Record<string, unknown> | null;
|
|
1482
|
+
};
|
|
1483
|
+
export type UploadField = {
|
|
1484
|
+
accept?: Accept[] | null;
|
|
1485
|
+
capture?: boolean | null;
|
|
1486
|
+
checks?: Check[] | null;
|
|
1487
|
+
doc?: string | null;
|
|
1488
|
+
enabled?: Expr | null;
|
|
1489
|
+
error?: string | null;
|
|
1490
|
+
files?: FileRef[] | null;
|
|
1491
|
+
label?: string | null;
|
|
1492
|
+
many?: boolean | null;
|
|
1493
|
+
mb?: number | null;
|
|
1494
|
+
name: string;
|
|
1495
|
+
open?: boolean | null;
|
|
1496
|
+
show?: Expr | null;
|
|
1497
|
+
was?: string | null;
|
|
1498
|
+
};
|
|
1499
|
+
export type Via = "pointer" | "keys" | "action";
|
|
1500
|
+
export type Weather = {
|
|
1501
|
+
fog?: number | null;
|
|
1502
|
+
line?: string | null;
|
|
1503
|
+
sky: Sky;
|
|
1504
|
+
storm?: boolean | null;
|
|
1505
|
+
wind?: number | null;
|
|
1506
|
+
};
|
|
1507
|
+
export type Web = {
|
|
1508
|
+
height: number;
|
|
1509
|
+
id?: string | null;
|
|
1510
|
+
show?: Expr | null;
|
|
1511
|
+
src: string;
|
|
1512
|
+
};
|
|
1513
|
+
export type Why = "evicted" | "unpaired" | "handover";
|
|
1514
|
+
export type Working = {
|
|
1515
|
+
since: string;
|
|
1516
|
+
};
|
|
1517
|
+
export type Kind = "screen" | "modal" | "sheet" | "section" | "list" | "row" | "card" | "choice" | "form" | "config" | "secret" | "run" | "button" | "chips" | "stat" | "text" | "images" | "web" | "diff" | "editor" | "scene" | "diagram" | "composer" | "lines" | "prose" | "hero" | "media" | "nav" | "island" | "table" | "steps" | "chart" | "toast" | "pages" | "timeline" | "import" | "message" | "tool" | "sidebar" | "boxplot" | "heat" | "plot" | "glance";
|