wizards 0.4.6 → 0.5.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/apps/runtime/dist/agents/studio-assistant.js +5 -5
- package/apps/runtime/dist/assistant/primer.js +1 -1
- package/apps/runtime/dist/authoring/guide.js +7 -7
- package/apps/runtime/dist/db/schema.js +9 -9
- package/apps/runtime/dist/engine/steps.js +2 -2
- package/apps/runtime/dist/routes/api.js +1 -1
- package/apps/runtime/dist/routes/studio.js +5 -5
- package/apps/runtime/dist/services/knowledge-model.js +8 -8
- package/apps/runtime/dist/services/knowledge.js +19 -19
- package/apps/runtime/dist/services/package.js +1 -1
- package/apps/runtime/dist/services/project-files.js +5 -5
- package/apps/runtime/dist/services/project-index.js +10 -10
- package/apps/runtime/dist/services/relevance.js +3 -3
- package/apps/runtime/dist/services/site.js +8 -8
- package/apps/runtime/dist/services/space-categories.js +19 -19
- package/apps/runtime/dist/services/space-data.js +3 -3
- package/apps/runtime/dist/services/space-origin.js +3 -3
- package/apps/runtime/dist/services/spaces.js +3 -3
- package/apps/runtime/dist/tools/index.js +1 -1
- package/apps/runtime/dist/tools/pages.js +4 -4
- package/apps/runtime/dist/tools/project.js +10 -10
- package/apps/web/dist/assets/{AboutDialog-i-qD_Nea.js → AboutDialog-A_ILyeue.js} +1 -1
- package/apps/web/dist/assets/{ChangelogDialog-BYuVcmKR.js → ChangelogDialog-BXpkgatF.js} +1 -1
- package/apps/web/dist/assets/{ChatView-DMEYEsA7.js → ChatView-t7z44uFN.js} +1 -1
- package/apps/web/dist/assets/{EditorPage-Bry35WHx.js → EditorPage-4qxNJgKr.js} +3 -3
- package/apps/web/dist/assets/{FlowPreview-BsfjDVv8.js → FlowPreview-WpS8DCPl.js} +1 -1
- package/apps/web/dist/assets/{Harness-BxQDTGJk.js → Harness-DL7Bse40.js} +1 -1
- package/apps/web/dist/assets/{NewWizardChannels-DPnLT-md.js → NewWizardChannels-Crt6PzH2.js} +1 -1
- package/apps/web/dist/assets/{NewWizardPage-BSh_bUIJ.js → NewWizardPage-COiVmNsl.js} +2 -2
- package/apps/web/dist/assets/{OnboardingPage-BZrRdVwr.js → OnboardingPage-BwluEqXq.js} +1 -1
- package/apps/web/dist/assets/{ProjectPage-_3L9R3SZ.js → ProjectPage-BIRU_AlN.js} +1 -1
- package/apps/web/dist/assets/{PublicRunner-DXbh8uhe.js → PublicRunner-BxMb4gEt.js} +1 -1
- package/apps/web/dist/assets/ReadOnly-D9r5ze5S.js +1 -0
- package/apps/web/dist/assets/{RunDrawer-DpUakYb9.js → RunDrawer-DmJl2QOJ.js} +1 -1
- package/apps/web/dist/assets/{RunnerView-DQ-NgcCa.js → RunnerView-CF_1rC-7.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-3xSInE-A.js +1 -0
- package/apps/web/dist/assets/{SetupPage-BgVHvN6j.js → SetupPage-BGKtbS7j.js} +1 -1
- package/apps/web/dist/assets/{SharePage-BI6vkc9c.js → SharePage-C4MqXKDA.js} +1 -1
- package/apps/web/dist/assets/changelog-CM_GdIVI.js +1 -0
- package/apps/web/dist/assets/{esm-hSq-jeOG.js → esm-CsY8TkyE.js} +1 -1
- package/apps/web/dist/assets/index-Bi2x2g7n.css +1 -0
- package/apps/web/dist/assets/{index-Ca1841qE.js → index-BjQvGQp_.js} +4 -4
- package/apps/web/dist/assets/lock-CI6TpWL-.js +1 -0
- package/apps/web/dist/assets/{phone-CeqyvwK-.js → phone-BrtQz-fG.js} +1 -1
- package/apps/web/dist/assets/{settings-menu-BK8WpcGv.js → settings-menu-BtEKL72n.js} +1 -1
- package/apps/web/dist/assets/{ui-BbIh6SOJ.js → ui-4IaTD7LB.js} +1 -1
- package/apps/web/dist/assets/{upload-BQrAlHIG.js → upload-CWJAtPRo.js} +1 -1
- package/apps/web/dist/index.html +3 -3
- package/apps/web/dist/mcp/flow.html +2 -2
- package/node_modules/@engenty-wizards/plugin-sdk/dist/index.d.ts +12 -12
- package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +3 -3
- package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +690 -690
- package/node_modules/@engenty-wizards/shared/dist/definition.js +1 -1
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +76 -76
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +9 -3
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +9 -3
- package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +13 -13
- package/node_modules/@engenty-wizards/shared/dist/knowledge.js +4 -4
- package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +4 -4
- package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +2 -2
- package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +20 -20
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +1 -1
- package/package.json +1 -1
- package/apps/web/dist/assets/ReadOnly-DFysMEMF.js +0 -1
- package/apps/web/dist/assets/SettingsPage-DyUCIRjo.js +0 -1
- package/apps/web/dist/assets/changelog-Cnv7ZZEL.js +0 -1
- package/apps/web/dist/assets/circle-alert-BVj6idzu.js +0 -1
- package/apps/web/dist/assets/index-GSl2Rcjy.css +0 -1
- package/apps/web/dist/assets/lock-BoWS-JhN.js +0 -1
|
@@ -553,7 +553,7 @@ export const listSchema = z.object({
|
|
|
553
553
|
check: z.object({ file: z.string().optional(), status: z.string().optional() }).optional(),
|
|
554
554
|
/**
|
|
555
555
|
* The list is the wizard's, not one person's: every run reads and writes the same rows, and
|
|
556
|
-
* the studio shows it under Space →
|
|
556
|
+
* the studio shows it under Space → Data. It is never shown to the person running the wizard,
|
|
557
557
|
* who would see what others gave.
|
|
558
558
|
*/
|
|
559
559
|
shared: z.boolean().optional(),
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
export declare const numberStyleSchema: z.ZodEnum<{
|
|
10
|
-
|
|
10
|
+
currency: "currency";
|
|
11
11
|
decimal: "decimal";
|
|
12
|
+
integer: "integer";
|
|
12
13
|
percent: "percent";
|
|
13
|
-
currency: "currency";
|
|
14
14
|
}>;
|
|
15
15
|
export type NumberStyle = z.infer<typeof numberStyleSchema>;
|
|
16
16
|
export declare const numberFormatSchema: z.ZodObject<{
|
|
@@ -18,10 +18,10 @@ export declare const numberFormatSchema: z.ZodObject<{
|
|
|
18
18
|
fractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
grouping: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
style: z.ZodEnum<{
|
|
21
|
-
|
|
21
|
+
currency: "currency";
|
|
22
22
|
decimal: "decimal";
|
|
23
|
+
integer: "integer";
|
|
23
24
|
percent: "percent";
|
|
24
|
-
currency: "currency";
|
|
25
25
|
}>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
export type NumberFormat = z.infer<typeof numberFormatSchema>;
|
|
@@ -32,10 +32,10 @@ export declare const dateKindSchema: z.ZodEnum<{
|
|
|
32
32
|
}>;
|
|
33
33
|
export type DateKind = z.infer<typeof dateKindSchema>;
|
|
34
34
|
export declare const dateStyleSchema: z.ZodEnum<{
|
|
35
|
-
short: "short";
|
|
36
|
-
medium: "medium";
|
|
37
|
-
long: "long";
|
|
38
35
|
iso: "iso";
|
|
36
|
+
long: "long";
|
|
37
|
+
medium: "medium";
|
|
38
|
+
short: "short";
|
|
39
39
|
}>;
|
|
40
40
|
export type DateStyle = z.infer<typeof dateStyleSchema>;
|
|
41
41
|
/** `hours` is clock time with no minutes — `14` or `14:30` both store as `14:00`. */
|
|
@@ -47,10 +47,10 @@ export declare const timePrecisionSchema: z.ZodEnum<{
|
|
|
47
47
|
export type TimePrecision = z.infer<typeof timePrecisionSchema>;
|
|
48
48
|
export declare const dateFormatSchema: z.ZodObject<{
|
|
49
49
|
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
50
|
-
short: "short";
|
|
51
|
-
medium: "medium";
|
|
52
|
-
long: "long";
|
|
53
50
|
iso: "iso";
|
|
51
|
+
long: "long";
|
|
52
|
+
medium: "medium";
|
|
53
|
+
short: "short";
|
|
54
54
|
}>>;
|
|
55
55
|
kind: z.ZodEnum<{
|
|
56
56
|
date: "date";
|
|
@@ -65,35 +65,35 @@ export declare const dateFormatSchema: z.ZodObject<{
|
|
|
65
65
|
}, z.core.$strip>;
|
|
66
66
|
export type DateFormat = z.infer<typeof dateFormatSchema>;
|
|
67
67
|
export declare const durationUnitSchema: z.ZodEnum<{
|
|
68
|
+
days: "days";
|
|
68
69
|
hours: "hours";
|
|
70
|
+
milliseconds: "milliseconds";
|
|
69
71
|
minutes: "minutes";
|
|
70
72
|
seconds: "seconds";
|
|
71
|
-
milliseconds: "milliseconds";
|
|
72
|
-
days: "days";
|
|
73
73
|
}>;
|
|
74
74
|
export type DurationUnit = z.infer<typeof durationUnitSchema>;
|
|
75
75
|
export declare const durationDisplaySchema: z.ZodEnum<{
|
|
76
|
-
|
|
76
|
+
"decimal-hours": "decimal-hours";
|
|
77
|
+
hms: "hms";
|
|
77
78
|
hours: "hours";
|
|
79
|
+
iso: "iso";
|
|
78
80
|
minutes: "minutes";
|
|
79
|
-
hms: "hms";
|
|
80
|
-
"decimal-hours": "decimal-hours";
|
|
81
81
|
}>;
|
|
82
82
|
export type DurationDisplay = z.infer<typeof durationDisplaySchema>;
|
|
83
83
|
export declare const durationFormatSchema: z.ZodObject<{
|
|
84
84
|
display: z.ZodEnum<{
|
|
85
|
-
|
|
85
|
+
"decimal-hours": "decimal-hours";
|
|
86
|
+
hms: "hms";
|
|
86
87
|
hours: "hours";
|
|
88
|
+
iso: "iso";
|
|
87
89
|
minutes: "minutes";
|
|
88
|
-
hms: "hms";
|
|
89
|
-
"decimal-hours": "decimal-hours";
|
|
90
90
|
}>;
|
|
91
91
|
inputUnit: z.ZodEnum<{
|
|
92
|
+
days: "days";
|
|
92
93
|
hours: "hours";
|
|
94
|
+
milliseconds: "milliseconds";
|
|
93
95
|
minutes: "minutes";
|
|
94
96
|
seconds: "seconds";
|
|
95
|
-
milliseconds: "milliseconds";
|
|
96
|
-
days: "days";
|
|
97
97
|
}>;
|
|
98
98
|
}, z.core.$strip>;
|
|
99
99
|
export type DurationFormat = z.infer<typeof durationFormatSchema>;
|
|
@@ -112,16 +112,16 @@ export declare const selectFormatSchema: z.ZodObject<{
|
|
|
112
112
|
}, z.core.$strip>;
|
|
113
113
|
export type SelectFormat = z.infer<typeof selectFormatSchema>;
|
|
114
114
|
export declare const textStyleSchema: z.ZodEnum<{
|
|
115
|
-
single: "single";
|
|
116
|
-
multiline: "multiline";
|
|
117
115
|
markdown: "markdown";
|
|
116
|
+
multiline: "multiline";
|
|
117
|
+
single: "single";
|
|
118
118
|
}>;
|
|
119
119
|
export type TextStyle = z.infer<typeof textStyleSchema>;
|
|
120
120
|
export declare const textFormatSchema: z.ZodObject<{
|
|
121
121
|
style: z.ZodDefault<z.ZodEnum<{
|
|
122
|
-
single: "single";
|
|
123
|
-
multiline: "multiline";
|
|
124
122
|
markdown: "markdown";
|
|
123
|
+
multiline: "multiline";
|
|
124
|
+
single: "single";
|
|
125
125
|
}>>;
|
|
126
126
|
}, z.core.$strip>;
|
|
127
127
|
export type TextFormat = z.infer<typeof textFormatSchema>;
|
|
@@ -136,9 +136,9 @@ export declare const tableColumnSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
136
136
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
137
137
|
format: z.ZodOptional<z.ZodObject<{
|
|
138
138
|
style: z.ZodDefault<z.ZodEnum<{
|
|
139
|
-
single: "single";
|
|
140
|
-
multiline: "multiline";
|
|
141
139
|
markdown: "markdown";
|
|
140
|
+
multiline: "multiline";
|
|
141
|
+
single: "single";
|
|
142
142
|
}>>;
|
|
143
143
|
}, z.core.$strip>>;
|
|
144
144
|
type: z.ZodLiteral<"text">;
|
|
@@ -156,10 +156,10 @@ export declare const tableColumnSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
156
156
|
fractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
157
157
|
grouping: z.ZodOptional<z.ZodBoolean>;
|
|
158
158
|
style: z.ZodEnum<{
|
|
159
|
-
|
|
159
|
+
currency: "currency";
|
|
160
160
|
decimal: "decimal";
|
|
161
|
+
integer: "integer";
|
|
161
162
|
percent: "percent";
|
|
162
|
-
currency: "currency";
|
|
163
163
|
}>;
|
|
164
164
|
}, z.core.$strip>;
|
|
165
165
|
type: z.ZodLiteral<"number">;
|
|
@@ -174,10 +174,10 @@ export declare const tableColumnSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
174
174
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
175
175
|
format: z.ZodObject<{
|
|
176
176
|
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
177
|
-
short: "short";
|
|
178
|
-
medium: "medium";
|
|
179
|
-
long: "long";
|
|
180
177
|
iso: "iso";
|
|
178
|
+
long: "long";
|
|
179
|
+
medium: "medium";
|
|
180
|
+
short: "short";
|
|
181
181
|
}>>;
|
|
182
182
|
kind: z.ZodEnum<{
|
|
183
183
|
date: "date";
|
|
@@ -202,18 +202,18 @@ export declare const tableColumnSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
202
202
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
203
203
|
format: z.ZodObject<{
|
|
204
204
|
display: z.ZodEnum<{
|
|
205
|
-
|
|
205
|
+
"decimal-hours": "decimal-hours";
|
|
206
|
+
hms: "hms";
|
|
206
207
|
hours: "hours";
|
|
208
|
+
iso: "iso";
|
|
207
209
|
minutes: "minutes";
|
|
208
|
-
hms: "hms";
|
|
209
|
-
"decimal-hours": "decimal-hours";
|
|
210
210
|
}>;
|
|
211
211
|
inputUnit: z.ZodEnum<{
|
|
212
|
+
days: "days";
|
|
212
213
|
hours: "hours";
|
|
214
|
+
milliseconds: "milliseconds";
|
|
213
215
|
minutes: "minutes";
|
|
214
216
|
seconds: "seconds";
|
|
215
|
-
milliseconds: "milliseconds";
|
|
216
|
-
days: "days";
|
|
217
217
|
}>;
|
|
218
218
|
}, z.core.$strip>;
|
|
219
219
|
type: z.ZodLiteral<"duration">;
|
|
@@ -262,9 +262,9 @@ export declare const tableColumnsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Z
|
|
|
262
262
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
263
263
|
format: z.ZodOptional<z.ZodObject<{
|
|
264
264
|
style: z.ZodDefault<z.ZodEnum<{
|
|
265
|
-
single: "single";
|
|
266
|
-
multiline: "multiline";
|
|
267
265
|
markdown: "markdown";
|
|
266
|
+
multiline: "multiline";
|
|
267
|
+
single: "single";
|
|
268
268
|
}>>;
|
|
269
269
|
}, z.core.$strip>>;
|
|
270
270
|
type: z.ZodLiteral<"text">;
|
|
@@ -282,10 +282,10 @@ export declare const tableColumnsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Z
|
|
|
282
282
|
fractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
283
283
|
grouping: z.ZodOptional<z.ZodBoolean>;
|
|
284
284
|
style: z.ZodEnum<{
|
|
285
|
-
|
|
285
|
+
currency: "currency";
|
|
286
286
|
decimal: "decimal";
|
|
287
|
+
integer: "integer";
|
|
287
288
|
percent: "percent";
|
|
288
|
-
currency: "currency";
|
|
289
289
|
}>;
|
|
290
290
|
}, z.core.$strip>;
|
|
291
291
|
type: z.ZodLiteral<"number">;
|
|
@@ -300,10 +300,10 @@ export declare const tableColumnsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Z
|
|
|
300
300
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
301
301
|
format: z.ZodObject<{
|
|
302
302
|
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
303
|
-
short: "short";
|
|
304
|
-
medium: "medium";
|
|
305
|
-
long: "long";
|
|
306
303
|
iso: "iso";
|
|
304
|
+
long: "long";
|
|
305
|
+
medium: "medium";
|
|
306
|
+
short: "short";
|
|
307
307
|
}>>;
|
|
308
308
|
kind: z.ZodEnum<{
|
|
309
309
|
date: "date";
|
|
@@ -328,18 +328,18 @@ export declare const tableColumnsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Z
|
|
|
328
328
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
329
329
|
format: z.ZodObject<{
|
|
330
330
|
display: z.ZodEnum<{
|
|
331
|
-
|
|
331
|
+
"decimal-hours": "decimal-hours";
|
|
332
|
+
hms: "hms";
|
|
332
333
|
hours: "hours";
|
|
334
|
+
iso: "iso";
|
|
333
335
|
minutes: "minutes";
|
|
334
|
-
hms: "hms";
|
|
335
|
-
"decimal-hours": "decimal-hours";
|
|
336
336
|
}>;
|
|
337
337
|
inputUnit: z.ZodEnum<{
|
|
338
|
+
days: "days";
|
|
338
339
|
hours: "hours";
|
|
340
|
+
milliseconds: "milliseconds";
|
|
339
341
|
minutes: "minutes";
|
|
340
342
|
seconds: "seconds";
|
|
341
|
-
milliseconds: "milliseconds";
|
|
342
|
-
days: "days";
|
|
343
343
|
}>;
|
|
344
344
|
}, z.core.$strip>;
|
|
345
345
|
type: z.ZodLiteral<"duration">;
|
|
@@ -397,26 +397,26 @@ export declare const tableColumnWireSchema: z.ZodObject<{
|
|
|
397
397
|
allowCustom: z.ZodOptional<z.ZodBoolean>;
|
|
398
398
|
currency: z.ZodOptional<z.ZodString>;
|
|
399
399
|
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
400
|
-
short: "short";
|
|
401
|
-
medium: "medium";
|
|
402
|
-
long: "long";
|
|
403
400
|
iso: "iso";
|
|
401
|
+
long: "long";
|
|
402
|
+
medium: "medium";
|
|
403
|
+
short: "short";
|
|
404
404
|
}>>;
|
|
405
405
|
display: z.ZodOptional<z.ZodEnum<{
|
|
406
|
-
|
|
406
|
+
"decimal-hours": "decimal-hours";
|
|
407
|
+
hms: "hms";
|
|
407
408
|
hours: "hours";
|
|
409
|
+
iso: "iso";
|
|
408
410
|
minutes: "minutes";
|
|
409
|
-
hms: "hms";
|
|
410
|
-
"decimal-hours": "decimal-hours";
|
|
411
411
|
}>>;
|
|
412
412
|
fractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
413
413
|
grouping: z.ZodOptional<z.ZodBoolean>;
|
|
414
414
|
inputUnit: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
days: "days";
|
|
415
416
|
hours: "hours";
|
|
417
|
+
milliseconds: "milliseconds";
|
|
416
418
|
minutes: "minutes";
|
|
417
419
|
seconds: "seconds";
|
|
418
|
-
milliseconds: "milliseconds";
|
|
419
|
-
days: "days";
|
|
420
420
|
}>>;
|
|
421
421
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
422
422
|
date: "date";
|
|
@@ -429,13 +429,13 @@ export declare const tableColumnWireSchema: z.ZodObject<{
|
|
|
429
429
|
label: z.ZodString;
|
|
430
430
|
}, z.core.$strip>>>;
|
|
431
431
|
style: z.ZodOptional<z.ZodEnum<{
|
|
432
|
-
|
|
432
|
+
currency: "currency";
|
|
433
433
|
decimal: "decimal";
|
|
434
|
+
integer: "integer";
|
|
435
|
+
markdown: "markdown";
|
|
436
|
+
multiline: "multiline";
|
|
434
437
|
percent: "percent";
|
|
435
|
-
currency: "currency";
|
|
436
438
|
single: "single";
|
|
437
|
-
multiline: "multiline";
|
|
438
|
-
markdown: "markdown";
|
|
439
439
|
}>>;
|
|
440
440
|
timePrecision: z.ZodOptional<z.ZodEnum<{
|
|
441
441
|
hours: "hours";
|
|
@@ -447,12 +447,12 @@ export declare const tableColumnWireSchema: z.ZodObject<{
|
|
|
447
447
|
name: z.ZodString;
|
|
448
448
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
449
449
|
type: z.ZodEnum<{
|
|
450
|
-
number: "number";
|
|
451
450
|
boolean: "boolean";
|
|
452
451
|
date: "date";
|
|
453
|
-
text: "text";
|
|
454
452
|
duration: "duration";
|
|
453
|
+
number: "number";
|
|
455
454
|
select: "select";
|
|
455
|
+
text: "text";
|
|
456
456
|
}>;
|
|
457
457
|
}, z.core.$strip>;
|
|
458
458
|
export declare const tableColumnsWireSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -465,26 +465,26 @@ export declare const tableColumnsWireSchema: z.ZodArray<z.ZodObject<{
|
|
|
465
465
|
allowCustom: z.ZodOptional<z.ZodBoolean>;
|
|
466
466
|
currency: z.ZodOptional<z.ZodString>;
|
|
467
467
|
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
468
|
-
short: "short";
|
|
469
|
-
medium: "medium";
|
|
470
|
-
long: "long";
|
|
471
468
|
iso: "iso";
|
|
469
|
+
long: "long";
|
|
470
|
+
medium: "medium";
|
|
471
|
+
short: "short";
|
|
472
472
|
}>>;
|
|
473
473
|
display: z.ZodOptional<z.ZodEnum<{
|
|
474
|
-
|
|
474
|
+
"decimal-hours": "decimal-hours";
|
|
475
|
+
hms: "hms";
|
|
475
476
|
hours: "hours";
|
|
477
|
+
iso: "iso";
|
|
476
478
|
minutes: "minutes";
|
|
477
|
-
hms: "hms";
|
|
478
|
-
"decimal-hours": "decimal-hours";
|
|
479
479
|
}>>;
|
|
480
480
|
fractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
481
481
|
grouping: z.ZodOptional<z.ZodBoolean>;
|
|
482
482
|
inputUnit: z.ZodOptional<z.ZodEnum<{
|
|
483
|
+
days: "days";
|
|
483
484
|
hours: "hours";
|
|
485
|
+
milliseconds: "milliseconds";
|
|
484
486
|
minutes: "minutes";
|
|
485
487
|
seconds: "seconds";
|
|
486
|
-
milliseconds: "milliseconds";
|
|
487
|
-
days: "days";
|
|
488
488
|
}>>;
|
|
489
489
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
490
490
|
date: "date";
|
|
@@ -497,13 +497,13 @@ export declare const tableColumnsWireSchema: z.ZodArray<z.ZodObject<{
|
|
|
497
497
|
label: z.ZodString;
|
|
498
498
|
}, z.core.$strip>>>;
|
|
499
499
|
style: z.ZodOptional<z.ZodEnum<{
|
|
500
|
-
|
|
500
|
+
currency: "currency";
|
|
501
501
|
decimal: "decimal";
|
|
502
|
+
integer: "integer";
|
|
503
|
+
markdown: "markdown";
|
|
504
|
+
multiline: "multiline";
|
|
502
505
|
percent: "percent";
|
|
503
|
-
currency: "currency";
|
|
504
506
|
single: "single";
|
|
505
|
-
multiline: "multiline";
|
|
506
|
-
markdown: "markdown";
|
|
507
507
|
}>>;
|
|
508
508
|
timePrecision: z.ZodOptional<z.ZodEnum<{
|
|
509
509
|
hours: "hours";
|
|
@@ -515,12 +515,12 @@ export declare const tableColumnsWireSchema: z.ZodArray<z.ZodObject<{
|
|
|
515
515
|
name: z.ZodString;
|
|
516
516
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
517
517
|
type: z.ZodEnum<{
|
|
518
|
-
number: "number";
|
|
519
518
|
boolean: "boolean";
|
|
520
519
|
date: "date";
|
|
521
|
-
text: "text";
|
|
522
520
|
duration: "duration";
|
|
521
|
+
number: "number";
|
|
523
522
|
select: "select";
|
|
523
|
+
text: "text";
|
|
524
524
|
}>;
|
|
525
525
|
}, z.core.$strip>>;
|
|
526
526
|
export type TableColumnWire = z.infer<typeof tableColumnWireSchema>;
|
|
@@ -48,21 +48,27 @@ export declare const FEATURES: {
|
|
|
48
48
|
readonly brandSections: {
|
|
49
49
|
readonly kind: "release";
|
|
50
50
|
readonly default: false;
|
|
51
|
-
readonly label: "Sections in Info &
|
|
51
|
+
readonly label: "Sections in Info & brand";
|
|
52
52
|
readonly hint: "Sections of logos and of colours, gradients and patterns among them.";
|
|
53
53
|
};
|
|
54
54
|
readonly brandRules: {
|
|
55
55
|
readonly kind: "release";
|
|
56
56
|
readonly default: false;
|
|
57
|
-
readonly label: "Rules in Info &
|
|
57
|
+
readonly label: "Rules in Info & brand";
|
|
58
58
|
readonly hint: "Rules for how the logos, the colours and the type may be used.";
|
|
59
59
|
};
|
|
60
60
|
readonly typography: {
|
|
61
61
|
readonly kind: "release";
|
|
62
62
|
readonly default: false;
|
|
63
|
-
readonly label: "Typography in Info &
|
|
63
|
+
readonly label: "Typography in Info & brand";
|
|
64
64
|
readonly hint: "The brand's fonts, their licences and a type scale.";
|
|
65
65
|
};
|
|
66
|
+
readonly goose: {
|
|
67
|
+
readonly kind: "release";
|
|
68
|
+
readonly default: false;
|
|
69
|
+
readonly label: "Goose";
|
|
70
|
+
readonly hint: "The studio's assistant: its chat at the foot of the page and in the sidebar.";
|
|
71
|
+
};
|
|
66
72
|
readonly ownKeys: {
|
|
67
73
|
readonly kind: "plan";
|
|
68
74
|
readonly default: true;
|
|
@@ -40,21 +40,27 @@ export const FEATURES = {
|
|
|
40
40
|
brandSections: {
|
|
41
41
|
kind: "release",
|
|
42
42
|
default: false,
|
|
43
|
-
label: "Sections in Info &
|
|
43
|
+
label: "Sections in Info & brand",
|
|
44
44
|
hint: "Sections of logos and of colours, gradients and patterns among them.",
|
|
45
45
|
},
|
|
46
46
|
brandRules: {
|
|
47
47
|
kind: "release",
|
|
48
48
|
default: false,
|
|
49
|
-
label: "Rules in Info &
|
|
49
|
+
label: "Rules in Info & brand",
|
|
50
50
|
hint: "Rules for how the logos, the colours and the type may be used.",
|
|
51
51
|
},
|
|
52
52
|
typography: {
|
|
53
53
|
kind: "release",
|
|
54
54
|
default: false,
|
|
55
|
-
label: "Typography in Info &
|
|
55
|
+
label: "Typography in Info & brand",
|
|
56
56
|
hint: "The brand's fonts, their licences and a type scale.",
|
|
57
57
|
},
|
|
58
|
+
goose: {
|
|
59
|
+
kind: "release",
|
|
60
|
+
default: false,
|
|
61
|
+
label: "Goose",
|
|
62
|
+
hint: "The studio's assistant: its chat at the foot of the page and in the sidebar.",
|
|
63
|
+
},
|
|
58
64
|
ownKeys: {
|
|
59
65
|
kind: "plan",
|
|
60
66
|
default: true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Knowledge: what a space holds for its wizards' steps to look up. Pages (Markdown, with sub-pages),
|
|
4
4
|
* tables (typed columns; FAQ is a format of one) and files that could not be read into either.
|
|
5
|
-
*
|
|
5
|
+
* Categories run across all of them: typed properties a step filters on before it searches.
|
|
6
6
|
*/
|
|
7
7
|
export declare const CATEGORY_TYPES: readonly ["choice", "date", "number", "text", "boolean"];
|
|
8
8
|
export type CategoryType = (typeof CATEGORY_TYPES)[number];
|
|
9
|
-
/** A value of a choice, how many items have it, and whether it has
|
|
9
|
+
/** A value of a choice, how many items have it, and whether it has a summary. */
|
|
10
10
|
export interface CategoryValueInfo {
|
|
11
11
|
id: string;
|
|
12
12
|
value: string;
|
|
@@ -46,17 +46,17 @@ export interface SpaceCategory {
|
|
|
46
46
|
}
|
|
47
47
|
/** A value as an item has it: a choice's value, a date as `YYYY-MM-DD`, a number, a text, yes/no. */
|
|
48
48
|
export type CategoryCell = string | number | boolean;
|
|
49
|
-
/** What an item has of one
|
|
49
|
+
/** What an item has of one category. */
|
|
50
50
|
export interface ItemCategory {
|
|
51
51
|
categoryId: string;
|
|
52
52
|
/** A choice with several values has several. */
|
|
53
53
|
values: CategoryCell[];
|
|
54
54
|
by: "person" | "origin" | "model";
|
|
55
55
|
}
|
|
56
|
-
/** What a writer sets: by the
|
|
56
|
+
/** What a writer sets: by the category's name; a list for a choice with several values. */
|
|
57
57
|
export type CategoryInput = Record<string, CategoryCell | CategoryCell[] | null>;
|
|
58
58
|
export type KnowledgeKind = "page" | "table" | "file";
|
|
59
|
-
/** An item of
|
|
59
|
+
/** An item of Knowledge, as lists show it. Sub-pages stand under their page, not in the list. */
|
|
60
60
|
export interface KnowledgeItem {
|
|
61
61
|
/** `p:<id>`, `t:<id>`, `f:<id>`. */
|
|
62
62
|
key: string;
|
|
@@ -92,7 +92,7 @@ export interface Knowledge {
|
|
|
92
92
|
/** A classifier checks what a search found. */
|
|
93
93
|
checked: boolean;
|
|
94
94
|
}
|
|
95
|
-
/** A value of a choice, opened: its
|
|
95
|
+
/** A value of a choice, opened: its summary and its table of contents, the items that have it. */
|
|
96
96
|
export interface KnowledgeValue {
|
|
97
97
|
id: string;
|
|
98
98
|
value: string;
|
|
@@ -111,7 +111,7 @@ export interface KnowledgeValue {
|
|
|
111
111
|
count: number;
|
|
112
112
|
}[];
|
|
113
113
|
}
|
|
114
|
-
/** A page with what
|
|
114
|
+
/** A page with what Knowledge knows about it, as the studio opens it. */
|
|
115
115
|
export interface KnowledgePage {
|
|
116
116
|
id: string;
|
|
117
117
|
path: string;
|
|
@@ -137,7 +137,7 @@ export interface KnowledgePage {
|
|
|
137
137
|
} | null;
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
-
* A filter on one
|
|
140
|
+
* A filter on one category: a value (a choice is it, a text equals it, yes/no), one of several,
|
|
141
141
|
* or a range — numbers by `gte`/`lte`, dates by `after`/`before` (`YYYY-MM-DD`, both ends
|
|
142
142
|
* included), a text by `contains`, an ordered choice by `atLeast`.
|
|
143
143
|
*/
|
|
@@ -150,7 +150,7 @@ export declare const whereValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNu
|
|
|
150
150
|
atLeast: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, z.core.$strict>]>;
|
|
152
152
|
export type WhereValue = z.infer<typeof whereValueSchema>;
|
|
153
|
-
/** Filters by the
|
|
153
|
+
/** Filters by the category's name; an item matches all of them. */
|
|
154
154
|
export declare const whereSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>, z.ZodObject<{
|
|
155
155
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
156
156
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
@@ -161,15 +161,15 @@ export declare const whereSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [
|
|
|
161
161
|
}, z.core.$strict>]>>;
|
|
162
162
|
export type Where = z.infer<typeof whereSchema>;
|
|
163
163
|
export interface KnowledgeHit {
|
|
164
|
-
/** `p:<id>`, `t:<id>` (a row of it), `f:<id>`, `v:<id>` (a value's
|
|
165
|
-
* document read before
|
|
164
|
+
/** `p:<id>`, `t:<id>` (a row of it), `f:<id>`, `v:<id>` (a value's summary), `d:<id>` (a
|
|
165
|
+
* document read before Knowledge had pages), `x:<plugin>:<key>` (a plugin's text). */
|
|
166
166
|
key: string;
|
|
167
167
|
kind: KnowledgeKind | "summary" | "document" | "plugin";
|
|
168
168
|
/** What the studio opens for it: `p:`, `t:` (a row's table), `f:`, `v:`; null for a plugin's text. */
|
|
169
169
|
open: string | null;
|
|
170
170
|
path: string;
|
|
171
171
|
title: string;
|
|
172
|
-
/** The
|
|
172
|
+
/** The categories as `name: value`. */
|
|
173
173
|
categories: string[];
|
|
174
174
|
/** The best section's headings, outermost first, joined by " › ". */
|
|
175
175
|
heading: string | null;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Knowledge: what a space holds for its wizards' steps to look up. Pages (Markdown, with sub-pages),
|
|
4
4
|
* tables (typed columns; FAQ is a format of one) and files that could not be read into either.
|
|
5
|
-
*
|
|
5
|
+
* Categories run across all of them: typed properties a step filters on before it searches.
|
|
6
6
|
*/
|
|
7
7
|
export const CATEGORY_TYPES = ["choice", "date", "number", "text", "boolean"];
|
|
8
8
|
// --- filters --------------------------------------------------------------------
|
|
9
9
|
/**
|
|
10
|
-
* A filter on one
|
|
10
|
+
* A filter on one category: a value (a choice is it, a text equals it, yes/no), one of several,
|
|
11
11
|
* or a range — numbers by `gte`/`lte`, dates by `after`/`before` (`YYYY-MM-DD`, both ends
|
|
12
12
|
* included), a text by `contains`, an ordered choice by `atLeast`.
|
|
13
13
|
*/
|
|
@@ -27,7 +27,7 @@ export const whereValueSchema = z.union([
|
|
|
27
27
|
})
|
|
28
28
|
.strict(),
|
|
29
29
|
]);
|
|
30
|
-
/** Filters by the
|
|
30
|
+
/** Filters by the category's name; an item matches all of them. */
|
|
31
31
|
export const whereSchema = z.record(z.string().max(120), whereValueSchema);
|
|
32
32
|
/** A day as `YYYY-MM-DD` from what a person or a source wrote: ISO, `14.03.2026`, a timestamp. */
|
|
33
33
|
export function dayOf(value) {
|
|
@@ -211,10 +211,10 @@ export declare const MARKETPLACE_PLANS: {
|
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
export type MarketplacePlan = keyof typeof MARKETPLACE_PLANS;
|
|
214
|
-
export declare const ITEM_FORMAT_IDS: ("
|
|
215
|
-
export declare const INDUSTRY_IDS: ("
|
|
216
|
-
export declare const USE_CASE_IDS: ("
|
|
217
|
-
export declare const CAPABILITY_IDS: ("
|
|
214
|
+
export declare const ITEM_FORMAT_IDS: ("audio" | "dashboard" | "document" | "image" | "table" | "text" | "video")[];
|
|
215
|
+
export declare const INDUSTRY_IDS: ("agency" | "any" | "events" | "gastronomy" | "health" | "hospitality" | "professional" | "publicSector" | "realEstate" | "retail" | "trades")[];
|
|
216
|
+
export declare const USE_CASE_IDS: ("accounting" | "advice" | "hr" | "inquiries" | "marketing" | "operations" | "research" | "sales" | "service" | "visuals" | "website")[];
|
|
217
|
+
export declare const CAPABILITY_IDS: ("browser" | "code" | "connectors" | "documents" | "film" | "image" | "listening" | "speech" | "text" | "video" | "web")[];
|
|
218
218
|
export declare const MARKETPLACE_PLAN_IDS: ("free" | "pro")[];
|
|
219
219
|
/** The formats a run hands over, read from what the result step offers. */
|
|
220
220
|
export declare function formatsOf(def: WizardDefinition): ItemFormat[];
|
|
@@ -46,7 +46,7 @@ export interface SpaceTable {
|
|
|
46
46
|
rows: SpaceTableRow[];
|
|
47
47
|
/** The space is not changed here: a local install's, or nothing is built on this runtime. */
|
|
48
48
|
readOnly: boolean;
|
|
49
|
-
/** A table of
|
|
49
|
+
/** A table of Knowledge (the space's own): where it came from and its categories. */
|
|
50
50
|
knowledge: {
|
|
51
51
|
path: string;
|
|
52
52
|
categories: ItemCategory[];
|
|
@@ -69,7 +69,7 @@ export interface SpacePage {
|
|
|
69
69
|
markdown: string;
|
|
70
70
|
updatedAt: string;
|
|
71
71
|
readOnly: boolean;
|
|
72
|
-
/** A page of
|
|
72
|
+
/** A page of Knowledge (the space's own): where it stands, its sub-pages, its categories. */
|
|
73
73
|
knowledge: KnowledgePage | null;
|
|
74
74
|
}
|
|
75
75
|
export declare const SPACE_DATA_LIMITS: {
|
|
@@ -18,21 +18,21 @@ export declare const SURFACE_ACTIONS: readonly ["regenerate", "open"];
|
|
|
18
18
|
export declare const surfaceComponentSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
component: z.ZodEnum<{
|
|
21
|
+
Actions: "Actions";
|
|
22
|
+
Badge: "Badge";
|
|
23
|
+
BarChart: "BarChart";
|
|
24
|
+
Button: "Button";
|
|
21
25
|
Column: "Column";
|
|
22
|
-
Text: "Text";
|
|
23
|
-
List: "List";
|
|
24
|
-
Row: "Row";
|
|
25
26
|
DetailGrid: "DetailGrid";
|
|
26
|
-
|
|
27
|
+
DonutChart: "DonutChart";
|
|
27
28
|
Grid: "Grid";
|
|
28
|
-
Metric: "Metric";
|
|
29
|
-
Table: "Table";
|
|
30
29
|
Image: "Image";
|
|
31
|
-
BarChart: "BarChart";
|
|
32
30
|
LineChart: "LineChart";
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
List: "List";
|
|
32
|
+
Metric: "Metric";
|
|
33
|
+
Row: "Row";
|
|
34
|
+
Table: "Table";
|
|
35
|
+
Text: "Text";
|
|
36
36
|
}>;
|
|
37
37
|
children: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
38
38
|
path: z.ZodString;
|
|
@@ -43,21 +43,21 @@ export type SurfaceComponent = z.infer<typeof surfaceComponentSchema>;
|
|
|
43
43
|
export declare const surfaceComponentsSchema: z.ZodArray<z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
45
45
|
component: z.ZodEnum<{
|
|
46
|
+
Actions: "Actions";
|
|
47
|
+
Badge: "Badge";
|
|
48
|
+
BarChart: "BarChart";
|
|
49
|
+
Button: "Button";
|
|
46
50
|
Column: "Column";
|
|
47
|
-
Text: "Text";
|
|
48
|
-
List: "List";
|
|
49
|
-
Row: "Row";
|
|
50
51
|
DetailGrid: "DetailGrid";
|
|
51
|
-
|
|
52
|
+
DonutChart: "DonutChart";
|
|
52
53
|
Grid: "Grid";
|
|
53
|
-
Metric: "Metric";
|
|
54
|
-
Table: "Table";
|
|
55
54
|
Image: "Image";
|
|
56
|
-
BarChart: "BarChart";
|
|
57
55
|
LineChart: "LineChart";
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
List: "List";
|
|
57
|
+
Metric: "Metric";
|
|
58
|
+
Row: "Row";
|
|
59
|
+
Table: "Table";
|
|
60
|
+
Text: "Text";
|
|
61
61
|
}>;
|
|
62
62
|
children: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
63
63
|
path: z.ZodString;
|