@dmptool/types 3.1.1 → 3.1.2

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.
@@ -151,7 +151,77 @@ export type EmailQuestionType = z.infer<typeof EmailQuestionSchema>;
151
151
  export type TextAreaQuestionType = z.infer<typeof TextAreaQuestionSchema>;
152
152
  export type TextQuestionType = z.infer<typeof TextQuestionSchema>;
153
153
  export type URLQuestionType = z.infer<typeof URLQuestionSchema>;
154
- export declare const EmailQuestionJSONSchema: z.core.JSONSchema.JSONSchema;
155
- export declare const TextAreaQuestionJSONSchema: z.core.JSONSchema.JSONSchema;
156
- export declare const TextQuestionJSONSchema: z.core.JSONSchema.JSONSchema;
157
- export declare const URLQuestionJSONSchema: z.core.JSONSchema.JSONSchema;
154
+ export declare const EmailQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
155
+ type: z.ZodLiteral<"email">;
156
+ attributes: z.ZodObject<{
157
+ multiple: z.ZodDefault<z.ZodBoolean>;
158
+ maxLength: z.ZodDefault<z.ZodNumber>;
159
+ minLength: z.ZodOptional<z.ZodNumber>;
160
+ pattern: z.ZodOptional<z.ZodString>;
161
+ defaultValue: z.ZodOptional<z.ZodString>;
162
+ label: z.ZodOptional<z.ZodString>;
163
+ help: z.ZodOptional<z.ZodString>;
164
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
165
+ }, z.core.$strip>;
166
+ showCommentField: z.ZodOptional<z.ZodBoolean>;
167
+ meta: z.ZodObject<{
168
+ schemaVersion: z.ZodDefault<z.ZodString>;
169
+ title: z.ZodOptional<z.ZodString>;
170
+ usageDescription: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>>;
173
+ export declare const TextAreaQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
174
+ type: z.ZodLiteral<"textArea">;
175
+ attributes: z.ZodObject<{
176
+ cols: z.ZodDefault<z.ZodNumber>;
177
+ rows: z.ZodDefault<z.ZodNumber>;
178
+ asRichText: z.ZodDefault<z.ZodBoolean>;
179
+ maxLength: z.ZodDefault<z.ZodNumber>;
180
+ minLength: z.ZodOptional<z.ZodNumber>;
181
+ pattern: z.ZodOptional<z.ZodString>;
182
+ defaultValue: z.ZodOptional<z.ZodString>;
183
+ label: z.ZodOptional<z.ZodString>;
184
+ help: z.ZodOptional<z.ZodString>;
185
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
186
+ }, z.core.$strip>;
187
+ meta: z.ZodObject<{
188
+ schemaVersion: z.ZodDefault<z.ZodString>;
189
+ title: z.ZodOptional<z.ZodString>;
190
+ usageDescription: z.ZodOptional<z.ZodString>;
191
+ }, z.core.$strip>;
192
+ }, z.core.$strip>>;
193
+ export declare const TextQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
194
+ type: z.ZodLiteral<"text">;
195
+ attributes: z.ZodObject<{
196
+ maxLength: z.ZodDefault<z.ZodNumber>;
197
+ minLength: z.ZodOptional<z.ZodNumber>;
198
+ pattern: z.ZodOptional<z.ZodString>;
199
+ defaultValue: z.ZodOptional<z.ZodString>;
200
+ label: z.ZodOptional<z.ZodString>;
201
+ help: z.ZodOptional<z.ZodString>;
202
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strip>;
204
+ meta: z.ZodObject<{
205
+ schemaVersion: z.ZodDefault<z.ZodString>;
206
+ title: z.ZodOptional<z.ZodString>;
207
+ usageDescription: z.ZodOptional<z.ZodString>;
208
+ }, z.core.$strip>;
209
+ }, z.core.$strip>>;
210
+ export declare const URLQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
211
+ type: z.ZodLiteral<"url">;
212
+ attributes: z.ZodObject<{
213
+ maxLength: z.ZodDefault<z.ZodNumber>;
214
+ minLength: z.ZodOptional<z.ZodNumber>;
215
+ pattern: z.ZodOptional<z.ZodString>;
216
+ defaultValue: z.ZodOptional<z.ZodString>;
217
+ label: z.ZodOptional<z.ZodString>;
218
+ help: z.ZodOptional<z.ZodString>;
219
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
220
+ }, z.core.$strip>;
221
+ showCommentField: z.ZodOptional<z.ZodBoolean>;
222
+ meta: z.ZodObject<{
223
+ schemaVersion: z.ZodDefault<z.ZodString>;
224
+ title: z.ZodOptional<z.ZodString>;
225
+ usageDescription: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strip>;
227
+ }, z.core.$strip>>;