@reqquest/ui 1.9.1 → 1.11.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/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ApplicationStatus, AppRequestPhase, AppRequestStatus, IneligiblePhases, RequirementType } from './typed-client/index.js';
1
+ import type { ApplicationRescindedStatus, ApplicationStatus, AppRequestPhase, AppRequestStatus, IneligiblePhases, RequirementType } from './typed-client/index.js';
2
2
  export type CompletionStatus = 'ELIGIBLE' | 'INELIGIBLE' | 'PENDING';
3
3
  export interface AnsweredPrompt {
4
4
  id: string;
@@ -25,6 +25,7 @@ export interface PromptSection {
25
25
  prompts: AnsweredPrompt[];
26
26
  subsections?: PromptSection[];
27
27
  applicationStatus?: ApplicationStatus;
28
+ applicationRescindedStatus?: ApplicationRescindedStatus | null;
28
29
  }
29
30
  export interface AppRequestForDetails {
30
31
  id: string;
@@ -43,8 +44,11 @@ export interface AppRequestForDetails {
43
44
  export interface ApplicationForDetails {
44
45
  id: string;
45
46
  title: string;
47
+ applicantDescription?: string | null;
48
+ eligibilityDescription?: string | null;
46
49
  ineligiblePhase: IneligiblePhases | null;
47
50
  status: ApplicationStatus;
51
+ rescindedStatus?: ApplicationRescindedStatus | null;
48
52
  statusReason?: string | null;
49
53
  completionStatus: CompletionStatus;
50
54
  hasWarning: boolean;
@@ -69,3 +73,13 @@ export declare enum PromptIndicators {
69
73
  WARNING = 2,
70
74
  DISQUALIFYING = 3
71
75
  }
76
+ export declare const translateMutations: {
77
+ submitAppRequest: string;
78
+ returnToApplicant: string;
79
+ completeReview: string;
80
+ returnToReview: string;
81
+ acceptOffer: string;
82
+ returnToOffer: string;
83
+ completeRequest: string;
84
+ returnToNonBlocking: string;
85
+ };
package/dist/types.js CHANGED
@@ -5,3 +5,13 @@ export var PromptIndicators;
5
5
  PromptIndicators[PromptIndicators["WARNING"] = 2] = "WARNING";
6
6
  PromptIndicators[PromptIndicators["DISQUALIFYING"] = 3] = "DISQUALIFYING";
7
7
  })(PromptIndicators || (PromptIndicators = {}));
8
+ export const translateMutations = {
9
+ submitAppRequest: 'submitted request for review.',
10
+ returnToApplicant: 'returned request to applicant',
11
+ completeReview: 'completed request review',
12
+ returnToReview: 'returned request to review',
13
+ acceptOffer: 'accepted offer',
14
+ returnToOffer: 'returned request to applicant to accept offer',
15
+ completeRequest: 'marked request as complete',
16
+ returnToNonBlocking: 'returned request to non-blocking workflow tasks'
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqquest/ui",
3
- "version": "1.9.1",
3
+ "version": "1.11.0",
4
4
  "overrides": {
5
5
  "esrap": "2.3.2"
6
6
  },