@reqquest/ui 1.15.0 → 1.16.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/dist/registry.d.ts +6 -0
- package/dist/typed-client/schema.d.ts +56 -2
- package/dist/typed-client/schema.graphql +74 -8
- package/dist/typed-client/schema.js +6 -0
- package/dist/typed-client/types.d.ts +19 -0
- package/dist/typed-client/types.js +686 -638
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/registry.d.ts
CHANGED
|
@@ -314,6 +314,12 @@ export interface UIConfig<PK extends string = PromptKey, RK extends string = Req
|
|
|
314
314
|
title?: string;
|
|
315
315
|
subTitle?: string;
|
|
316
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* Shown to the applicant on the program review and submission review screens when there is no program
|
|
319
|
+
* left to list: none they are eligible for, and every ineligible one belongs to a program that sets
|
|
320
|
+
* `showIneligiblePreSubmit: false`. Defaults to a generic "you don't currently qualify" message.
|
|
321
|
+
*/
|
|
322
|
+
applicantNoProgramsMessage?: string;
|
|
317
323
|
/**
|
|
318
324
|
* Whether to constrain the applicant review/submission page to a medium
|
|
319
325
|
* screen-width container. Defaults to true.
|
|
@@ -55,6 +55,8 @@ export interface AccessControlGroup {
|
|
|
55
55
|
export interface AccessGrantTag {
|
|
56
56
|
category: Scalars['String'];
|
|
57
57
|
categoryLabel: Scalars['String'];
|
|
58
|
+
/** Extra context for the tag, such as the other titles a program has gone by in different periods. */
|
|
59
|
+
description: (Scalars['String'] | null);
|
|
58
60
|
label: Scalars['String'];
|
|
59
61
|
tag: Scalars['String'];
|
|
60
62
|
__typename: 'AccessGrantTag';
|
|
@@ -123,6 +125,8 @@ export interface AccessRoleValidatedResponse {
|
|
|
123
125
|
__typename: 'AccessRoleValidatedResponse';
|
|
124
126
|
}
|
|
125
127
|
export interface AccessTag {
|
|
128
|
+
/** Extra context for the tag, such as the other titles a program has gone by in different periods. */
|
|
129
|
+
description: (Scalars['String'] | null);
|
|
126
130
|
label: Scalars['String'];
|
|
127
131
|
value: Scalars['String'];
|
|
128
132
|
__typename: 'AccessTag';
|
|
@@ -269,6 +273,14 @@ export interface AppRequestActivity {
|
|
|
269
273
|
user: AccessUser;
|
|
270
274
|
__typename: 'AppRequestActivity';
|
|
271
275
|
}
|
|
276
|
+
/** Applicant counts for a set of appRequests. A request is a returning application when its applicant also submitted a request in an earlier period (by open date); otherwise it is a first-time application. Unsubmitted drafts in earlier periods do not count. */
|
|
277
|
+
export interface AppRequestApplicantCounts {
|
|
278
|
+
/** Matching appRequests whose applicant submitted nothing in any earlier period. */
|
|
279
|
+
firstTime: Scalars['Int'];
|
|
280
|
+
/** Matching appRequests whose applicant also submitted a request in an earlier period. */
|
|
281
|
+
returning: Scalars['Int'];
|
|
282
|
+
__typename: 'AppRequestApplicantCounts';
|
|
283
|
+
}
|
|
272
284
|
/** This represents an index category attached to an app request. Its tagStrings property contains the tag values that have been extracted from the app request data. */
|
|
273
285
|
export interface AppRequestIndexCategory {
|
|
274
286
|
/** If this is > 0, the index values should be shown on the main app request list page, sorted by this priority in descending order. */
|
|
@@ -308,6 +320,8 @@ export interface Application {
|
|
|
308
320
|
awaitingCorrection: Scalars['Boolean'];
|
|
309
321
|
/** A prose summary of the applicant-side requirements of the program this application is for. Intended to be shown alongside statusReason when the application becomes ineligible before submission, since an applicant disqualified early may never have seen the program's prompts and the statusReason alone lacks context. */
|
|
310
322
|
eligibilityDescription: (Scalars['String'] | null);
|
|
323
|
+
/** True when the program sets showIneligiblePreSubmit: false and this application is hidden by it: ineligible because of an applicant requirement, and that ineligibility arose before submission (the request is unsubmitted, or the application was already ineligible when it was submitted). Only the applicant ever receives a hidden application, so they can still change the answers that disqualified them; UIs should leave it out of program lists. */
|
|
324
|
+
hiddenIneligiblePreSubmit: Scalars['Boolean'];
|
|
311
325
|
id: Scalars['ID'];
|
|
312
326
|
/** The phase in which this application became ineligible for benefits. Useful for reporting / filtering. Null if the application is not (yet) ineligible. */
|
|
313
327
|
ineligiblePhase: (IneligiblePhases | null);
|
|
@@ -462,7 +476,7 @@ export interface Configuration {
|
|
|
462
476
|
actions: ConfigurationAccess;
|
|
463
477
|
data: Scalars['JsonData'];
|
|
464
478
|
fetchedData: (Scalars['JsonData'] | null);
|
|
465
|
-
/** The key being configured. Could be a requirement or
|
|
479
|
+
/** The key being configured. Could be a requirement, prompt, or program key. A program's configuration holds its per-period title and navTitle overrides. */
|
|
466
480
|
key: Scalars['String'];
|
|
467
481
|
__typename: 'Configuration';
|
|
468
482
|
}
|
|
@@ -642,6 +656,8 @@ export interface PeriodProgram {
|
|
|
642
656
|
actions: PeriodProgramActions;
|
|
643
657
|
/** A brief description of the program, written for applicants. */
|
|
644
658
|
applicantDescription: (Scalars['String'] | null);
|
|
659
|
+
/** The configuration for this program in the period, which holds its title and navTitle overrides. */
|
|
660
|
+
configuration: Configuration;
|
|
645
661
|
/** A prose summary of the applicant-side requirements of the program. Intended to be shown to applicants who become ineligible before submission, since they may never have seen the program's prompts. */
|
|
646
662
|
eligibilityDescription: (Scalars['String'] | null);
|
|
647
663
|
/** Whether the program is enabled in this period. This is set by the system administrator. */
|
|
@@ -728,6 +744,8 @@ export interface Query {
|
|
|
728
744
|
applicationMetrics: ApplicationMetric;
|
|
729
745
|
/** This is where you get information about the authorization system. Each grant will be associated with one of these controlGroups, one or more controls in the group, and an optional set of tags. The tags are used to limit the scope of the grant. */
|
|
730
746
|
controlGroups: AccessControlGroup[];
|
|
747
|
+
/** First-time vs returning applicant counts for the matching appRequests (see AppRequestApplicantCounts). */
|
|
748
|
+
countAppRequestApplicants: AppRequestApplicantCounts;
|
|
731
749
|
countAppRequests: Scalars['Int'];
|
|
732
750
|
pageInfo: PaginationResponse;
|
|
733
751
|
periods: Period[];
|
|
@@ -887,6 +905,8 @@ export interface AccessControlGroupGenqlSelection {
|
|
|
887
905
|
export interface AccessGrantTagGenqlSelection {
|
|
888
906
|
category?: boolean | number;
|
|
889
907
|
categoryLabel?: boolean | number;
|
|
908
|
+
/** Extra context for the tag, such as the other titles a program has gone by in different periods. */
|
|
909
|
+
description?: boolean | number;
|
|
890
910
|
label?: boolean | number;
|
|
891
911
|
tag?: boolean | number;
|
|
892
912
|
__typename?: boolean | number;
|
|
@@ -993,6 +1013,8 @@ export interface AccessRoleValidatedResponseGenqlSelection {
|
|
|
993
1013
|
__scalar?: boolean | number;
|
|
994
1014
|
}
|
|
995
1015
|
export interface AccessTagGenqlSelection {
|
|
1016
|
+
/** Extra context for the tag, such as the other titles a program has gone by in different periods. */
|
|
1017
|
+
description?: boolean | number;
|
|
996
1018
|
label?: boolean | number;
|
|
997
1019
|
value?: boolean | number;
|
|
998
1020
|
__typename?: boolean | number;
|
|
@@ -1244,7 +1266,18 @@ export interface AppRequestActivityFilters {
|
|
|
1244
1266
|
/** Return activities that were performed by one of the given logins. Also returns activities that were performed while one of the given logins was impersonating someone else. */
|
|
1245
1267
|
users?: (Scalars['ID'][] | null);
|
|
1246
1268
|
}
|
|
1269
|
+
/** Applicant counts for a set of appRequests. A request is a returning application when its applicant also submitted a request in an earlier period (by open date); otherwise it is a first-time application. Unsubmitted drafts in earlier periods do not count. */
|
|
1270
|
+
export interface AppRequestApplicantCountsGenqlSelection {
|
|
1271
|
+
/** Matching appRequests whose applicant submitted nothing in any earlier period. */
|
|
1272
|
+
firstTime?: boolean | number;
|
|
1273
|
+
/** Matching appRequests whose applicant also submitted a request in an earlier period. */
|
|
1274
|
+
returning?: boolean | number;
|
|
1275
|
+
__typename?: boolean | number;
|
|
1276
|
+
__scalar?: boolean | number;
|
|
1277
|
+
}
|
|
1247
1278
|
export interface AppRequestFilter {
|
|
1279
|
+
/** Only return appRequests with at least one application matching one of the given entries (OR). When programKeys is also given, the same application must match both. */
|
|
1280
|
+
applicationStatuses?: (ApplicationStatusFilter[] | null);
|
|
1248
1281
|
/** true -> only return appRequests that are closed. false -> only return appRequests that are open. null -> return all appRequests. */
|
|
1249
1282
|
closed?: (Scalars['Boolean'] | null);
|
|
1250
1283
|
/** Only return appRequests that were closed after this date. Open appRequests will be filtered out. */
|
|
@@ -1265,6 +1298,8 @@ export interface AppRequestFilter {
|
|
|
1265
1298
|
/** Only return appRequests that are owned by the current user. */
|
|
1266
1299
|
own?: (Scalars['Boolean'] | null);
|
|
1267
1300
|
periodIds?: (Scalars['ID'][] | null);
|
|
1301
|
+
/** Only return appRequests that have an application for one of the given programs. When applicationStatuses is also given, the same application must match both. */
|
|
1302
|
+
programKeys?: (Scalars['ID'][] | null);
|
|
1268
1303
|
/** Only return appRequests where at least one application is in one of the given rescinded states. Rescinding is per-application, so this is independent of the appRequest status. */
|
|
1269
1304
|
rescindedStatus?: (ApplicationRescindedStatus[] | null);
|
|
1270
1305
|
/** Only return appRequests that have had their review started. true -> return review started, false -> return not started. Note that this is NOT mutually exclusive with complete or closed, it very simply means that a non-applicant has taken an action on it. */
|
|
@@ -1322,6 +1357,8 @@ export interface ApplicationGenqlSelection {
|
|
|
1322
1357
|
awaitingCorrection?: boolean | number;
|
|
1323
1358
|
/** A prose summary of the applicant-side requirements of the program this application is for. Intended to be shown alongside statusReason when the application becomes ineligible before submission, since an applicant disqualified early may never have seen the program's prompts and the statusReason alone lacks context. */
|
|
1324
1359
|
eligibilityDescription?: boolean | number;
|
|
1360
|
+
/** True when the program sets showIneligiblePreSubmit: false and this application is hidden by it: ineligible because of an applicant requirement, and that ineligibility arose before submission (the request is unsubmitted, or the application was already ineligible when it was submitted). Only the applicant ever receives a hidden application, so they can still change the answers that disqualified them; UIs should leave it out of program lists. */
|
|
1361
|
+
hiddenIneligiblePreSubmit?: boolean | number;
|
|
1325
1362
|
id?: boolean | number;
|
|
1326
1363
|
/** The phase in which this application became ineligible for benefits. Useful for reporting / filtering. Null if the application is not (yet) ineligible. */
|
|
1327
1364
|
ineligiblePhase?: boolean | number;
|
|
@@ -1440,6 +1477,12 @@ export interface ApplicationRequirementGenqlSelection {
|
|
|
1440
1477
|
__typename?: boolean | number;
|
|
1441
1478
|
__scalar?: boolean | number;
|
|
1442
1479
|
}
|
|
1480
|
+
/** Matches an application by its stored status and, optionally, its rescind state. Status is the stored computedStatus, so RESCINDED is not a valid value here - express it as status ELIGIBLE or ACCEPTED with rescindedStatus RESCINDED. */
|
|
1481
|
+
export interface ApplicationStatusFilter {
|
|
1482
|
+
/** When omitted, matches applications currently in the given status (not rescinded). When given, matches only applications in exactly that rescind state. */
|
|
1483
|
+
rescindedStatus?: (ApplicationRescindedStatus | null);
|
|
1484
|
+
status: ApplicationStatus;
|
|
1485
|
+
}
|
|
1443
1486
|
export interface CategoryGenqlSelection {
|
|
1444
1487
|
/** This is indexed name of the category. Categories are indexed to allow for quick filtering of a list of items. e.g. institutionalRoles */
|
|
1445
1488
|
category?: boolean | number;
|
|
@@ -1466,7 +1509,7 @@ export interface ConfigurationGenqlSelection {
|
|
|
1466
1509
|
actions?: ConfigurationAccessGenqlSelection;
|
|
1467
1510
|
data?: boolean | number;
|
|
1468
1511
|
fetchedData?: boolean | number;
|
|
1469
|
-
/** The key being configured. Could be a requirement or
|
|
1512
|
+
/** The key being configured. Could be a requirement, prompt, or program key. A program's configuration holds its per-period title and navTitle overrides. */
|
|
1470
1513
|
key?: boolean | number;
|
|
1471
1514
|
__typename?: boolean | number;
|
|
1472
1515
|
__scalar?: boolean | number;
|
|
@@ -1922,6 +1965,8 @@ export interface PeriodProgramGenqlSelection {
|
|
|
1922
1965
|
actions?: PeriodProgramActionsGenqlSelection;
|
|
1923
1966
|
/** A brief description of the program, written for applicants. */
|
|
1924
1967
|
applicantDescription?: boolean | number;
|
|
1968
|
+
/** The configuration for this program in the period, which holds its title and navTitle overrides. */
|
|
1969
|
+
configuration?: ConfigurationGenqlSelection;
|
|
1925
1970
|
/** A prose summary of the applicant-side requirements of the program. Intended to be shown to applicants who become ineligible before submission, since they may never have seen the program's prompts. */
|
|
1926
1971
|
eligibilityDescription?: boolean | number;
|
|
1927
1972
|
/** Whether the program is enabled in this period. This is set by the system administrator. */
|
|
@@ -2053,6 +2098,12 @@ export interface QueryGenqlSelection {
|
|
|
2053
2098
|
});
|
|
2054
2099
|
/** This is where you get information about the authorization system. Each grant will be associated with one of these controlGroups, one or more controls in the group, and an optional set of tags. The tags are used to limit the scope of the grant. */
|
|
2055
2100
|
controlGroups?: AccessControlGroupGenqlSelection;
|
|
2101
|
+
/** First-time vs returning applicant counts for the matching appRequests (see AppRequestApplicantCounts). */
|
|
2102
|
+
countAppRequestApplicants?: (AppRequestApplicantCountsGenqlSelection & {
|
|
2103
|
+
__args?: {
|
|
2104
|
+
filter?: (AppRequestFilter | null);
|
|
2105
|
+
};
|
|
2106
|
+
});
|
|
2056
2107
|
countAppRequests?: {
|
|
2057
2108
|
__args: {
|
|
2058
2109
|
filter?: (AppRequestFilter | null);
|
|
@@ -2275,6 +2326,9 @@ export declare const isAppRequestActions: (obj?: {
|
|
|
2275
2326
|
export declare const isAppRequestActivity: (obj?: {
|
|
2276
2327
|
__typename?: any;
|
|
2277
2328
|
} | null) => obj is AppRequestActivity;
|
|
2329
|
+
export declare const isAppRequestApplicantCounts: (obj?: {
|
|
2330
|
+
__typename?: any;
|
|
2331
|
+
} | null) => obj is AppRequestApplicantCounts;
|
|
2278
2332
|
export declare const isAppRequestIndexCategory: (obj?: {
|
|
2279
2333
|
__typename?: any;
|
|
2280
2334
|
} | null) => obj is AppRequestIndexCategory;
|
|
@@ -78,6 +78,11 @@ type AccessControlGroup {
|
|
|
78
78
|
type AccessGrantTag {
|
|
79
79
|
category: String!
|
|
80
80
|
categoryLabel: String!
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
Extra context for the tag, such as the other titles a program has gone by in different periods.
|
|
84
|
+
"""
|
|
85
|
+
description: String
|
|
81
86
|
label: String!
|
|
82
87
|
tag: String!
|
|
83
88
|
}
|
|
@@ -195,6 +200,10 @@ type AccessRoleValidatedResponse {
|
|
|
195
200
|
}
|
|
196
201
|
|
|
197
202
|
type AccessTag {
|
|
203
|
+
"""
|
|
204
|
+
Extra context for the tag, such as the other titles a program has gone by in different periods.
|
|
205
|
+
"""
|
|
206
|
+
description: String
|
|
198
207
|
label: String!
|
|
199
208
|
value: String!
|
|
200
209
|
}
|
|
@@ -591,7 +600,27 @@ input AppRequestActivityFilters {
|
|
|
591
600
|
users: [ID!]
|
|
592
601
|
}
|
|
593
602
|
|
|
603
|
+
"""
|
|
604
|
+
Applicant counts for a set of appRequests. A request is a returning application when its applicant also submitted a request in an earlier period (by open date); otherwise it is a first-time application. Unsubmitted drafts in earlier periods do not count.
|
|
605
|
+
"""
|
|
606
|
+
type AppRequestApplicantCounts {
|
|
607
|
+
"""
|
|
608
|
+
Matching appRequests whose applicant submitted nothing in any earlier period.
|
|
609
|
+
"""
|
|
610
|
+
firstTime: Int!
|
|
611
|
+
|
|
612
|
+
"""
|
|
613
|
+
Matching appRequests whose applicant also submitted a request in an earlier period.
|
|
614
|
+
"""
|
|
615
|
+
returning: Int!
|
|
616
|
+
}
|
|
617
|
+
|
|
594
618
|
input AppRequestFilter {
|
|
619
|
+
"""
|
|
620
|
+
Only return appRequests with at least one application matching one of the given entries (OR). When programKeys is also given, the same application must match both.
|
|
621
|
+
"""
|
|
622
|
+
applicationStatuses: [ApplicationStatusFilter!]
|
|
623
|
+
|
|
595
624
|
"""
|
|
596
625
|
true -> only return appRequests that are closed. false -> only return appRequests that are open. null -> return all appRequests.
|
|
597
626
|
"""
|
|
@@ -629,6 +658,11 @@ input AppRequestFilter {
|
|
|
629
658
|
own: Boolean
|
|
630
659
|
periodIds: [ID!]
|
|
631
660
|
|
|
661
|
+
"""
|
|
662
|
+
Only return appRequests that have an application for one of the given programs. When applicationStatuses is also given, the same application must match both.
|
|
663
|
+
"""
|
|
664
|
+
programKeys: [ID!]
|
|
665
|
+
|
|
632
666
|
"""
|
|
633
667
|
Only return appRequests where at least one application is in one of the given rescinded states. Rescinding is per-application, so this is independent of the appRequest status.
|
|
634
668
|
"""
|
|
@@ -864,6 +898,11 @@ type Application {
|
|
|
864
898
|
A prose summary of the applicant-side requirements of the program this application is for. Intended to be shown alongside statusReason when the application becomes ineligible before submission, since an applicant disqualified early may never have seen the program's prompts and the statusReason alone lacks context.
|
|
865
899
|
"""
|
|
866
900
|
eligibilityDescription: String
|
|
901
|
+
|
|
902
|
+
"""
|
|
903
|
+
True when the program sets showIneligiblePreSubmit: false and this application is hidden by it: ineligible because of an applicant requirement, and that ineligibility arose before submission (the request is unsubmitted, or the application was already ineligible when it was submitted). Only the applicant ever receives a hidden application, so they can still change the answers that disqualified them; UIs should leave it out of program lists.
|
|
904
|
+
"""
|
|
905
|
+
hiddenIneligiblePreSubmit: Boolean!
|
|
867
906
|
id: ID!
|
|
868
907
|
|
|
869
908
|
"""
|
|
@@ -1128,7 +1167,7 @@ enum ApplicationStatus {
|
|
|
1128
1167
|
ACCEPTED
|
|
1129
1168
|
|
|
1130
1169
|
"""
|
|
1131
|
-
|
|
1170
|
+
Every requirement the current phase evaluates is resolving as MET (or NOT_APPLICABLE or WARNING). Before submission that is only the applicant requirements (PREQUAL, QUALIFICATION, POSTQUAL), so ELIGIBLE means nothing so far disqualifies - not that the program has been approved. After submission it covers all requirements up to and including WORKFLOW_BLOCKING. If there is an acceptance phase, the acceptance is still pending.
|
|
1132
1171
|
"""
|
|
1133
1172
|
ELIGIBLE
|
|
1134
1173
|
|
|
@@ -1153,6 +1192,17 @@ enum ApplicationStatus {
|
|
|
1153
1192
|
RESCINDED
|
|
1154
1193
|
}
|
|
1155
1194
|
|
|
1195
|
+
"""
|
|
1196
|
+
Matches an application by its stored status and, optionally, its rescind state. Status is the stored computedStatus, so RESCINDED is not a valid value here - express it as status ELIGIBLE or ACCEPTED with rescindedStatus RESCINDED.
|
|
1197
|
+
"""
|
|
1198
|
+
input ApplicationStatusFilter {
|
|
1199
|
+
"""
|
|
1200
|
+
When omitted, matches applications currently in the given status (not rescinded). When given, matches only applications in exactly that rescind state.
|
|
1201
|
+
"""
|
|
1202
|
+
rescindedStatus: ApplicationRescindedStatus
|
|
1203
|
+
status: ApplicationStatus!
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1156
1206
|
type Category {
|
|
1157
1207
|
"""
|
|
1158
1208
|
This is indexed name of the category. Categories are indexed to allow for quick filtering of a list of items. e.g. institutionalRoles
|
|
@@ -1195,7 +1245,9 @@ type Configuration {
|
|
|
1195
1245
|
data: JsonData!
|
|
1196
1246
|
fetchedData: JsonData
|
|
1197
1247
|
|
|
1198
|
-
"""
|
|
1248
|
+
"""
|
|
1249
|
+
The key being configured. Could be a requirement, prompt, or program key. A program's configuration holds its per-period title and navTitle overrides.
|
|
1250
|
+
"""
|
|
1199
1251
|
key: String!
|
|
1200
1252
|
}
|
|
1201
1253
|
|
|
@@ -1274,22 +1326,26 @@ type IndexValue {
|
|
|
1274
1326
|
}
|
|
1275
1327
|
|
|
1276
1328
|
enum IneligiblePhases {
|
|
1277
|
-
"""The application
|
|
1329
|
+
"""The application was disqualified by an ACCEPTANCE requirement."""
|
|
1278
1330
|
ACCEPTANCE
|
|
1279
1331
|
|
|
1280
|
-
"""The application
|
|
1332
|
+
"""The application was disqualified by an APPROVAL requirement."""
|
|
1281
1333
|
APPROVAL
|
|
1282
1334
|
|
|
1283
|
-
"""The application
|
|
1335
|
+
"""The application was disqualified by a PREAPPROVAL requirement."""
|
|
1284
1336
|
PREAPPROVAL
|
|
1285
1337
|
|
|
1286
|
-
"""
|
|
1338
|
+
"""
|
|
1339
|
+
The application was disqualified by a PREQUAL requirement. Names the type of requirement that failed, not when it failed - a reviewer changing an applicant answer after submission can also produce this.
|
|
1340
|
+
"""
|
|
1287
1341
|
PREQUAL
|
|
1288
1342
|
|
|
1289
|
-
"""
|
|
1343
|
+
"""
|
|
1344
|
+
The application was disqualified by a QUALIFICATION or POSTQUAL requirement. Names the type of requirement that failed, not when it failed - a reviewer changing an applicant answer after submission can also produce this.
|
|
1345
|
+
"""
|
|
1290
1346
|
QUALIFICATION
|
|
1291
1347
|
|
|
1292
|
-
"""The application
|
|
1348
|
+
"""The application was disqualified by a blocking workflow requirement."""
|
|
1293
1349
|
WORKFLOW
|
|
1294
1350
|
}
|
|
1295
1351
|
|
|
@@ -1684,6 +1740,11 @@ type PeriodProgram {
|
|
|
1684
1740
|
"""A brief description of the program, written for applicants."""
|
|
1685
1741
|
applicantDescription: String
|
|
1686
1742
|
|
|
1743
|
+
"""
|
|
1744
|
+
The configuration for this program in the period, which holds its title and navTitle overrides.
|
|
1745
|
+
"""
|
|
1746
|
+
configuration: Configuration!
|
|
1747
|
+
|
|
1687
1748
|
"""
|
|
1688
1749
|
A prose summary of the applicant-side requirements of the program. Intended to be shown to applicants who become ineligible before submission, since they may never have seen the program's prompts.
|
|
1689
1750
|
"""
|
|
@@ -1867,6 +1928,11 @@ type Query {
|
|
|
1867
1928
|
This is where you get information about the authorization system. Each grant will be associated with one of these controlGroups, one or more controls in the group, and an optional set of tags. The tags are used to limit the scope of the grant.
|
|
1868
1929
|
"""
|
|
1869
1930
|
controlGroups: [AccessControlGroup!]!
|
|
1931
|
+
|
|
1932
|
+
"""
|
|
1933
|
+
First-time vs returning applicant counts for the matching appRequests (see AppRequestApplicantCounts).
|
|
1934
|
+
"""
|
|
1935
|
+
countAppRequestApplicants(filter: AppRequestFilter): AppRequestApplicantCounts!
|
|
1870
1936
|
countAppRequests(filter: AppRequestFilter): Int!
|
|
1871
1937
|
pageInfo: PaginationResponse!
|
|
1872
1938
|
periods(filter: PeriodFilters): [Period!]!
|
|
@@ -110,6 +110,12 @@ export const isAppRequestActivity = (obj) => {
|
|
|
110
110
|
throw new Error('__typename is missing in "isAppRequestActivity"');
|
|
111
111
|
return AppRequestActivity_possibleTypes.includes(obj.__typename);
|
|
112
112
|
};
|
|
113
|
+
const AppRequestApplicantCounts_possibleTypes = ['AppRequestApplicantCounts'];
|
|
114
|
+
export const isAppRequestApplicantCounts = (obj) => {
|
|
115
|
+
if (!obj?.__typename)
|
|
116
|
+
throw new Error('__typename is missing in "isAppRequestApplicantCounts"');
|
|
117
|
+
return AppRequestApplicantCounts_possibleTypes.includes(obj.__typename);
|
|
118
|
+
};
|
|
113
119
|
const AppRequestIndexCategory_possibleTypes = ['AppRequestIndexCategory'];
|
|
114
120
|
export const isAppRequestIndexCategory = (obj) => {
|
|
115
121
|
if (!obj?.__typename)
|
|
@@ -33,6 +33,7 @@ declare const _default: {
|
|
|
33
33
|
AccessGrantTag: {
|
|
34
34
|
category: number[];
|
|
35
35
|
categoryLabel: number[];
|
|
36
|
+
description: number[];
|
|
36
37
|
label: number[];
|
|
37
38
|
tag: number[];
|
|
38
39
|
__typename: number[];
|
|
@@ -109,6 +110,7 @@ declare const _default: {
|
|
|
109
110
|
__typename: number[];
|
|
110
111
|
};
|
|
111
112
|
AccessTag: {
|
|
113
|
+
description: number[];
|
|
112
114
|
label: number[];
|
|
113
115
|
value: number[];
|
|
114
116
|
__typename: number[];
|
|
@@ -266,7 +268,13 @@ declare const _default: {
|
|
|
266
268
|
users: number[];
|
|
267
269
|
__typename: number[];
|
|
268
270
|
};
|
|
271
|
+
AppRequestApplicantCounts: {
|
|
272
|
+
firstTime: number[];
|
|
273
|
+
returning: number[];
|
|
274
|
+
__typename: number[];
|
|
275
|
+
};
|
|
269
276
|
AppRequestFilter: {
|
|
277
|
+
applicationStatuses: number[];
|
|
270
278
|
closed: number[];
|
|
271
279
|
closedAfter: number[];
|
|
272
280
|
closedBefore: number[];
|
|
@@ -278,6 +286,7 @@ declare const _default: {
|
|
|
278
286
|
logins: number[];
|
|
279
287
|
own: number[];
|
|
280
288
|
periodIds: number[];
|
|
289
|
+
programKeys: number[];
|
|
281
290
|
rescindedStatus: number[];
|
|
282
291
|
reviewStarted: number[];
|
|
283
292
|
search: number[];
|
|
@@ -318,6 +327,7 @@ declare const _default: {
|
|
|
318
327
|
applicantDescription: number[];
|
|
319
328
|
awaitingCorrection: number[];
|
|
320
329
|
eligibilityDescription: number[];
|
|
330
|
+
hiddenIneligiblePreSubmit: number[];
|
|
321
331
|
id: number[];
|
|
322
332
|
ineligiblePhase: number[];
|
|
323
333
|
navTitle: number[];
|
|
@@ -403,6 +413,11 @@ declare const _default: {
|
|
|
403
413
|
};
|
|
404
414
|
ApplicationRescindedStatus: {};
|
|
405
415
|
ApplicationStatus: {};
|
|
416
|
+
ApplicationStatusFilter: {
|
|
417
|
+
rescindedStatus: number[];
|
|
418
|
+
status: number[];
|
|
419
|
+
__typename: number[];
|
|
420
|
+
};
|
|
406
421
|
Boolean: {};
|
|
407
422
|
Category: {
|
|
408
423
|
category: number[];
|
|
@@ -714,6 +729,7 @@ declare const _default: {
|
|
|
714
729
|
PeriodProgram: {
|
|
715
730
|
actions: number[];
|
|
716
731
|
applicantDescription: number[];
|
|
732
|
+
configuration: number[];
|
|
717
733
|
eligibilityDescription: number[];
|
|
718
734
|
enabled: number[];
|
|
719
735
|
key: number[];
|
|
@@ -800,6 +816,9 @@ declare const _default: {
|
|
|
800
816
|
filter: number[];
|
|
801
817
|
})[];
|
|
802
818
|
controlGroups: number[];
|
|
819
|
+
countAppRequestApplicants: (number | {
|
|
820
|
+
filter: number[];
|
|
821
|
+
})[];
|
|
803
822
|
countAppRequests: (number | {
|
|
804
823
|
filter: number[];
|
|
805
824
|
})[];
|