@reqquest/ui 1.1.10 → 1.1.11
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/api.d.ts +48 -0
- package/dist/components/FieldCardCheckbox.svelte.d.ts +109 -0
- package/dist/components/FieldCardRadio.svelte.d.ts +125 -0
- package/dist/components/QuestionnairePrompt.svelte +17 -4
- package/dist/components/QuestionnairePrompt.svelte.d.ts +52 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/index.d.ts +5 -0
- package/dist/registry.d.ts +216 -0
- package/dist/typed-client/index.d.ts +25 -0
- package/dist/typed-client/runtime/batcher.d.ts +105 -0
- package/dist/typed-client/runtime/createClient.d.ts +17 -0
- package/dist/typed-client/runtime/error.d.ts +18 -0
- package/dist/typed-client/runtime/fetcher.d.ts +10 -0
- package/dist/typed-client/runtime/generateGraphqlOperation.d.ts +30 -0
- package/dist/typed-client/runtime/index.d.ts +11 -0
- package/dist/typed-client/runtime/linkTypeMap.d.ts +9 -0
- package/dist/typed-client/runtime/typeSelection.d.ts +28 -0
- package/dist/typed-client/runtime/types.d.ts +55 -0
- package/dist/typed-client/schema.d.ts +2033 -0
- package/dist/typed-client/schema.graphql +49 -1
- package/dist/typed-client/schema.js +7 -0
- package/dist/typed-client/types.d.ts +732 -0
- package/dist/typed-client/types.js +501 -482
- package/dist/types.d.ts +56 -0
- package/package.json +2 -4
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ApplicationStatus, AppRequestStatus, IneligiblePhases, RequirementType } from './typed-client/index.js';
|
|
2
|
+
export type CompletionStatus = 'ELIGIBLE' | 'INELIGIBLE' | 'PENDING';
|
|
3
|
+
export interface AnsweredPrompt {
|
|
4
|
+
id: string;
|
|
5
|
+
key: string;
|
|
6
|
+
title: string;
|
|
7
|
+
navTitle: string;
|
|
8
|
+
answered: boolean;
|
|
9
|
+
invalidated: boolean | null;
|
|
10
|
+
invalidatedReason: string | null;
|
|
11
|
+
moot: boolean | null;
|
|
12
|
+
visibility: string;
|
|
13
|
+
configurationData: Record<string, any>;
|
|
14
|
+
gatheredConfigData: Record<string, any>;
|
|
15
|
+
statusReasons: {
|
|
16
|
+
status: string;
|
|
17
|
+
statusReason: string | null;
|
|
18
|
+
programName: string;
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
export interface PromptSection {
|
|
22
|
+
title: string;
|
|
23
|
+
prompts: AnsweredPrompt[];
|
|
24
|
+
subsections?: PromptSection[];
|
|
25
|
+
applicationStatus?: ApplicationStatus;
|
|
26
|
+
}
|
|
27
|
+
export interface AppRequestForDetails {
|
|
28
|
+
id: string;
|
|
29
|
+
status: AppRequestStatus;
|
|
30
|
+
period?: {
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
createdAt?: string;
|
|
34
|
+
updatedAt?: string;
|
|
35
|
+
actions?: any;
|
|
36
|
+
}
|
|
37
|
+
export interface ApplicationForDetails {
|
|
38
|
+
id: string;
|
|
39
|
+
title: string;
|
|
40
|
+
ineligiblePhase: IneligiblePhases | null;
|
|
41
|
+
status: ApplicationStatus;
|
|
42
|
+
statusReason?: string | null;
|
|
43
|
+
completionStatus: CompletionStatus;
|
|
44
|
+
hasWarning: boolean;
|
|
45
|
+
warningReasons: string[];
|
|
46
|
+
ineligibleReasons: string[];
|
|
47
|
+
requirements: {
|
|
48
|
+
id: string;
|
|
49
|
+
type: RequirementType;
|
|
50
|
+
status: string;
|
|
51
|
+
statusReason: string | null;
|
|
52
|
+
prompts: AnsweredPrompt[];
|
|
53
|
+
}[];
|
|
54
|
+
}
|
|
55
|
+
export declare const phaseChangeMutations: readonly ["submitAppRequest", "returnToApplicant", "completeReview", "returnToReview", "acceptOffer", "returnToOffer", "completeRequest", "returnToNonBlocking"];
|
|
56
|
+
export type PhaseChangeMutations = typeof phaseChangeMutations[number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reqquest/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dev": "vite dev --host 0.0.0.0 --port 80",
|
|
17
17
|
"build": "vite build",
|
|
18
18
|
"preview": "vite preview",
|
|
19
|
-
"package": "svelte-kit sync && svelte-package
|
|
19
|
+
"package": "svelte-kit sync && svelte-package",
|
|
20
20
|
"prepublishOnly": "npm run package",
|
|
21
21
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
22
22
|
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
|
|
@@ -30,8 +30,6 @@
|
|
|
30
30
|
"@txstate-mws/fastify-shared": "^1.1.0",
|
|
31
31
|
"@txstate-mws/svelte-components": "^1.6.11",
|
|
32
32
|
"@txstate-mws/sveltekit-utils": "^1.0.2",
|
|
33
|
-
"carbon-components-svelte": ">=0.85.1 <0.96.0",
|
|
34
|
-
"carbon-icons-svelte": "^13.0.0",
|
|
35
33
|
"luxon": "^3.5.0",
|
|
36
34
|
"txstate-utils": "^1.8.15"
|
|
37
35
|
},
|