@dmptool/types 3.1.0 → 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.
- package/README.md +1 -1
- package/dist/answers/answer.d.ts +29 -1
- package/dist/answers/dateAnswers.d.ts +19 -2
- package/dist/answers/graphQLAnswers.d.ts +44 -4
- package/dist/answers/index.d.ts +401 -1
- package/dist/answers/numberAnswers.d.ts +38 -4
- package/dist/answers/optionBasedAnswers.d.ts +40 -5
- package/dist/answers/tableAnswers.d.ts +645 -5
- package/dist/answers/textAnswers.d.ts +32 -4
- package/dist/dmp/index.d.ts +505 -1
- package/dist/dmp/index.js +2 -4
- package/dist/questions/dateQuestions.d.ts +49 -2
- package/dist/questions/graphQLQuestions.d.ts +132 -4
- package/dist/questions/index.d.ts +1143 -1
- package/dist/questions/numberQuestions.d.ts +90 -4
- package/dist/questions/optionBasedQuestions.d.ts +95 -5
- package/dist/questions/tableQuestions.d.ts +1116 -3
- package/dist/questions/textQuestions.d.ts +74 -4
- package/dist/schemas/researchOutputTableAnswer.schema.json +8 -4724
- package/package.json +14 -11
- package/schemas/researchOutputTableAnswer.schema.json +8 -4724
|
@@ -402,7 +402,135 @@ export type AffiliationSearchQuestionType = z.infer<typeof AffiliationSearchQues
|
|
|
402
402
|
export type RepositorySearchQuestionType = z.infer<typeof RepositorySearchQuestionSchema>;
|
|
403
403
|
export type MetadataStandardSearchQuestionType = z.infer<typeof MetadataStandardSearchQuestionSchema>;
|
|
404
404
|
export type LicenseSearchQuestionType = z.infer<typeof LicenseSearchQuestionSchema>;
|
|
405
|
-
export declare const AffiliationSearchQuestionJSONSchema: z.core.
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
export declare const AffiliationSearchQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
406
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
407
|
+
graphQL: z.ZodObject<{
|
|
408
|
+
query: z.ZodLiteral<string>;
|
|
409
|
+
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
410
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
411
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
label: z.ZodOptional<z.ZodString>;
|
|
413
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
414
|
+
name: z.ZodDefault<z.ZodString>;
|
|
415
|
+
type: z.ZodDefault<z.ZodString>;
|
|
416
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
417
|
+
}, z.core.$strip>>;
|
|
418
|
+
answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
|
|
419
|
+
responseField: z.ZodDefault<z.ZodLiteral<"affiliations.items">>;
|
|
420
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
421
|
+
propertyName: z.ZodDefault<z.ZodString>;
|
|
422
|
+
label: z.ZodDefault<z.ZodString>;
|
|
423
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
424
|
+
}, z.core.$strip>>;
|
|
425
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
attributes: z.ZodObject<{
|
|
428
|
+
label: z.ZodOptional<z.ZodString>;
|
|
429
|
+
help: z.ZodOptional<z.ZodString>;
|
|
430
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>;
|
|
432
|
+
meta: z.ZodObject<{
|
|
433
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
434
|
+
title: z.ZodOptional<z.ZodString>;
|
|
435
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
438
|
+
export declare const RepositorySearchQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
439
|
+
type: z.ZodLiteral<"repositorySearch">;
|
|
440
|
+
graphQL: z.ZodObject<{
|
|
441
|
+
query: z.ZodLiteral<string>;
|
|
442
|
+
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
443
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
444
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
445
|
+
label: z.ZodOptional<z.ZodString>;
|
|
446
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
447
|
+
name: z.ZodDefault<z.ZodString>;
|
|
448
|
+
type: z.ZodDefault<z.ZodString>;
|
|
449
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strip>>;
|
|
451
|
+
answerField: z.ZodLiteral<"uri">;
|
|
452
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
453
|
+
propertyName: z.ZodDefault<z.ZodString>;
|
|
454
|
+
label: z.ZodDefault<z.ZodString>;
|
|
455
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, z.core.$strip>>;
|
|
457
|
+
responseField: z.ZodLiteral<"repositories.items">;
|
|
458
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
attributes: z.ZodObject<{
|
|
461
|
+
label: z.ZodOptional<z.ZodString>;
|
|
462
|
+
help: z.ZodOptional<z.ZodString>;
|
|
463
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
meta: z.ZodObject<{
|
|
466
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
467
|
+
title: z.ZodOptional<z.ZodString>;
|
|
468
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, z.core.$strip>;
|
|
470
|
+
}, z.core.$strip>>;
|
|
471
|
+
export declare const MetadataStandardSearchQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
472
|
+
type: z.ZodLiteral<"metadataStandardSearch">;
|
|
473
|
+
graphQL: z.ZodObject<{
|
|
474
|
+
query: z.ZodLiteral<string>;
|
|
475
|
+
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
476
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
477
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
label: z.ZodOptional<z.ZodString>;
|
|
479
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
480
|
+
name: z.ZodDefault<z.ZodString>;
|
|
481
|
+
type: z.ZodDefault<z.ZodString>;
|
|
482
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$strip>>;
|
|
484
|
+
answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
|
|
485
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
486
|
+
propertyName: z.ZodDefault<z.ZodString>;
|
|
487
|
+
label: z.ZodDefault<z.ZodString>;
|
|
488
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
490
|
+
responseField: z.ZodLiteral<"metadataStandards.items">;
|
|
491
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strip>;
|
|
493
|
+
attributes: z.ZodObject<{
|
|
494
|
+
label: z.ZodOptional<z.ZodString>;
|
|
495
|
+
help: z.ZodOptional<z.ZodString>;
|
|
496
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
meta: z.ZodObject<{
|
|
499
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
500
|
+
title: z.ZodOptional<z.ZodString>;
|
|
501
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
}, z.core.$strip>>;
|
|
504
|
+
export declare const LicenseSearchQuestionJSONSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
505
|
+
type: z.ZodLiteral<"licenseSearch">;
|
|
506
|
+
graphQL: z.ZodObject<{
|
|
507
|
+
query: z.ZodLiteral<string>;
|
|
508
|
+
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
509
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
510
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
label: z.ZodOptional<z.ZodString>;
|
|
512
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
513
|
+
name: z.ZodDefault<z.ZodString>;
|
|
514
|
+
type: z.ZodDefault<z.ZodString>;
|
|
515
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>>;
|
|
517
|
+
answerField: z.ZodLiteral<"uri">;
|
|
518
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
519
|
+
propertyName: z.ZodDefault<z.ZodString>;
|
|
520
|
+
label: z.ZodDefault<z.ZodString>;
|
|
521
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
522
|
+
}, z.core.$strip>>;
|
|
523
|
+
responseField: z.ZodLiteral<"licenses">;
|
|
524
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
525
|
+
}, z.core.$strip>;
|
|
526
|
+
attributes: z.ZodObject<{
|
|
527
|
+
label: z.ZodOptional<z.ZodString>;
|
|
528
|
+
help: z.ZodOptional<z.ZodString>;
|
|
529
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
meta: z.ZodObject<{
|
|
532
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
533
|
+
title: z.ZodOptional<z.ZodString>;
|
|
534
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
}, z.core.$strip>>;
|