@wise/dynamic-flow-types 3.0.0-experimental-9cbdd3f → 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 +408 -408
- package/build/main.min.js +1 -1
- package/build/main.mjs +408 -408
- package/build/renderers/BoxRendererProps.d.ts +1 -1
- package/build/renderers/ColumnsRendererProps.d.ts +2 -2
- package/build/renderers/CoreContainerRendererProps.d.ts +1 -1
- package/build/renderers/DecisionRendererProps.d.ts +1 -1
- package/build/renderers/FormRendererProps.d.ts +1 -1
- package/build/renderers/InstructionsRendererProps.d.ts +1 -1
- package/build/renderers/ListRendererProps.d.ts +1 -1
- package/build/renderers/ModalRendererProps.d.ts +1 -1
- package/build/renderers/MultiSelectInputRendererProps.d.ts +2 -2
- package/build/renderers/MultiUploadInputRendererProps.d.ts +2 -2
- package/build/renderers/RepeatableRendererProps.d.ts +1 -1
- package/build/renderers/ReviewRendererProps.d.ts +1 -1
- package/build/renderers/SearchRendererProps.d.ts +1 -1
- package/build/renderers/SectionRendererProps.d.ts +1 -1
- package/build/renderers/SelectInputRendererProps.d.ts +2 -2
- package/build/renderers/StatusListRendererProps.d.ts +1 -1
- package/build/renderers/StepRendererProps.d.ts +1 -1
- package/build/renderers/UploadInputRendererProps.d.ts +1 -1
- package/build/zod/schemas.d.ts +4957 -4957
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -3976,37 +3976,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
3976
3976
|
});
|
|
3977
3977
|
|
|
3978
3978
|
// src/zod/schemas.ts
|
|
3979
|
-
var
|
|
3980
|
-
|
|
3981
|
-
url: z.string()
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
z.literal("default"),
|
|
3985
|
-
z.literal("remove-previous"),
|
|
3986
|
-
z.literal("remove-all"),
|
|
3987
|
-
z.literal("replace-current")
|
|
3988
|
-
]);
|
|
3989
|
-
var jsonElementSchema = z.lazy(
|
|
3990
|
-
() => z.union([
|
|
3991
|
-
z.string(),
|
|
3992
|
-
z.number(),
|
|
3993
|
-
z.boolean(),
|
|
3994
|
-
z.record(jsonElementSchema),
|
|
3995
|
-
z.array(jsonElementSchema)
|
|
3996
|
-
]).nullable()
|
|
3997
|
-
);
|
|
3998
|
-
var helpSchema = z.object({
|
|
3999
|
-
markdown: z.string()
|
|
4000
|
-
});
|
|
4001
|
-
var actionTypeSchema = z.union([
|
|
4002
|
-
z.literal("primary"),
|
|
4003
|
-
z.literal("secondary"),
|
|
4004
|
-
z.literal("link"),
|
|
4005
|
-
z.literal("positive"),
|
|
4006
|
-
z.literal("negative")
|
|
4007
|
-
]);
|
|
4008
|
-
var linkSchema = z.object({
|
|
4009
|
-
url: z.string()
|
|
3979
|
+
var imageSchema = z.object({
|
|
3980
|
+
text: z.string().optional(),
|
|
3981
|
+
url: z.string().optional(),
|
|
3982
|
+
uri: z.string().optional(),
|
|
3983
|
+
accessibilityDescription: z.string().optional()
|
|
4010
3984
|
});
|
|
4011
3985
|
var httpMethodSchema = z.union([
|
|
4012
3986
|
z.literal("GET"),
|
|
@@ -4015,54 +3989,8 @@ var httpMethodSchema = z.union([
|
|
|
4015
3989
|
z.literal("PATCH"),
|
|
4016
3990
|
z.literal("DELETE")
|
|
4017
3991
|
]);
|
|
4018
|
-
var
|
|
4019
|
-
|
|
4020
|
-
param: z.string(),
|
|
4021
|
-
method: httpMethodSchema,
|
|
4022
|
-
url: z.string()
|
|
4023
|
-
});
|
|
4024
|
-
var summaryProviderSchema = z.object({
|
|
4025
|
-
providesTitle: z.boolean().optional(),
|
|
4026
|
-
providesDescription: z.boolean().optional(),
|
|
4027
|
-
providesIcon: z.boolean().optional(),
|
|
4028
|
-
providesImage: z.boolean().optional()
|
|
4029
|
-
});
|
|
4030
|
-
var imageSchema = z.object({
|
|
4031
|
-
text: z.string().optional(),
|
|
4032
|
-
url: z.string().optional(),
|
|
4033
|
-
uri: z.string().optional(),
|
|
4034
|
-
accessibilityDescription: z.string().optional()
|
|
4035
|
-
});
|
|
4036
|
-
var externalSchema = z.object({
|
|
4037
|
-
url: z.string()
|
|
4038
|
-
});
|
|
4039
|
-
var columnsLayoutBiasSchema = z.union([
|
|
4040
|
-
z.literal("none"),
|
|
4041
|
-
z.literal("left"),
|
|
4042
|
-
z.literal("right")
|
|
4043
|
-
]);
|
|
4044
|
-
var sizeSchema = z.union([
|
|
4045
|
-
z.literal("xs"),
|
|
4046
|
-
z.literal("sm"),
|
|
4047
|
-
z.literal("md"),
|
|
4048
|
-
z.literal("lg"),
|
|
4049
|
-
z.literal("xl")
|
|
4050
|
-
]);
|
|
4051
|
-
var dividerLayoutSchema = z.object({
|
|
4052
|
-
type: z.literal("divider"),
|
|
4053
|
-
control: z.string().optional(),
|
|
4054
|
-
margin: sizeSchema.optional()
|
|
4055
|
-
});
|
|
4056
|
-
var statusListLayoutStatusSchema = z.union([
|
|
4057
|
-
z.literal("not-done"),
|
|
4058
|
-
z.literal("pending"),
|
|
4059
|
-
z.literal("done")
|
|
4060
|
-
]);
|
|
4061
|
-
var loadingIndicatorLayoutSchema = z.object({
|
|
4062
|
-
type: z.literal("loading-indicator"),
|
|
4063
|
-
size: sizeSchema.optional(),
|
|
4064
|
-
control: z.string().optional(),
|
|
4065
|
-
margin: sizeSchema.optional()
|
|
3992
|
+
var iconNamedSchema = z.object({
|
|
3993
|
+
name: z.string()
|
|
4066
3994
|
});
|
|
4067
3995
|
var contextSchema = z.union([
|
|
4068
3996
|
z.literal("positive"),
|
|
@@ -4074,92 +4002,24 @@ var contextSchema = z.union([
|
|
|
4074
4002
|
z.literal("info"),
|
|
4075
4003
|
z.literal("primary")
|
|
4076
4004
|
]);
|
|
4077
|
-
var
|
|
4078
|
-
text: z.string()
|
|
4079
|
-
context: contextSchema,
|
|
4080
|
-
tag: z.string().optional()
|
|
4081
|
-
});
|
|
4082
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
4083
|
-
$ref: z.string()
|
|
4084
|
-
});
|
|
4085
|
-
var modalLayoutTriggerSchema = z.object({
|
|
4086
|
-
title: z.string()
|
|
4087
|
-
});
|
|
4088
|
-
var instructionsLayoutSchema = z.object({
|
|
4089
|
-
type: z.literal("instructions"),
|
|
4090
|
-
title: z.string().optional(),
|
|
4091
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
4092
|
-
control: z.string().optional(),
|
|
4093
|
-
margin: sizeSchema.optional()
|
|
4094
|
-
});
|
|
4095
|
-
var reviewLayoutFieldSchema = z.object({
|
|
4096
|
-
label: z.string(),
|
|
4097
|
-
value: z.string(),
|
|
4098
|
-
rawValue: z.string().optional(),
|
|
4099
|
-
help: helpSchema.optional(),
|
|
4100
|
-
tag: z.string().optional()
|
|
4101
|
-
});
|
|
4102
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
4103
|
-
var searchLayoutSchema = z.object({
|
|
4104
|
-
type: z.literal("search"),
|
|
4105
|
-
title: z.string(),
|
|
4106
|
-
method: httpMethodSchema,
|
|
4107
|
-
url: z.string(),
|
|
4108
|
-
param: z.string(),
|
|
4109
|
-
emptyMessage: z.string().optional(),
|
|
4110
|
-
control: z.string().optional(),
|
|
4111
|
-
margin: sizeSchema.optional()
|
|
4112
|
-
});
|
|
4113
|
-
var headingLayoutSchema = z.object({
|
|
4114
|
-
type: z.literal("heading"),
|
|
4115
|
-
text: z.string(),
|
|
4116
|
-
size: sizeSchema.optional(),
|
|
4117
|
-
align: alignSchema.optional(),
|
|
4118
|
-
control: z.string().optional(),
|
|
4119
|
-
margin: sizeSchema.optional()
|
|
4120
|
-
});
|
|
4121
|
-
var imageLayoutSchema = z.object({
|
|
4122
|
-
type: z.literal("image"),
|
|
4123
|
-
text: z.string().optional(),
|
|
4124
|
-
url: z.string().optional(),
|
|
4125
|
-
accessibilityDescription: z.string().optional(),
|
|
4126
|
-
content: imageSchema.optional(),
|
|
4127
|
-
size: sizeSchema.optional(),
|
|
4128
|
-
control: z.string().optional(),
|
|
4129
|
-
margin: sizeSchema.optional()
|
|
4130
|
-
});
|
|
4131
|
-
var markdownLayoutSchema = z.object({
|
|
4132
|
-
type: z.literal("markdown"),
|
|
4133
|
-
content: z.string(),
|
|
4134
|
-
align: alignSchema.optional(),
|
|
4135
|
-
control: z.string().optional(),
|
|
4136
|
-
margin: sizeSchema.optional()
|
|
4137
|
-
});
|
|
4138
|
-
var paragraphLayoutSchema = z.object({
|
|
4139
|
-
type: z.literal("paragraph"),
|
|
4140
|
-
text: z.string(),
|
|
4141
|
-
align: alignSchema.optional(),
|
|
4142
|
-
control: z.string().optional(),
|
|
4143
|
-
margin: sizeSchema.optional()
|
|
4005
|
+
var iconTextSchema = z.object({
|
|
4006
|
+
text: z.string()
|
|
4144
4007
|
});
|
|
4145
|
-
var
|
|
4146
|
-
z.literal("
|
|
4147
|
-
z.literal("
|
|
4148
|
-
z.literal("
|
|
4008
|
+
var sizeSchema = z.union([
|
|
4009
|
+
z.literal("xs"),
|
|
4010
|
+
z.literal("sm"),
|
|
4011
|
+
z.literal("md"),
|
|
4012
|
+
z.literal("lg"),
|
|
4013
|
+
z.literal("xl")
|
|
4149
4014
|
]);
|
|
4150
|
-
var
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
var
|
|
4158
|
-
url: z.string(),
|
|
4159
|
-
method: httpMethodSchema,
|
|
4160
|
-
param: z.string(),
|
|
4161
|
-
query: z.string()
|
|
4162
|
-
});
|
|
4015
|
+
var autocapitalizationTypeSchema = z.union([
|
|
4016
|
+
z.literal("none"),
|
|
4017
|
+
z.literal("characters"),
|
|
4018
|
+
z.literal("sentences"),
|
|
4019
|
+
z.literal("words")
|
|
4020
|
+
]);
|
|
4021
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
4022
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
4163
4023
|
var autocompleteTokenSchema = z.union([
|
|
4164
4024
|
z.literal("on"),
|
|
4165
4025
|
z.literal("name"),
|
|
@@ -4225,17 +4085,123 @@ var autocompleteTokenSchema = z.union([
|
|
|
4225
4085
|
z.literal("fax"),
|
|
4226
4086
|
z.literal("pager")
|
|
4227
4087
|
]);
|
|
4228
|
-
var
|
|
4088
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
4089
|
+
type: z.literal("loading-indicator"),
|
|
4090
|
+
size: sizeSchema.optional(),
|
|
4091
|
+
control: z.string().optional(),
|
|
4092
|
+
margin: sizeSchema.optional()
|
|
4093
|
+
});
|
|
4094
|
+
var paragraphLayoutSchema = z.object({
|
|
4095
|
+
type: z.literal("paragraph"),
|
|
4096
|
+
text: z.string(),
|
|
4097
|
+
align: alignSchema.optional(),
|
|
4098
|
+
control: z.string().optional(),
|
|
4099
|
+
margin: sizeSchema.optional()
|
|
4100
|
+
});
|
|
4101
|
+
var dividerLayoutSchema = z.object({
|
|
4102
|
+
type: z.literal("divider"),
|
|
4103
|
+
control: z.string().optional(),
|
|
4104
|
+
margin: sizeSchema.optional()
|
|
4105
|
+
});
|
|
4106
|
+
var listLayoutStatusSchema = z.union([
|
|
4107
|
+
z.literal("warning"),
|
|
4108
|
+
z.literal("neutral"),
|
|
4109
|
+
z.literal("positive")
|
|
4110
|
+
]);
|
|
4111
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
4112
|
+
$ref: z.string()
|
|
4113
|
+
});
|
|
4114
|
+
var imageLayoutSchema = z.object({
|
|
4115
|
+
type: z.literal("image"),
|
|
4116
|
+
text: z.string().optional(),
|
|
4117
|
+
url: z.string().optional(),
|
|
4118
|
+
accessibilityDescription: z.string().optional(),
|
|
4119
|
+
content: imageSchema.optional(),
|
|
4120
|
+
size: sizeSchema.optional(),
|
|
4121
|
+
control: z.string().optional(),
|
|
4122
|
+
margin: sizeSchema.optional()
|
|
4123
|
+
});
|
|
4124
|
+
var statusListLayoutStatusSchema = z.union([
|
|
4125
|
+
z.literal("not-done"),
|
|
4126
|
+
z.literal("pending"),
|
|
4127
|
+
z.literal("done")
|
|
4128
|
+
]);
|
|
4129
|
+
var instructionsLayoutItemSchema = z.object({
|
|
4130
|
+
text: z.string(),
|
|
4131
|
+
context: contextSchema,
|
|
4132
|
+
tag: z.string().optional()
|
|
4133
|
+
});
|
|
4134
|
+
var modalLayoutTriggerSchema = z.object({
|
|
4135
|
+
title: z.string()
|
|
4136
|
+
});
|
|
4137
|
+
var searchLayoutSchema = z.object({
|
|
4138
|
+
type: z.literal("search"),
|
|
4139
|
+
title: z.string(),
|
|
4140
|
+
method: httpMethodSchema,
|
|
4141
|
+
url: z.string(),
|
|
4142
|
+
param: z.string(),
|
|
4143
|
+
emptyMessage: z.string().optional(),
|
|
4144
|
+
control: z.string().optional(),
|
|
4145
|
+
margin: sizeSchema.optional()
|
|
4146
|
+
});
|
|
4147
|
+
var infoLayoutSchema = z.object({
|
|
4148
|
+
type: z.literal("info"),
|
|
4149
|
+
markdown: z.string(),
|
|
4150
|
+
align: alignSchema.optional(),
|
|
4151
|
+
control: z.string().optional(),
|
|
4152
|
+
margin: sizeSchema.optional()
|
|
4153
|
+
});
|
|
4154
|
+
var formLayoutSchema = z.object({
|
|
4155
|
+
type: z.literal("form"),
|
|
4156
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
4157
|
+
schemaId: z.string(),
|
|
4158
|
+
control: z.string().optional(),
|
|
4159
|
+
margin: sizeSchema.optional()
|
|
4160
|
+
});
|
|
4161
|
+
var headingLayoutSchema = z.object({
|
|
4162
|
+
type: z.literal("heading"),
|
|
4163
|
+
text: z.string(),
|
|
4164
|
+
size: sizeSchema.optional(),
|
|
4165
|
+
align: alignSchema.optional(),
|
|
4166
|
+
control: z.string().optional(),
|
|
4167
|
+
margin: sizeSchema.optional()
|
|
4168
|
+
});
|
|
4169
|
+
var markdownLayoutSchema = z.object({
|
|
4170
|
+
type: z.literal("markdown"),
|
|
4171
|
+
content: z.string(),
|
|
4172
|
+
align: alignSchema.optional(),
|
|
4173
|
+
control: z.string().optional(),
|
|
4174
|
+
margin: sizeSchema.optional()
|
|
4175
|
+
});
|
|
4176
|
+
var columnsLayoutBiasSchema = z.union([
|
|
4229
4177
|
z.literal("none"),
|
|
4230
|
-
z.literal("
|
|
4231
|
-
z.literal("
|
|
4232
|
-
z.literal("words")
|
|
4178
|
+
z.literal("left"),
|
|
4179
|
+
z.literal("right")
|
|
4233
4180
|
]);
|
|
4234
|
-
var
|
|
4235
|
-
|
|
4181
|
+
var helpSchema = z.object({
|
|
4182
|
+
markdown: z.string()
|
|
4236
4183
|
});
|
|
4237
|
-
var
|
|
4238
|
-
|
|
4184
|
+
var searchSearchRequestSchema = z.object({
|
|
4185
|
+
url: z.string(),
|
|
4186
|
+
method: httpMethodSchema,
|
|
4187
|
+
param: z.string(),
|
|
4188
|
+
query: z.string()
|
|
4189
|
+
});
|
|
4190
|
+
var jsonElementSchema = z.lazy(
|
|
4191
|
+
() => z.union([
|
|
4192
|
+
z.string(),
|
|
4193
|
+
z.number(),
|
|
4194
|
+
z.boolean(),
|
|
4195
|
+
z.record(jsonElementSchema),
|
|
4196
|
+
z.array(jsonElementSchema)
|
|
4197
|
+
]).nullable()
|
|
4198
|
+
);
|
|
4199
|
+
var externalSchema = z.object({
|
|
4200
|
+
url: z.string()
|
|
4201
|
+
});
|
|
4202
|
+
var stepErrorSchema = z.object({
|
|
4203
|
+
error: z.string().optional(),
|
|
4204
|
+
validation: jsonElementSchema.optional()
|
|
4239
4205
|
});
|
|
4240
4206
|
var stringSchemaFormatSchema = z.union([
|
|
4241
4207
|
z.literal("date"),
|
|
@@ -4245,9 +4211,48 @@ var stringSchemaFormatSchema = z.union([
|
|
|
4245
4211
|
z.literal("phone-number"),
|
|
4246
4212
|
z.literal("base64url")
|
|
4247
4213
|
]);
|
|
4248
|
-
var
|
|
4249
|
-
|
|
4250
|
-
|
|
4214
|
+
var summarySummariserSchema = z.object({
|
|
4215
|
+
defaultTitle: z.string().optional(),
|
|
4216
|
+
defaultDescription: z.string().optional(),
|
|
4217
|
+
defaultIcon: iconSchema.optional(),
|
|
4218
|
+
defaultImage: imageSchema.optional(),
|
|
4219
|
+
providesTitle: z.boolean().optional(),
|
|
4220
|
+
providesDescription: z.boolean().optional(),
|
|
4221
|
+
providesIcon: z.boolean().optional(),
|
|
4222
|
+
providesImage: z.boolean().optional()
|
|
4223
|
+
});
|
|
4224
|
+
var validateAsyncSchema = z.object({
|
|
4225
|
+
param: z.string(),
|
|
4226
|
+
method: httpMethodSchema,
|
|
4227
|
+
url: z.string()
|
|
4228
|
+
});
|
|
4229
|
+
var summaryProviderSchema = z.object({
|
|
4230
|
+
providesTitle: z.boolean().optional(),
|
|
4231
|
+
providesDescription: z.boolean().optional(),
|
|
4232
|
+
providesIcon: z.boolean().optional(),
|
|
4233
|
+
providesImage: z.boolean().optional()
|
|
4234
|
+
});
|
|
4235
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4236
|
+
var navigationStackBehaviorSchema = z.union([
|
|
4237
|
+
z.literal("default"),
|
|
4238
|
+
z.literal("remove-previous"),
|
|
4239
|
+
z.literal("remove-all"),
|
|
4240
|
+
z.literal("replace-current")
|
|
4241
|
+
]);
|
|
4242
|
+
var actionTypeSchema = z.union([
|
|
4243
|
+
z.literal("primary"),
|
|
4244
|
+
z.literal("secondary"),
|
|
4245
|
+
z.literal("link"),
|
|
4246
|
+
z.literal("positive"),
|
|
4247
|
+
z.literal("negative")
|
|
4248
|
+
]);
|
|
4249
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4250
|
+
var linkBehaviorSchema = z.object({
|
|
4251
|
+
type: z.literal("link"),
|
|
4252
|
+
url: z.string()
|
|
4253
|
+
});
|
|
4254
|
+
var linkSchema = z.object({
|
|
4255
|
+
url: z.string()
|
|
4251
4256
|
});
|
|
4252
4257
|
var actionSchema = z.object({
|
|
4253
4258
|
title: z.string().optional(),
|
|
@@ -4264,21 +4269,6 @@ var actionSchema = z.object({
|
|
|
4264
4269
|
timeout: z.number().optional(),
|
|
4265
4270
|
skipValidation: z.boolean().optional()
|
|
4266
4271
|
});
|
|
4267
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
4268
|
-
var formLayoutSchema = z.object({
|
|
4269
|
-
type: z.literal("form"),
|
|
4270
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
4271
|
-
schemaId: z.string(),
|
|
4272
|
-
control: z.string().optional(),
|
|
4273
|
-
margin: sizeSchema.optional()
|
|
4274
|
-
});
|
|
4275
|
-
var infoLayoutSchema = z.object({
|
|
4276
|
-
type: z.literal("info"),
|
|
4277
|
-
markdown: z.string(),
|
|
4278
|
-
align: alignSchema.optional(),
|
|
4279
|
-
control: z.string().optional(),
|
|
4280
|
-
margin: sizeSchema.optional()
|
|
4281
|
-
});
|
|
4282
4272
|
var listLayoutItemSchema = z.object({
|
|
4283
4273
|
description: z.string().optional(),
|
|
4284
4274
|
status: listLayoutStatusSchema.optional(),
|
|
@@ -4290,16 +4280,19 @@ var listLayoutItemSchema = z.object({
|
|
|
4290
4280
|
subvalue: z.string().optional(),
|
|
4291
4281
|
tag: z.string().optional()
|
|
4292
4282
|
});
|
|
4293
|
-
var
|
|
4294
|
-
|
|
4283
|
+
var instructionsLayoutSchema = z.object({
|
|
4284
|
+
type: z.literal("instructions"),
|
|
4285
|
+
title: z.string().optional(),
|
|
4286
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
4287
|
+
control: z.string().optional(),
|
|
4288
|
+
margin: sizeSchema.optional()
|
|
4295
4289
|
});
|
|
4296
|
-
var
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
value: actionSchema
|
|
4290
|
+
var reviewLayoutFieldSchema = z.object({
|
|
4291
|
+
label: z.string(),
|
|
4292
|
+
value: z.string(),
|
|
4293
|
+
rawValue: z.string().optional(),
|
|
4294
|
+
help: helpSchema.optional(),
|
|
4295
|
+
tag: z.string().optional()
|
|
4303
4296
|
});
|
|
4304
4297
|
var searchResultSearchSchema = z.object({
|
|
4305
4298
|
type: z.literal("search"),
|
|
@@ -4309,59 +4302,51 @@ var searchResultSearchSchema = z.object({
|
|
|
4309
4302
|
image: imageSchema.optional(),
|
|
4310
4303
|
value: searchSearchRequestSchema
|
|
4311
4304
|
});
|
|
4312
|
-
var
|
|
4305
|
+
var searchResultActionSchema = z.object({
|
|
4313
4306
|
type: z.literal("action"),
|
|
4307
|
+
title: z.string(),
|
|
4308
|
+
description: z.string().optional(),
|
|
4309
|
+
icon: iconSchema.optional(),
|
|
4310
|
+
image: imageSchema.optional(),
|
|
4311
|
+
value: actionSchema
|
|
4312
|
+
});
|
|
4313
|
+
var actionResponseBodySchema = z.object({
|
|
4314
4314
|
action: actionSchema
|
|
4315
4315
|
});
|
|
4316
|
-
var
|
|
4317
|
-
|
|
4318
|
-
|
|
4316
|
+
var errorResponseBodySchema = z.object({
|
|
4317
|
+
refreshFormUrl: z.string().optional(),
|
|
4318
|
+
analytics: z.record(z.string()).optional(),
|
|
4319
|
+
error: z.string().optional(),
|
|
4320
|
+
validation: jsonElementSchema.optional(),
|
|
4321
|
+
refreshUrl: z.string().optional()
|
|
4319
4322
|
});
|
|
4320
4323
|
var navigationBackBehaviorSchema = z.object({
|
|
4321
4324
|
title: z.string().optional(),
|
|
4322
4325
|
action: actionSchema
|
|
4323
4326
|
});
|
|
4324
|
-
var
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
defaultIcon: iconSchema.optional(),
|
|
4328
|
-
defaultImage: imageSchema.optional(),
|
|
4329
|
-
providesTitle: z.boolean().optional(),
|
|
4330
|
-
providesDescription: z.boolean().optional(),
|
|
4331
|
-
providesIcon: z.boolean().optional(),
|
|
4332
|
-
providesImage: z.boolean().optional()
|
|
4327
|
+
var actionBehaviorSchema = z.object({
|
|
4328
|
+
type: z.literal("action"),
|
|
4329
|
+
action: actionSchema
|
|
4333
4330
|
});
|
|
4334
|
-
var
|
|
4335
|
-
|
|
4336
|
-
|
|
4331
|
+
var containerBehaviorSchema = z.object({
|
|
4332
|
+
action: actionSchema.optional(),
|
|
4333
|
+
link: linkSchema.optional()
|
|
4337
4334
|
});
|
|
4338
4335
|
var behaviorSchema = z.union([
|
|
4339
4336
|
actionBehaviorSchema,
|
|
4340
4337
|
containerBehaviorSchema,
|
|
4341
4338
|
linkBehaviorSchema
|
|
4342
4339
|
]);
|
|
4343
|
-
var
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
});
|
|
4348
|
-
var linkHandlerSchema = z.object({
|
|
4349
|
-
regexPattern: z.string(),
|
|
4350
|
-
behavior: behaviorSchema.optional()
|
|
4351
|
-
});
|
|
4352
|
-
var pollingOnErrorSchema = z.object({
|
|
4353
|
-
action: actionSchema.optional(),
|
|
4354
|
-
behavior: behaviorSchema.optional()
|
|
4340
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
4341
|
+
title: z.string(),
|
|
4342
|
+
accessibilityDescription: z.string().optional(),
|
|
4343
|
+
behavior: behaviorSchema
|
|
4355
4344
|
});
|
|
4356
|
-
var
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
timeout: z.number().optional(),
|
|
4361
|
-
maxAttempts: z.number(),
|
|
4362
|
-
onError: pollingOnErrorSchema
|
|
4345
|
+
var listLayoutCallToActionSchema = z.object({
|
|
4346
|
+
title: z.string(),
|
|
4347
|
+
accessibilityDescription: z.string().optional(),
|
|
4348
|
+
behavior: behaviorSchema
|
|
4363
4349
|
});
|
|
4364
|
-
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4365
4350
|
var decisionLayoutOptionSchema = z.object({
|
|
4366
4351
|
action: actionSchema.optional(),
|
|
4367
4352
|
title: z.string(),
|
|
@@ -4372,6 +4357,11 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
4372
4357
|
behavior: behaviorSchema.optional(),
|
|
4373
4358
|
tag: z.string().optional()
|
|
4374
4359
|
});
|
|
4360
|
+
var itemCallToActionSchema = z.object({
|
|
4361
|
+
title: z.string(),
|
|
4362
|
+
accessibilityDescription: z.string().optional(),
|
|
4363
|
+
behavior: behaviorSchema
|
|
4364
|
+
});
|
|
4375
4365
|
var buttonLayoutSchema = z.object({
|
|
4376
4366
|
type: z.literal("button"),
|
|
4377
4367
|
action: actionSchema.optional(),
|
|
@@ -4384,21 +4374,25 @@ var buttonLayoutSchema = z.object({
|
|
|
4384
4374
|
control: z.string().optional(),
|
|
4385
4375
|
margin: sizeSchema.optional()
|
|
4386
4376
|
});
|
|
4387
|
-
var
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
accessibilityDescription: z.string().optional(),
|
|
4377
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4378
|
+
var linkHandlerSchema = z.object({
|
|
4379
|
+
regexPattern: z.string(),
|
|
4391
4380
|
behavior: behaviorSchema.optional()
|
|
4392
4381
|
});
|
|
4393
|
-
var
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4382
|
+
var navigationSchema = z.object({
|
|
4383
|
+
backButton: navigationBackBehaviorSchema.optional(),
|
|
4384
|
+
back: navigationBackBehaviorSchema.optional(),
|
|
4385
|
+
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4397
4386
|
});
|
|
4398
|
-
var
|
|
4387
|
+
var pollingOnErrorSchema = z.object({
|
|
4388
|
+
action: actionSchema.optional(),
|
|
4389
|
+
behavior: behaviorSchema.optional()
|
|
4390
|
+
});
|
|
4391
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
4392
|
+
action: actionSchema.optional(),
|
|
4399
4393
|
title: z.string(),
|
|
4400
4394
|
accessibilityDescription: z.string().optional(),
|
|
4401
|
-
behavior: behaviorSchema
|
|
4395
|
+
behavior: behaviorSchema.optional()
|
|
4402
4396
|
});
|
|
4403
4397
|
var alertLayoutSchema = z.object({
|
|
4404
4398
|
type: z.literal("alert"),
|
|
@@ -4408,10 +4402,13 @@ var alertLayoutSchema = z.object({
|
|
|
4408
4402
|
margin: sizeSchema.optional(),
|
|
4409
4403
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
4410
4404
|
});
|
|
4411
|
-
var
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4405
|
+
var listLayoutSchema = z.object({
|
|
4406
|
+
type: z.literal("list"),
|
|
4407
|
+
title: z.string().optional(),
|
|
4408
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
4409
|
+
items: z.array(listLayoutItemSchema),
|
|
4410
|
+
control: z.string().optional(),
|
|
4411
|
+
margin: sizeSchema.optional()
|
|
4415
4412
|
});
|
|
4416
4413
|
var decisionLayoutSchema = z.object({
|
|
4417
4414
|
type: z.literal("decision"),
|
|
@@ -4420,29 +4417,34 @@ var decisionLayoutSchema = z.object({
|
|
|
4420
4417
|
control: z.string().optional(),
|
|
4421
4418
|
margin: sizeSchema.optional()
|
|
4422
4419
|
});
|
|
4423
|
-
var
|
|
4424
|
-
|
|
4420
|
+
var statusListLayoutItemSchema = z.object({
|
|
4421
|
+
title: z.string(),
|
|
4422
|
+
description: z.string().optional(),
|
|
4423
|
+
icon: iconSchema,
|
|
4424
|
+
status: statusListLayoutStatusSchema.optional(),
|
|
4425
|
+
callToAction: itemCallToActionSchema.optional(),
|
|
4426
|
+
tag: z.string().optional()
|
|
4427
|
+
});
|
|
4428
|
+
var reviewLayoutSchema = z.object({
|
|
4429
|
+
type: z.literal("review"),
|
|
4430
|
+
orientation: z.string().optional(),
|
|
4431
|
+
action: actionSchema.optional(),
|
|
4432
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
4425
4433
|
title: z.string().optional(),
|
|
4426
|
-
callToAction:
|
|
4427
|
-
items: z.array(listLayoutItemSchema),
|
|
4434
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4428
4435
|
control: z.string().optional(),
|
|
4429
4436
|
margin: sizeSchema.optional()
|
|
4430
4437
|
});
|
|
4431
|
-
var
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
image: imageSchema.optional(),
|
|
4442
|
-
keywords: z.array(z.string()).optional(),
|
|
4443
|
-
summary: summaryProviderSchema.optional(),
|
|
4444
|
-
analyticsId: z.string().optional(),
|
|
4445
|
-
disabled: z.boolean().optional()
|
|
4438
|
+
var searchResponseBodySchema = z.object({
|
|
4439
|
+
results: z.array(searchResultSchema)
|
|
4440
|
+
});
|
|
4441
|
+
var pollingSchema = z.object({
|
|
4442
|
+
interval: z.number().optional(),
|
|
4443
|
+
url: z.string(),
|
|
4444
|
+
delay: z.number().optional(),
|
|
4445
|
+
timeout: z.number().optional(),
|
|
4446
|
+
maxAttempts: z.number(),
|
|
4447
|
+
onError: pollingOnErrorSchema
|
|
4446
4448
|
});
|
|
4447
4449
|
var blobSchemaSchema = z.object({
|
|
4448
4450
|
type: z.literal("blob"),
|
|
@@ -4466,23 +4468,21 @@ var blobSchemaSchema = z.object({
|
|
|
4466
4468
|
source: uploadSourceSchema.optional(),
|
|
4467
4469
|
disabled: z.boolean().optional()
|
|
4468
4470
|
});
|
|
4469
|
-
var
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
action: actionSchema.optional(),
|
|
4473
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
4474
|
-
title: z.string().optional(),
|
|
4475
|
-
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4471
|
+
var constSchemaSchema = z.object({
|
|
4472
|
+
hidden: z.boolean().optional(),
|
|
4473
|
+
alert: alertLayoutSchema.optional(),
|
|
4476
4474
|
control: z.string().optional(),
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
title: z.string(),
|
|
4475
|
+
promoted: z.boolean().optional(),
|
|
4476
|
+
$id: z.string().optional(),
|
|
4477
|
+
const: jsonElementSchema,
|
|
4478
|
+
title: z.string().optional(),
|
|
4481
4479
|
description: z.string().optional(),
|
|
4482
|
-
icon: iconSchema,
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4480
|
+
icon: iconSchema.optional(),
|
|
4481
|
+
image: imageSchema.optional(),
|
|
4482
|
+
keywords: z.array(z.string()).optional(),
|
|
4483
|
+
summary: summaryProviderSchema.optional(),
|
|
4484
|
+
analyticsId: z.string().optional(),
|
|
4485
|
+
disabled: z.boolean().optional()
|
|
4486
4486
|
});
|
|
4487
4487
|
var statusListLayoutSchema = z.object({
|
|
4488
4488
|
type: z.literal("status-list"),
|
|
@@ -4491,39 +4491,6 @@ var statusListLayoutSchema = z.object({
|
|
|
4491
4491
|
control: z.string().optional(),
|
|
4492
4492
|
margin: sizeSchema.optional()
|
|
4493
4493
|
});
|
|
4494
|
-
var persistAsyncSchema = z.lazy(
|
|
4495
|
-
() => z.object({
|
|
4496
|
-
param: z.string(),
|
|
4497
|
-
idProperty: z.string(),
|
|
4498
|
-
schema: schemaSchema,
|
|
4499
|
-
url: z.string(),
|
|
4500
|
-
method: httpMethodSchema
|
|
4501
|
-
})
|
|
4502
|
-
);
|
|
4503
|
-
var schemaSchema = z.lazy(
|
|
4504
|
-
() => z.union([
|
|
4505
|
-
allOfSchemaSchema,
|
|
4506
|
-
arraySchemaSchema,
|
|
4507
|
-
blobSchemaSchema,
|
|
4508
|
-
booleanSchemaSchema,
|
|
4509
|
-
constSchemaSchema,
|
|
4510
|
-
integerSchemaSchema,
|
|
4511
|
-
numberSchemaSchema,
|
|
4512
|
-
objectSchemaSchema,
|
|
4513
|
-
oneOfSchemaSchema,
|
|
4514
|
-
stringSchemaSchema
|
|
4515
|
-
])
|
|
4516
|
-
);
|
|
4517
|
-
var columnsLayoutSchema = z.lazy(
|
|
4518
|
-
() => z.object({
|
|
4519
|
-
type: z.literal("columns"),
|
|
4520
|
-
left: z.array(layoutSchema),
|
|
4521
|
-
right: z.array(layoutSchema),
|
|
4522
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
4523
|
-
control: z.string().optional(),
|
|
4524
|
-
margin: sizeSchema.optional()
|
|
4525
|
-
})
|
|
4526
|
-
);
|
|
4527
4494
|
var layoutSchema = z.lazy(
|
|
4528
4495
|
() => z.union([
|
|
4529
4496
|
alertLayoutSchema,
|
|
@@ -4547,12 +4514,6 @@ var layoutSchema = z.lazy(
|
|
|
4547
4514
|
statusListLayoutSchema
|
|
4548
4515
|
])
|
|
4549
4516
|
);
|
|
4550
|
-
var modalLayoutContentSchema = z.lazy(
|
|
4551
|
-
() => z.object({
|
|
4552
|
-
title: z.string().optional(),
|
|
4553
|
-
components: z.array(layoutSchema)
|
|
4554
|
-
})
|
|
4555
|
-
);
|
|
4556
4517
|
var boxLayoutSchema = z.lazy(
|
|
4557
4518
|
() => z.object({
|
|
4558
4519
|
type: z.literal("box"),
|
|
@@ -4563,6 +4524,16 @@ var boxLayoutSchema = z.lazy(
|
|
|
4563
4524
|
margin: sizeSchema.optional()
|
|
4564
4525
|
})
|
|
4565
4526
|
);
|
|
4527
|
+
var columnsLayoutSchema = z.lazy(
|
|
4528
|
+
() => z.object({
|
|
4529
|
+
type: z.literal("columns"),
|
|
4530
|
+
left: z.array(layoutSchema),
|
|
4531
|
+
right: z.array(layoutSchema),
|
|
4532
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
4533
|
+
control: z.string().optional(),
|
|
4534
|
+
margin: sizeSchema.optional()
|
|
4535
|
+
})
|
|
4536
|
+
);
|
|
4566
4537
|
var modalLayoutSchema = z.lazy(
|
|
4567
4538
|
() => z.object({
|
|
4568
4539
|
type: z.literal("modal"),
|
|
@@ -4572,6 +4543,12 @@ var modalLayoutSchema = z.lazy(
|
|
|
4572
4543
|
content: modalLayoutContentSchema
|
|
4573
4544
|
})
|
|
4574
4545
|
);
|
|
4546
|
+
var modalLayoutContentSchema = z.lazy(
|
|
4547
|
+
() => z.object({
|
|
4548
|
+
title: z.string().optional(),
|
|
4549
|
+
components: z.array(layoutSchema)
|
|
4550
|
+
})
|
|
4551
|
+
);
|
|
4575
4552
|
var stepSchema = z.lazy(
|
|
4576
4553
|
() => z.object({
|
|
4577
4554
|
key: z.string().optional(),
|
|
@@ -4594,29 +4571,54 @@ var stepSchema = z.lazy(
|
|
|
4594
4571
|
control: z.string().optional()
|
|
4595
4572
|
})
|
|
4596
4573
|
);
|
|
4597
|
-
var
|
|
4574
|
+
var schemaSchema = z.lazy(
|
|
4575
|
+
() => z.union([
|
|
4576
|
+
allOfSchemaSchema,
|
|
4577
|
+
arraySchemaSchema,
|
|
4578
|
+
blobSchemaSchema,
|
|
4579
|
+
booleanSchemaSchema,
|
|
4580
|
+
constSchemaSchema,
|
|
4581
|
+
integerSchemaSchema,
|
|
4582
|
+
numberSchemaSchema,
|
|
4583
|
+
objectSchemaSchema,
|
|
4584
|
+
oneOfSchemaSchema,
|
|
4585
|
+
stringSchemaSchema
|
|
4586
|
+
])
|
|
4587
|
+
);
|
|
4588
|
+
var allOfSchemaSchema = z.lazy(
|
|
4598
4589
|
() => z.object({
|
|
4599
|
-
|
|
4590
|
+
disabled: z.boolean().optional(),
|
|
4591
|
+
promoted: z.boolean().optional(),
|
|
4592
|
+
allOf: z.array(schemaSchema),
|
|
4593
|
+
$id: z.string().optional(),
|
|
4594
|
+
title: z.string().optional(),
|
|
4595
|
+
description: z.string().optional(),
|
|
4596
|
+
control: z.string().optional(),
|
|
4597
|
+
hidden: z.boolean().optional(),
|
|
4598
|
+
icon: iconSchema.optional(),
|
|
4599
|
+
image: imageSchema.optional(),
|
|
4600
|
+
keywords: z.array(z.string()).optional(),
|
|
4601
|
+
summary: summaryProviderSchema.optional(),
|
|
4602
|
+
analyticsId: z.string().optional(),
|
|
4603
|
+
alert: alertLayoutSchema.optional()
|
|
4604
|
+
})
|
|
4605
|
+
);
|
|
4606
|
+
var arraySchemaSchema = z.lazy(
|
|
4607
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4608
|
+
);
|
|
4609
|
+
var booleanSchemaSchema = z.lazy(
|
|
4610
|
+
() => z.object({
|
|
4611
|
+
type: z.literal("boolean"),
|
|
4600
4612
|
autofillProvider: z.string().optional(),
|
|
4601
4613
|
promoted: z.boolean().optional(),
|
|
4602
4614
|
refreshFormOnChange: z.boolean().optional(),
|
|
4603
4615
|
refreshUrl: z.string().optional(),
|
|
4604
4616
|
refreshFormUrl: z.string().optional(),
|
|
4605
|
-
format: stringSchemaFormatSchema.optional(),
|
|
4606
|
-
displayFormat: z.string().optional(),
|
|
4607
|
-
placeholder: z.string().optional(),
|
|
4608
|
-
minLength: z.number().optional(),
|
|
4609
|
-
maxLength: z.number().optional(),
|
|
4610
|
-
minimum: z.string().optional(),
|
|
4611
|
-
maximum: z.string().optional(),
|
|
4612
|
-
pattern: z.string().optional(),
|
|
4613
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
4614
|
-
autocorrect: z.boolean().optional(),
|
|
4615
4617
|
$id: z.string().optional(),
|
|
4616
4618
|
title: z.string().optional(),
|
|
4617
4619
|
description: z.string().optional(),
|
|
4618
4620
|
control: z.string().optional(),
|
|
4619
|
-
default: z.
|
|
4621
|
+
default: z.boolean().optional(),
|
|
4620
4622
|
hidden: z.boolean().optional(),
|
|
4621
4623
|
disabled: z.boolean().optional(),
|
|
4622
4624
|
icon: iconSchema.optional(),
|
|
@@ -4627,45 +4629,42 @@ var stringSchemaSchema = z.lazy(
|
|
|
4627
4629
|
persistAsync: persistAsyncSchema.optional(),
|
|
4628
4630
|
refreshStepOnChange: z.boolean().optional(),
|
|
4629
4631
|
validationAsync: validateAsyncSchema.optional(),
|
|
4630
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4631
4632
|
alert: alertLayoutSchema.optional(),
|
|
4632
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
4633
|
-
accepts: z.array(z.string()).optional(),
|
|
4634
|
-
maxSize: z.number().optional(),
|
|
4635
|
-
source: uploadSourceSchema.optional(),
|
|
4636
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4637
4633
|
autofillKey: z.string().optional(),
|
|
4638
4634
|
help: helpSchema.optional()
|
|
4639
4635
|
})
|
|
4640
4636
|
);
|
|
4641
|
-
var
|
|
4637
|
+
var integerSchemaSchema = z.lazy(
|
|
4642
4638
|
() => z.object({
|
|
4639
|
+
type: z.literal("integer"),
|
|
4643
4640
|
autofillProvider: z.string().optional(),
|
|
4644
4641
|
promoted: z.boolean().optional(),
|
|
4645
4642
|
refreshFormOnChange: z.boolean().optional(),
|
|
4646
4643
|
refreshUrl: z.string().optional(),
|
|
4647
4644
|
refreshFormUrl: z.string().optional(),
|
|
4648
|
-
promotion: jsonElementSchema.optional(),
|
|
4649
|
-
oneOf: z.array(schemaSchema),
|
|
4650
4645
|
placeholder: z.string().optional(),
|
|
4646
|
+
minimum: z.number().optional(),
|
|
4647
|
+
maximum: z.number().optional(),
|
|
4651
4648
|
$id: z.string().optional(),
|
|
4652
4649
|
title: z.string().optional(),
|
|
4653
4650
|
description: z.string().optional(),
|
|
4654
4651
|
control: z.string().optional(),
|
|
4655
|
-
default:
|
|
4652
|
+
default: z.number().optional(),
|
|
4656
4653
|
hidden: z.boolean().optional(),
|
|
4654
|
+
disabled: z.boolean().optional(),
|
|
4657
4655
|
icon: iconSchema.optional(),
|
|
4658
4656
|
image: imageSchema.optional(),
|
|
4659
4657
|
keywords: z.array(z.string()).optional(),
|
|
4660
4658
|
summary: summaryProviderSchema.optional(),
|
|
4661
4659
|
analyticsId: z.string().optional(),
|
|
4660
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4662
4661
|
refreshStepOnChange: z.boolean().optional(),
|
|
4662
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4663
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4663
4664
|
alert: alertLayoutSchema.optional(),
|
|
4664
|
-
help: helpSchema.optional(),
|
|
4665
4665
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4666
4666
|
autofillKey: z.string().optional(),
|
|
4667
|
-
|
|
4668
|
-
disabled: z.boolean().optional()
|
|
4667
|
+
help: helpSchema.optional()
|
|
4669
4668
|
})
|
|
4670
4669
|
);
|
|
4671
4670
|
var numberSchemaSchema = z.lazy(
|
|
@@ -4701,12 +4700,16 @@ var numberSchemaSchema = z.lazy(
|
|
|
4701
4700
|
help: helpSchema.optional()
|
|
4702
4701
|
})
|
|
4703
4702
|
);
|
|
4704
|
-
var
|
|
4703
|
+
var objectSchemaSchema = z.lazy(
|
|
4705
4704
|
() => z.object({
|
|
4706
|
-
type: z.literal("
|
|
4705
|
+
type: z.literal("object"),
|
|
4706
|
+
disabled: z.boolean().optional(),
|
|
4707
4707
|
promoted: z.boolean().optional(),
|
|
4708
|
+
help: helpSchema.optional(),
|
|
4709
|
+
properties: z.record(schemaSchema),
|
|
4710
|
+
displayOrder: z.array(z.string()),
|
|
4711
|
+
required: z.array(z.string()).optional(),
|
|
4708
4712
|
$id: z.string().optional(),
|
|
4709
|
-
items: z.array(schemaSchema),
|
|
4710
4713
|
title: z.string().optional(),
|
|
4711
4714
|
description: z.string().optional(),
|
|
4712
4715
|
control: z.string().optional(),
|
|
@@ -4716,27 +4719,62 @@ var arraySchemaTupleSchema = z.lazy(
|
|
|
4716
4719
|
keywords: z.array(z.string()).optional(),
|
|
4717
4720
|
summary: summaryProviderSchema.optional(),
|
|
4718
4721
|
analyticsId: z.string().optional(),
|
|
4719
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4720
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4721
4722
|
alert: alertLayoutSchema.optional()
|
|
4722
4723
|
})
|
|
4723
4724
|
);
|
|
4724
|
-
var
|
|
4725
|
+
var oneOfSchemaSchema = z.lazy(
|
|
4725
4726
|
() => z.object({
|
|
4726
|
-
type: z.literal("integer"),
|
|
4727
4727
|
autofillProvider: z.string().optional(),
|
|
4728
4728
|
promoted: z.boolean().optional(),
|
|
4729
4729
|
refreshFormOnChange: z.boolean().optional(),
|
|
4730
4730
|
refreshUrl: z.string().optional(),
|
|
4731
4731
|
refreshFormUrl: z.string().optional(),
|
|
4732
|
+
promotion: jsonElementSchema.optional(),
|
|
4733
|
+
oneOf: z.array(schemaSchema),
|
|
4732
4734
|
placeholder: z.string().optional(),
|
|
4733
|
-
minimum: z.number().optional(),
|
|
4734
|
-
maximum: z.number().optional(),
|
|
4735
4735
|
$id: z.string().optional(),
|
|
4736
4736
|
title: z.string().optional(),
|
|
4737
4737
|
description: z.string().optional(),
|
|
4738
4738
|
control: z.string().optional(),
|
|
4739
|
-
default:
|
|
4739
|
+
default: jsonElementSchema.optional(),
|
|
4740
|
+
hidden: z.boolean().optional(),
|
|
4741
|
+
icon: iconSchema.optional(),
|
|
4742
|
+
image: imageSchema.optional(),
|
|
4743
|
+
keywords: z.array(z.string()).optional(),
|
|
4744
|
+
summary: summaryProviderSchema.optional(),
|
|
4745
|
+
analyticsId: z.string().optional(),
|
|
4746
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
4747
|
+
alert: alertLayoutSchema.optional(),
|
|
4748
|
+
help: helpSchema.optional(),
|
|
4749
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4750
|
+
autofillKey: z.string().optional(),
|
|
4751
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4752
|
+
disabled: z.boolean().optional()
|
|
4753
|
+
})
|
|
4754
|
+
);
|
|
4755
|
+
var stringSchemaSchema = z.lazy(
|
|
4756
|
+
() => z.object({
|
|
4757
|
+
type: z.literal("string"),
|
|
4758
|
+
autofillProvider: z.string().optional(),
|
|
4759
|
+
promoted: z.boolean().optional(),
|
|
4760
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
4761
|
+
refreshUrl: z.string().optional(),
|
|
4762
|
+
refreshFormUrl: z.string().optional(),
|
|
4763
|
+
format: stringSchemaFormatSchema.optional(),
|
|
4764
|
+
displayFormat: z.string().optional(),
|
|
4765
|
+
placeholder: z.string().optional(),
|
|
4766
|
+
minLength: z.number().optional(),
|
|
4767
|
+
maxLength: z.number().optional(),
|
|
4768
|
+
minimum: z.string().optional(),
|
|
4769
|
+
maximum: z.string().optional(),
|
|
4770
|
+
pattern: z.string().optional(),
|
|
4771
|
+
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
4772
|
+
autocorrect: z.boolean().optional(),
|
|
4773
|
+
$id: z.string().optional(),
|
|
4774
|
+
title: z.string().optional(),
|
|
4775
|
+
description: z.string().optional(),
|
|
4776
|
+
control: z.string().optional(),
|
|
4777
|
+
default: z.string().optional(),
|
|
4740
4778
|
hidden: z.boolean().optional(),
|
|
4741
4779
|
disabled: z.boolean().optional(),
|
|
4742
4780
|
icon: iconSchema.optional(),
|
|
@@ -4749,14 +4787,15 @@ var integerSchemaSchema = z.lazy(
|
|
|
4749
4787
|
validationAsync: validateAsyncSchema.optional(),
|
|
4750
4788
|
validationMessages: z.record(z.string()).optional(),
|
|
4751
4789
|
alert: alertLayoutSchema.optional(),
|
|
4790
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
4791
|
+
accepts: z.array(z.string()).optional(),
|
|
4792
|
+
maxSize: z.number().optional(),
|
|
4793
|
+
source: uploadSourceSchema.optional(),
|
|
4752
4794
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4753
4795
|
autofillKey: z.string().optional(),
|
|
4754
4796
|
help: helpSchema.optional()
|
|
4755
4797
|
})
|
|
4756
4798
|
);
|
|
4757
|
-
var arraySchemaSchema = z.lazy(
|
|
4758
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4759
|
-
);
|
|
4760
4799
|
var arraySchemaListSchema = z.lazy(
|
|
4761
4800
|
() => z.object({
|
|
4762
4801
|
type: z.literal("array"),
|
|
@@ -4784,71 +4823,32 @@ var arraySchemaListSchema = z.lazy(
|
|
|
4784
4823
|
disabled: z.boolean().optional()
|
|
4785
4824
|
})
|
|
4786
4825
|
);
|
|
4787
|
-
var
|
|
4826
|
+
var persistAsyncSchema = z.lazy(
|
|
4788
4827
|
() => z.object({
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
description: z.string().optional(),
|
|
4795
|
-
control: z.string().optional(),
|
|
4796
|
-
hidden: z.boolean().optional(),
|
|
4797
|
-
icon: iconSchema.optional(),
|
|
4798
|
-
image: imageSchema.optional(),
|
|
4799
|
-
keywords: z.array(z.string()).optional(),
|
|
4800
|
-
summary: summaryProviderSchema.optional(),
|
|
4801
|
-
analyticsId: z.string().optional(),
|
|
4802
|
-
alert: alertLayoutSchema.optional()
|
|
4828
|
+
param: z.string(),
|
|
4829
|
+
idProperty: z.string(),
|
|
4830
|
+
schema: schemaSchema,
|
|
4831
|
+
url: z.string(),
|
|
4832
|
+
method: httpMethodSchema
|
|
4803
4833
|
})
|
|
4804
4834
|
);
|
|
4805
|
-
var
|
|
4835
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4806
4836
|
() => z.object({
|
|
4807
|
-
type: z.literal("
|
|
4808
|
-
autofillProvider: z.string().optional(),
|
|
4837
|
+
type: z.literal("array"),
|
|
4809
4838
|
promoted: z.boolean().optional(),
|
|
4810
|
-
refreshFormOnChange: z.boolean().optional(),
|
|
4811
|
-
refreshUrl: z.string().optional(),
|
|
4812
|
-
refreshFormUrl: z.string().optional(),
|
|
4813
4839
|
$id: z.string().optional(),
|
|
4840
|
+
items: z.array(schemaSchema),
|
|
4814
4841
|
title: z.string().optional(),
|
|
4815
4842
|
description: z.string().optional(),
|
|
4816
4843
|
control: z.string().optional(),
|
|
4817
|
-
default: z.boolean().optional(),
|
|
4818
4844
|
hidden: z.boolean().optional(),
|
|
4819
|
-
disabled: z.boolean().optional(),
|
|
4820
4845
|
icon: iconSchema.optional(),
|
|
4821
4846
|
image: imageSchema.optional(),
|
|
4822
4847
|
keywords: z.array(z.string()).optional(),
|
|
4823
4848
|
summary: summaryProviderSchema.optional(),
|
|
4824
4849
|
analyticsId: z.string().optional(),
|
|
4825
4850
|
persistAsync: persistAsyncSchema.optional(),
|
|
4826
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
4827
4851
|
validationAsync: validateAsyncSchema.optional(),
|
|
4828
|
-
alert: alertLayoutSchema.optional(),
|
|
4829
|
-
autofillKey: z.string().optional(),
|
|
4830
|
-
help: helpSchema.optional()
|
|
4831
|
-
})
|
|
4832
|
-
);
|
|
4833
|
-
var objectSchemaSchema = z.lazy(
|
|
4834
|
-
() => z.object({
|
|
4835
|
-
type: z.literal("object"),
|
|
4836
|
-
disabled: z.boolean().optional(),
|
|
4837
|
-
promoted: z.boolean().optional(),
|
|
4838
|
-
help: helpSchema.optional(),
|
|
4839
|
-
properties: z.record(schemaSchema),
|
|
4840
|
-
displayOrder: z.array(z.string()),
|
|
4841
|
-
required: z.array(z.string()).optional(),
|
|
4842
|
-
$id: z.string().optional(),
|
|
4843
|
-
title: z.string().optional(),
|
|
4844
|
-
description: z.string().optional(),
|
|
4845
|
-
control: z.string().optional(),
|
|
4846
|
-
hidden: z.boolean().optional(),
|
|
4847
|
-
icon: iconSchema.optional(),
|
|
4848
|
-
image: imageSchema.optional(),
|
|
4849
|
-
keywords: z.array(z.string()).optional(),
|
|
4850
|
-
summary: summaryProviderSchema.optional(),
|
|
4851
|
-
analyticsId: z.string().optional(),
|
|
4852
4852
|
alert: alertLayoutSchema.optional()
|
|
4853
4853
|
})
|
|
4854
4854
|
);
|