@wise/dynamic-flow-types 3.0.0-experimental-dde19b5 → 3.0.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/build/main.js +414 -394
- package/build/main.min.js +1 -1
- package/build/main.mjs +414 -394
- package/build/next/feature/ActionBehavior.d.ts +14 -0
- package/build/next/feature/Behavior.d.ts +5 -15
- package/build/next/feature/ContainerBehavior.d.ts +9 -0
- package/build/next/feature/LinkBehavior.d.ts +13 -0
- package/build/next/feature/LinkHandler.d.ts +21 -17
- package/build/next/feature/Polling.d.ts +4 -5
- package/build/next/feature/PollingOnError.d.ts +7 -1
- package/build/next/feature/SummarySummariser.d.ts +2 -2
- package/build/next/index.d.ts +1 -0
- package/build/next/layout/ButtonLayout.d.ts +10 -4
- package/build/next/layout/DecisionLayoutOption.d.ts +9 -3
- package/build/next/layout/ImageLayout.d.ts +13 -7
- package/build/next/layout/ReviewLayoutCallToAction.d.ts +12 -2
- package/build/next/misc/Image.d.ts +8 -3
- package/build/next/responses/search/SearchResultAction.d.ts +2 -2
- package/build/next/responses/search/SearchResultSearch.d.ts +2 -2
- package/build/renderers/AlertRendererProps.d.ts +0 -3
- package/build/renderers/BaseInputRendererProps.d.ts +2 -3
- package/build/renderers/BoxRendererProps.d.ts +0 -3
- package/build/renderers/ButtonRendererProps.d.ts +0 -1
- package/build/renderers/CheckboxInputRendererProps.d.ts +2 -5
- package/build/renderers/ColumnsRendererProps.d.ts +0 -3
- package/build/renderers/CoreContainerRendererProps.d.ts +2 -5
- package/build/renderers/DateInputRendererProps.d.ts +0 -3
- package/build/renderers/DecisionRendererProps.d.ts +0 -3
- package/build/renderers/DividerRendererProps.d.ts +0 -3
- package/build/renderers/FormRendererProps.d.ts +0 -3
- package/build/renderers/HeadingRendererProps.d.ts +0 -1
- package/build/renderers/HiddenRendererProps.d.ts +0 -3
- package/build/renderers/Image.d.ts +3 -13
- package/build/renderers/ImageRendererProps.d.ts +1 -8
- package/build/renderers/InstructionsRendererProps.d.ts +0 -3
- package/build/renderers/IntegerInputRendererProps.d.ts +0 -5
- package/build/renderers/ListRendererProps.d.ts +4 -7
- package/build/renderers/LoadingIndicatorRendererProps.d.ts +0 -3
- package/build/renderers/MarkdownRendererProps.d.ts +0 -3
- package/build/renderers/ModalRendererProps.d.ts +0 -3
- package/build/renderers/MultiSelectInputRendererProps.d.ts +0 -5
- package/build/renderers/MultiUploadInputRendererProps.d.ts +0 -4
- package/build/renderers/NumberInputRendererProps.d.ts +0 -5
- package/build/renderers/ParagraphRendererProps.d.ts +0 -1
- package/build/renderers/RendererProps.d.ts +0 -3
- package/build/renderers/RepeatableRendererProps.d.ts +0 -6
- package/build/renderers/ReviewRendererProps.d.ts +0 -3
- package/build/renderers/SearchRendererProps.d.ts +3 -7
- package/build/renderers/SectionRendererProps.d.ts +0 -3
- package/build/renderers/SelectInputRendererProps.d.ts +0 -3
- package/build/renderers/StatusListRendererProps.d.ts +0 -3
- package/build/renderers/StepRendererProps.d.ts +13 -1
- package/build/renderers/TextInputRendererProps.d.ts +0 -3
- package/build/renderers/UploadInputRendererProps.d.ts +0 -3
- package/build/zod/schemas.d.ts +6628 -2724
- package/build/zod/schemas.ts +534 -511
- package/package.json +1 -1
package/build/main.mjs
CHANGED
|
@@ -3953,15 +3953,48 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
3953
3953
|
// src/zod/schemas.ts
|
|
3954
3954
|
var imageSchema = z.object({
|
|
3955
3955
|
text: z.string().optional(),
|
|
3956
|
-
url: z.string(),
|
|
3956
|
+
url: z.string().optional(),
|
|
3957
|
+
uri: z.string().optional(),
|
|
3957
3958
|
accessibilityDescription: z.string().optional()
|
|
3958
3959
|
});
|
|
3959
|
-
var
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3960
|
+
var httpMethodSchema = z.union([
|
|
3961
|
+
z.literal("GET"),
|
|
3962
|
+
z.literal("POST"),
|
|
3963
|
+
z.literal("PUT"),
|
|
3964
|
+
z.literal("PATCH"),
|
|
3965
|
+
z.literal("DELETE")
|
|
3966
|
+
]);
|
|
3967
|
+
var iconNamedSchema = z.object({
|
|
3968
|
+
name: z.string()
|
|
3964
3969
|
});
|
|
3970
|
+
var contextSchema = z.union([
|
|
3971
|
+
z.literal("positive"),
|
|
3972
|
+
z.literal("neutral"),
|
|
3973
|
+
z.literal("warning"),
|
|
3974
|
+
z.literal("negative"),
|
|
3975
|
+
z.literal("success"),
|
|
3976
|
+
z.literal("failure"),
|
|
3977
|
+
z.literal("info"),
|
|
3978
|
+
z.literal("primary")
|
|
3979
|
+
]);
|
|
3980
|
+
var iconTextSchema = z.object({
|
|
3981
|
+
text: z.string()
|
|
3982
|
+
});
|
|
3983
|
+
var sizeSchema = z.union([
|
|
3984
|
+
z.literal("xs"),
|
|
3985
|
+
z.literal("sm"),
|
|
3986
|
+
z.literal("md"),
|
|
3987
|
+
z.literal("lg"),
|
|
3988
|
+
z.literal("xl")
|
|
3989
|
+
]);
|
|
3990
|
+
var autocapitalizationTypeSchema = z.union([
|
|
3991
|
+
z.literal("none"),
|
|
3992
|
+
z.literal("characters"),
|
|
3993
|
+
z.literal("sentences"),
|
|
3994
|
+
z.literal("words")
|
|
3995
|
+
]);
|
|
3996
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3997
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
3965
3998
|
var autocompleteTokenSchema = z.union([
|
|
3966
3999
|
z.literal("on"),
|
|
3967
4000
|
z.literal("name"),
|
|
@@ -4027,93 +4060,12 @@ var autocompleteTokenSchema = z.union([
|
|
|
4027
4060
|
z.literal("fax"),
|
|
4028
4061
|
z.literal("pager")
|
|
4029
4062
|
]);
|
|
4030
|
-
var
|
|
4031
|
-
|
|
4032
|
-
});
|
|
4033
|
-
var jsonElementSchema = z.lazy(
|
|
4034
|
-
() => z.union([
|
|
4035
|
-
z.string(),
|
|
4036
|
-
z.number(),
|
|
4037
|
-
z.boolean(),
|
|
4038
|
-
z.record(jsonElementSchema),
|
|
4039
|
-
z.array(jsonElementSchema)
|
|
4040
|
-
]).nullable()
|
|
4041
|
-
);
|
|
4042
|
-
var stringSchemaFormatSchema = z.union([
|
|
4043
|
-
z.literal("date"),
|
|
4044
|
-
z.literal("email"),
|
|
4045
|
-
z.literal("numeric"),
|
|
4046
|
-
z.literal("password"),
|
|
4047
|
-
z.literal("phone-number"),
|
|
4048
|
-
z.literal("base64url")
|
|
4049
|
-
]);
|
|
4050
|
-
var autocapitalizationTypeSchema = z.union([
|
|
4051
|
-
z.literal("none"),
|
|
4052
|
-
z.literal("characters"),
|
|
4053
|
-
z.literal("sentences"),
|
|
4054
|
-
z.literal("words")
|
|
4055
|
-
]);
|
|
4056
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4057
|
-
var externalSchema = z.object({
|
|
4058
|
-
url: z.string()
|
|
4059
|
-
});
|
|
4060
|
-
var stepErrorSchema = z.object({
|
|
4061
|
-
error: z.string().optional(),
|
|
4062
|
-
validation: jsonElementSchema.optional()
|
|
4063
|
-
});
|
|
4064
|
-
var iconNamedSchema = z.object({
|
|
4065
|
-
name: z.string()
|
|
4066
|
-
});
|
|
4067
|
-
var iconTextSchema = z.object({
|
|
4068
|
-
text: z.string()
|
|
4069
|
-
});
|
|
4070
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
4071
|
-
var httpMethodSchema = z.union([
|
|
4072
|
-
z.literal("GET"),
|
|
4073
|
-
z.literal("POST"),
|
|
4074
|
-
z.literal("PUT"),
|
|
4075
|
-
z.literal("PATCH"),
|
|
4076
|
-
z.literal("DELETE")
|
|
4077
|
-
]);
|
|
4078
|
-
var sizeSchema = z.union([
|
|
4079
|
-
z.literal("xs"),
|
|
4080
|
-
z.literal("sm"),
|
|
4081
|
-
z.literal("md"),
|
|
4082
|
-
z.literal("lg"),
|
|
4083
|
-
z.literal("xl")
|
|
4084
|
-
]);
|
|
4085
|
-
var contextSchema = z.union([
|
|
4086
|
-
z.literal("positive"),
|
|
4087
|
-
z.literal("neutral"),
|
|
4088
|
-
z.literal("warning"),
|
|
4089
|
-
z.literal("negative"),
|
|
4090
|
-
z.literal("success"),
|
|
4091
|
-
z.literal("failure"),
|
|
4092
|
-
z.literal("info"),
|
|
4093
|
-
z.literal("primary")
|
|
4094
|
-
]);
|
|
4095
|
-
var imageLayoutSchema = z.object({
|
|
4096
|
-
type: z.literal("image"),
|
|
4097
|
-
text: z.string().optional(),
|
|
4098
|
-
url: z.string(),
|
|
4063
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
4064
|
+
type: z.literal("loading-indicator"),
|
|
4099
4065
|
size: sizeSchema.optional(),
|
|
4100
|
-
accessibilityDescription: z.string().optional(),
|
|
4101
4066
|
control: z.string().optional(),
|
|
4102
4067
|
margin: sizeSchema.optional()
|
|
4103
4068
|
});
|
|
4104
|
-
var searchSearchRequestSchema = z.object({
|
|
4105
|
-
url: z.string(),
|
|
4106
|
-
method: httpMethodSchema,
|
|
4107
|
-
param: z.string(),
|
|
4108
|
-
query: z.string()
|
|
4109
|
-
});
|
|
4110
|
-
var errorResponseBodySchema = z.object({
|
|
4111
|
-
refreshFormUrl: z.string().optional(),
|
|
4112
|
-
analytics: z.record(z.string()).optional(),
|
|
4113
|
-
error: z.string().optional(),
|
|
4114
|
-
validation: jsonElementSchema.optional(),
|
|
4115
|
-
refreshUrl: z.string().optional()
|
|
4116
|
-
});
|
|
4117
4069
|
var paragraphLayoutSchema = z.object({
|
|
4118
4070
|
type: z.literal("paragraph"),
|
|
4119
4071
|
text: z.string(),
|
|
@@ -4121,29 +4073,49 @@ var paragraphLayoutSchema = z.object({
|
|
|
4121
4073
|
control: z.string().optional(),
|
|
4122
4074
|
margin: sizeSchema.optional()
|
|
4123
4075
|
});
|
|
4124
|
-
var
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4076
|
+
var dividerLayoutSchema = z.object({
|
|
4077
|
+
type: z.literal("divider"),
|
|
4078
|
+
control: z.string().optional(),
|
|
4079
|
+
margin: sizeSchema.optional()
|
|
4128
4080
|
});
|
|
4129
|
-
var
|
|
4130
|
-
z.literal("
|
|
4131
|
-
z.literal("
|
|
4132
|
-
z.literal("
|
|
4081
|
+
var listLayoutStatusSchema = z.union([
|
|
4082
|
+
z.literal("warning"),
|
|
4083
|
+
z.literal("neutral"),
|
|
4084
|
+
z.literal("positive")
|
|
4133
4085
|
]);
|
|
4134
4086
|
var formLayoutSchemaReferenceSchema = z.object({
|
|
4135
4087
|
$ref: z.string()
|
|
4136
4088
|
});
|
|
4137
|
-
var
|
|
4138
|
-
type: z.literal("
|
|
4139
|
-
text: z.string(),
|
|
4089
|
+
var imageLayoutSchema = z.object({
|
|
4090
|
+
type: z.literal("image"),
|
|
4091
|
+
text: z.string().optional(),
|
|
4092
|
+
url: z.string().optional(),
|
|
4093
|
+
accessibilityDescription: z.string().optional(),
|
|
4094
|
+
content: imageSchema.optional(),
|
|
4140
4095
|
size: sizeSchema.optional(),
|
|
4141
|
-
align: alignSchema.optional(),
|
|
4142
4096
|
control: z.string().optional(),
|
|
4143
4097
|
margin: sizeSchema.optional()
|
|
4144
4098
|
});
|
|
4145
|
-
var
|
|
4146
|
-
|
|
4099
|
+
var statusListLayoutStatusSchema = z.union([
|
|
4100
|
+
z.literal("not-done"),
|
|
4101
|
+
z.literal("pending"),
|
|
4102
|
+
z.literal("done")
|
|
4103
|
+
]);
|
|
4104
|
+
var instructionsLayoutItemSchema = z.object({
|
|
4105
|
+
text: z.string(),
|
|
4106
|
+
context: contextSchema,
|
|
4107
|
+
tag: z.string().optional()
|
|
4108
|
+
});
|
|
4109
|
+
var modalLayoutTriggerSchema = z.object({
|
|
4110
|
+
title: z.string()
|
|
4111
|
+
});
|
|
4112
|
+
var searchLayoutSchema = z.object({
|
|
4113
|
+
type: z.literal("search"),
|
|
4114
|
+
title: z.string(),
|
|
4115
|
+
method: httpMethodSchema,
|
|
4116
|
+
url: z.string(),
|
|
4117
|
+
param: z.string(),
|
|
4118
|
+
emptyMessage: z.string().optional(),
|
|
4147
4119
|
control: z.string().optional(),
|
|
4148
4120
|
margin: sizeSchema.optional()
|
|
4149
4121
|
});
|
|
@@ -4154,16 +4126,18 @@ var infoLayoutSchema = z.object({
|
|
|
4154
4126
|
control: z.string().optional(),
|
|
4155
4127
|
margin: sizeSchema.optional()
|
|
4156
4128
|
});
|
|
4157
|
-
var
|
|
4158
|
-
type: z.literal("
|
|
4159
|
-
|
|
4160
|
-
|
|
4129
|
+
var formLayoutSchema = z.object({
|
|
4130
|
+
type: z.literal("form"),
|
|
4131
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
4132
|
+
schemaId: z.string(),
|
|
4161
4133
|
control: z.string().optional(),
|
|
4162
4134
|
margin: sizeSchema.optional()
|
|
4163
4135
|
});
|
|
4164
|
-
var
|
|
4165
|
-
type: z.literal("
|
|
4136
|
+
var headingLayoutSchema = z.object({
|
|
4137
|
+
type: z.literal("heading"),
|
|
4138
|
+
text: z.string(),
|
|
4166
4139
|
size: sizeSchema.optional(),
|
|
4140
|
+
align: alignSchema.optional(),
|
|
4167
4141
|
control: z.string().optional(),
|
|
4168
4142
|
margin: sizeSchema.optional()
|
|
4169
4143
|
});
|
|
@@ -4174,68 +4148,87 @@ var markdownLayoutSchema = z.object({
|
|
|
4174
4148
|
control: z.string().optional(),
|
|
4175
4149
|
margin: sizeSchema.optional()
|
|
4176
4150
|
});
|
|
4177
|
-
var
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4151
|
+
var columnsLayoutBiasSchema = z.union([
|
|
4152
|
+
z.literal("none"),
|
|
4153
|
+
z.literal("left"),
|
|
4154
|
+
z.literal("right")
|
|
4155
|
+
]);
|
|
4156
|
+
var helpSchema = z.object({
|
|
4157
|
+
markdown: z.string()
|
|
4158
|
+
});
|
|
4159
|
+
var searchSearchRequestSchema = z.object({
|
|
4181
4160
|
url: z.string(),
|
|
4161
|
+
method: httpMethodSchema,
|
|
4182
4162
|
param: z.string(),
|
|
4183
|
-
|
|
4184
|
-
control: z.string().optional(),
|
|
4185
|
-
margin: sizeSchema.optional()
|
|
4163
|
+
query: z.string()
|
|
4186
4164
|
});
|
|
4187
|
-
var
|
|
4188
|
-
|
|
4165
|
+
var jsonElementSchema = z.lazy(
|
|
4166
|
+
() => z.union([
|
|
4167
|
+
z.string(),
|
|
4168
|
+
z.number(),
|
|
4169
|
+
z.boolean(),
|
|
4170
|
+
z.record(jsonElementSchema),
|
|
4171
|
+
z.array(jsonElementSchema)
|
|
4172
|
+
]).nullable()
|
|
4173
|
+
);
|
|
4174
|
+
var externalSchema = z.object({
|
|
4175
|
+
url: z.string()
|
|
4189
4176
|
});
|
|
4190
|
-
var
|
|
4191
|
-
z.
|
|
4192
|
-
|
|
4193
|
-
z.literal("positive")
|
|
4194
|
-
]);
|
|
4195
|
-
var reviewLayoutFieldSchema = z.object({
|
|
4196
|
-
label: z.string(),
|
|
4197
|
-
value: z.string(),
|
|
4198
|
-
rawValue: z.string().optional(),
|
|
4199
|
-
help: helpSchema.optional(),
|
|
4200
|
-
tag: z.string().optional()
|
|
4177
|
+
var stepErrorSchema = z.object({
|
|
4178
|
+
error: z.string().optional(),
|
|
4179
|
+
validation: jsonElementSchema.optional()
|
|
4201
4180
|
});
|
|
4202
|
-
var
|
|
4203
|
-
z.literal("
|
|
4204
|
-
z.literal("
|
|
4205
|
-
z.literal("
|
|
4181
|
+
var stringSchemaFormatSchema = z.union([
|
|
4182
|
+
z.literal("date"),
|
|
4183
|
+
z.literal("email"),
|
|
4184
|
+
z.literal("numeric"),
|
|
4185
|
+
z.literal("password"),
|
|
4186
|
+
z.literal("phone-number"),
|
|
4187
|
+
z.literal("base64url")
|
|
4206
4188
|
]);
|
|
4207
|
-
var
|
|
4208
|
-
|
|
4189
|
+
var summarySummariserSchema = z.object({
|
|
4190
|
+
defaultTitle: z.string().optional(),
|
|
4191
|
+
defaultDescription: z.string().optional(),
|
|
4192
|
+
defaultIcon: iconSchema.optional(),
|
|
4193
|
+
defaultImage: imageSchema.optional(),
|
|
4194
|
+
providesTitle: z.boolean().optional(),
|
|
4195
|
+
providesDescription: z.boolean().optional(),
|
|
4196
|
+
providesIcon: z.boolean().optional(),
|
|
4197
|
+
providesImage: z.boolean().optional()
|
|
4209
4198
|
});
|
|
4210
|
-
var actionTypeSchema = z.union([
|
|
4211
|
-
z.literal("primary"),
|
|
4212
|
-
z.literal("secondary"),
|
|
4213
|
-
z.literal("link"),
|
|
4214
|
-
z.literal("positive"),
|
|
4215
|
-
z.literal("negative")
|
|
4216
|
-
]);
|
|
4217
|
-
var navigationStackBehaviorSchema = z.union([
|
|
4218
|
-
z.literal("default"),
|
|
4219
|
-
z.literal("remove-previous"),
|
|
4220
|
-
z.literal("remove-all"),
|
|
4221
|
-
z.literal("replace-current")
|
|
4222
|
-
]);
|
|
4223
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
4224
4199
|
var validateAsyncSchema = z.object({
|
|
4225
4200
|
param: z.string(),
|
|
4226
4201
|
method: httpMethodSchema,
|
|
4227
4202
|
url: z.string()
|
|
4228
4203
|
});
|
|
4229
|
-
var
|
|
4230
|
-
defaultTitle: z.string().optional(),
|
|
4231
|
-
defaultDescription: z.string().optional(),
|
|
4232
|
-
defaultIcon: iconSchema.optional(),
|
|
4233
|
-
defaultImage: imageLayoutSchema.optional(),
|
|
4204
|
+
var summaryProviderSchema = z.object({
|
|
4234
4205
|
providesTitle: z.boolean().optional(),
|
|
4235
4206
|
providesDescription: z.boolean().optional(),
|
|
4236
4207
|
providesIcon: z.boolean().optional(),
|
|
4237
4208
|
providesImage: z.boolean().optional()
|
|
4238
4209
|
});
|
|
4210
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4211
|
+
var navigationStackBehaviorSchema = z.union([
|
|
4212
|
+
z.literal("default"),
|
|
4213
|
+
z.literal("remove-previous"),
|
|
4214
|
+
z.literal("remove-all"),
|
|
4215
|
+
z.literal("replace-current")
|
|
4216
|
+
]);
|
|
4217
|
+
var actionTypeSchema = z.union([
|
|
4218
|
+
z.literal("primary"),
|
|
4219
|
+
z.literal("secondary"),
|
|
4220
|
+
z.literal("link"),
|
|
4221
|
+
z.literal("positive"),
|
|
4222
|
+
z.literal("negative")
|
|
4223
|
+
]);
|
|
4224
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4225
|
+
var linkBehaviorSchema = z.object({
|
|
4226
|
+
type: z.literal("link"),
|
|
4227
|
+
url: z.string()
|
|
4228
|
+
});
|
|
4229
|
+
var linkSchema = z.object({
|
|
4230
|
+
url: z.string()
|
|
4231
|
+
});
|
|
4239
4232
|
var actionSchema = z.object({
|
|
4240
4233
|
title: z.string().optional(),
|
|
4241
4234
|
type: actionTypeSchema.optional(),
|
|
@@ -4251,75 +4244,75 @@ var actionSchema = z.object({
|
|
|
4251
4244
|
timeout: z.number().optional(),
|
|
4252
4245
|
skipValidation: z.boolean().optional()
|
|
4253
4246
|
});
|
|
4254
|
-
var
|
|
4255
|
-
regexPattern: z.string(),
|
|
4256
|
-
action: actionSchema
|
|
4257
|
-
});
|
|
4258
|
-
var searchResultActionSchema = z.object({
|
|
4259
|
-
type: z.literal("action"),
|
|
4260
|
-
title: z.string(),
|
|
4247
|
+
var listLayoutItemSchema = z.object({
|
|
4261
4248
|
description: z.string().optional(),
|
|
4249
|
+
status: listLayoutStatusSchema.optional(),
|
|
4262
4250
|
icon: iconSchema.optional(),
|
|
4263
|
-
image:
|
|
4264
|
-
|
|
4251
|
+
image: imageSchema.optional(),
|
|
4252
|
+
title: z.string().optional(),
|
|
4253
|
+
subtitle: z.string().optional(),
|
|
4254
|
+
value: z.string().optional(),
|
|
4255
|
+
subvalue: z.string().optional(),
|
|
4256
|
+
tag: z.string().optional()
|
|
4257
|
+
});
|
|
4258
|
+
var instructionsLayoutSchema = z.object({
|
|
4259
|
+
type: z.literal("instructions"),
|
|
4260
|
+
title: z.string().optional(),
|
|
4261
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
4262
|
+
control: z.string().optional(),
|
|
4263
|
+
margin: sizeSchema.optional()
|
|
4264
|
+
});
|
|
4265
|
+
var reviewLayoutFieldSchema = z.object({
|
|
4266
|
+
label: z.string(),
|
|
4267
|
+
value: z.string(),
|
|
4268
|
+
rawValue: z.string().optional(),
|
|
4269
|
+
help: helpSchema.optional(),
|
|
4270
|
+
tag: z.string().optional()
|
|
4265
4271
|
});
|
|
4266
4272
|
var searchResultSearchSchema = z.object({
|
|
4267
4273
|
type: z.literal("search"),
|
|
4268
4274
|
title: z.string(),
|
|
4269
4275
|
description: z.string().optional(),
|
|
4270
4276
|
icon: iconSchema.optional(),
|
|
4271
|
-
image:
|
|
4277
|
+
image: imageSchema.optional(),
|
|
4272
4278
|
value: searchSearchRequestSchema
|
|
4273
4279
|
});
|
|
4274
|
-
var
|
|
4275
|
-
|
|
4276
|
-
});
|
|
4277
|
-
var reviewLayoutCallToActionSchema = z.object({
|
|
4278
|
-
title: z.string(),
|
|
4279
|
-
action: actionSchema
|
|
4280
|
-
});
|
|
4281
|
-
var formLayoutSchema = z.object({
|
|
4282
|
-
type: z.literal("form"),
|
|
4283
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
4284
|
-
schemaId: z.string(),
|
|
4285
|
-
control: z.string().optional(),
|
|
4286
|
-
margin: sizeSchema.optional()
|
|
4287
|
-
});
|
|
4288
|
-
var decisionLayoutOptionSchema = z.object({
|
|
4289
|
-
action: actionSchema,
|
|
4280
|
+
var searchResultActionSchema = z.object({
|
|
4281
|
+
type: z.literal("action"),
|
|
4290
4282
|
title: z.string(),
|
|
4291
4283
|
description: z.string().optional(),
|
|
4292
|
-
disabled: z.boolean().optional(),
|
|
4293
4284
|
icon: iconSchema.optional(),
|
|
4294
|
-
image:
|
|
4295
|
-
|
|
4285
|
+
image: imageSchema.optional(),
|
|
4286
|
+
value: actionSchema
|
|
4296
4287
|
});
|
|
4297
|
-
var
|
|
4298
|
-
action: actionSchema
|
|
4299
|
-
link: linkSchema.optional()
|
|
4288
|
+
var actionResponseBodySchema = z.object({
|
|
4289
|
+
action: actionSchema
|
|
4300
4290
|
});
|
|
4301
|
-
var
|
|
4302
|
-
|
|
4303
|
-
|
|
4291
|
+
var errorResponseBodySchema = z.object({
|
|
4292
|
+
refreshFormUrl: z.string().optional(),
|
|
4293
|
+
analytics: z.record(z.string()).optional(),
|
|
4294
|
+
error: z.string().optional(),
|
|
4295
|
+
validation: jsonElementSchema.optional(),
|
|
4296
|
+
refreshUrl: z.string().optional()
|
|
4297
|
+
});
|
|
4298
|
+
var navigationBackBehaviorSchema = z.object({
|
|
4304
4299
|
title: z.string().optional(),
|
|
4305
|
-
action: actionSchema
|
|
4306
|
-
context: contextSchema.optional(),
|
|
4307
|
-
disabled: z.boolean().optional(),
|
|
4308
|
-
pinOrder: z.number().optional(),
|
|
4309
|
-
control: z.string().optional(),
|
|
4310
|
-
margin: sizeSchema.optional()
|
|
4300
|
+
action: actionSchema
|
|
4311
4301
|
});
|
|
4312
|
-
var
|
|
4313
|
-
type: z.literal("
|
|
4314
|
-
|
|
4302
|
+
var actionBehaviorSchema = z.object({
|
|
4303
|
+
type: z.literal("action"),
|
|
4304
|
+
action: actionSchema
|
|
4305
|
+
});
|
|
4306
|
+
var containerBehaviorSchema = z.object({
|
|
4315
4307
|
action: actionSchema.optional(),
|
|
4316
|
-
|
|
4317
|
-
title: z.string().optional(),
|
|
4318
|
-
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4319
|
-
control: z.string().optional(),
|
|
4320
|
-
margin: sizeSchema.optional()
|
|
4308
|
+
link: linkSchema.optional()
|
|
4321
4309
|
});
|
|
4322
|
-
var
|
|
4310
|
+
var behaviorSchema = z.union([
|
|
4311
|
+
actionBehaviorSchema,
|
|
4312
|
+
containerBehaviorSchema,
|
|
4313
|
+
linkBehaviorSchema
|
|
4314
|
+
]);
|
|
4315
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
4323
4316
|
title: z.string(),
|
|
4324
4317
|
accessibilityDescription: z.string().optional(),
|
|
4325
4318
|
behavior: behaviorSchema
|
|
@@ -4329,61 +4322,60 @@ var listLayoutCallToActionSchema = z.object({
|
|
|
4329
4322
|
accessibilityDescription: z.string().optional(),
|
|
4330
4323
|
behavior: behaviorSchema
|
|
4331
4324
|
});
|
|
4332
|
-
var
|
|
4325
|
+
var decisionLayoutOptionSchema = z.object({
|
|
4326
|
+
action: actionSchema.optional(),
|
|
4327
|
+
title: z.string(),
|
|
4333
4328
|
description: z.string().optional(),
|
|
4334
|
-
|
|
4329
|
+
disabled: z.boolean().optional(),
|
|
4335
4330
|
icon: iconSchema.optional(),
|
|
4336
4331
|
image: imageSchema.optional(),
|
|
4337
|
-
|
|
4338
|
-
subtitle: z.string().optional(),
|
|
4339
|
-
value: z.string().optional(),
|
|
4340
|
-
subvalue: z.string().optional(),
|
|
4332
|
+
behavior: behaviorSchema.optional(),
|
|
4341
4333
|
tag: z.string().optional()
|
|
4342
4334
|
});
|
|
4343
|
-
var
|
|
4335
|
+
var itemCallToActionSchema = z.object({
|
|
4344
4336
|
title: z.string(),
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
status: statusListLayoutStatusSchema.optional(),
|
|
4348
|
-
callToAction: itemCallToActionSchema.optional(),
|
|
4349
|
-
tag: z.string().optional()
|
|
4350
|
-
});
|
|
4351
|
-
var pollingOnErrorSchema = z.object({
|
|
4352
|
-
action: actionSchema
|
|
4337
|
+
accessibilityDescription: z.string().optional(),
|
|
4338
|
+
behavior: behaviorSchema
|
|
4353
4339
|
});
|
|
4354
|
-
var
|
|
4340
|
+
var buttonLayoutSchema = z.object({
|
|
4341
|
+
type: z.literal("button"),
|
|
4342
|
+
action: actionSchema.optional(),
|
|
4343
|
+
size: sizeSchema.optional(),
|
|
4355
4344
|
title: z.string().optional(),
|
|
4356
|
-
|
|
4345
|
+
behavior: behaviorSchema.optional(),
|
|
4346
|
+
context: contextSchema.optional(),
|
|
4347
|
+
disabled: z.boolean().optional(),
|
|
4348
|
+
pinOrder: z.number().optional(),
|
|
4349
|
+
control: z.string().optional(),
|
|
4350
|
+
margin: sizeSchema.optional()
|
|
4357
4351
|
});
|
|
4358
|
-
var
|
|
4359
|
-
var
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
delay: z.number().optional(),
|
|
4363
|
-
timeout: z.number().optional(),
|
|
4364
|
-
maxAttempts: z.number(),
|
|
4365
|
-
onError: pollingOnErrorSchema
|
|
4352
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4353
|
+
var linkHandlerSchema = z.object({
|
|
4354
|
+
regexPattern: z.string(),
|
|
4355
|
+
behavior: behaviorSchema.optional()
|
|
4366
4356
|
});
|
|
4367
4357
|
var navigationSchema = z.object({
|
|
4368
4358
|
backButton: navigationBackBehaviorSchema.optional(),
|
|
4369
4359
|
back: navigationBackBehaviorSchema.optional(),
|
|
4370
4360
|
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4371
4361
|
});
|
|
4372
|
-
var
|
|
4373
|
-
|
|
4374
|
-
|
|
4362
|
+
var pollingOnErrorSchema = z.object({
|
|
4363
|
+
action: actionSchema.optional(),
|
|
4364
|
+
behavior: behaviorSchema.optional()
|
|
4375
4365
|
});
|
|
4376
|
-
var
|
|
4366
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
4367
|
+
action: actionSchema.optional(),
|
|
4377
4368
|
title: z.string(),
|
|
4378
4369
|
accessibilityDescription: z.string().optional(),
|
|
4379
|
-
behavior: behaviorSchema
|
|
4370
|
+
behavior: behaviorSchema.optional()
|
|
4380
4371
|
});
|
|
4381
|
-
var
|
|
4382
|
-
type: z.literal("
|
|
4383
|
-
|
|
4384
|
-
|
|
4372
|
+
var alertLayoutSchema = z.object({
|
|
4373
|
+
type: z.literal("alert"),
|
|
4374
|
+
markdown: z.string(),
|
|
4375
|
+
context: contextSchema.optional(),
|
|
4385
4376
|
control: z.string().optional(),
|
|
4386
|
-
margin: sizeSchema.optional()
|
|
4377
|
+
margin: sizeSchema.optional(),
|
|
4378
|
+
callToAction: alertLayoutCallToActionSchema.optional()
|
|
4387
4379
|
});
|
|
4388
4380
|
var listLayoutSchema = z.object({
|
|
4389
4381
|
type: z.literal("list"),
|
|
@@ -4393,36 +4385,41 @@ var listLayoutSchema = z.object({
|
|
|
4393
4385
|
control: z.string().optional(),
|
|
4394
4386
|
margin: sizeSchema.optional()
|
|
4395
4387
|
});
|
|
4396
|
-
var
|
|
4397
|
-
type: z.literal("
|
|
4398
|
-
items: z.array(statusListLayoutItemSchema),
|
|
4388
|
+
var decisionLayoutSchema = z.object({
|
|
4389
|
+
type: z.literal("decision"),
|
|
4399
4390
|
title: z.string().optional(),
|
|
4391
|
+
options: z.array(decisionLayoutOptionSchema),
|
|
4400
4392
|
control: z.string().optional(),
|
|
4401
4393
|
margin: sizeSchema.optional()
|
|
4402
4394
|
});
|
|
4403
|
-
var
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4395
|
+
var statusListLayoutItemSchema = z.object({
|
|
4396
|
+
title: z.string(),
|
|
4397
|
+
description: z.string().optional(),
|
|
4398
|
+
icon: iconSchema,
|
|
4399
|
+
status: statusListLayoutStatusSchema.optional(),
|
|
4400
|
+
callToAction: itemCallToActionSchema.optional(),
|
|
4401
|
+
tag: z.string().optional()
|
|
4410
4402
|
});
|
|
4411
|
-
var
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
$id: z.string().optional(),
|
|
4417
|
-
const: jsonElementSchema,
|
|
4403
|
+
var reviewLayoutSchema = z.object({
|
|
4404
|
+
type: z.literal("review"),
|
|
4405
|
+
orientation: z.string().optional(),
|
|
4406
|
+
action: actionSchema.optional(),
|
|
4407
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
4418
4408
|
title: z.string().optional(),
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4409
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4410
|
+
control: z.string().optional(),
|
|
4411
|
+
margin: sizeSchema.optional()
|
|
4412
|
+
});
|
|
4413
|
+
var searchResponseBodySchema = z.object({
|
|
4414
|
+
results: z.array(searchResultSchema)
|
|
4415
|
+
});
|
|
4416
|
+
var pollingSchema = z.object({
|
|
4417
|
+
interval: z.number().optional(),
|
|
4418
|
+
url: z.string(),
|
|
4419
|
+
delay: z.number().optional(),
|
|
4420
|
+
timeout: z.number().optional(),
|
|
4421
|
+
maxAttempts: z.number(),
|
|
4422
|
+
onError: pollingOnErrorSchema
|
|
4426
4423
|
});
|
|
4427
4424
|
var blobSchemaSchema = z.object({
|
|
4428
4425
|
type: z.literal("blob"),
|
|
@@ -4446,66 +4443,107 @@ var blobSchemaSchema = z.object({
|
|
|
4446
4443
|
source: uploadSourceSchema.optional(),
|
|
4447
4444
|
disabled: z.boolean().optional()
|
|
4448
4445
|
});
|
|
4449
|
-
var
|
|
4446
|
+
var constSchemaSchema = z.object({
|
|
4447
|
+
hidden: z.boolean().optional(),
|
|
4448
|
+
alert: alertLayoutSchema.optional(),
|
|
4449
|
+
control: z.string().optional(),
|
|
4450
|
+
promoted: z.boolean().optional(),
|
|
4451
|
+
$id: z.string().optional(),
|
|
4452
|
+
const: jsonElementSchema,
|
|
4453
|
+
title: z.string().optional(),
|
|
4454
|
+
description: z.string().optional(),
|
|
4455
|
+
icon: iconSchema.optional(),
|
|
4456
|
+
image: imageSchema.optional(),
|
|
4457
|
+
keywords: z.array(z.string()).optional(),
|
|
4458
|
+
summary: summaryProviderSchema.optional(),
|
|
4459
|
+
analyticsId: z.string().optional(),
|
|
4460
|
+
disabled: z.boolean().optional()
|
|
4461
|
+
});
|
|
4462
|
+
var statusListLayoutSchema = z.object({
|
|
4463
|
+
type: z.literal("status-list"),
|
|
4464
|
+
items: z.array(statusListLayoutItemSchema),
|
|
4465
|
+
title: z.string().optional(),
|
|
4466
|
+
control: z.string().optional(),
|
|
4467
|
+
margin: sizeSchema.optional()
|
|
4468
|
+
});
|
|
4469
|
+
var layoutSchema = z.lazy(
|
|
4470
|
+
() => z.union([
|
|
4471
|
+
alertLayoutSchema,
|
|
4472
|
+
boxLayoutSchema,
|
|
4473
|
+
buttonLayoutSchema,
|
|
4474
|
+
columnsLayoutSchema,
|
|
4475
|
+
decisionLayoutSchema,
|
|
4476
|
+
dividerLayoutSchema,
|
|
4477
|
+
formLayoutSchema,
|
|
4478
|
+
headingLayoutSchema,
|
|
4479
|
+
imageLayoutSchema,
|
|
4480
|
+
infoLayoutSchema,
|
|
4481
|
+
instructionsLayoutSchema,
|
|
4482
|
+
listLayoutSchema,
|
|
4483
|
+
loadingIndicatorLayoutSchema,
|
|
4484
|
+
markdownLayoutSchema,
|
|
4485
|
+
modalLayoutSchema,
|
|
4486
|
+
paragraphLayoutSchema,
|
|
4487
|
+
reviewLayoutSchema,
|
|
4488
|
+
searchLayoutSchema,
|
|
4489
|
+
statusListLayoutSchema
|
|
4490
|
+
])
|
|
4491
|
+
);
|
|
4492
|
+
var boxLayoutSchema = z.lazy(
|
|
4450
4493
|
() => z.object({
|
|
4451
|
-
type: z.literal("
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
refreshUrl: z.string().optional(),
|
|
4456
|
-
refreshFormUrl: z.string().optional(),
|
|
4457
|
-
placeholder: z.string().optional(),
|
|
4458
|
-
minimum: z.number().optional(),
|
|
4459
|
-
maximum: z.number().optional(),
|
|
4460
|
-
$id: z.string().optional(),
|
|
4461
|
-
title: z.string().optional(),
|
|
4462
|
-
description: z.string().optional(),
|
|
4494
|
+
type: z.literal("box"),
|
|
4495
|
+
components: z.array(layoutSchema),
|
|
4496
|
+
width: sizeSchema.optional(),
|
|
4497
|
+
border: z.boolean().optional(),
|
|
4463
4498
|
control: z.string().optional(),
|
|
4464
|
-
|
|
4465
|
-
hidden: z.boolean().optional(),
|
|
4466
|
-
disabled: z.boolean().optional(),
|
|
4467
|
-
icon: iconSchema.optional(),
|
|
4468
|
-
image: imageSchema.optional(),
|
|
4469
|
-
keywords: z.array(z.string()).optional(),
|
|
4470
|
-
summary: summaryProviderSchema.optional(),
|
|
4471
|
-
analyticsId: z.string().optional(),
|
|
4472
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4473
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
4474
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4475
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4476
|
-
alert: alertLayoutSchema.optional(),
|
|
4477
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4478
|
-
autofillKey: z.string().optional(),
|
|
4479
|
-
help: helpSchema.optional()
|
|
4499
|
+
margin: sizeSchema.optional()
|
|
4480
4500
|
})
|
|
4481
4501
|
);
|
|
4482
|
-
var
|
|
4502
|
+
var columnsLayoutSchema = z.lazy(
|
|
4483
4503
|
() => z.object({
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4504
|
+
type: z.literal("columns"),
|
|
4505
|
+
left: z.array(layoutSchema),
|
|
4506
|
+
right: z.array(layoutSchema),
|
|
4507
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
4508
|
+
control: z.string().optional(),
|
|
4509
|
+
margin: sizeSchema.optional()
|
|
4489
4510
|
})
|
|
4490
4511
|
);
|
|
4491
|
-
var
|
|
4512
|
+
var modalLayoutSchema = z.lazy(
|
|
4513
|
+
() => z.object({
|
|
4514
|
+
type: z.literal("modal"),
|
|
4515
|
+
control: z.string().optional(),
|
|
4516
|
+
margin: sizeSchema.optional(),
|
|
4517
|
+
trigger: modalLayoutTriggerSchema,
|
|
4518
|
+
content: modalLayoutContentSchema
|
|
4519
|
+
})
|
|
4520
|
+
);
|
|
4521
|
+
var modalLayoutContentSchema = z.lazy(
|
|
4492
4522
|
() => z.object({
|
|
4493
|
-
type: z.literal("array"),
|
|
4494
|
-
promoted: z.boolean().optional(),
|
|
4495
|
-
$id: z.string().optional(),
|
|
4496
|
-
items: z.array(schemaSchema),
|
|
4497
4523
|
title: z.string().optional(),
|
|
4524
|
+
components: z.array(layoutSchema)
|
|
4525
|
+
})
|
|
4526
|
+
);
|
|
4527
|
+
var stepSchema = z.lazy(
|
|
4528
|
+
() => z.object({
|
|
4529
|
+
key: z.string().optional(),
|
|
4530
|
+
type: z.string().optional(),
|
|
4531
|
+
actions: z.array(actionSchema).optional(),
|
|
4532
|
+
refreshFormUrl: z.string().optional(),
|
|
4533
|
+
id: z.string(),
|
|
4534
|
+
title: z.string(),
|
|
4535
|
+
schemas: z.array(schemaSchema),
|
|
4536
|
+
layout: z.array(layoutSchema),
|
|
4498
4537
|
description: z.string().optional(),
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
alert: alertLayoutSchema.optional()
|
|
4538
|
+
model: jsonElementSchema.optional(),
|
|
4539
|
+
external: externalSchema.optional(),
|
|
4540
|
+
polling: pollingSchema.optional(),
|
|
4541
|
+
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4542
|
+
analytics: z.record(z.string()).optional(),
|
|
4543
|
+
errors: stepErrorSchema.optional(),
|
|
4544
|
+
navigation: navigationSchema.optional(),
|
|
4545
|
+
refreshUrl: z.string().optional(),
|
|
4546
|
+
control: z.string().optional()
|
|
4509
4547
|
})
|
|
4510
4548
|
);
|
|
4511
4549
|
var schemaSchema = z.lazy(
|
|
@@ -4522,6 +4560,27 @@ var schemaSchema = z.lazy(
|
|
|
4522
4560
|
stringSchemaSchema
|
|
4523
4561
|
])
|
|
4524
4562
|
);
|
|
4563
|
+
var allOfSchemaSchema = z.lazy(
|
|
4564
|
+
() => z.object({
|
|
4565
|
+
disabled: z.boolean().optional(),
|
|
4566
|
+
promoted: z.boolean().optional(),
|
|
4567
|
+
allOf: z.array(schemaSchema),
|
|
4568
|
+
$id: z.string().optional(),
|
|
4569
|
+
title: z.string().optional(),
|
|
4570
|
+
description: z.string().optional(),
|
|
4571
|
+
control: z.string().optional(),
|
|
4572
|
+
hidden: z.boolean().optional(),
|
|
4573
|
+
icon: iconSchema.optional(),
|
|
4574
|
+
image: imageSchema.optional(),
|
|
4575
|
+
keywords: z.array(z.string()).optional(),
|
|
4576
|
+
summary: summaryProviderSchema.optional(),
|
|
4577
|
+
analyticsId: z.string().optional(),
|
|
4578
|
+
alert: alertLayoutSchema.optional()
|
|
4579
|
+
})
|
|
4580
|
+
);
|
|
4581
|
+
var arraySchemaSchema = z.lazy(
|
|
4582
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4583
|
+
);
|
|
4525
4584
|
var booleanSchemaSchema = z.lazy(
|
|
4526
4585
|
() => z.object({
|
|
4527
4586
|
type: z.literal("boolean"),
|
|
@@ -4550,30 +4609,42 @@ var booleanSchemaSchema = z.lazy(
|
|
|
4550
4609
|
help: helpSchema.optional()
|
|
4551
4610
|
})
|
|
4552
4611
|
);
|
|
4553
|
-
var
|
|
4612
|
+
var integerSchemaSchema = z.lazy(
|
|
4554
4613
|
() => z.object({
|
|
4555
|
-
|
|
4614
|
+
type: z.literal("integer"),
|
|
4615
|
+
autofillProvider: z.string().optional(),
|
|
4556
4616
|
promoted: z.boolean().optional(),
|
|
4557
|
-
|
|
4617
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
4618
|
+
refreshUrl: z.string().optional(),
|
|
4619
|
+
refreshFormUrl: z.string().optional(),
|
|
4620
|
+
placeholder: z.string().optional(),
|
|
4621
|
+
minimum: z.number().optional(),
|
|
4622
|
+
maximum: z.number().optional(),
|
|
4558
4623
|
$id: z.string().optional(),
|
|
4559
4624
|
title: z.string().optional(),
|
|
4560
4625
|
description: z.string().optional(),
|
|
4561
4626
|
control: z.string().optional(),
|
|
4627
|
+
default: z.number().optional(),
|
|
4562
4628
|
hidden: z.boolean().optional(),
|
|
4629
|
+
disabled: z.boolean().optional(),
|
|
4563
4630
|
icon: iconSchema.optional(),
|
|
4564
4631
|
image: imageSchema.optional(),
|
|
4565
4632
|
keywords: z.array(z.string()).optional(),
|
|
4566
4633
|
summary: summaryProviderSchema.optional(),
|
|
4567
4634
|
analyticsId: z.string().optional(),
|
|
4568
|
-
|
|
4635
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4636
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
4637
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4638
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4639
|
+
alert: alertLayoutSchema.optional(),
|
|
4640
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4641
|
+
autofillKey: z.string().optional(),
|
|
4642
|
+
help: helpSchema.optional()
|
|
4569
4643
|
})
|
|
4570
4644
|
);
|
|
4571
|
-
var
|
|
4572
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4573
|
-
);
|
|
4574
|
-
var integerSchemaSchema = z.lazy(
|
|
4645
|
+
var numberSchemaSchema = z.lazy(
|
|
4575
4646
|
() => z.object({
|
|
4576
|
-
type: z.literal("
|
|
4647
|
+
type: z.literal("number"),
|
|
4577
4648
|
autofillProvider: z.string().optional(),
|
|
4578
4649
|
promoted: z.boolean().optional(),
|
|
4579
4650
|
refreshFormOnChange: z.boolean().optional(),
|
|
@@ -4727,84 +4798,33 @@ var arraySchemaListSchema = z.lazy(
|
|
|
4727
4798
|
disabled: z.boolean().optional()
|
|
4728
4799
|
})
|
|
4729
4800
|
);
|
|
4730
|
-
var
|
|
4731
|
-
() => z.object({
|
|
4732
|
-
key: z.string().optional(),
|
|
4733
|
-
type: z.string().optional(),
|
|
4734
|
-
actions: z.array(actionSchema).optional(),
|
|
4735
|
-
refreshFormUrl: z.string().optional(),
|
|
4736
|
-
id: z.string(),
|
|
4737
|
-
title: z.string(),
|
|
4738
|
-
schemas: z.array(schemaSchema),
|
|
4739
|
-
layout: z.array(layoutSchema),
|
|
4740
|
-
description: z.string().optional(),
|
|
4741
|
-
model: jsonElementSchema.optional(),
|
|
4742
|
-
external: externalSchema.optional(),
|
|
4743
|
-
polling: pollingSchema.optional(),
|
|
4744
|
-
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4745
|
-
analytics: z.record(z.string()).optional(),
|
|
4746
|
-
errors: stepErrorSchema.optional(),
|
|
4747
|
-
navigation: navigationSchema.optional(),
|
|
4748
|
-
refreshUrl: z.string().optional(),
|
|
4749
|
-
control: z.string().optional()
|
|
4750
|
-
})
|
|
4751
|
-
);
|
|
4752
|
-
var layoutSchema = z.lazy(
|
|
4753
|
-
() => z.union([
|
|
4754
|
-
alertLayoutSchema,
|
|
4755
|
-
boxLayoutSchema,
|
|
4756
|
-
buttonLayoutSchema,
|
|
4757
|
-
columnsLayoutSchema,
|
|
4758
|
-
decisionLayoutSchema,
|
|
4759
|
-
dividerLayoutSchema,
|
|
4760
|
-
formLayoutSchema,
|
|
4761
|
-
headingLayoutSchema,
|
|
4762
|
-
imageLayoutSchema,
|
|
4763
|
-
infoLayoutSchema,
|
|
4764
|
-
instructionsLayoutSchema,
|
|
4765
|
-
listLayoutSchema,
|
|
4766
|
-
loadingIndicatorLayoutSchema,
|
|
4767
|
-
markdownLayoutSchema,
|
|
4768
|
-
modalLayoutSchema,
|
|
4769
|
-
paragraphLayoutSchema,
|
|
4770
|
-
reviewLayoutSchema,
|
|
4771
|
-
searchLayoutSchema,
|
|
4772
|
-
statusListLayoutSchema
|
|
4773
|
-
])
|
|
4774
|
-
);
|
|
4775
|
-
var columnsLayoutSchema = z.lazy(
|
|
4801
|
+
var persistAsyncSchema = z.lazy(
|
|
4776
4802
|
() => z.object({
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
margin: sizeSchema.optional()
|
|
4803
|
+
param: z.string(),
|
|
4804
|
+
idProperty: z.string(),
|
|
4805
|
+
schema: schemaSchema,
|
|
4806
|
+
url: z.string(),
|
|
4807
|
+
method: httpMethodSchema
|
|
4783
4808
|
})
|
|
4784
4809
|
);
|
|
4785
|
-
var
|
|
4810
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4786
4811
|
() => z.object({
|
|
4812
|
+
type: z.literal("array"),
|
|
4813
|
+
promoted: z.boolean().optional(),
|
|
4814
|
+
$id: z.string().optional(),
|
|
4815
|
+
items: z.array(schemaSchema),
|
|
4787
4816
|
title: z.string().optional(),
|
|
4788
|
-
|
|
4789
|
-
})
|
|
4790
|
-
);
|
|
4791
|
-
var boxLayoutSchema = z.lazy(
|
|
4792
|
-
() => z.object({
|
|
4793
|
-
type: z.literal("box"),
|
|
4794
|
-
components: z.array(layoutSchema),
|
|
4795
|
-
width: sizeSchema.optional(),
|
|
4796
|
-
border: z.boolean().optional(),
|
|
4797
|
-
control: z.string().optional(),
|
|
4798
|
-
margin: sizeSchema.optional()
|
|
4799
|
-
})
|
|
4800
|
-
);
|
|
4801
|
-
var modalLayoutSchema = z.lazy(
|
|
4802
|
-
() => z.object({
|
|
4803
|
-
type: z.literal("modal"),
|
|
4817
|
+
description: z.string().optional(),
|
|
4804
4818
|
control: z.string().optional(),
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4819
|
+
hidden: z.boolean().optional(),
|
|
4820
|
+
icon: iconSchema.optional(),
|
|
4821
|
+
image: imageSchema.optional(),
|
|
4822
|
+
keywords: z.array(z.string()).optional(),
|
|
4823
|
+
summary: summaryProviderSchema.optional(),
|
|
4824
|
+
analyticsId: z.string().optional(),
|
|
4825
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4826
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4827
|
+
alert: alertLayoutSchema.optional()
|
|
4808
4828
|
})
|
|
4809
4829
|
);
|
|
4810
4830
|
|