@opencrvs/toolkit 2.1.0-rc.05eb1de → 2.1.0-rc.06707c1
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/application-config/index.js +2 -1
- package/dist/cli.js +0 -48
- package/dist/commons/api/router.d.ts +3293 -3310
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +259 -2102
- package/dist/commons/events/ActionConfig.d.ts +112 -105
- package/dist/commons/events/ActionDocument.d.ts +119 -119
- package/dist/commons/events/ActionInput.d.ts +0 -6
- package/dist/commons/events/ActionType.d.ts +62 -62
- package/dist/commons/events/AdvancedSearchConfig.d.ts +507 -507
- package/dist/commons/events/AuditLog.d.ts +43 -43
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/Conditional.d.ts +3 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
- package/dist/commons/events/Draft.d.ts +37 -37
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -5
- package/dist/commons/events/EventDocument.d.ts +48 -48
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +40 -40
- package/dist/commons/events/FieldConfig.d.ts +336 -336
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/Flag.d.ts +15 -15
- package/dist/commons/events/TemplateConfig.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
- package/dist/commons/events/WorkqueueConfig.d.ts +826 -826
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +78 -895
- package/dist/commons/events/locations.d.ts +96 -6
- package/dist/commons/events/mocks.test.utils.d.ts +18 -4
- package/dist/commons/events/scopes.d.ts +4 -4
- package/dist/commons/events/state/index.d.ts +17 -17
- package/dist/commons/events/state/utils.d.ts +7 -7
- package/dist/commons/events/test.utils.d.ts +40 -43
- package/dist/commons/events/utils.d.ts +122 -114
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/environment/derived-variables.d.ts +119 -131
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +0 -14
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +8 -28
- package/dist/environment/utils.d.ts +1 -1
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +91 -70
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/notification/index.js +63 -68
- package/dist/scopes/index.d.ts +146 -146
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
- package/opencrvs-toolkit-2.1.0-rc.06707c1.tgz +0 -0
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.05eb1de.tgz +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
export declare const FieldType: {
|
|
3
|
-
readonly NAME:
|
|
4
|
-
readonly PHONE:
|
|
5
|
-
readonly ID:
|
|
6
|
-
readonly ADDRESS:
|
|
7
|
-
readonly TEXT:
|
|
8
|
-
readonly NUMBER:
|
|
9
|
-
readonly NUMBER_WITH_UNIT:
|
|
10
|
-
readonly TEXTAREA:
|
|
11
|
-
readonly EMAIL:
|
|
12
|
-
readonly DATE:
|
|
13
|
-
readonly AGE:
|
|
14
|
-
readonly DATE_RANGE:
|
|
15
|
-
readonly SELECT_DATE_RANGE:
|
|
16
|
-
readonly TIME:
|
|
17
|
-
readonly IMAGE_VIEW:
|
|
18
|
-
readonly PARAGRAPH:
|
|
19
|
-
readonly HEADING:
|
|
20
|
-
readonly PAGE_HEADER:
|
|
21
|
-
readonly RADIO_GROUP:
|
|
22
|
-
readonly FIELD_GROUP:
|
|
23
|
-
readonly FILE:
|
|
24
|
-
readonly FILE_WITH_OPTIONS:
|
|
25
|
-
readonly BULLET_LIST:
|
|
26
|
-
readonly CHECKBOX:
|
|
27
|
-
readonly SELECT:
|
|
28
|
-
readonly COUNTRY:
|
|
29
|
-
readonly LOCATION:
|
|
30
|
-
readonly DIVIDER:
|
|
31
|
-
readonly ADMINISTRATIVE_AREA:
|
|
3
|
+
readonly NAME: 'NAME';
|
|
4
|
+
readonly PHONE: 'PHONE';
|
|
5
|
+
readonly ID: 'ID';
|
|
6
|
+
readonly ADDRESS: 'ADDRESS';
|
|
7
|
+
readonly TEXT: 'TEXT';
|
|
8
|
+
readonly NUMBER: 'NUMBER';
|
|
9
|
+
readonly NUMBER_WITH_UNIT: 'NUMBER_WITH_UNIT';
|
|
10
|
+
readonly TEXTAREA: 'TEXTAREA';
|
|
11
|
+
readonly EMAIL: 'EMAIL';
|
|
12
|
+
readonly DATE: 'DATE';
|
|
13
|
+
readonly AGE: 'AGE';
|
|
14
|
+
readonly DATE_RANGE: 'DATE_RANGE';
|
|
15
|
+
readonly SELECT_DATE_RANGE: 'SELECT_DATE_RANGE';
|
|
16
|
+
readonly TIME: 'TIME';
|
|
17
|
+
readonly IMAGE_VIEW: 'IMAGE_VIEW';
|
|
18
|
+
readonly PARAGRAPH: 'PARAGRAPH';
|
|
19
|
+
readonly HEADING: 'HEADING';
|
|
20
|
+
readonly PAGE_HEADER: 'PAGE_HEADER';
|
|
21
|
+
readonly RADIO_GROUP: 'RADIO_GROUP';
|
|
22
|
+
readonly FIELD_GROUP: 'FIELD_GROUP';
|
|
23
|
+
readonly FILE: 'FILE';
|
|
24
|
+
readonly FILE_WITH_OPTIONS: 'FILE_WITH_OPTIONS';
|
|
25
|
+
readonly BULLET_LIST: 'BULLET_LIST';
|
|
26
|
+
readonly CHECKBOX: 'CHECKBOX';
|
|
27
|
+
readonly SELECT: 'SELECT';
|
|
28
|
+
readonly COUNTRY: 'COUNTRY';
|
|
29
|
+
readonly LOCATION: 'LOCATION';
|
|
30
|
+
readonly DIVIDER: 'DIVIDER';
|
|
31
|
+
readonly ADMINISTRATIVE_AREA: 'ADMINISTRATIVE_AREA';
|
|
32
32
|
/** @deprecated Use FieldType.LOCATION with locationTypes: ['HEALTH_FACILITY'] */
|
|
33
|
-
readonly FACILITY:
|
|
33
|
+
readonly FACILITY: 'FACILITY';
|
|
34
34
|
/** @deprecated Use FieldType.LOCATION with locationTypes: ['CRVS_OFFICE'] */
|
|
35
|
-
readonly OFFICE:
|
|
36
|
-
readonly SIGNATURE:
|
|
37
|
-
readonly DATA:
|
|
38
|
-
readonly BUTTON:
|
|
39
|
-
readonly AUTOCOMPLETE:
|
|
40
|
-
readonly SEARCH:
|
|
41
|
-
readonly ALPHA_PRINT_BUTTON:
|
|
42
|
-
readonly HTTP:
|
|
43
|
-
readonly LINK_BUTTON:
|
|
44
|
-
readonly VERIFICATION_STATUS:
|
|
45
|
-
readonly QUERY_PARAM_READER:
|
|
46
|
-
readonly QR_READER:
|
|
47
|
-
readonly ID_READER:
|
|
48
|
-
readonly LOADER:
|
|
49
|
-
readonly ALPHA_HIDDEN:
|
|
50
|
-
readonly USER_ROLE:
|
|
35
|
+
readonly OFFICE: 'OFFICE';
|
|
36
|
+
readonly SIGNATURE: 'SIGNATURE';
|
|
37
|
+
readonly DATA: 'DATA';
|
|
38
|
+
readonly BUTTON: 'BUTTON';
|
|
39
|
+
readonly AUTOCOMPLETE: 'AUTOCOMPLETE';
|
|
40
|
+
readonly SEARCH: 'SEARCH';
|
|
41
|
+
readonly ALPHA_PRINT_BUTTON: 'ALPHA_PRINT_BUTTON';
|
|
42
|
+
readonly HTTP: 'HTTP';
|
|
43
|
+
readonly LINK_BUTTON: 'LINK_BUTTON';
|
|
44
|
+
readonly VERIFICATION_STATUS: 'VERIFICATION_STATUS';
|
|
45
|
+
readonly QUERY_PARAM_READER: 'QUERY_PARAM_READER';
|
|
46
|
+
readonly QR_READER: 'QR_READER';
|
|
47
|
+
readonly ID_READER: 'ID_READER';
|
|
48
|
+
readonly LOADER: 'LOADER';
|
|
49
|
+
readonly ALPHA_HIDDEN: 'ALPHA_HIDDEN';
|
|
50
|
+
readonly USER_ROLE: 'USER_ROLE';
|
|
51
51
|
/**
|
|
52
52
|
* @internal
|
|
53
53
|
* @experimental
|
|
@@ -58,7 +58,7 @@ export declare const FieldType: {
|
|
|
58
58
|
* Its shape, behavior, or existence may change at any time or be removed
|
|
59
59
|
* entirely without notice.
|
|
60
60
|
*/
|
|
61
|
-
readonly _EXPERIMENTAL_CUSTOM:
|
|
61
|
+
readonly _EXPERIMENTAL_CUSTOM: 'CUSTOM';
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
64
|
* Union of types that handle files. Using common type should help with compiler to know where to add new cases.
|
|
@@ -68,12 +68,12 @@ export declare const FileFieldType: z.ZodEnum<{
|
|
|
68
68
|
FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
|
|
69
69
|
SIGNATURE: "SIGNATURE";
|
|
70
70
|
}>;
|
|
71
|
-
export declare const fieldTypes: ("
|
|
71
|
+
export declare const fieldTypes: ("ADDRESS" | "ADMINISTRATIVE_AREA" | "AGE" | "ALPHA_HIDDEN" | "ALPHA_PRINT_BUTTON" | "AUTOCOMPLETE" | "BULLET_LIST" | "BUTTON" | "CHECKBOX" | "COUNTRY" | "CUSTOM" | "DATA" | "DATE" | "DATE_RANGE" | "DIVIDER" | "EMAIL" | "FACILITY" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "HEADING" | "HTTP" | "ID" | "ID_READER" | "IMAGE_VIEW" | "LINK_BUTTON" | "LOADER" | "LOCATION" | "NAME" | "NUMBER" | "NUMBER_WITH_UNIT" | "OFFICE" | "PAGE_HEADER" | "PARAGRAPH" | "PHONE" | "QR_READER" | "QUERY_PARAM_READER" | "RADIO_GROUP" | "SEARCH" | "SELECT" | "SELECT_DATE_RANGE" | "SIGNATURE" | "TEXT" | "TEXTAREA" | "TIME" | "USER_ROLE" | "VERIFICATION_STATUS")[];
|
|
72
72
|
export type FieldType = (typeof fieldTypes)[number];
|
|
73
73
|
/**
|
|
74
74
|
* Composite field types are field types that consist of multiple field values.
|
|
75
75
|
*/
|
|
76
|
-
export declare const compositeFieldTypes: ("
|
|
77
|
-
export declare const FieldTypesToHideInReview: ("
|
|
78
|
-
export declare const HiddenFieldTypes: ("
|
|
76
|
+
export declare const compositeFieldTypes: ("ADDRESS" | "DATA" | "DATE_RANGE" | "FILE" | "FILE_WITH_OPTIONS" | "ID_READER" | "NAME")[];
|
|
77
|
+
export declare const FieldTypesToHideInReview: ("ALPHA_HIDDEN" | "ALPHA_PRINT_BUTTON" | "BULLET_LIST" | "DATA" | "DIVIDER" | "HTTP" | "ID_READER" | "IMAGE_VIEW" | "LOADER" | "PAGE_HEADER" | "PARAGRAPH" | "QUERY_PARAM_READER")[];
|
|
78
|
+
export declare const HiddenFieldTypes: ("ALPHA_HIDDEN" | "HTTP" | "QUERY_PARAM_READER")[];
|
|
79
79
|
//# sourceMappingURL=FieldType.d.ts.map
|
|
@@ -16,51 +16,73 @@ import { EventConfig } from './EventConfig';
|
|
|
16
16
|
* Mapping of field types to Zod schema.
|
|
17
17
|
* Useful for building dynamic validations against FieldConfig
|
|
18
18
|
*/
|
|
19
|
-
export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: ActionType): z.
|
|
19
|
+
export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: ActionType): z.ZodArray<z.ZodObject<{
|
|
20
20
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
21
21
|
originalFilename: z.ZodString;
|
|
22
22
|
type: z.ZodString;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
option: z.ZodString;
|
|
24
|
+
}, z.core.$strip>> | z.ZodBoolean | z.ZodEmail | z.ZodEnum<{
|
|
25
|
+
last30Days: "last30Days";
|
|
26
|
+
last365Days: "last365Days";
|
|
27
|
+
last7Days: "last7Days";
|
|
28
|
+
last90Days: "last90Days";
|
|
29
|
+
}> | z.ZodNumber | z.ZodObject<Readonly<{
|
|
30
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
31
|
+
}>, z.core.$strip> | z.ZodObject<{
|
|
32
|
+
age: z.ZodNumber;
|
|
33
|
+
asOfDateRef: z.ZodString;
|
|
34
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
35
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
28
38
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
29
39
|
originalFilename: z.ZodString;
|
|
30
40
|
type: z.ZodString;
|
|
31
|
-
option: z.ZodString;
|
|
32
|
-
}, z.core.$strip>> | z.ZodBoolean | z.ZodNumber | z.ZodOptional<z.ZodNullable<z.ZodBoolean>> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
33
|
-
loading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
-
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
-
statusCode: z.ZodNumber;
|
|
36
|
-
message: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>>;
|
|
38
|
-
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
39
|
-
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]> | z.ZodObject<{
|
|
40
|
-
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41
41
|
}, z.core.$strip> | z.ZodObject<{
|
|
42
42
|
data: z.ZodAny;
|
|
43
43
|
}, z.core.$strip> | z.ZodObject<{
|
|
44
44
|
numericValue: z.ZodNumber;
|
|
45
45
|
unit: z.ZodString;
|
|
46
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
47
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip> | z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out"> | z.ZodObject<{
|
|
50
|
-
age: z.ZodNumber;
|
|
51
|
-
asOfDateRef: z.ZodString;
|
|
52
46
|
}, z.core.$strip> | z.ZodObject<{
|
|
53
47
|
label: z.ZodString;
|
|
54
48
|
value: z.ZodString;
|
|
55
|
-
}, z.core.$strip> | z.
|
|
56
|
-
|
|
49
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
50
|
+
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
51
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
52
|
+
firstname: z.ZodString;
|
|
53
|
+
surname: z.ZodString;
|
|
54
|
+
middlename: z.ZodOptional<z.ZodString> | z.ZodString;
|
|
55
|
+
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
56
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
57
|
+
originalFilename: z.ZodString;
|
|
58
|
+
type: z.ZodString;
|
|
59
|
+
option: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>>> | z.ZodOptional<z.ZodNullable<z.ZodBoolean>> | z.ZodOptional<z.ZodNullable<z.ZodEmail>> | z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
57
61
|
last30Days: "last30Days";
|
|
58
|
-
last90Days: "last90Days";
|
|
59
62
|
last365Days: "last365Days";
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
last7Days: "last7Days";
|
|
64
|
+
last90Days: "last90Days";
|
|
65
|
+
}>>> | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodOptional<z.ZodNullable<z.ZodObject<Readonly<{
|
|
66
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
67
|
+
}>, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
|
+
age: z.ZodNumber;
|
|
69
|
+
asOfDateRef: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
75
|
+
originalFilename: z.ZodString;
|
|
76
|
+
type: z.ZodString;
|
|
77
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
|
+
data: z.ZodAny;
|
|
79
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
|
+
numericValue: z.ZodNumber;
|
|
81
|
+
unit: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
|
+
label: z.ZodString;
|
|
84
|
+
value: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
86
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
87
|
country: z.ZodString;
|
|
66
88
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -77,10 +99,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
77
99
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
78
100
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
79
101
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
80
|
-
last7Days: "last7Days";
|
|
81
102
|
last30Days: "last30Days";
|
|
82
|
-
last90Days: "last90Days";
|
|
83
103
|
last365Days: "last365Days";
|
|
104
|
+
last7Days: "last7Days";
|
|
105
|
+
last90Days: "last90Days";
|
|
84
106
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
85
107
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
86
108
|
originalFilename: z.ZodString;
|
|
@@ -106,10 +128,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
106
128
|
}, z.core.$strip>>>;
|
|
107
129
|
data: z.ZodAny;
|
|
108
130
|
}, z.core.$strip>, z.ZodEnum<{
|
|
109
|
-
verified: "verified";
|
|
110
131
|
authenticated: "authenticated";
|
|
111
132
|
failed: "failed";
|
|
112
133
|
pending: "pending";
|
|
134
|
+
verified: "verified";
|
|
113
135
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
114
136
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
115
137
|
updatedAt: z.ZodISODateTime;
|
|
@@ -130,27 +152,13 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
130
152
|
label: z.ZodString;
|
|
131
153
|
value: z.ZodString;
|
|
132
154
|
}, z.core.$strip>>>]>>;
|
|
133
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
134
|
-
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
135
|
-
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
136
|
-
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>>> | z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
137
|
-
last7Days: "last7Days";
|
|
138
|
-
last30Days: "last30Days";
|
|
139
|
-
last90Days: "last90Days";
|
|
140
|
-
last365Days: "last365Days";
|
|
141
|
-
}>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
142
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
143
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
144
155
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
type: z.ZodString;
|
|
152
|
-
option: z.ZodString;
|
|
153
|
-
}, z.core.$strip>>>> | z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
|
+
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
157
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
|
+
firstname: z.ZodString;
|
|
159
|
+
surname: z.ZodString;
|
|
160
|
+
middlename: z.ZodOptional<z.ZodString> | z.ZodString;
|
|
161
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
154
162
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
163
|
country: z.ZodString;
|
|
156
164
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -167,10 +175,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
167
175
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
168
176
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
169
177
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
170
|
-
last7Days: "last7Days";
|
|
171
178
|
last30Days: "last30Days";
|
|
172
|
-
last90Days: "last90Days";
|
|
173
179
|
last365Days: "last365Days";
|
|
180
|
+
last7Days: "last7Days";
|
|
181
|
+
last90Days: "last90Days";
|
|
174
182
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
175
183
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
176
184
|
originalFilename: z.ZodString;
|
|
@@ -196,10 +204,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
196
204
|
}, z.core.$strip>>>;
|
|
197
205
|
data: z.ZodAny;
|
|
198
206
|
}, z.core.$strip>, z.ZodEnum<{
|
|
199
|
-
verified: "verified";
|
|
200
207
|
authenticated: "authenticated";
|
|
201
208
|
failed: "failed";
|
|
202
209
|
pending: "pending";
|
|
210
|
+
verified: "verified";
|
|
203
211
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
204
212
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
205
213
|
updatedAt: z.ZodISODateTime;
|
|
@@ -220,7 +228,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
220
228
|
label: z.ZodString;
|
|
221
229
|
value: z.ZodString;
|
|
222
230
|
}, z.core.$strip>>>]>>;
|
|
223
|
-
}, z.core.$strip>>>>> | z.ZodOptional<z.ZodNullable<z.
|
|
231
|
+
}, z.core.$strip>>>>> | z.ZodOptional<z.ZodNullable<z.ZodString>> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
232
|
+
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
233
|
+
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
234
|
+
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>>> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
224
235
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
236
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
237
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -231,68 +242,57 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
231
242
|
message: z.ZodString;
|
|
232
243
|
}, z.core.$strip>>>;
|
|
233
244
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
234
|
-
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
245
|
+
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">>> | z.ZodString | z.ZodType<{
|
|
246
|
+
country?: string | null | undefined;
|
|
247
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
248
|
+
addressType: "DOMESTIC";
|
|
249
|
+
administrativeArea?: string | null | undefined;
|
|
250
|
+
} | {
|
|
251
|
+
country?: string | null | undefined;
|
|
252
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
253
|
+
addressType: "INTERNATIONAL";
|
|
254
|
+
} | {
|
|
241
255
|
country: string;
|
|
256
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
242
257
|
addressType: "DOMESTIC";
|
|
243
258
|
administrativeArea: string;
|
|
244
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
245
259
|
} | {
|
|
246
260
|
country: string;
|
|
247
|
-
addressType: "INTERNATIONAL";
|
|
248
261
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
249
|
-
|
|
250
|
-
|
|
262
|
+
addressType: "INTERNATIONAL";
|
|
263
|
+
} | null | undefined, unknown, z.core.$ZodTypeInternals<{
|
|
251
264
|
country?: string | null | undefined;
|
|
252
265
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
266
|
+
addressType: "DOMESTIC";
|
|
253
267
|
administrativeArea?: string | null | undefined;
|
|
254
268
|
} | {
|
|
255
|
-
addressType: "INTERNATIONAL";
|
|
256
269
|
country?: string | null | undefined;
|
|
257
270
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
258
|
-
|
|
271
|
+
addressType: "INTERNATIONAL";
|
|
272
|
+
} | {
|
|
259
273
|
country: string;
|
|
274
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
260
275
|
addressType: "DOMESTIC";
|
|
261
276
|
administrativeArea: string;
|
|
262
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
263
277
|
} | {
|
|
264
278
|
country: string;
|
|
265
|
-
addressType: "INTERNATIONAL";
|
|
266
279
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
267
|
-
} | {
|
|
268
|
-
addressType: "DOMESTIC";
|
|
269
|
-
country?: string | null | undefined;
|
|
270
|
-
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
271
|
-
administrativeArea?: string | null | undefined;
|
|
272
|
-
} | {
|
|
273
280
|
addressType: "INTERNATIONAL";
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}, z.core.$strip
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodEmail>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
290
|
-
firstname: z.ZodString;
|
|
291
|
-
surname: z.ZodString;
|
|
292
|
-
middlename: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
293
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<Readonly<{
|
|
294
|
-
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
295
|
-
}>, z.core.$strip>>>;
|
|
281
|
+
} | null | undefined, unknown>> | z.ZodUnion<[z.ZodObject<{
|
|
282
|
+
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
283
|
+
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
284
|
+
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
285
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
286
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
|
+
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
289
|
+
loading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
290
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
291
|
+
statusCode: z.ZodNumber;
|
|
292
|
+
message: z.ZodString;
|
|
293
|
+
}, z.core.$strip>>>;
|
|
294
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
295
|
+
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]> | z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">;
|
|
296
296
|
type FieldTypeValueMap = {
|
|
297
297
|
[FieldType.FIELD_GROUP]: Record<string, FieldValue>;
|
|
298
298
|
[FieldType.DATE]: z.infer<typeof DateValue>;
|
|
@@ -358,7 +358,7 @@ export type EventConfigToDeclarationFormType<T extends EventConfig> = UnionToInt
|
|
|
358
358
|
/**
|
|
359
359
|
* Maps complex or nested field types, such as Address fields, to their corresponding empty values.
|
|
360
360
|
*/
|
|
361
|
-
export declare function mapFieldTypeToEmptyValue(field: FieldConfig): z
|
|
361
|
+
export declare function mapFieldTypeToEmptyValue(field: FieldConfig): z.$brand<"CustomFieldValue"> | never[] | Record<string, FieldUpdateValue> | null;
|
|
362
362
|
export declare const isParagraphFieldType: (field: {
|
|
363
363
|
config: FieldConfig;
|
|
364
364
|
value: FieldValue | FieldUpdateValue;
|
|
@@ -42,10 +42,10 @@ export declare const TimeValue: z.ZodString;
|
|
|
42
42
|
export type TimeValue = z.infer<typeof TimeValue>;
|
|
43
43
|
export declare const DatetimeValue: z.ZodISODateTime;
|
|
44
44
|
export declare const SelectDateRangeValue: z.ZodEnum<{
|
|
45
|
-
last7Days: "last7Days";
|
|
46
45
|
last30Days: "last30Days";
|
|
47
|
-
last90Days: "last90Days";
|
|
48
46
|
last365Days: "last365Days";
|
|
47
|
+
last7Days: "last7Days";
|
|
48
|
+
last90Days: "last90Days";
|
|
49
49
|
}>;
|
|
50
50
|
export declare const DateRangeFieldValue: z.ZodUnion<[z.ZodObject<{
|
|
51
51
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
@@ -67,10 +67,10 @@ export type SignatureFieldValue = z.infer<typeof SignatureFieldValue>;
|
|
|
67
67
|
export declare const ButtonFieldValue: z.ZodNumber;
|
|
68
68
|
export type ButtonFieldValue = z.infer<typeof ButtonFieldValue>;
|
|
69
69
|
export declare const VerificationStatusValue: z.ZodEnum<{
|
|
70
|
-
verified: "verified";
|
|
71
70
|
authenticated: "authenticated";
|
|
72
71
|
failed: "failed";
|
|
73
72
|
pending: "pending";
|
|
73
|
+
verified: "verified";
|
|
74
74
|
}>;
|
|
75
75
|
export type VerificationStatusValue = z.infer<typeof VerificationStatusValue>;
|
|
76
76
|
declare const LeafFieldValues: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -89,10 +89,10 @@ declare const LeafFieldValues: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Z
|
|
|
89
89
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
90
90
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
91
91
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
92
|
-
last7Days: "last7Days";
|
|
93
92
|
last30Days: "last30Days";
|
|
94
|
-
last90Days: "last90Days";
|
|
95
93
|
last365Days: "last365Days";
|
|
94
|
+
last7Days: "last7Days";
|
|
95
|
+
last90Days: "last90Days";
|
|
96
96
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
97
97
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
98
98
|
originalFilename: z.ZodString;
|
|
@@ -118,10 +118,10 @@ declare const LeafFieldValues: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Z
|
|
|
118
118
|
}, z.core.$strip>>>;
|
|
119
119
|
data: z.ZodAny;
|
|
120
120
|
}, z.core.$strip>, z.ZodEnum<{
|
|
121
|
-
verified: "verified";
|
|
122
121
|
authenticated: "authenticated";
|
|
123
122
|
failed: "failed";
|
|
124
123
|
pending: "pending";
|
|
124
|
+
verified: "verified";
|
|
125
125
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
126
126
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
127
127
|
updatedAt: z.ZodISODateTime;
|
|
@@ -159,10 +159,10 @@ export declare const FieldGroupValue: z.ZodRecord<z.ZodString, z.ZodUnion<readon
|
|
|
159
159
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
160
160
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
161
161
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
162
|
-
last7Days: "last7Days";
|
|
163
162
|
last30Days: "last30Days";
|
|
164
|
-
last90Days: "last90Days";
|
|
165
163
|
last365Days: "last365Days";
|
|
164
|
+
last7Days: "last7Days";
|
|
165
|
+
last90Days: "last90Days";
|
|
166
166
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
167
167
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
168
168
|
originalFilename: z.ZodString;
|
|
@@ -188,10 +188,10 @@ export declare const FieldGroupValue: z.ZodRecord<z.ZodString, z.ZodUnion<readon
|
|
|
188
188
|
}, z.core.$strip>>>;
|
|
189
189
|
data: z.ZodAny;
|
|
190
190
|
}, z.core.$strip>, z.ZodEnum<{
|
|
191
|
-
verified: "verified";
|
|
192
191
|
authenticated: "authenticated";
|
|
193
192
|
failed: "failed";
|
|
194
193
|
pending: "pending";
|
|
194
|
+
verified: "verified";
|
|
195
195
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
196
196
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
197
197
|
updatedAt: z.ZodISODateTime;
|
|
@@ -230,10 +230,10 @@ export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
230
230
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
231
231
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
232
232
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
233
|
-
last7Days: "last7Days";
|
|
234
233
|
last30Days: "last30Days";
|
|
235
|
-
last90Days: "last90Days";
|
|
236
234
|
last365Days: "last365Days";
|
|
235
|
+
last7Days: "last7Days";
|
|
236
|
+
last90Days: "last90Days";
|
|
237
237
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
238
238
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
239
239
|
originalFilename: z.ZodString;
|
|
@@ -259,10 +259,10 @@ export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
259
259
|
}, z.core.$strip>>>;
|
|
260
260
|
data: z.ZodAny;
|
|
261
261
|
}, z.core.$strip>, z.ZodEnum<{
|
|
262
|
-
verified: "verified";
|
|
263
262
|
authenticated: "authenticated";
|
|
264
263
|
failed: "failed";
|
|
265
264
|
pending: "pending";
|
|
265
|
+
verified: "verified";
|
|
266
266
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
267
267
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
268
268
|
updatedAt: z.ZodISODateTime;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
export declare const InherentFlags: {
|
|
3
|
-
readonly INCOMPLETE:
|
|
4
|
-
readonly REJECTED:
|
|
5
|
-
readonly CORRECTION_REQUESTED:
|
|
6
|
-
readonly POTENTIAL_DUPLICATE:
|
|
3
|
+
readonly INCOMPLETE: 'incomplete';
|
|
4
|
+
readonly REJECTED: 'rejected';
|
|
5
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
6
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
7
7
|
/**
|
|
8
8
|
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
9
9
|
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
10
10
|
*
|
|
11
11
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
12
12
|
*/
|
|
13
|
-
readonly EDIT_IN_PROGRESS:
|
|
13
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
14
14
|
};
|
|
15
15
|
export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags];
|
|
16
16
|
export declare const ActionFlag: z.ZodString;
|
|
@@ -19,17 +19,17 @@ export type ActionFlag = z.infer<typeof ActionFlag>;
|
|
|
19
19
|
export declare const CustomFlag: z.ZodString;
|
|
20
20
|
export type CustomFlag = z.infer<typeof CustomFlag>;
|
|
21
21
|
export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
22
|
-
readonly INCOMPLETE:
|
|
23
|
-
readonly REJECTED:
|
|
24
|
-
readonly CORRECTION_REQUESTED:
|
|
25
|
-
readonly POTENTIAL_DUPLICATE:
|
|
22
|
+
readonly INCOMPLETE: 'incomplete';
|
|
23
|
+
readonly REJECTED: 'rejected';
|
|
24
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
25
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
26
26
|
/**
|
|
27
27
|
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
28
28
|
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
29
29
|
*
|
|
30
30
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
31
31
|
*/
|
|
32
|
-
readonly EDIT_IN_PROGRESS:
|
|
32
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
33
33
|
}>]>, z.ZodString]>;
|
|
34
34
|
export type Flag = z.infer<typeof Flag>;
|
|
35
35
|
/**
|
|
@@ -46,17 +46,17 @@ export type FlagConfig = z.infer<typeof FlagConfig>;
|
|
|
46
46
|
*/
|
|
47
47
|
export declare const ActionFlagConfig: z.ZodObject<{
|
|
48
48
|
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
49
|
-
readonly INCOMPLETE:
|
|
50
|
-
readonly REJECTED:
|
|
51
|
-
readonly CORRECTION_REQUESTED:
|
|
52
|
-
readonly POTENTIAL_DUPLICATE:
|
|
49
|
+
readonly INCOMPLETE: 'incomplete';
|
|
50
|
+
readonly REJECTED: 'rejected';
|
|
51
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
52
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
53
53
|
/**
|
|
54
54
|
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
55
55
|
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
56
56
|
*
|
|
57
57
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
58
58
|
*/
|
|
59
|
-
readonly EDIT_IN_PROGRESS:
|
|
59
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
60
60
|
}>]>, z.ZodString]>;
|
|
61
61
|
operation: z.ZodEnum<{
|
|
62
62
|
add: "add";
|
|
@@ -36,7 +36,7 @@ export type SystemVariables = {
|
|
|
36
36
|
*/
|
|
37
37
|
export declare const window: () => {
|
|
38
38
|
location: {
|
|
39
|
-
get: (key:
|
|
39
|
+
get: (key: 'href' | 'pathname' | 'hostname' | 'originPathname') => string;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
/**
|