@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
package/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# ReqQuest UI Library
|
|
2
|
+
|
|
3
|
+
This library provides a set of Svelte components and utilities for building ReqQuest projects. You'll especially find the `api` useful for creating graphQL queries. In the future we will provide a small component library to help you build your prompts.
|
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
import { APIBase } from '@txstate-mws/sveltekit-utils';
|
|
2
|
+
import { type AccessRoleGrantCreate, type AccessRoleGrantUpdate, type AccessRoleInput, type AppRequestActivityFilters, type AppRequestFilter } from './typed-client/index.js';
|
|
3
|
+
import { DateTime } from 'luxon';
|
|
4
|
+
declare class API extends APIBase {
|
|
5
|
+
client: import("./typed-client/index.js").Client;
|
|
6
|
+
getAccess(): Promise<Pick<{
|
|
7
|
+
createAppRequest: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
8
|
+
createPeriod: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
9
|
+
createRole: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
10
|
+
viewAppRequestList: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
11
|
+
viewApplicantDashboard: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
12
|
+
viewPeriodManagement: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
13
|
+
viewReviewerInterface: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
14
|
+
viewRoleManagement: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
15
|
+
__typename: "Access";
|
|
16
|
+
}, "createPeriod" | "createRole" | "viewRoleManagement" | "viewPeriodManagement" | "viewReviewerInterface" | "viewApplicantDashboard" | "viewAppRequestList">>;
|
|
17
|
+
getApplicantRequests(): Promise<Pick<{
|
|
18
|
+
actions: import("./typed-client/schema.js").AppRequestActions;
|
|
19
|
+
activity: import("./typed-client/schema.js").AppRequestActivity[];
|
|
20
|
+
applicant: import("./typed-client/schema.js").AccessUser;
|
|
21
|
+
applications: import("./typed-client/schema.js").Application[];
|
|
22
|
+
closedAt: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
23
|
+
createdAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
24
|
+
data: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
25
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
26
|
+
indexCategories: import("./typed-client/schema.js").AppRequestIndexCategory[];
|
|
27
|
+
period: Pick<{
|
|
28
|
+
actions: import("./typed-client/schema.js").PeriodActions;
|
|
29
|
+
archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
30
|
+
closeDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
31
|
+
code: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
32
|
+
configurations: import("./typed-client/schema.js").Configuration[];
|
|
33
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
34
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
35
|
+
openDate: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
36
|
+
programs: import("./typed-client/schema.js").PeriodProgram[];
|
|
37
|
+
prompts: import("./typed-client/schema.js").PeriodPrompt[];
|
|
38
|
+
requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
|
|
39
|
+
__typename: "Period";
|
|
40
|
+
}, "name" | "openDate" | "closeDate">;
|
|
41
|
+
prompt: import("./typed-client/schema.js").RequirementPrompt;
|
|
42
|
+
status: import("./typed-client/schema.js").AppRequestStatus;
|
|
43
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
44
|
+
updatedAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
45
|
+
__typename: "AppRequest";
|
|
46
|
+
}, "id" | "status" | "period">[]>;
|
|
47
|
+
getNextPrompt(appRequestId: string, currentPromptKey?: string): Promise<Pick<{
|
|
48
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
49
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
50
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
51
|
+
configurationRelatedData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
52
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
53
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
54
|
+
fetchedData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
55
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
56
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
57
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
58
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
59
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
60
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
61
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
62
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
63
|
+
__typename: "RequirementPrompt";
|
|
64
|
+
}, "id" | "key" | "answered" | "visibility"> | undefined>;
|
|
65
|
+
getApplyNavigation(appRequestId: string): Promise<{
|
|
66
|
+
prequalPrompts: never[];
|
|
67
|
+
appRequest: undefined;
|
|
68
|
+
postqualPrompts?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
prequalPrompts: Pick<{
|
|
71
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
72
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
73
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
74
|
+
configurationRelatedData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
75
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
76
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
77
|
+
fetchedData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
78
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
79
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
80
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
81
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
82
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
83
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
84
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
85
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
86
|
+
__typename: "RequirementPrompt";
|
|
87
|
+
}, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
|
|
88
|
+
postqualPrompts: Pick<{
|
|
89
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
90
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
91
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
92
|
+
configurationRelatedData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
93
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
94
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
95
|
+
fetchedData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
96
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
97
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
98
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
99
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
100
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
101
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
102
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
103
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
104
|
+
__typename: "RequirementPrompt";
|
|
105
|
+
}, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
|
|
106
|
+
appRequest: {
|
|
107
|
+
applications: {
|
|
108
|
+
requirements: {
|
|
109
|
+
prompts: Pick<{
|
|
110
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
111
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
112
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
113
|
+
configurationRelatedData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
114
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
115
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
116
|
+
fetchedData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
117
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
118
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
119
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
120
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
121
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
122
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
123
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
124
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
125
|
+
__typename: "RequirementPrompt";
|
|
126
|
+
}, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
|
|
127
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
128
|
+
status: import("./typed-client/schema.js").RequirementStatus;
|
|
129
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
130
|
+
type: import("./typed-client/schema.js").RequirementType;
|
|
131
|
+
}[];
|
|
132
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
133
|
+
status: import("./typed-client/schema.js").ApplicationStatus;
|
|
134
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
135
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
136
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
137
|
+
}[];
|
|
138
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
139
|
+
status: import("./typed-client/schema.js").AppRequestStatus;
|
|
140
|
+
};
|
|
141
|
+
}>;
|
|
142
|
+
getApplicantPrompt(appRequestId: string, promptKey: string): Promise<{
|
|
143
|
+
appRequestData?: undefined;
|
|
144
|
+
prompt?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
appRequestData: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
147
|
+
prompt: Pick<{
|
|
148
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
149
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
150
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
151
|
+
configurationRelatedData: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
152
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
153
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
154
|
+
fetchedData: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
155
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
156
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
157
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
158
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
159
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
160
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
161
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
162
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
163
|
+
__typename: "RequirementPrompt";
|
|
164
|
+
}, "id" | "key" | "visibility" | "configurationRelatedData" | "fetchedData">;
|
|
165
|
+
} | {
|
|
166
|
+
appRequestData: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
167
|
+
prompt?: undefined;
|
|
168
|
+
}>;
|
|
169
|
+
updatePrompt(promptId: string, data: any, validateOnly: boolean): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
170
|
+
updateConfiguration(periodId: string, definitionKey: string, data: any, validateOnly: boolean): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
171
|
+
getAppRequestData(appRequestId: string): Promise<Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">>;
|
|
172
|
+
submitAppRequest(appRequestId: string): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
173
|
+
getAppRequests(filter: AppRequestFilter, dest?: "APP_REQUEST_LIST"): Promise<Pick<{
|
|
174
|
+
access: import("./typed-client/schema.js").Access;
|
|
175
|
+
accessUsers: import("./typed-client/schema.js").AccessUser[];
|
|
176
|
+
appRequestIndexes: Pick<{
|
|
177
|
+
appRequestListPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
178
|
+
applicantDashboardPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
179
|
+
category: import("./typed-client/schema.js").Scalars["String"];
|
|
180
|
+
categoryLabel: import("./typed-client/schema.js").Scalars["String"];
|
|
181
|
+
listFiltersPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
182
|
+
listable: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
183
|
+
reviewerDashboardPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
184
|
+
values: Pick<{
|
|
185
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
186
|
+
value: import("./typed-client/schema.js").Scalars["String"];
|
|
187
|
+
__typename: "IndexValue";
|
|
188
|
+
}, "value" | "label">[];
|
|
189
|
+
__typename: "IndexCategory";
|
|
190
|
+
}, "category" | "categoryLabel" | "appRequestListPriority" | "listFiltersPriority" | "listable" | "values">[];
|
|
191
|
+
appRequests: Pick<{
|
|
192
|
+
actions: Pick<{
|
|
193
|
+
cancel: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
194
|
+
close: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
195
|
+
offer: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
196
|
+
reopen: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
197
|
+
return: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
198
|
+
review: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
199
|
+
submit: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
200
|
+
__typename: "AppRequestActions";
|
|
201
|
+
}, "cancel" | "close" | "reopen" | "return" | "review" | "offer" | "submit">;
|
|
202
|
+
activity: import("./typed-client/schema.js").AppRequestActivity[];
|
|
203
|
+
applicant: Pick<{
|
|
204
|
+
fullname: import("./typed-client/schema.js").Scalars["String"];
|
|
205
|
+
groups: import("./typed-client/schema.js").Scalars["String"][];
|
|
206
|
+
login: import("./typed-client/schema.js").Scalars["ID"];
|
|
207
|
+
otherIdentifiers: import("./typed-client/schema.js").AccessUserIdentifier[];
|
|
208
|
+
otherInfo: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
209
|
+
roles: import("./typed-client/schema.js").AccessRole;
|
|
210
|
+
__typename: "AccessUser";
|
|
211
|
+
}, "login" | "fullname">;
|
|
212
|
+
applications: import("./typed-client/schema.js").Application[];
|
|
213
|
+
closedAt: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
214
|
+
createdAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
215
|
+
data: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
216
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
217
|
+
indexCategories: Pick<{
|
|
218
|
+
appRequestListPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
219
|
+
applicantDashboardPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
220
|
+
category: import("./typed-client/schema.js").Scalars["String"];
|
|
221
|
+
categoryLabel: import("./typed-client/schema.js").Scalars["String"];
|
|
222
|
+
listFiltersPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
223
|
+
listable: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
224
|
+
reviewerDashboardPriority: (import("./typed-client/schema.js").Scalars["Float"] | null);
|
|
225
|
+
values: Pick<{
|
|
226
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
227
|
+
value: import("./typed-client/schema.js").Scalars["String"];
|
|
228
|
+
__typename: "IndexValue";
|
|
229
|
+
}, "value" | "label">[];
|
|
230
|
+
__typename: "AppRequestIndexCategory";
|
|
231
|
+
}, "category" | "categoryLabel" | "values">[];
|
|
232
|
+
period: Pick<{
|
|
233
|
+
actions: import("./typed-client/schema.js").PeriodActions;
|
|
234
|
+
archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
235
|
+
closeDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
236
|
+
code: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
237
|
+
configurations: import("./typed-client/schema.js").Configuration[];
|
|
238
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
239
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
240
|
+
openDate: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
241
|
+
programs: import("./typed-client/schema.js").PeriodProgram[];
|
|
242
|
+
prompts: import("./typed-client/schema.js").PeriodPrompt[];
|
|
243
|
+
requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
|
|
244
|
+
__typename: "Period";
|
|
245
|
+
}, "id" | "name">;
|
|
246
|
+
prompt: import("./typed-client/schema.js").RequirementPrompt;
|
|
247
|
+
status: import("./typed-client/schema.js").AppRequestStatus;
|
|
248
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
249
|
+
updatedAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
250
|
+
__typename: "AppRequest";
|
|
251
|
+
}, "id" | "status" | "actions" | "applicant" | "indexCategories" | "period" | "statusReason">[];
|
|
252
|
+
periods: import("./typed-client/schema.js").Period[];
|
|
253
|
+
programGroups: import("./typed-client/schema.js").ProgramGroup[];
|
|
254
|
+
programs: import("./typed-client/schema.js").Program[];
|
|
255
|
+
roles: import("./typed-client/schema.js").AccessRole[];
|
|
256
|
+
scopes: import("./typed-client/schema.js").Scalars["String"][];
|
|
257
|
+
subjectTypes: import("./typed-client/schema.js").AccessSubjectType[];
|
|
258
|
+
__typename: "Query";
|
|
259
|
+
}, "appRequestIndexes" | "appRequests">>;
|
|
260
|
+
searchIndexItems(category: string, search: string): Promise<Pick<{
|
|
261
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
262
|
+
value: import("./typed-client/schema.js").Scalars["String"];
|
|
263
|
+
__typename: "IndexValue";
|
|
264
|
+
}, "value" | "label">[]>;
|
|
265
|
+
getBasicRequestData(appRequestId: string): Promise<Pick<{
|
|
266
|
+
actions: import("./typed-client/schema.js").AppRequestActions;
|
|
267
|
+
activity: import("./typed-client/schema.js").AppRequestActivity[];
|
|
268
|
+
applicant: Pick<{
|
|
269
|
+
fullname: import("./typed-client/schema.js").Scalars["String"];
|
|
270
|
+
groups: import("./typed-client/schema.js").Scalars["String"][];
|
|
271
|
+
login: import("./typed-client/schema.js").Scalars["ID"];
|
|
272
|
+
otherIdentifiers: Pick<{
|
|
273
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
274
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
275
|
+
__typename: "AccessUserIdentifier";
|
|
276
|
+
}, "id" | "label">[];
|
|
277
|
+
otherInfo: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
278
|
+
roles: import("./typed-client/schema.js").AccessRole;
|
|
279
|
+
__typename: "AccessUser";
|
|
280
|
+
}, "login" | "fullname" | "otherInfo" | "otherIdentifiers">;
|
|
281
|
+
applications: import("./typed-client/schema.js").Application[];
|
|
282
|
+
closedAt: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
283
|
+
createdAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
284
|
+
data: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
285
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
286
|
+
indexCategories: import("./typed-client/schema.js").AppRequestIndexCategory[];
|
|
287
|
+
period: Pick<{
|
|
288
|
+
actions: import("./typed-client/schema.js").PeriodActions;
|
|
289
|
+
archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
290
|
+
closeDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
291
|
+
code: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
292
|
+
configurations: import("./typed-client/schema.js").Configuration[];
|
|
293
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
294
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
295
|
+
openDate: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
296
|
+
programs: import("./typed-client/schema.js").PeriodProgram[];
|
|
297
|
+
prompts: import("./typed-client/schema.js").PeriodPrompt[];
|
|
298
|
+
requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
|
|
299
|
+
__typename: "Period";
|
|
300
|
+
}, "id" | "name">;
|
|
301
|
+
prompt: import("./typed-client/schema.js").RequirementPrompt;
|
|
302
|
+
status: import("./typed-client/schema.js").AppRequestStatus;
|
|
303
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
304
|
+
updatedAt: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
305
|
+
__typename: "AppRequest";
|
|
306
|
+
}, "applicant" | "period"> | undefined>;
|
|
307
|
+
getReviewData(appRequestId: string): Promise<{
|
|
308
|
+
applications: {
|
|
309
|
+
requirements: {
|
|
310
|
+
prompts: Pick<{
|
|
311
|
+
actions: Pick<{
|
|
312
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
313
|
+
__typename: "RequirementPromptActions";
|
|
314
|
+
}, "update">;
|
|
315
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
316
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
317
|
+
configurationRelatedData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
318
|
+
data: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
319
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
320
|
+
fetchedData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
321
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
322
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
323
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
324
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
325
|
+
preloadData: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
326
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
327
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
328
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
329
|
+
__typename: "RequirementPrompt";
|
|
330
|
+
}, "id" | "actions" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
|
|
331
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
332
|
+
status: import("./typed-client/schema.js").RequirementStatus;
|
|
333
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
334
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
335
|
+
reachable: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
336
|
+
type: import("./typed-client/schema.js").RequirementType;
|
|
337
|
+
}[];
|
|
338
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
339
|
+
status: import("./typed-client/schema.js").ApplicationStatus;
|
|
340
|
+
statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
341
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
342
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
343
|
+
}[];
|
|
344
|
+
data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
345
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
346
|
+
status: import("./typed-client/schema.js").AppRequestStatus;
|
|
347
|
+
} | undefined>;
|
|
348
|
+
getRequestActivity(appRequestId: string, filters?: AppRequestActivityFilters): Promise<{
|
|
349
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
350
|
+
data: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
351
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
352
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
353
|
+
action: import("./typed-client/schema.js").Scalars["String"];
|
|
354
|
+
impersonatedBy: import("./typed-client/index.js").FieldsSelection<import("./typed-client/schema.js").AccessUser | null, {
|
|
355
|
+
login: true;
|
|
356
|
+
fullname: true;
|
|
357
|
+
}>;
|
|
358
|
+
user: Pick<{
|
|
359
|
+
fullname: import("./typed-client/schema.js").Scalars["String"];
|
|
360
|
+
groups: import("./typed-client/schema.js").Scalars["String"][];
|
|
361
|
+
login: import("./typed-client/schema.js").Scalars["ID"];
|
|
362
|
+
otherIdentifiers: import("./typed-client/schema.js").AccessUserIdentifier[];
|
|
363
|
+
otherInfo: (import("./typed-client/schema.js").Scalars["JsonData"] | null);
|
|
364
|
+
roles: import("./typed-client/schema.js").AccessRole;
|
|
365
|
+
__typename: "AccessUser";
|
|
366
|
+
}, "login" | "fullname">;
|
|
367
|
+
}[] | undefined>;
|
|
368
|
+
getPromptData(appRequestId: string, promptId: string): Promise<Pick<{
|
|
369
|
+
actions: import("./typed-client/schema.js").RequirementPromptActions;
|
|
370
|
+
answered: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
371
|
+
configurationData: import("./typed-client/schema.js").Scalars["JsonData"];
|
|
372
|
+
configurationRelatedData: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
373
|
+
data: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
374
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
375
|
+
fetchedData: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
376
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
377
|
+
invalidated: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
378
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
379
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
380
|
+
preloadData: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
|
|
381
|
+
requirement: import("./typed-client/schema.js").ApplicationRequirement;
|
|
382
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
383
|
+
visibility: import("./typed-client/schema.js").PromptVisibility;
|
|
384
|
+
__typename: "RequirementPrompt";
|
|
385
|
+
}, "data" | "configurationRelatedData" | "fetchedData" | "preloadData">>;
|
|
386
|
+
getPeriodList(): Promise<Pick<{
|
|
387
|
+
actions: import("./typed-client/schema.js").PeriodActions;
|
|
388
|
+
archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
389
|
+
closeDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
390
|
+
code: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
391
|
+
configurations: import("./typed-client/schema.js").Configuration[];
|
|
392
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
393
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
394
|
+
openDate: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
395
|
+
programs: import("./typed-client/schema.js").PeriodProgram[];
|
|
396
|
+
prompts: import("./typed-client/schema.js").PeriodPrompt[];
|
|
397
|
+
requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
|
|
398
|
+
__typename: "Period";
|
|
399
|
+
}, "id" | "name" | "openDate" | "closeDate" | "archiveDate">[]>;
|
|
400
|
+
getPeriodConfigurations(periodId: string): Promise<{
|
|
401
|
+
period: undefined;
|
|
402
|
+
programs: never[];
|
|
403
|
+
} | {
|
|
404
|
+
programs: Pick<{
|
|
405
|
+
actions: import("./typed-client/schema.js").PeriodProgramActions;
|
|
406
|
+
enabled: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
407
|
+
group: import("./typed-client/schema.js").PeriodProgramActions;
|
|
408
|
+
key: import("./typed-client/schema.js").Scalars["ID"];
|
|
409
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
410
|
+
period: import("./typed-client/schema.js").Period;
|
|
411
|
+
requirements: Pick<{
|
|
412
|
+
configuration: Pick<{
|
|
413
|
+
actions: Pick<{
|
|
414
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
415
|
+
view: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
416
|
+
__typename: "ConfigurationAccess";
|
|
417
|
+
}, "update">;
|
|
418
|
+
data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
419
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
420
|
+
__typename: "Configuration";
|
|
421
|
+
}, "data" | "actions">;
|
|
422
|
+
description: import("./typed-client/schema.js").Scalars["String"];
|
|
423
|
+
enabled: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
424
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
425
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
426
|
+
prompts: Pick<{
|
|
427
|
+
configuration: Pick<{
|
|
428
|
+
actions: Pick<{
|
|
429
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
430
|
+
view: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
431
|
+
__typename: "ConfigurationAccess";
|
|
432
|
+
}, "update">;
|
|
433
|
+
data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
434
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
435
|
+
__typename: "Configuration";
|
|
436
|
+
}, "data" | "actions">;
|
|
437
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
438
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
439
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
440
|
+
periodId: import("./typed-client/schema.js").Scalars["String"];
|
|
441
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
442
|
+
__typename: "PeriodPrompt";
|
|
443
|
+
}, "key" | "title" | "description" | "configuration">[];
|
|
444
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
445
|
+
type: import("./typed-client/schema.js").RequirementType;
|
|
446
|
+
__typename: "PeriodProgramRequirement";
|
|
447
|
+
}, "key" | "title" | "description" | "prompts" | "configuration" | "enabled">[];
|
|
448
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
449
|
+
__typename: "PeriodProgram";
|
|
450
|
+
}, "key" | "requirements" | "title" | "enabled">[];
|
|
451
|
+
period: Pick<{
|
|
452
|
+
actions: import("./typed-client/schema.js").PeriodActions;
|
|
453
|
+
archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
454
|
+
closeDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
|
|
455
|
+
code: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
456
|
+
configurations: import("./typed-client/schema.js").Configuration[];
|
|
457
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
458
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
459
|
+
openDate: import("./typed-client/schema.js").Scalars["DateTime"];
|
|
460
|
+
programs: Pick<{
|
|
461
|
+
actions: import("./typed-client/schema.js").PeriodProgramActions;
|
|
462
|
+
enabled: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
463
|
+
group: import("./typed-client/schema.js").PeriodProgramActions;
|
|
464
|
+
key: import("./typed-client/schema.js").Scalars["ID"];
|
|
465
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
466
|
+
period: import("./typed-client/schema.js").Period;
|
|
467
|
+
requirements: Pick<{
|
|
468
|
+
configuration: Pick<{
|
|
469
|
+
actions: Pick<{
|
|
470
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
471
|
+
view: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
472
|
+
__typename: "ConfigurationAccess";
|
|
473
|
+
}, "update">;
|
|
474
|
+
data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
475
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
476
|
+
__typename: "Configuration";
|
|
477
|
+
}, "data" | "actions">;
|
|
478
|
+
description: import("./typed-client/schema.js").Scalars["String"];
|
|
479
|
+
enabled: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
480
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
481
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
482
|
+
prompts: Pick<{
|
|
483
|
+
configuration: Pick<{
|
|
484
|
+
actions: Pick<{
|
|
485
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
486
|
+
view: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
487
|
+
__typename: "ConfigurationAccess";
|
|
488
|
+
}, "update">;
|
|
489
|
+
data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
|
|
490
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
491
|
+
__typename: "Configuration";
|
|
492
|
+
}, "data" | "actions">;
|
|
493
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
494
|
+
key: import("./typed-client/schema.js").Scalars["String"];
|
|
495
|
+
navTitle: import("./typed-client/schema.js").Scalars["String"];
|
|
496
|
+
periodId: import("./typed-client/schema.js").Scalars["String"];
|
|
497
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
498
|
+
__typename: "PeriodPrompt";
|
|
499
|
+
}, "key" | "title" | "description" | "configuration">[];
|
|
500
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
501
|
+
type: import("./typed-client/schema.js").RequirementType;
|
|
502
|
+
__typename: "PeriodProgramRequirement";
|
|
503
|
+
}, "key" | "title" | "description" | "prompts" | "configuration" | "enabled">[];
|
|
504
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
505
|
+
__typename: "PeriodProgram";
|
|
506
|
+
}, "key" | "requirements" | "title" | "enabled">[];
|
|
507
|
+
prompts: import("./typed-client/schema.js").PeriodPrompt[];
|
|
508
|
+
requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
|
|
509
|
+
__typename: "Period";
|
|
510
|
+
}, "programs" | "id" | "name" | "openDate" | "closeDate" | "archiveDate" | "code">;
|
|
511
|
+
}>;
|
|
512
|
+
getRoleList(): Promise<Pick<{
|
|
513
|
+
actions: Pick<{
|
|
514
|
+
delete: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
515
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
516
|
+
__typename: "RoleActions";
|
|
517
|
+
}, "update" | "delete">;
|
|
518
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
519
|
+
grants: import("./typed-client/schema.js").AccessRoleGrant[];
|
|
520
|
+
groups: import("./typed-client/schema.js").Scalars["String"][];
|
|
521
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
522
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
523
|
+
scope: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
524
|
+
__typename: "AccessRole";
|
|
525
|
+
}, "id" | "name" | "actions" | "description" | "groups">[]>;
|
|
526
|
+
getRoleDetails(roleId: string): Promise<Pick<{
|
|
527
|
+
actions: Pick<{
|
|
528
|
+
delete: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
529
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
530
|
+
__typename: "RoleActions";
|
|
531
|
+
}, "update" | "delete">;
|
|
532
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
533
|
+
grants: Pick<{
|
|
534
|
+
actions: Pick<{
|
|
535
|
+
delete: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
536
|
+
update: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
537
|
+
__typename: "AccessRoleGrantActions";
|
|
538
|
+
}, "update" | "delete">;
|
|
539
|
+
allow: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
540
|
+
controls: import("./typed-client/schema.js").Scalars["String"][];
|
|
541
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
542
|
+
subjectType: Pick<{
|
|
543
|
+
controls: import("./typed-client/schema.js").AccessControl[];
|
|
544
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
545
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
546
|
+
tags: import("./typed-client/schema.js").AccessTagCategory[];
|
|
547
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
548
|
+
__typename: "AccessSubjectType";
|
|
549
|
+
}, "name" | "title" | "description">;
|
|
550
|
+
tags: Pick<{
|
|
551
|
+
category: import("./typed-client/schema.js").Scalars["String"];
|
|
552
|
+
categoryLabel: import("./typed-client/schema.js").Scalars["String"];
|
|
553
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
554
|
+
tag: import("./typed-client/schema.js").Scalars["String"];
|
|
555
|
+
__typename: "AccessGrantTag";
|
|
556
|
+
}, "category" | "categoryLabel" | "label" | "tag">[];
|
|
557
|
+
__typename: "AccessRoleGrant";
|
|
558
|
+
}, "id" | "actions" | "allow" | "controls" | "subjectType" | "tags">[];
|
|
559
|
+
groups: import("./typed-client/schema.js").Scalars["String"][];
|
|
560
|
+
id: import("./typed-client/schema.js").Scalars["ID"];
|
|
561
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
562
|
+
scope: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
563
|
+
__typename: "AccessRole";
|
|
564
|
+
}, "id" | "name" | "actions" | "description" | "groups" | "grants"> | undefined>;
|
|
565
|
+
getAuthorizationInfo(): Promise<Pick<{
|
|
566
|
+
controls: Pick<{
|
|
567
|
+
description: import("./typed-client/schema.js").Scalars["String"];
|
|
568
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
569
|
+
__typename: "AccessControl";
|
|
570
|
+
}, "name" | "description">[];
|
|
571
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
572
|
+
name: import("./typed-client/schema.js").Scalars["String"];
|
|
573
|
+
tags: Pick<{
|
|
574
|
+
category: import("./typed-client/schema.js").Scalars["String"];
|
|
575
|
+
description: (import("./typed-client/schema.js").Scalars["String"] | null);
|
|
576
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
577
|
+
listable: import("./typed-client/schema.js").Scalars["Boolean"];
|
|
578
|
+
tags: Pick<{
|
|
579
|
+
label: import("./typed-client/schema.js").Scalars["String"];
|
|
580
|
+
value: import("./typed-client/schema.js").Scalars["String"];
|
|
581
|
+
__typename: "AccessTag";
|
|
582
|
+
}, "value" | "label">[];
|
|
583
|
+
__typename: "AccessTagCategory";
|
|
584
|
+
}, "description" | "category" | "label" | "listable" | "tags">[];
|
|
585
|
+
title: import("./typed-client/schema.js").Scalars["String"];
|
|
586
|
+
__typename: "AccessSubjectType";
|
|
587
|
+
}, "name" | "title" | "description" | "controls" | "tags">[]>;
|
|
588
|
+
upsertRole(roleId: string | undefined, role: AccessRoleInput, validateOnly: boolean): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
589
|
+
deleteRole(roleId: string): Promise<boolean>;
|
|
590
|
+
updateGrant(grantId: string, grant: AccessRoleGrantUpdate, validateOnly: boolean): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
591
|
+
createGrant(roleId: string, grant: AccessRoleGrantCreate, validateOnly: boolean): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
592
|
+
deleteGrant(grantId: string): Promise<import("@txstate-mws/svelte-forms").SubmitResponse<undefined>>;
|
|
593
|
+
}
|
|
594
|
+
export declare const api: API;
|
|
595
|
+
export {};
|