@dmptool/types 1.2.3 → 1.2.5

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.
Files changed (42) hide show
  1. package/README.md +8 -0
  2. package/dist/answers/__tests__/answers.spec.js +122 -6
  3. package/dist/answers/answer.d.ts +3 -3
  4. package/dist/answers/graphQLAnswers.d.ts +120 -25
  5. package/dist/answers/graphQLAnswers.js +22 -5
  6. package/dist/answers/index.d.ts +399 -31
  7. package/dist/answers/index.js +8 -2
  8. package/dist/answers/numberAnswers.d.ts +40 -0
  9. package/dist/answers/numberAnswers.js +8 -1
  10. package/dist/answers/tableAnswers.d.ts +1688 -75
  11. package/dist/answers/tableAnswers.js +63 -2
  12. package/dist/questions/__tests__/graphQLQuestions.spec.js +177 -39
  13. package/dist/questions/__tests__/numberQuestions.spec.js +36 -0
  14. package/dist/questions/__tests__/tableQuestion.spec.js +145 -0
  15. package/dist/questions/__tests__/usage.spec.js +162 -1
  16. package/dist/questions/graphQLQuestions.d.ts +420 -60
  17. package/dist/questions/graphQLQuestions.js +257 -11
  18. package/dist/questions/index.d.ts +4849 -189
  19. package/dist/questions/index.js +9 -2
  20. package/dist/questions/numberQuestions.d.ts +105 -0
  21. package/dist/questions/numberQuestions.js +12 -1
  22. package/dist/questions/question.d.ts +4 -4
  23. package/dist/questions/question.js +25 -4
  24. package/dist/questions/tableQuestions.d.ts +5930 -679
  25. package/dist/questions/tableQuestions.js +188 -3
  26. package/dist/schemas/anyAnswer.schema.json +137 -17
  27. package/dist/schemas/anyQuestion.schema.json +847 -101
  28. package/dist/schemas/anyTableColumnAnswer.schema.json +116 -5
  29. package/dist/schemas/anyTableColumnQuestion.schema.json +326 -24
  30. package/dist/schemas/licenseSearchAnswer.schema.json +49 -0
  31. package/dist/schemas/licenseSearchQuestion.schema.json +164 -0
  32. package/dist/schemas/metadataStandardSearchAnswer.schema.json +49 -0
  33. package/dist/schemas/metadataStandardSearchQuestion.schema.json +174 -0
  34. package/dist/schemas/numberWithContextAnswer.schema.json +45 -0
  35. package/dist/schemas/numberWithContextQuestion.schema.json +84 -0
  36. package/dist/schemas/repositorySearchAnswer.schema.json +49 -0
  37. package/dist/schemas/repositorySearchQuestion.schema.json +180 -0
  38. package/dist/schemas/researchOutputTableAnswer.schema.json +519 -0
  39. package/dist/schemas/researchOutputTableQuestion.schema.json +1183 -0
  40. package/dist/schemas/tableAnswer.schema.json +116 -5
  41. package/dist/schemas/tableQuestion.schema.json +348 -24
  42. package/package.json +9 -5
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
- export declare const FilteredSearchQuestionSchema: z.ZodObject<{
2
+ export declare const affiliationQuery: string;
3
+ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
3
4
  meta: z.ZodDefault<z.ZodObject<{
4
5
  schemaVersion: z.ZodDefault<z.ZodString>;
5
6
  title: z.ZodOptional<z.ZodString>;
@@ -14,24 +15,194 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
14
15
  usageDescription?: string | undefined;
15
16
  }>>;
16
17
  } & {
17
- type: z.ZodLiteral<"filteredSearch">;
18
+ type: z.ZodLiteral<"affiliationSearch">;
19
+ attributes: z.ZodDefault<z.ZodObject<{
20
+ label: z.ZodOptional<z.ZodString>;
21
+ help: z.ZodOptional<z.ZodString>;
22
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ label?: string | undefined;
25
+ help?: string | undefined;
26
+ labelTranslationKey?: string | undefined;
27
+ }, {
28
+ label?: string | undefined;
29
+ help?: string | undefined;
30
+ labelTranslationKey?: string | undefined;
31
+ }>>;
18
32
  graphQL: z.ZodDefault<z.ZodObject<{
33
+ localQueryId: z.ZodOptional<z.ZodString>;
34
+ } & {
35
+ query: z.ZodDefault<z.ZodLiteral<string>>;
36
+ queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
37
+ variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
38
+ name: z.ZodDefault<z.ZodLiteral<"name">>;
39
+ type: z.ZodDefault<z.ZodString>;
40
+ label: z.ZodDefault<z.ZodString>;
41
+ minLength: z.ZodDefault<z.ZodLiteral<3>>;
42
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ type: string;
45
+ label: string;
46
+ minLength: 3;
47
+ name: "name";
48
+ labelTranslationKey?: string | undefined;
49
+ }, {
50
+ type?: string | undefined;
51
+ label?: string | undefined;
52
+ labelTranslationKey?: string | undefined;
53
+ minLength?: 3 | undefined;
54
+ name?: "name" | undefined;
55
+ }>, "many">>;
56
+ answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
19
57
  displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
20
- propertyName: z.ZodDefault<z.ZodString>;
58
+ propertyName: z.ZodDefault<z.ZodLiteral<"displayName">>;
21
59
  label: z.ZodDefault<z.ZodString>;
22
- labelTranslationKey: z.ZodOptional<z.ZodString>;
60
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
23
61
  }, "strip", z.ZodTypeAny, {
24
62
  label: string;
25
- propertyName: string;
63
+ propertyName: "displayName";
26
64
  labelTranslationKey?: string | undefined;
27
65
  }, {
28
66
  label?: string | undefined;
29
67
  labelTranslationKey?: string | undefined;
30
- propertyName?: string | undefined;
68
+ propertyName?: "displayName" | undefined;
31
69
  }>, "many">>;
70
+ responseField: z.ZodDefault<z.ZodLiteral<"affiliations.items">>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ displayFields: {
73
+ label: string;
74
+ propertyName: "displayName";
75
+ labelTranslationKey?: string | undefined;
76
+ }[];
77
+ query: string;
78
+ responseField: "affiliations.items";
79
+ variables: {
80
+ type: string;
81
+ label: string;
82
+ minLength: 3;
83
+ name: "name";
84
+ labelTranslationKey?: string | undefined;
85
+ }[];
86
+ answerField: "uri";
87
+ localQueryId?: string | undefined;
88
+ queryId?: string | undefined;
89
+ }, {
90
+ displayFields?: {
91
+ label?: string | undefined;
92
+ labelTranslationKey?: string | undefined;
93
+ propertyName?: "displayName" | undefined;
94
+ }[] | undefined;
95
+ localQueryId?: string | undefined;
96
+ query?: string | undefined;
97
+ responseField?: "affiliations.items" | undefined;
98
+ variables?: {
99
+ type?: string | undefined;
100
+ label?: string | undefined;
101
+ labelTranslationKey?: string | undefined;
102
+ minLength?: 3 | undefined;
103
+ name?: "name" | undefined;
104
+ }[] | undefined;
105
+ queryId?: string | undefined;
106
+ answerField?: "uri" | undefined;
107
+ }>>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ type: "affiliationSearch";
110
+ attributes: {
111
+ label?: string | undefined;
112
+ help?: string | undefined;
113
+ labelTranslationKey?: string | undefined;
114
+ };
115
+ meta: {
116
+ schemaVersion: string;
117
+ title?: string | undefined;
118
+ usageDescription?: string | undefined;
119
+ };
120
+ graphQL: {
121
+ displayFields: {
122
+ label: string;
123
+ propertyName: "displayName";
124
+ labelTranslationKey?: string | undefined;
125
+ }[];
126
+ query: string;
127
+ responseField: "affiliations.items";
128
+ variables: {
129
+ type: string;
130
+ label: string;
131
+ minLength: 3;
132
+ name: "name";
133
+ labelTranslationKey?: string | undefined;
134
+ }[];
135
+ answerField: "uri";
136
+ localQueryId?: string | undefined;
137
+ queryId?: string | undefined;
138
+ };
139
+ }, {
140
+ type: "affiliationSearch";
141
+ attributes?: {
142
+ label?: string | undefined;
143
+ help?: string | undefined;
144
+ labelTranslationKey?: string | undefined;
145
+ } | undefined;
146
+ meta?: {
147
+ schemaVersion?: string | undefined;
148
+ title?: string | undefined;
149
+ usageDescription?: string | undefined;
150
+ } | undefined;
151
+ graphQL?: {
152
+ displayFields?: {
153
+ label?: string | undefined;
154
+ labelTranslationKey?: string | undefined;
155
+ propertyName?: "displayName" | undefined;
156
+ }[] | undefined;
157
+ localQueryId?: string | undefined;
158
+ query?: string | undefined;
159
+ responseField?: "affiliations.items" | undefined;
160
+ variables?: {
161
+ type?: string | undefined;
162
+ label?: string | undefined;
163
+ labelTranslationKey?: string | undefined;
164
+ minLength?: 3 | undefined;
165
+ name?: "name" | undefined;
166
+ }[] | undefined;
167
+ queryId?: string | undefined;
168
+ answerField?: "uri" | undefined;
169
+ } | undefined;
170
+ }>;
171
+ export declare const repositoryQuery: string;
172
+ export declare const RepositorySearchQuestionSchema: z.ZodObject<{
173
+ meta: z.ZodDefault<z.ZodObject<{
174
+ schemaVersion: z.ZodDefault<z.ZodString>;
175
+ title: z.ZodOptional<z.ZodString>;
176
+ usageDescription: z.ZodOptional<z.ZodString>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ schemaVersion: string;
179
+ title?: string | undefined;
180
+ usageDescription?: string | undefined;
181
+ }, {
182
+ schemaVersion?: string | undefined;
183
+ title?: string | undefined;
184
+ usageDescription?: string | undefined;
185
+ }>>;
186
+ } & {
187
+ type: z.ZodLiteral<"repositorySearch">;
188
+ attributes: z.ZodDefault<z.ZodObject<{
189
+ label: z.ZodOptional<z.ZodString>;
190
+ help: z.ZodOptional<z.ZodString>;
191
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ label?: string | undefined;
194
+ help?: string | undefined;
195
+ labelTranslationKey?: string | undefined;
196
+ }, {
197
+ label?: string | undefined;
198
+ help?: string | undefined;
199
+ labelTranslationKey?: string | undefined;
200
+ }>>;
201
+ graphQL: z.ZodDefault<z.ZodObject<{
32
202
  localQueryId: z.ZodOptional<z.ZodString>;
33
- query: z.ZodOptional<z.ZodString>;
34
- responseField: z.ZodDefault<z.ZodString>;
203
+ } & {
204
+ query: z.ZodDefault<z.ZodLiteral<string>>;
205
+ queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
35
206
  variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
36
207
  minLength: z.ZodOptional<z.ZodNumber>;
37
208
  label: z.ZodOptional<z.ZodString>;
@@ -54,13 +225,29 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
54
225
  name?: string | undefined;
55
226
  defaultValue?: string | undefined;
56
227
  }>, "many">>;
228
+ answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
229
+ displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
230
+ propertyName: z.ZodDefault<z.ZodString>;
231
+ label: z.ZodDefault<z.ZodString>;
232
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ label: string;
235
+ propertyName: string;
236
+ labelTranslationKey?: string | undefined;
237
+ }, {
238
+ label?: string | undefined;
239
+ labelTranslationKey?: string | undefined;
240
+ propertyName?: string | undefined;
241
+ }>, "many">>;
242
+ responseField: z.ZodDefault<z.ZodLiteral<"repositories.items">>;
57
243
  }, "strip", z.ZodTypeAny, {
58
244
  displayFields: {
59
245
  label: string;
60
246
  propertyName: string;
61
247
  labelTranslationKey?: string | undefined;
62
248
  }[];
63
- responseField: string;
249
+ query: string;
250
+ responseField: "repositories.items";
64
251
  variables: {
65
252
  type: string;
66
253
  name: string;
@@ -69,8 +256,9 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
69
256
  minLength?: number | undefined;
70
257
  defaultValue?: string | undefined;
71
258
  }[];
259
+ answerField: "uri";
72
260
  localQueryId?: string | undefined;
73
- query?: string | undefined;
261
+ queryId?: string | undefined;
74
262
  }, {
75
263
  displayFields?: {
76
264
  label?: string | undefined;
@@ -79,7 +267,7 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
79
267
  }[] | undefined;
80
268
  localQueryId?: string | undefined;
81
269
  query?: string | undefined;
82
- responseField?: string | undefined;
270
+ responseField?: "repositories.items" | undefined;
83
271
  variables?: {
84
272
  type?: string | undefined;
85
273
  label?: string | undefined;
@@ -88,15 +276,96 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
88
276
  name?: string | undefined;
89
277
  defaultValue?: string | undefined;
90
278
  }[] | undefined;
279
+ queryId?: string | undefined;
280
+ answerField?: "uri" | undefined;
91
281
  }>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ type: "repositorySearch";
284
+ attributes: {
285
+ label?: string | undefined;
286
+ help?: string | undefined;
287
+ labelTranslationKey?: string | undefined;
288
+ };
289
+ meta: {
290
+ schemaVersion: string;
291
+ title?: string | undefined;
292
+ usageDescription?: string | undefined;
293
+ };
294
+ graphQL: {
295
+ displayFields: {
296
+ label: string;
297
+ propertyName: string;
298
+ labelTranslationKey?: string | undefined;
299
+ }[];
300
+ query: string;
301
+ responseField: "repositories.items";
302
+ variables: {
303
+ type: string;
304
+ name: string;
305
+ label?: string | undefined;
306
+ labelTranslationKey?: string | undefined;
307
+ minLength?: number | undefined;
308
+ defaultValue?: string | undefined;
309
+ }[];
310
+ answerField: "uri";
311
+ localQueryId?: string | undefined;
312
+ queryId?: string | undefined;
313
+ };
314
+ }, {
315
+ type: "repositorySearch";
316
+ attributes?: {
317
+ label?: string | undefined;
318
+ help?: string | undefined;
319
+ labelTranslationKey?: string | undefined;
320
+ } | undefined;
321
+ meta?: {
322
+ schemaVersion?: string | undefined;
323
+ title?: string | undefined;
324
+ usageDescription?: string | undefined;
325
+ } | undefined;
326
+ graphQL?: {
327
+ displayFields?: {
328
+ label?: string | undefined;
329
+ labelTranslationKey?: string | undefined;
330
+ propertyName?: string | undefined;
331
+ }[] | undefined;
332
+ localQueryId?: string | undefined;
333
+ query?: string | undefined;
334
+ responseField?: "repositories.items" | undefined;
335
+ variables?: {
336
+ type?: string | undefined;
337
+ label?: string | undefined;
338
+ labelTranslationKey?: string | undefined;
339
+ minLength?: number | undefined;
340
+ name?: string | undefined;
341
+ defaultValue?: string | undefined;
342
+ }[] | undefined;
343
+ queryId?: string | undefined;
344
+ answerField?: "uri" | undefined;
345
+ } | undefined;
346
+ }>;
347
+ export declare const metadataStandardQuery: string;
348
+ export declare const MetadataStandardSearchQuestionSchema: z.ZodObject<{
349
+ meta: z.ZodDefault<z.ZodObject<{
350
+ schemaVersion: z.ZodDefault<z.ZodString>;
351
+ title: z.ZodOptional<z.ZodString>;
352
+ usageDescription: z.ZodOptional<z.ZodString>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ schemaVersion: string;
355
+ title?: string | undefined;
356
+ usageDescription?: string | undefined;
357
+ }, {
358
+ schemaVersion?: string | undefined;
359
+ title?: string | undefined;
360
+ usageDescription?: string | undefined;
361
+ }>>;
362
+ } & {
363
+ type: z.ZodLiteral<"metadataStandardSearch">;
92
364
  attributes: z.ZodDefault<z.ZodObject<{
93
365
  label: z.ZodOptional<z.ZodString>;
94
366
  help: z.ZodOptional<z.ZodString>;
95
367
  labelTranslationKey: z.ZodOptional<z.ZodString>;
96
- } & {
97
- multiple: z.ZodDefault<z.ZodBoolean>;
98
368
  }, "strip", z.ZodTypeAny, {
99
- multiple: boolean;
100
369
  label?: string | undefined;
101
370
  help?: string | undefined;
102
371
  labelTranslationKey?: string | undefined;
@@ -104,12 +373,91 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
104
373
  label?: string | undefined;
105
374
  help?: string | undefined;
106
375
  labelTranslationKey?: string | undefined;
107
- multiple?: boolean | undefined;
376
+ }>>;
377
+ graphQL: z.ZodDefault<z.ZodObject<{
378
+ localQueryId: z.ZodOptional<z.ZodString>;
379
+ } & {
380
+ query: z.ZodDefault<z.ZodLiteral<string>>;
381
+ queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
382
+ variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
383
+ minLength: z.ZodOptional<z.ZodNumber>;
384
+ label: z.ZodOptional<z.ZodString>;
385
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
386
+ name: z.ZodDefault<z.ZodString>;
387
+ type: z.ZodDefault<z.ZodString>;
388
+ defaultValue: z.ZodOptional<z.ZodString>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ type: string;
391
+ name: string;
392
+ label?: string | undefined;
393
+ labelTranslationKey?: string | undefined;
394
+ minLength?: number | undefined;
395
+ defaultValue?: string | undefined;
396
+ }, {
397
+ type?: string | undefined;
398
+ label?: string | undefined;
399
+ labelTranslationKey?: string | undefined;
400
+ minLength?: number | undefined;
401
+ name?: string | undefined;
402
+ defaultValue?: string | undefined;
403
+ }>, "many">>;
404
+ answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
405
+ displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
406
+ propertyName: z.ZodDefault<z.ZodString>;
407
+ label: z.ZodDefault<z.ZodString>;
408
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ label: string;
411
+ propertyName: string;
412
+ labelTranslationKey?: string | undefined;
413
+ }, {
414
+ label?: string | undefined;
415
+ labelTranslationKey?: string | undefined;
416
+ propertyName?: string | undefined;
417
+ }>, "many">>;
418
+ responseField: z.ZodDefault<z.ZodLiteral<"metadataStandards.items">>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ displayFields: {
421
+ label: string;
422
+ propertyName: string;
423
+ labelTranslationKey?: string | undefined;
424
+ }[];
425
+ query: string;
426
+ responseField: "metadataStandards.items";
427
+ variables: {
428
+ type: string;
429
+ name: string;
430
+ label?: string | undefined;
431
+ labelTranslationKey?: string | undefined;
432
+ minLength?: number | undefined;
433
+ defaultValue?: string | undefined;
434
+ }[];
435
+ answerField: "uri";
436
+ localQueryId?: string | undefined;
437
+ queryId?: string | undefined;
438
+ }, {
439
+ displayFields?: {
440
+ label?: string | undefined;
441
+ labelTranslationKey?: string | undefined;
442
+ propertyName?: string | undefined;
443
+ }[] | undefined;
444
+ localQueryId?: string | undefined;
445
+ query?: string | undefined;
446
+ responseField?: "metadataStandards.items" | undefined;
447
+ variables?: {
448
+ type?: string | undefined;
449
+ label?: string | undefined;
450
+ labelTranslationKey?: string | undefined;
451
+ minLength?: number | undefined;
452
+ name?: string | undefined;
453
+ defaultValue?: string | undefined;
454
+ }[] | undefined;
455
+ queryId?: string | undefined;
456
+ answerField?: "uri" | undefined;
108
457
  }>>;
109
458
  }, "strip", z.ZodTypeAny, {
110
- type: "filteredSearch";
459
+ type: "metadataStandardSearch";
111
460
  attributes: {
112
- multiple: boolean;
113
461
  label?: string | undefined;
114
462
  help?: string | undefined;
115
463
  labelTranslationKey?: string | undefined;
@@ -125,7 +473,8 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
125
473
  propertyName: string;
126
474
  labelTranslationKey?: string | undefined;
127
475
  }[];
128
- responseField: string;
476
+ query: string;
477
+ responseField: "metadataStandards.items";
129
478
  variables: {
130
479
  type: string;
131
480
  name: string;
@@ -134,16 +483,16 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
134
483
  minLength?: number | undefined;
135
484
  defaultValue?: string | undefined;
136
485
  }[];
486
+ answerField: "uri";
137
487
  localQueryId?: string | undefined;
138
- query?: string | undefined;
488
+ queryId?: string | undefined;
139
489
  };
140
490
  }, {
141
- type: "filteredSearch";
491
+ type: "metadataStandardSearch";
142
492
  attributes?: {
143
493
  label?: string | undefined;
144
494
  help?: string | undefined;
145
495
  labelTranslationKey?: string | undefined;
146
- multiple?: boolean | undefined;
147
496
  } | undefined;
148
497
  meta?: {
149
498
  schemaVersion?: string | undefined;
@@ -158,7 +507,7 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
158
507
  }[] | undefined;
159
508
  localQueryId?: string | undefined;
160
509
  query?: string | undefined;
161
- responseField?: string | undefined;
510
+ responseField?: "metadataStandards.items" | undefined;
162
511
  variables?: {
163
512
  type?: string | undefined;
164
513
  label?: string | undefined;
@@ -167,10 +516,12 @@ export declare const FilteredSearchQuestionSchema: z.ZodObject<{
167
516
  name?: string | undefined;
168
517
  defaultValue?: string | undefined;
169
518
  }[] | undefined;
519
+ queryId?: string | undefined;
520
+ answerField?: "uri" | undefined;
170
521
  } | undefined;
171
522
  }>;
172
- export declare const affiliationQuery: string;
173
- export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
523
+ export declare const licenseQuery: string;
524
+ export declare const LicenseSearchQuestionSchema: z.ZodObject<{
174
525
  meta: z.ZodDefault<z.ZodObject<{
175
526
  schemaVersion: z.ZodDefault<z.ZodString>;
176
527
  title: z.ZodOptional<z.ZodString>;
@@ -185,7 +536,7 @@ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
185
536
  usageDescription?: string | undefined;
186
537
  }>>;
187
538
  } & {
188
- type: z.ZodLiteral<"affiliationSearch">;
539
+ type: z.ZodLiteral<"licenseSearch">;
189
540
  attributes: z.ZodDefault<z.ZodObject<{
190
541
  label: z.ZodOptional<z.ZodString>;
191
542
  help: z.ZodOptional<z.ZodString>;
@@ -205,53 +556,57 @@ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
205
556
  query: z.ZodDefault<z.ZodLiteral<string>>;
206
557
  queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
207
558
  variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
208
- name: z.ZodDefault<z.ZodLiteral<"name">>;
559
+ minLength: z.ZodOptional<z.ZodNumber>;
560
+ label: z.ZodOptional<z.ZodString>;
561
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
562
+ name: z.ZodDefault<z.ZodString>;
209
563
  type: z.ZodDefault<z.ZodString>;
210
- label: z.ZodDefault<z.ZodString>;
211
- minLength: z.ZodDefault<z.ZodLiteral<3>>;
212
- labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
564
+ defaultValue: z.ZodOptional<z.ZodString>;
213
565
  }, "strip", z.ZodTypeAny, {
214
566
  type: string;
215
- label: string;
216
- minLength: 3;
217
- name: "name";
567
+ name: string;
568
+ label?: string | undefined;
218
569
  labelTranslationKey?: string | undefined;
570
+ minLength?: number | undefined;
571
+ defaultValue?: string | undefined;
219
572
  }, {
220
573
  type?: string | undefined;
221
574
  label?: string | undefined;
222
575
  labelTranslationKey?: string | undefined;
223
- minLength?: 3 | undefined;
224
- name?: "name" | undefined;
576
+ minLength?: number | undefined;
577
+ name?: string | undefined;
578
+ defaultValue?: string | undefined;
225
579
  }>, "many">>;
226
580
  answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
227
581
  displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
228
- propertyName: z.ZodDefault<z.ZodLiteral<"displayName">>;
582
+ propertyName: z.ZodDefault<z.ZodString>;
229
583
  label: z.ZodDefault<z.ZodString>;
230
- labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
584
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
231
585
  }, "strip", z.ZodTypeAny, {
232
586
  label: string;
233
- propertyName: "displayName";
587
+ propertyName: string;
234
588
  labelTranslationKey?: string | undefined;
235
589
  }, {
236
590
  label?: string | undefined;
237
591
  labelTranslationKey?: string | undefined;
238
- propertyName?: "displayName" | undefined;
592
+ propertyName?: string | undefined;
239
593
  }>, "many">>;
240
- responseField: z.ZodDefault<z.ZodLiteral<"affiliations.items">>;
594
+ responseField: z.ZodDefault<z.ZodLiteral<"licenses.items">>;
241
595
  }, "strip", z.ZodTypeAny, {
242
596
  displayFields: {
243
597
  label: string;
244
- propertyName: "displayName";
598
+ propertyName: string;
245
599
  labelTranslationKey?: string | undefined;
246
600
  }[];
247
601
  query: string;
248
- responseField: "affiliations.items";
602
+ responseField: "licenses.items";
249
603
  variables: {
250
604
  type: string;
251
- label: string;
252
- minLength: 3;
253
- name: "name";
605
+ name: string;
606
+ label?: string | undefined;
254
607
  labelTranslationKey?: string | undefined;
608
+ minLength?: number | undefined;
609
+ defaultValue?: string | undefined;
255
610
  }[];
256
611
  answerField: "uri";
257
612
  localQueryId?: string | undefined;
@@ -260,23 +615,24 @@ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
260
615
  displayFields?: {
261
616
  label?: string | undefined;
262
617
  labelTranslationKey?: string | undefined;
263
- propertyName?: "displayName" | undefined;
618
+ propertyName?: string | undefined;
264
619
  }[] | undefined;
265
620
  localQueryId?: string | undefined;
266
621
  query?: string | undefined;
267
- responseField?: "affiliations.items" | undefined;
622
+ responseField?: "licenses.items" | undefined;
268
623
  variables?: {
269
624
  type?: string | undefined;
270
625
  label?: string | undefined;
271
626
  labelTranslationKey?: string | undefined;
272
- minLength?: 3 | undefined;
273
- name?: "name" | undefined;
627
+ minLength?: number | undefined;
628
+ name?: string | undefined;
629
+ defaultValue?: string | undefined;
274
630
  }[] | undefined;
275
631
  queryId?: string | undefined;
276
632
  answerField?: "uri" | undefined;
277
633
  }>>;
278
634
  }, "strip", z.ZodTypeAny, {
279
- type: "affiliationSearch";
635
+ type: "licenseSearch";
280
636
  attributes: {
281
637
  label?: string | undefined;
282
638
  help?: string | undefined;
@@ -290,24 +646,25 @@ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
290
646
  graphQL: {
291
647
  displayFields: {
292
648
  label: string;
293
- propertyName: "displayName";
649
+ propertyName: string;
294
650
  labelTranslationKey?: string | undefined;
295
651
  }[];
296
652
  query: string;
297
- responseField: "affiliations.items";
653
+ responseField: "licenses.items";
298
654
  variables: {
299
655
  type: string;
300
- label: string;
301
- minLength: 3;
302
- name: "name";
656
+ name: string;
657
+ label?: string | undefined;
303
658
  labelTranslationKey?: string | undefined;
659
+ minLength?: number | undefined;
660
+ defaultValue?: string | undefined;
304
661
  }[];
305
662
  answerField: "uri";
306
663
  localQueryId?: string | undefined;
307
664
  queryId?: string | undefined;
308
665
  };
309
666
  }, {
310
- type: "affiliationSearch";
667
+ type: "licenseSearch";
311
668
  attributes?: {
312
669
  label?: string | undefined;
313
670
  help?: string | undefined;
@@ -322,21 +679,24 @@ export declare const AffiliationSearchQuestionSchema: z.ZodObject<{
322
679
  displayFields?: {
323
680
  label?: string | undefined;
324
681
  labelTranslationKey?: string | undefined;
325
- propertyName?: "displayName" | undefined;
682
+ propertyName?: string | undefined;
326
683
  }[] | undefined;
327
684
  localQueryId?: string | undefined;
328
685
  query?: string | undefined;
329
- responseField?: "affiliations.items" | undefined;
686
+ responseField?: "licenses.items" | undefined;
330
687
  variables?: {
331
688
  type?: string | undefined;
332
689
  label?: string | undefined;
333
690
  labelTranslationKey?: string | undefined;
334
- minLength?: 3 | undefined;
335
- name?: "name" | undefined;
691
+ minLength?: number | undefined;
692
+ name?: string | undefined;
693
+ defaultValue?: string | undefined;
336
694
  }[] | undefined;
337
695
  queryId?: string | undefined;
338
696
  answerField?: "uri" | undefined;
339
697
  } | undefined;
340
698
  }>;
341
- export type FilteredSearchQuestionType = z.infer<typeof FilteredSearchQuestionSchema>;
342
699
  export type AffiliationSearchQuestionType = z.infer<typeof AffiliationSearchQuestionSchema>;
700
+ export type RepositorySearchQuestionType = z.infer<typeof RepositorySearchQuestionSchema>;
701
+ export type MetadataStandardSearchQuestionType = z.infer<typeof MetadataStandardSearchQuestionSchema>;
702
+ export type LicenseSearchQuestionType = z.infer<typeof LicenseSearchQuestionSchema>;