@reqquest/ui 1.16.0 → 1.17.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.js
CHANGED
|
@@ -55,7 +55,7 @@ export class UIRegistry {
|
|
|
55
55
|
this.validateReviewSections(program);
|
|
56
56
|
this.userLookup = config.userLookup;
|
|
57
57
|
this.lang = {
|
|
58
|
-
appRequest: config.terminology?.appRequest ??
|
|
58
|
+
appRequest: config.terminology?.appRequest ?? 'Application',
|
|
59
59
|
login: config.terminology?.login ?? 'Login',
|
|
60
60
|
period: config.terminology?.period ?? 'Period'
|
|
61
61
|
};
|
|
@@ -190,6 +190,7 @@ export interface AppRequest {
|
|
|
190
190
|
/** Actions the user can take on this app request. */
|
|
191
191
|
actions: AppRequestActions;
|
|
192
192
|
applicant: AccessUser;
|
|
193
|
+
/** The applications on this request, one per program. Pass programKeys to receive only some of them - a screen that shows one program should not download every program's requirement and prompt tree. */
|
|
193
194
|
applications: Application[];
|
|
194
195
|
/** True when at least one reachable prompt anywhere on this request has been invalidated and must be re-answered. Status and phase are computed from the answers on file, so use this flag to explain that the request is held back awaiting a correction. */
|
|
195
196
|
awaitingCorrection: Scalars['Boolean'];
|
|
@@ -558,7 +559,7 @@ export interface Mutation {
|
|
|
558
559
|
roleDeleteGrant: AccessRoleValidatedResponse;
|
|
559
560
|
roleUpdate: AccessRoleValidatedResponse;
|
|
560
561
|
roleUpdateGrant: AccessRoleValidatedResponse;
|
|
561
|
-
/** Submit the app request. */
|
|
562
|
+
/** Submit the app request. Applications whose program has no reviewer questions (no PREAPPROVAL or APPROVAL requirements) advance on their own into their first blocking workflow stage or to REVIEW_COMPLETE; when nothing is left to review, the review is completed automatically as well. Applications ruled out before submission (PREQUAL or QUALIFICATION) do not hold that back. */
|
|
562
563
|
submitAppRequest: ValidatedAppRequestResponse;
|
|
563
564
|
/** Toggle an existing note's persistent status. */
|
|
564
565
|
togglePersistence: ValidatedNoteResponse;
|
|
@@ -739,6 +740,10 @@ export interface Query {
|
|
|
739
740
|
announcements: Announcement[];
|
|
740
741
|
/** The activity log for this app request. This is a list of actions taken on the app request, such as submission, updating prompts, make an offer, add a note, etc. It will be sorted by the date of the activity in descending order. */
|
|
741
742
|
appRequestActivity: AppRequestActivity[];
|
|
743
|
+
/** The distinct action verbs that appear in the activity log for the associated app request, sorted alphabetically. */
|
|
744
|
+
appRequestActivityActions: Scalars['String'][];
|
|
745
|
+
/** Everyone who appears in the activity log for the associated app request, as the user that performed an activity or as the admin impersonating them. */
|
|
746
|
+
appRequestActivityUsers: AccessUser[];
|
|
742
747
|
appRequestIndexes: IndexCategory[];
|
|
743
748
|
appRequests: AppRequest[];
|
|
744
749
|
applicationMetrics: ApplicationMetric;
|
|
@@ -1138,7 +1143,12 @@ export interface AppRequestGenqlSelection {
|
|
|
1138
1143
|
/** Actions the user can take on this app request. */
|
|
1139
1144
|
actions?: AppRequestActionsGenqlSelection;
|
|
1140
1145
|
applicant?: AccessUserGenqlSelection;
|
|
1141
|
-
applications
|
|
1146
|
+
/** The applications on this request, one per program. Pass programKeys to receive only some of them - a screen that shows one program should not download every program's requirement and prompt tree. */
|
|
1147
|
+
applications?: (ApplicationGenqlSelection & {
|
|
1148
|
+
__args?: {
|
|
1149
|
+
programKeys?: (Scalars['String'][] | null);
|
|
1150
|
+
};
|
|
1151
|
+
});
|
|
1142
1152
|
/** True when at least one reachable prompt anywhere on this request has been invalidated and must be re-answered. Status and phase are computed from the answers on file, so use this flag to explain that the request is held back awaiting a correction. */
|
|
1143
1153
|
awaitingCorrection?: boolean | number;
|
|
1144
1154
|
/** Date that this request was considered closed and no longer editable. If active or re-opened, will be null. If closed again, will be the second closure date. */
|
|
@@ -1782,7 +1792,7 @@ export interface MutationGenqlSelection {
|
|
|
1782
1792
|
validateOnly?: (Scalars['Boolean'] | null);
|
|
1783
1793
|
};
|
|
1784
1794
|
});
|
|
1785
|
-
/** Submit the app request. */
|
|
1795
|
+
/** Submit the app request. Applications whose program has no reviewer questions (no PREAPPROVAL or APPROVAL requirements) advance on their own into their first blocking workflow stage or to REVIEW_COMPLETE; when nothing is left to review, the review is completed automatically as well. Applications ruled out before submission (PREQUAL or QUALIFICATION) do not hold that back. */
|
|
1786
1796
|
submitAppRequest?: (ValidatedAppRequestResponseGenqlSelection & {
|
|
1787
1797
|
__args: {
|
|
1788
1798
|
appRequestId: Scalars['ID'];
|
|
@@ -2078,6 +2088,18 @@ export interface QueryGenqlSelection {
|
|
|
2078
2088
|
paged?: (Pagination | null);
|
|
2079
2089
|
};
|
|
2080
2090
|
});
|
|
2091
|
+
/** The distinct action verbs that appear in the activity log for the associated app request, sorted alphabetically. */
|
|
2092
|
+
appRequestActivityActions?: {
|
|
2093
|
+
__args: {
|
|
2094
|
+
id: Scalars['String'];
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
/** Everyone who appears in the activity log for the associated app request, as the user that performed an activity or as the admin impersonating them. */
|
|
2098
|
+
appRequestActivityUsers?: (AccessUserGenqlSelection & {
|
|
2099
|
+
__args: {
|
|
2100
|
+
id: Scalars['String'];
|
|
2101
|
+
};
|
|
2102
|
+
});
|
|
2081
2103
|
appRequestIndexes?: (IndexCategoryGenqlSelection & {
|
|
2082
2104
|
__args?: {
|
|
2083
2105
|
categories?: (Scalars['String'][] | null);
|
|
@@ -388,7 +388,11 @@ type AppRequest {
|
|
|
388
388
|
"""Actions the user can take on this app request."""
|
|
389
389
|
actions: AppRequestActions!
|
|
390
390
|
applicant: AccessUser!
|
|
391
|
-
|
|
391
|
+
|
|
392
|
+
"""
|
|
393
|
+
The applications on this request, one per program. Pass programKeys to receive only some of them - a screen that shows one program should not download every program's requirement and prompt tree.
|
|
394
|
+
"""
|
|
395
|
+
applications(programKeys: [String!]): [Application!]!
|
|
392
396
|
|
|
393
397
|
"""
|
|
394
398
|
True when at least one reachable prompt anywhere on this request has been invalidated and must be re-answered. Status and phase are computed from the answers on file, so use this flag to explain that the request is held back awaiting a correction.
|
|
@@ -1526,7 +1530,9 @@ type Mutation {
|
|
|
1526
1530
|
roleUpdate(role: AccessRoleInput!, roleId: ID!, validateOnly: Boolean): AccessRoleValidatedResponse!
|
|
1527
1531
|
roleUpdateGrant(grant: AccessRoleGrantUpdate!, grantId: ID!, validateOnly: Boolean): AccessRoleValidatedResponse!
|
|
1528
1532
|
|
|
1529
|
-
"""
|
|
1533
|
+
"""
|
|
1534
|
+
Submit the app request. Applications whose program has no reviewer questions (no PREAPPROVAL or APPROVAL requirements) advance on their own into their first blocking workflow stage or to REVIEW_COMPLETE; when nothing is left to review, the review is completed automatically as well. Applications ruled out before submission (PREQUAL or QUALIFICATION) do not hold that back.
|
|
1535
|
+
"""
|
|
1530
1536
|
submitAppRequest(appRequestId: ID!): ValidatedAppRequestResponse!
|
|
1531
1537
|
|
|
1532
1538
|
"""Toggle an existing note's persistent status."""
|
|
@@ -1913,6 +1919,16 @@ type Query {
|
|
|
1913
1919
|
id: String!
|
|
1914
1920
|
paged: Pagination
|
|
1915
1921
|
): [AppRequestActivity!]!
|
|
1922
|
+
|
|
1923
|
+
"""
|
|
1924
|
+
The distinct action verbs that appear in the activity log for the associated app request, sorted alphabetically.
|
|
1925
|
+
"""
|
|
1926
|
+
appRequestActivityActions(id: String!): [String!]!
|
|
1927
|
+
|
|
1928
|
+
"""
|
|
1929
|
+
Everyone who appears in the activity log for the associated app request, as the user that performed an activity or as the admin impersonating them.
|
|
1930
|
+
"""
|
|
1931
|
+
appRequestActivityUsers(id: String!): [AccessUser!]!
|
|
1916
1932
|
appRequestIndexes(
|
|
1917
1933
|
categories: [String!]
|
|
1918
1934
|
|
|
@@ -197,7 +197,9 @@ declare const _default: {
|
|
|
197
197
|
AppRequest: {
|
|
198
198
|
actions: number[];
|
|
199
199
|
applicant: number[];
|
|
200
|
-
applications: number
|
|
200
|
+
applications: (number | {
|
|
201
|
+
programKeys: (string | number)[];
|
|
202
|
+
})[];
|
|
201
203
|
awaitingCorrection: number[];
|
|
202
204
|
closedAt: number[];
|
|
203
205
|
createdAt: number[];
|
|
@@ -804,6 +806,12 @@ declare const _default: {
|
|
|
804
806
|
id: (string | number)[];
|
|
805
807
|
paged: number[];
|
|
806
808
|
})[];
|
|
809
|
+
appRequestActivityActions: (number | {
|
|
810
|
+
id: (string | number)[];
|
|
811
|
+
})[];
|
|
812
|
+
appRequestActivityUsers: (number | {
|
|
813
|
+
id: (string | number)[];
|
|
814
|
+
})[];
|
|
807
815
|
appRequestIndexes: (number | {
|
|
808
816
|
categories: (string | number)[];
|
|
809
817
|
for: number[];
|
|
@@ -103,7 +103,7 @@ export default {
|
|
|
103
103
|
91
|
|
104
104
|
],
|
|
105
105
|
"description": [
|
|
106
|
-
|
|
106
|
+
91
|
|
107
107
|
],
|
|
108
108
|
"label": [
|
|
109
109
|
91
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
290
290
|
},
|
|
291
291
|
"AccessTag": {
|
|
292
292
|
"description": [
|
|
293
|
-
|
|
293
|
+
91
|
|
294
294
|
],
|
|
295
295
|
"label": [
|
|
296
296
|
91
|
|
@@ -507,7 +507,13 @@ export default {
|
|
|
507
507
|
17
|
|
508
508
|
],
|
|
509
509
|
"applications": [
|
|
510
|
-
37
|
|
510
|
+
37,
|
|
511
|
+
{
|
|
512
|
+
"programKeys": [
|
|
513
|
+
91,
|
|
514
|
+
"[String!]"
|
|
515
|
+
]
|
|
516
|
+
}
|
|
511
517
|
],
|
|
512
518
|
"awaitingCorrection": [
|
|
513
519
|
47
|
|
@@ -851,7 +857,7 @@ export default {
|
|
|
851
857
|
91
|
|
852
858
|
],
|
|
853
859
|
"hiddenIneligiblePreSubmit": [
|
|
854
|
-
|
|
860
|
+
47
|
|
855
861
|
],
|
|
856
862
|
"id": [
|
|
857
863
|
55
|
|
@@ -1939,7 +1945,7 @@ export default {
|
|
|
1939
1945
|
91
|
|
1940
1946
|
],
|
|
1941
1947
|
"configuration": [
|
|
1942
|
-
|
|
1948
|
+
50
|
|
1943
1949
|
],
|
|
1944
1950
|
"eligibilityDescription": [
|
|
1945
1951
|
91
|
|
@@ -2127,6 +2133,24 @@ export default {
|
|
|
2127
2133
|
]
|
|
2128
2134
|
}
|
|
2129
2135
|
],
|
|
2136
|
+
"appRequestActivityActions": [
|
|
2137
|
+
91,
|
|
2138
|
+
{
|
|
2139
|
+
"id": [
|
|
2140
|
+
91,
|
|
2141
|
+
"String!"
|
|
2142
|
+
]
|
|
2143
|
+
}
|
|
2144
|
+
],
|
|
2145
|
+
"appRequestActivityUsers": [
|
|
2146
|
+
17,
|
|
2147
|
+
{
|
|
2148
|
+
"id": [
|
|
2149
|
+
91,
|
|
2150
|
+
"String!"
|
|
2151
|
+
]
|
|
2152
|
+
}
|
|
2153
|
+
],
|
|
2130
2154
|
"appRequestIndexes": [
|
|
2131
2155
|
56,
|
|
2132
2156
|
{
|