@reqquest/ui 1.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 +3 -0
- package/dist/api.d.ts +595 -0
- package/dist/api.js +618 -0
- package/dist/components/ButtonLoadingIcon.svelte +27 -0
- package/dist/components/ButtonLoadingIcon.svelte.d.ts +18 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/registry.d.ts +138 -0
- package/dist/registry.js +42 -0
- package/dist/stores/IStateStore.d.ts +5 -0
- package/dist/stores/IStateStore.js +1 -0
- package/dist/typed-client/index.d.ts +25 -0
- package/dist/typed-client/index.js +23 -0
- package/dist/typed-client/runtime/batcher.d.ts +105 -0
- package/dist/typed-client/runtime/batcher.js +203 -0
- package/dist/typed-client/runtime/createClient.d.ts +17 -0
- package/dist/typed-client/runtime/createClient.js +24 -0
- package/dist/typed-client/runtime/error.d.ts +18 -0
- package/dist/typed-client/runtime/error.js +19 -0
- package/dist/typed-client/runtime/fetcher.d.ts +10 -0
- package/dist/typed-client/runtime/fetcher.js +65 -0
- package/dist/typed-client/runtime/generateGraphqlOperation.d.ts +30 -0
- package/dist/typed-client/runtime/generateGraphqlOperation.js +128 -0
- package/dist/typed-client/runtime/index.d.ts +11 -0
- package/dist/typed-client/runtime/index.js +10 -0
- package/dist/typed-client/runtime/linkTypeMap.d.ts +9 -0
- package/dist/typed-client/runtime/linkTypeMap.js +95 -0
- package/dist/typed-client/runtime/typeSelection.d.ts +28 -0
- package/dist/typed-client/runtime/typeSelection.js +3 -0
- package/dist/typed-client/runtime/types.d.ts +55 -0
- package/dist/typed-client/runtime/types.js +2 -0
- package/dist/typed-client/schema.d.ts +1483 -0
- package/dist/typed-client/schema.graphql +1217 -0
- package/dist/typed-client/schema.js +313 -0
- package/dist/typed-client/types.d.ts +540 -0
- package/dist/typed-client/types.js +1368 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +3 -0
- package/package.json +56 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
const Access_possibleTypes = ['Access'];
|
|
6
|
+
export const isAccess = (obj) => {
|
|
7
|
+
if (!obj?.__typename)
|
|
8
|
+
throw new Error('__typename is missing in "isAccess"');
|
|
9
|
+
return Access_possibleTypes.includes(obj.__typename);
|
|
10
|
+
};
|
|
11
|
+
const AccessControl_possibleTypes = ['AccessControl'];
|
|
12
|
+
export const isAccessControl = (obj) => {
|
|
13
|
+
if (!obj?.__typename)
|
|
14
|
+
throw new Error('__typename is missing in "isAccessControl"');
|
|
15
|
+
return AccessControl_possibleTypes.includes(obj.__typename);
|
|
16
|
+
};
|
|
17
|
+
const AccessGrantTag_possibleTypes = ['AccessGrantTag'];
|
|
18
|
+
export const isAccessGrantTag = (obj) => {
|
|
19
|
+
if (!obj?.__typename)
|
|
20
|
+
throw new Error('__typename is missing in "isAccessGrantTag"');
|
|
21
|
+
return AccessGrantTag_possibleTypes.includes(obj.__typename);
|
|
22
|
+
};
|
|
23
|
+
const AccessRole_possibleTypes = ['AccessRole'];
|
|
24
|
+
export const isAccessRole = (obj) => {
|
|
25
|
+
if (!obj?.__typename)
|
|
26
|
+
throw new Error('__typename is missing in "isAccessRole"');
|
|
27
|
+
return AccessRole_possibleTypes.includes(obj.__typename);
|
|
28
|
+
};
|
|
29
|
+
const AccessRoleGrant_possibleTypes = ['AccessRoleGrant'];
|
|
30
|
+
export const isAccessRoleGrant = (obj) => {
|
|
31
|
+
if (!obj?.__typename)
|
|
32
|
+
throw new Error('__typename is missing in "isAccessRoleGrant"');
|
|
33
|
+
return AccessRoleGrant_possibleTypes.includes(obj.__typename);
|
|
34
|
+
};
|
|
35
|
+
const AccessRoleGrantActions_possibleTypes = ['AccessRoleGrantActions'];
|
|
36
|
+
export const isAccessRoleGrantActions = (obj) => {
|
|
37
|
+
if (!obj?.__typename)
|
|
38
|
+
throw new Error('__typename is missing in "isAccessRoleGrantActions"');
|
|
39
|
+
return AccessRoleGrantActions_possibleTypes.includes(obj.__typename);
|
|
40
|
+
};
|
|
41
|
+
const AccessRoleValidatedResponse_possibleTypes = ['AccessRoleValidatedResponse'];
|
|
42
|
+
export const isAccessRoleValidatedResponse = (obj) => {
|
|
43
|
+
if (!obj?.__typename)
|
|
44
|
+
throw new Error('__typename is missing in "isAccessRoleValidatedResponse"');
|
|
45
|
+
return AccessRoleValidatedResponse_possibleTypes.includes(obj.__typename);
|
|
46
|
+
};
|
|
47
|
+
const AccessSubjectType_possibleTypes = ['AccessSubjectType'];
|
|
48
|
+
export const isAccessSubjectType = (obj) => {
|
|
49
|
+
if (!obj?.__typename)
|
|
50
|
+
throw new Error('__typename is missing in "isAccessSubjectType"');
|
|
51
|
+
return AccessSubjectType_possibleTypes.includes(obj.__typename);
|
|
52
|
+
};
|
|
53
|
+
const AccessTag_possibleTypes = ['AccessTag'];
|
|
54
|
+
export const isAccessTag = (obj) => {
|
|
55
|
+
if (!obj?.__typename)
|
|
56
|
+
throw new Error('__typename is missing in "isAccessTag"');
|
|
57
|
+
return AccessTag_possibleTypes.includes(obj.__typename);
|
|
58
|
+
};
|
|
59
|
+
const AccessTagCategory_possibleTypes = ['AccessTagCategory'];
|
|
60
|
+
export const isAccessTagCategory = (obj) => {
|
|
61
|
+
if (!obj?.__typename)
|
|
62
|
+
throw new Error('__typename is missing in "isAccessTagCategory"');
|
|
63
|
+
return AccessTagCategory_possibleTypes.includes(obj.__typename);
|
|
64
|
+
};
|
|
65
|
+
const AccessUser_possibleTypes = ['AccessUser'];
|
|
66
|
+
export const isAccessUser = (obj) => {
|
|
67
|
+
if (!obj?.__typename)
|
|
68
|
+
throw new Error('__typename is missing in "isAccessUser"');
|
|
69
|
+
return AccessUser_possibleTypes.includes(obj.__typename);
|
|
70
|
+
};
|
|
71
|
+
const AccessUserIdentifier_possibleTypes = ['AccessUserIdentifier'];
|
|
72
|
+
export const isAccessUserIdentifier = (obj) => {
|
|
73
|
+
if (!obj?.__typename)
|
|
74
|
+
throw new Error('__typename is missing in "isAccessUserIdentifier"');
|
|
75
|
+
return AccessUserIdentifier_possibleTypes.includes(obj.__typename);
|
|
76
|
+
};
|
|
77
|
+
const AppRequest_possibleTypes = ['AppRequest'];
|
|
78
|
+
export const isAppRequest = (obj) => {
|
|
79
|
+
if (!obj?.__typename)
|
|
80
|
+
throw new Error('__typename is missing in "isAppRequest"');
|
|
81
|
+
return AppRequest_possibleTypes.includes(obj.__typename);
|
|
82
|
+
};
|
|
83
|
+
const AppRequestActions_possibleTypes = ['AppRequestActions'];
|
|
84
|
+
export const isAppRequestActions = (obj) => {
|
|
85
|
+
if (!obj?.__typename)
|
|
86
|
+
throw new Error('__typename is missing in "isAppRequestActions"');
|
|
87
|
+
return AppRequestActions_possibleTypes.includes(obj.__typename);
|
|
88
|
+
};
|
|
89
|
+
const AppRequestActivity_possibleTypes = ['AppRequestActivity'];
|
|
90
|
+
export const isAppRequestActivity = (obj) => {
|
|
91
|
+
if (!obj?.__typename)
|
|
92
|
+
throw new Error('__typename is missing in "isAppRequestActivity"');
|
|
93
|
+
return AppRequestActivity_possibleTypes.includes(obj.__typename);
|
|
94
|
+
};
|
|
95
|
+
const AppRequestIndexCategory_possibleTypes = ['AppRequestIndexCategory'];
|
|
96
|
+
export const isAppRequestIndexCategory = (obj) => {
|
|
97
|
+
if (!obj?.__typename)
|
|
98
|
+
throw new Error('__typename is missing in "isAppRequestIndexCategory"');
|
|
99
|
+
return AppRequestIndexCategory_possibleTypes.includes(obj.__typename);
|
|
100
|
+
};
|
|
101
|
+
const Application_possibleTypes = ['Application'];
|
|
102
|
+
export const isApplication = (obj) => {
|
|
103
|
+
if (!obj?.__typename)
|
|
104
|
+
throw new Error('__typename is missing in "isApplication"');
|
|
105
|
+
return Application_possibleTypes.includes(obj.__typename);
|
|
106
|
+
};
|
|
107
|
+
const ApplicationActions_possibleTypes = ['ApplicationActions'];
|
|
108
|
+
export const isApplicationActions = (obj) => {
|
|
109
|
+
if (!obj?.__typename)
|
|
110
|
+
throw new Error('__typename is missing in "isApplicationActions"');
|
|
111
|
+
return ApplicationActions_possibleTypes.includes(obj.__typename);
|
|
112
|
+
};
|
|
113
|
+
const ApplicationRequirement_possibleTypes = ['ApplicationRequirement'];
|
|
114
|
+
export const isApplicationRequirement = (obj) => {
|
|
115
|
+
if (!obj?.__typename)
|
|
116
|
+
throw new Error('__typename is missing in "isApplicationRequirement"');
|
|
117
|
+
return ApplicationRequirement_possibleTypes.includes(obj.__typename);
|
|
118
|
+
};
|
|
119
|
+
const Configuration_possibleTypes = ['Configuration'];
|
|
120
|
+
export const isConfiguration = (obj) => {
|
|
121
|
+
if (!obj?.__typename)
|
|
122
|
+
throw new Error('__typename is missing in "isConfiguration"');
|
|
123
|
+
return Configuration_possibleTypes.includes(obj.__typename);
|
|
124
|
+
};
|
|
125
|
+
const ConfigurationAccess_possibleTypes = ['ConfigurationAccess'];
|
|
126
|
+
export const isConfigurationAccess = (obj) => {
|
|
127
|
+
if (!obj?.__typename)
|
|
128
|
+
throw new Error('__typename is missing in "isConfigurationAccess"');
|
|
129
|
+
return ConfigurationAccess_possibleTypes.includes(obj.__typename);
|
|
130
|
+
};
|
|
131
|
+
const IndexCategory_possibleTypes = ['IndexCategory'];
|
|
132
|
+
export const isIndexCategory = (obj) => {
|
|
133
|
+
if (!obj?.__typename)
|
|
134
|
+
throw new Error('__typename is missing in "isIndexCategory"');
|
|
135
|
+
return IndexCategory_possibleTypes.includes(obj.__typename);
|
|
136
|
+
};
|
|
137
|
+
const IndexValue_possibleTypes = ['IndexValue'];
|
|
138
|
+
export const isIndexValue = (obj) => {
|
|
139
|
+
if (!obj?.__typename)
|
|
140
|
+
throw new Error('__typename is missing in "isIndexValue"');
|
|
141
|
+
return IndexValue_possibleTypes.includes(obj.__typename);
|
|
142
|
+
};
|
|
143
|
+
const Mutation_possibleTypes = ['Mutation'];
|
|
144
|
+
export const isMutation = (obj) => {
|
|
145
|
+
if (!obj?.__typename)
|
|
146
|
+
throw new Error('__typename is missing in "isMutation"');
|
|
147
|
+
return Mutation_possibleTypes.includes(obj.__typename);
|
|
148
|
+
};
|
|
149
|
+
const MutationMessage_possibleTypes = ['MutationMessage'];
|
|
150
|
+
export const isMutationMessage = (obj) => {
|
|
151
|
+
if (!obj?.__typename)
|
|
152
|
+
throw new Error('__typename is missing in "isMutationMessage"');
|
|
153
|
+
return MutationMessage_possibleTypes.includes(obj.__typename);
|
|
154
|
+
};
|
|
155
|
+
const Period_possibleTypes = ['Period'];
|
|
156
|
+
export const isPeriod = (obj) => {
|
|
157
|
+
if (!obj?.__typename)
|
|
158
|
+
throw new Error('__typename is missing in "isPeriod"');
|
|
159
|
+
return Period_possibleTypes.includes(obj.__typename);
|
|
160
|
+
};
|
|
161
|
+
const PeriodActions_possibleTypes = ['PeriodActions'];
|
|
162
|
+
export const isPeriodActions = (obj) => {
|
|
163
|
+
if (!obj?.__typename)
|
|
164
|
+
throw new Error('__typename is missing in "isPeriodActions"');
|
|
165
|
+
return PeriodActions_possibleTypes.includes(obj.__typename);
|
|
166
|
+
};
|
|
167
|
+
const PeriodProgram_possibleTypes = ['PeriodProgram'];
|
|
168
|
+
export const isPeriodProgram = (obj) => {
|
|
169
|
+
if (!obj?.__typename)
|
|
170
|
+
throw new Error('__typename is missing in "isPeriodProgram"');
|
|
171
|
+
return PeriodProgram_possibleTypes.includes(obj.__typename);
|
|
172
|
+
};
|
|
173
|
+
const PeriodProgramActions_possibleTypes = ['PeriodProgramActions'];
|
|
174
|
+
export const isPeriodProgramActions = (obj) => {
|
|
175
|
+
if (!obj?.__typename)
|
|
176
|
+
throw new Error('__typename is missing in "isPeriodProgramActions"');
|
|
177
|
+
return PeriodProgramActions_possibleTypes.includes(obj.__typename);
|
|
178
|
+
};
|
|
179
|
+
const PeriodProgramRequirement_possibleTypes = ['PeriodProgramRequirement'];
|
|
180
|
+
export const isPeriodProgramRequirement = (obj) => {
|
|
181
|
+
if (!obj?.__typename)
|
|
182
|
+
throw new Error('__typename is missing in "isPeriodProgramRequirement"');
|
|
183
|
+
return PeriodProgramRequirement_possibleTypes.includes(obj.__typename);
|
|
184
|
+
};
|
|
185
|
+
const PeriodPrompt_possibleTypes = ['PeriodPrompt'];
|
|
186
|
+
export const isPeriodPrompt = (obj) => {
|
|
187
|
+
if (!obj?.__typename)
|
|
188
|
+
throw new Error('__typename is missing in "isPeriodPrompt"');
|
|
189
|
+
return PeriodPrompt_possibleTypes.includes(obj.__typename);
|
|
190
|
+
};
|
|
191
|
+
const Program_possibleTypes = ['Program'];
|
|
192
|
+
export const isProgram = (obj) => {
|
|
193
|
+
if (!obj?.__typename)
|
|
194
|
+
throw new Error('__typename is missing in "isProgram"');
|
|
195
|
+
return Program_possibleTypes.includes(obj.__typename);
|
|
196
|
+
};
|
|
197
|
+
const ProgramGroup_possibleTypes = ['ProgramGroup'];
|
|
198
|
+
export const isProgramGroup = (obj) => {
|
|
199
|
+
if (!obj?.__typename)
|
|
200
|
+
throw new Error('__typename is missing in "isProgramGroup"');
|
|
201
|
+
return ProgramGroup_possibleTypes.includes(obj.__typename);
|
|
202
|
+
};
|
|
203
|
+
const Query_possibleTypes = ['Query'];
|
|
204
|
+
export const isQuery = (obj) => {
|
|
205
|
+
if (!obj?.__typename)
|
|
206
|
+
throw new Error('__typename is missing in "isQuery"');
|
|
207
|
+
return Query_possibleTypes.includes(obj.__typename);
|
|
208
|
+
};
|
|
209
|
+
const RequirementPrompt_possibleTypes = ['RequirementPrompt'];
|
|
210
|
+
export const isRequirementPrompt = (obj) => {
|
|
211
|
+
if (!obj?.__typename)
|
|
212
|
+
throw new Error('__typename is missing in "isRequirementPrompt"');
|
|
213
|
+
return RequirementPrompt_possibleTypes.includes(obj.__typename);
|
|
214
|
+
};
|
|
215
|
+
const RequirementPromptActions_possibleTypes = ['RequirementPromptActions'];
|
|
216
|
+
export const isRequirementPromptActions = (obj) => {
|
|
217
|
+
if (!obj?.__typename)
|
|
218
|
+
throw new Error('__typename is missing in "isRequirementPromptActions"');
|
|
219
|
+
return RequirementPromptActions_possibleTypes.includes(obj.__typename);
|
|
220
|
+
};
|
|
221
|
+
const RoleActions_possibleTypes = ['RoleActions'];
|
|
222
|
+
export const isRoleActions = (obj) => {
|
|
223
|
+
if (!obj?.__typename)
|
|
224
|
+
throw new Error('__typename is missing in "isRoleActions"');
|
|
225
|
+
return RoleActions_possibleTypes.includes(obj.__typename);
|
|
226
|
+
};
|
|
227
|
+
const ValidatedAppRequestResponse_possibleTypes = ['ValidatedAppRequestResponse'];
|
|
228
|
+
export const isValidatedAppRequestResponse = (obj) => {
|
|
229
|
+
if (!obj?.__typename)
|
|
230
|
+
throw new Error('__typename is missing in "isValidatedAppRequestResponse"');
|
|
231
|
+
return ValidatedAppRequestResponse_possibleTypes.includes(obj.__typename);
|
|
232
|
+
};
|
|
233
|
+
const ValidatedConfigurationResponse_possibleTypes = ['ValidatedConfigurationResponse'];
|
|
234
|
+
export const isValidatedConfigurationResponse = (obj) => {
|
|
235
|
+
if (!obj?.__typename)
|
|
236
|
+
throw new Error('__typename is missing in "isValidatedConfigurationResponse"');
|
|
237
|
+
return ValidatedConfigurationResponse_possibleTypes.includes(obj.__typename);
|
|
238
|
+
};
|
|
239
|
+
const ValidatedPeriodResponse_possibleTypes = ['ValidatedPeriodResponse'];
|
|
240
|
+
export const isValidatedPeriodResponse = (obj) => {
|
|
241
|
+
if (!obj?.__typename)
|
|
242
|
+
throw new Error('__typename is missing in "isValidatedPeriodResponse"');
|
|
243
|
+
return ValidatedPeriodResponse_possibleTypes.includes(obj.__typename);
|
|
244
|
+
};
|
|
245
|
+
const ValidatedResponse_possibleTypes = ['ValidatedResponse'];
|
|
246
|
+
export const isValidatedResponse = (obj) => {
|
|
247
|
+
if (!obj?.__typename)
|
|
248
|
+
throw new Error('__typename is missing in "isValidatedResponse"');
|
|
249
|
+
return ValidatedResponse_possibleTypes.includes(obj.__typename);
|
|
250
|
+
};
|
|
251
|
+
export const enumAppRequestIndexDestination = {
|
|
252
|
+
APPLICANT_DASHBOARD: 'APPLICANT_DASHBOARD',
|
|
253
|
+
APP_REQUEST_LIST: 'APP_REQUEST_LIST',
|
|
254
|
+
LIST_FILTERS: 'LIST_FILTERS',
|
|
255
|
+
REVIEWER_DASHBOARD: 'REVIEWER_DASHBOARD'
|
|
256
|
+
};
|
|
257
|
+
export const enumAppRequestStatus = {
|
|
258
|
+
ACCEPTANCE: 'ACCEPTANCE',
|
|
259
|
+
ACCEPTED: 'ACCEPTED',
|
|
260
|
+
APPROVAL: 'APPROVAL',
|
|
261
|
+
APPROVED: 'APPROVED',
|
|
262
|
+
CANCELLED: 'CANCELLED',
|
|
263
|
+
DISQUALIFIED: 'DISQUALIFIED',
|
|
264
|
+
NOT_ACCEPTED: 'NOT_ACCEPTED',
|
|
265
|
+
NOT_APPROVED: 'NOT_APPROVED',
|
|
266
|
+
PREAPPROVAL: 'PREAPPROVAL',
|
|
267
|
+
READY_TO_SUBMIT: 'READY_TO_SUBMIT',
|
|
268
|
+
STARTED: 'STARTED',
|
|
269
|
+
WITHDRAWN: 'WITHDRAWN'
|
|
270
|
+
};
|
|
271
|
+
export const enumApplicationStatus = {
|
|
272
|
+
ACCEPTANCE: 'ACCEPTANCE',
|
|
273
|
+
ACCEPTED: 'ACCEPTED',
|
|
274
|
+
APPROVAL: 'APPROVAL',
|
|
275
|
+
APPROVED: 'APPROVED',
|
|
276
|
+
CANCELLED: 'CANCELLED',
|
|
277
|
+
FAILED_PREQUAL: 'FAILED_PREQUAL',
|
|
278
|
+
FAILED_QUALIFICATION: 'FAILED_QUALIFICATION',
|
|
279
|
+
NOT_ACCEPTED: 'NOT_ACCEPTED',
|
|
280
|
+
NOT_APPROVED: 'NOT_APPROVED',
|
|
281
|
+
PREAPPROVAL: 'PREAPPROVAL',
|
|
282
|
+
PREQUAL: 'PREQUAL',
|
|
283
|
+
QUALIFICATION: 'QUALIFICATION',
|
|
284
|
+
READY_TO_SUBMIT: 'READY_TO_SUBMIT',
|
|
285
|
+
WITHDRAWN: 'WITHDRAWN'
|
|
286
|
+
};
|
|
287
|
+
export const enumMutationMessageType = {
|
|
288
|
+
error: 'error',
|
|
289
|
+
success: 'success',
|
|
290
|
+
warning: 'warning'
|
|
291
|
+
};
|
|
292
|
+
export const enumPromptVisibility = {
|
|
293
|
+
APPLICATION_DUPE: 'APPLICATION_DUPE',
|
|
294
|
+
AUTOMATION: 'AUTOMATION',
|
|
295
|
+
AVAILABLE: 'AVAILABLE',
|
|
296
|
+
REQUEST_DUPE: 'REQUEST_DUPE',
|
|
297
|
+
UNREACHABLE: 'UNREACHABLE'
|
|
298
|
+
};
|
|
299
|
+
export const enumRequirementStatus = {
|
|
300
|
+
DISQUALIFYING: 'DISQUALIFYING',
|
|
301
|
+
MET: 'MET',
|
|
302
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
303
|
+
PENDING: 'PENDING',
|
|
304
|
+
WARNING: 'WARNING'
|
|
305
|
+
};
|
|
306
|
+
export const enumRequirementType = {
|
|
307
|
+
ACCEPTANCE: 'ACCEPTANCE',
|
|
308
|
+
APPROVAL: 'APPROVAL',
|
|
309
|
+
POSTQUAL: 'POSTQUAL',
|
|
310
|
+
PREAPPROVAL: 'PREAPPROVAL',
|
|
311
|
+
PREQUAL: 'PREQUAL',
|
|
312
|
+
QUALIFICATION: 'QUALIFICATION'
|
|
313
|
+
};
|