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