@reqquest/ui 1.9.1 → 1.10.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.
@@ -275,8 +275,12 @@ export type AppRequestStatus = 'ACCEPTANCE' | 'ACCEPTED' | 'APPROVAL' | 'APPROVE
275
275
  /** An application represents the applicant applying to a specific program. Each appRequest has multiple applications - one per program defined in the system. Some applications are mutually exclusive and/or will be eliminated early based on PREQUAL requirements, but they all technically exist in the data model - there is no concept of picking one application over another, just two applications where one dies and the other survives. */
276
276
  export interface Application {
277
277
  actions: ApplicationActions;
278
+ /** A brief description, written for applicants, of the program this application is for. */
279
+ applicantDescription: (Scalars['String'] | null);
278
280
  /** True when at least one reachable prompt on this application has been invalidated and must be re-answered. Status is still computed from the answers on file, so pair status displays with this flag to indicate that a correction is outstanding. */
279
281
  awaitingCorrection: Scalars['Boolean'];
282
+ /** 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. */
283
+ eligibilityDescription: (Scalars['String'] | null);
280
284
  id: Scalars['ID'];
281
285
  /** The phase in which this application became ineligible for benefits. Useful for reporting / filtering. Null if the application is not (yet) ineligible. */
282
286
  ineligiblePhase: (IneligiblePhases | null);
@@ -582,6 +586,10 @@ export interface PeriodActions {
582
586
  }
583
587
  export interface PeriodProgram {
584
588
  actions: PeriodProgramActions;
589
+ /** A brief description of the program, written for applicants. */
590
+ applicantDescription: (Scalars['String'] | null);
591
+ /** 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. */
592
+ eligibilityDescription: (Scalars['String'] | null);
585
593
  /** Whether the program is enabled in this period. This is set by the system administrator. */
586
594
  enabled: Scalars['Boolean'];
587
595
  key: Scalars['ID'];
@@ -637,6 +645,10 @@ export interface PeriodWorkflowStage {
637
645
  __typename: 'PeriodWorkflowStage';
638
646
  }
639
647
  export interface Program {
648
+ /** A brief description of the program, written for applicants. */
649
+ applicantDescription: (Scalars['String'] | null);
650
+ /** 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. */
651
+ eligibilityDescription: (Scalars['String'] | null);
640
652
  key: Scalars['ID'];
641
653
  navTitle: Scalars['String'];
642
654
  title: Scalars['String'];
@@ -1182,8 +1194,12 @@ export interface AppRequestNoteFilters {
1182
1194
  /** An application represents the applicant applying to a specific program. Each appRequest has multiple applications - one per program defined in the system. Some applications are mutually exclusive and/or will be eliminated early based on PREQUAL requirements, but they all technically exist in the data model - there is no concept of picking one application over another, just two applications where one dies and the other survives. */
1183
1195
  export interface ApplicationGenqlSelection {
1184
1196
  actions?: ApplicationActionsGenqlSelection;
1197
+ /** A brief description, written for applicants, of the program this application is for. */
1198
+ applicantDescription?: boolean | number;
1185
1199
  /** True when at least one reachable prompt on this application has been invalidated and must be re-answered. Status is still computed from the answers on file, so pair status displays with this flag to indicate that a correction is outstanding. */
1186
1200
  awaitingCorrection?: boolean | number;
1201
+ /** 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. */
1202
+ eligibilityDescription?: boolean | number;
1187
1203
  id?: boolean | number;
1188
1204
  /** The phase in which this application became ineligible for benefits. Useful for reporting / filtering. Null if the application is not (yet) ineligible. */
1189
1205
  ineligiblePhase?: boolean | number;
@@ -1734,6 +1750,10 @@ export interface PeriodFilters {
1734
1750
  }
1735
1751
  export interface PeriodProgramGenqlSelection {
1736
1752
  actions?: PeriodProgramActionsGenqlSelection;
1753
+ /** A brief description of the program, written for applicants. */
1754
+ applicantDescription?: boolean | number;
1755
+ /** 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. */
1756
+ eligibilityDescription?: boolean | number;
1737
1757
  /** Whether the program is enabled in this period. This is set by the system administrator. */
1738
1758
  enabled?: boolean | number;
1739
1759
  key?: boolean | number;
@@ -1801,6 +1821,10 @@ export interface PeriodWorkflowStageGenqlSelection {
1801
1821
  __scalar?: boolean | number;
1802
1822
  }
1803
1823
  export interface ProgramGenqlSelection {
1824
+ /** A brief description of the program, written for applicants. */
1825
+ applicantDescription?: boolean | number;
1826
+ /** 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. */
1827
+ eligibilityDescription?: boolean | number;
1804
1828
  key?: boolean | number;
1805
1829
  navTitle?: boolean | number;
1806
1830
  title?: boolean | number;
@@ -749,10 +749,20 @@ An application represents the applicant applying to a specific program. Each app
749
749
  type Application {
750
750
  actions: ApplicationActions!
751
751
 
752
+ """
753
+ A brief description, written for applicants, of the program this application is for.
754
+ """
755
+ applicantDescription: String
756
+
752
757
  """
753
758
  True when at least one reachable prompt on this application has been invalidated and must be re-answered. Status is still computed from the answers on file, so pair status displays with this flag to indicate that a correction is outstanding.
754
759
  """
755
760
  awaitingCorrection: Boolean!
761
+
762
+ """
763
+ 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.
764
+ """
765
+ eligibilityDescription: String
756
766
  id: ID!
757
767
 
758
768
  """
@@ -1518,6 +1528,14 @@ input PeriodFilters {
1518
1528
  type PeriodProgram {
1519
1529
  actions: PeriodProgramActions!
1520
1530
 
1531
+ """A brief description of the program, written for applicants."""
1532
+ applicantDescription: String
1533
+
1534
+ """
1535
+ 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.
1536
+ """
1537
+ eligibilityDescription: String
1538
+
1521
1539
  """
1522
1540
  Whether the program is enabled in this period. This is set by the system administrator.
1523
1541
  """
@@ -1619,6 +1637,13 @@ type PeriodWorkflowStage {
1619
1637
  }
1620
1638
 
1621
1639
  type Program {
1640
+ """A brief description of the program, written for applicants."""
1641
+ applicantDescription: String
1642
+
1643
+ """
1644
+ 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.
1645
+ """
1646
+ eligibilityDescription: String
1622
1647
  key: ID!
1623
1648
  navTitle: String!
1624
1649
  title: String!
@@ -282,7 +282,9 @@ declare const _default: {
282
282
  AppRequestStatus: {};
283
283
  Application: {
284
284
  actions: number[];
285
+ applicantDescription: number[];
285
286
  awaitingCorrection: number[];
287
+ eligibilityDescription: number[];
286
288
  id: number[];
287
289
  ineligiblePhase: number[];
288
290
  navTitle: number[];
@@ -648,6 +650,8 @@ declare const _default: {
648
650
  };
649
651
  PeriodProgram: {
650
652
  actions: number[];
653
+ applicantDescription: number[];
654
+ eligibilityDescription: number[];
651
655
  enabled: number[];
652
656
  key: number[];
653
657
  navTitle: number[];
@@ -695,6 +699,8 @@ declare const _default: {
695
699
  __typename: number[];
696
700
  };
697
701
  Program: {
702
+ applicantDescription: number[];
703
+ eligibilityDescription: number[];
698
704
  key: number[];
699
705
  navTitle: number[];
700
706
  title: number[];
@@ -730,9 +730,15 @@ export default {
730
730
  "actions": [
731
731
  34
732
732
  ],
733
+ "applicantDescription": [
734
+ 85
735
+ ],
733
736
  "awaitingCorrection": [
734
737
  41
735
738
  ],
739
+ "eligibilityDescription": [
740
+ 85
741
+ ],
736
742
  "id": [
737
743
  49
738
744
  ],
@@ -1713,6 +1719,12 @@ export default {
1713
1719
  "actions": [
1714
1720
  70
1715
1721
  ],
1722
+ "applicantDescription": [
1723
+ 85
1724
+ ],
1725
+ "eligibilityDescription": [
1726
+ 85
1727
+ ],
1716
1728
  "enabled": [
1717
1729
  41
1718
1730
  ],
@@ -1830,6 +1842,12 @@ export default {
1830
1842
  ]
1831
1843
  },
1832
1844
  "Program": {
1845
+ "applicantDescription": [
1846
+ 85
1847
+ ],
1848
+ "eligibilityDescription": [
1849
+ 85
1850
+ ],
1833
1851
  "key": [
1834
1852
  49
1835
1853
  ],
package/dist/types.d.ts CHANGED
@@ -43,6 +43,8 @@ export interface AppRequestForDetails {
43
43
  export interface ApplicationForDetails {
44
44
  id: string;
45
45
  title: string;
46
+ applicantDescription?: string | null;
47
+ eligibilityDescription?: string | null;
46
48
  ineligiblePhase: IneligiblePhases | null;
47
49
  status: ApplicationStatus;
48
50
  statusReason?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqquest/ui",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "overrides": {
5
5
  "esrap": "2.3.2"
6
6
  },