@opencrvs/toolkit 2.1.0-rc.976ee09 → 2.1.0-rc.9c04c04
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 +1 -2
- package/dist/commons/api/router.d.ts +1590 -1573
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +2102 -259
- package/dist/commons/events/ActionConfig.d.ts +105 -105
- package/dist/commons/events/ActionDocument.d.ts +119 -119
- package/dist/commons/events/ActionInput.d.ts +6 -0
- 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 +337 -337
- 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 +820 -820
- 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 +895 -78
- package/dist/commons/events/locations.d.ts +6 -96
- package/dist/commons/events/mocks.test.utils.d.ts +4 -18
- 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 +43 -40
- package/dist/commons/events/utils.d.ts +114 -114
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/environment/derived-variables.d.ts +119 -119
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/questions.d.ts +74 -75
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +14 -8
- package/dist/environment/utils.d.ts +1 -1
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +58 -62
- package/dist/migrations/v2.0/migrate-application-config-url.js +3 -4
- package/dist/notification/index.js +57 -48
- package/dist/scopes/index.d.ts +146 -146
- package/opencrvs-toolkit-2.1.0-rc.9c04c04.tgz +0 -0
- package/package.json +4 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.976ee09.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: ("NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "IMAGE_VIEW" | "PARAGRAPH" | "HEADING" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "AUTOCOMPLETE" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | "ALPHA_HIDDEN" | "USER_ROLE" | "CUSTOM")[];
|
|
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: ("NAME" | "ADDRESS" | "DATE_RANGE" | "FILE" | "FILE_WITH_OPTIONS" | "DATA" | "ID_READER")[];
|
|
77
|
+
export declare const FieldTypesToHideInReview: ("IMAGE_VIEW" | "PARAGRAPH" | "PAGE_HEADER" | "BULLET_LIST" | "DIVIDER" | "DATA" | "ALPHA_PRINT_BUTTON" | "HTTP" | "QUERY_PARAM_READER" | "ID_READER" | "LOADER" | "ALPHA_HIDDEN")[];
|
|
78
|
+
export declare const HiddenFieldTypes: ("HTTP" | "QUERY_PARAM_READER" | "ALPHA_HIDDEN")[];
|
|
79
79
|
//# sourceMappingURL=FieldType.d.ts.map
|
|
@@ -16,73 +16,51 @@ 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.ZodString | 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
|
-
|
|
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<{
|
|
23
|
+
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodString>> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
24
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]> | z.ZodArray<z.ZodObject<{
|
|
38
28
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
39
29
|
originalFilename: z.ZodString;
|
|
40
30
|
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
46
|
}, z.core.$strip> | z.ZodObject<{
|
|
47
|
-
label: z.ZodString;
|
|
48
|
-
value: z.ZodString;
|
|
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<{
|
|
61
|
-
last30Days: "last30Days";
|
|
62
|
-
last365Days: "last365Days";
|
|
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
47
|
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
72
48
|
unit: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, z.core.$strip
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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<{
|
|
49
|
+
}, z.core.$strip> | z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out"> | z.ZodObject<{
|
|
50
|
+
age: z.ZodNumber;
|
|
51
|
+
asOfDateRef: z.ZodString;
|
|
52
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
83
53
|
label: z.ZodString;
|
|
84
54
|
value: z.ZodString;
|
|
85
|
-
}, z.core.$strip
|
|
55
|
+
}, z.core.$strip> | z.ZodEnum<{
|
|
56
|
+
last7Days: "last7Days";
|
|
57
|
+
last30Days: "last30Days";
|
|
58
|
+
last90Days: "last90Days";
|
|
59
|
+
last365Days: "last365Days";
|
|
60
|
+
}> | z.ZodUnion<[z.ZodObject<{
|
|
61
|
+
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
62
|
+
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
63
|
+
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]> | z.ZodEmail | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
86
64
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
65
|
country: z.ZodString;
|
|
88
66
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -99,10 +77,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
99
77
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
100
78
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
101
79
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
102
|
-
last30Days: "last30Days";
|
|
103
|
-
last365Days: "last365Days";
|
|
104
80
|
last7Days: "last7Days";
|
|
81
|
+
last30Days: "last30Days";
|
|
105
82
|
last90Days: "last90Days";
|
|
83
|
+
last365Days: "last365Days";
|
|
106
84
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
107
85
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
108
86
|
originalFilename: z.ZodString;
|
|
@@ -128,10 +106,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
128
106
|
}, z.core.$strip>>>;
|
|
129
107
|
data: z.ZodAny;
|
|
130
108
|
}, z.core.$strip>, z.ZodEnum<{
|
|
109
|
+
verified: "verified";
|
|
131
110
|
authenticated: "authenticated";
|
|
132
111
|
failed: "failed";
|
|
133
112
|
pending: "pending";
|
|
134
|
-
verified: "verified";
|
|
135
113
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
136
114
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
137
115
|
updatedAt: z.ZodISODateTime;
|
|
@@ -152,13 +130,27 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
152
130
|
label: z.ZodString;
|
|
153
131
|
value: z.ZodString;
|
|
154
132
|
}, 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>;
|
|
155
144
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
145
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
146
|
+
originalFilename: z.ZodString;
|
|
147
|
+
type: z.ZodString;
|
|
148
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
149
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
150
|
+
originalFilename: z.ZodString;
|
|
151
|
+
type: z.ZodString;
|
|
152
|
+
option: z.ZodString;
|
|
153
|
+
}, z.core.$strip>>>> | z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
162
154
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
163
155
|
country: z.ZodString;
|
|
164
156
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -175,10 +167,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
175
167
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
176
168
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
177
169
|
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
|
|
178
|
-
last30Days: "last30Days";
|
|
179
|
-
last365Days: "last365Days";
|
|
180
170
|
last7Days: "last7Days";
|
|
171
|
+
last30Days: "last30Days";
|
|
181
172
|
last90Days: "last90Days";
|
|
173
|
+
last365Days: "last365Days";
|
|
182
174
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
183
175
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
184
176
|
originalFilename: z.ZodString;
|
|
@@ -204,10 +196,10 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
204
196
|
}, z.core.$strip>>>;
|
|
205
197
|
data: z.ZodAny;
|
|
206
198
|
}, z.core.$strip>, z.ZodEnum<{
|
|
199
|
+
verified: "verified";
|
|
207
200
|
authenticated: "authenticated";
|
|
208
201
|
failed: "failed";
|
|
209
202
|
pending: "pending";
|
|
210
|
-
verified: "verified";
|
|
211
203
|
}>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
212
204
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
213
205
|
updatedAt: z.ZodISODateTime;
|
|
@@ -228,10 +220,7 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
228
220
|
label: z.ZodString;
|
|
229
221
|
value: z.ZodString;
|
|
230
222
|
}, z.core.$strip>>>]>>;
|
|
231
|
-
}, z.core.$strip>>>>> | z.ZodOptional<z.ZodNullable<z.
|
|
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<{
|
|
223
|
+
}, z.core.$strip>>>>> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
235
224
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
225
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
226
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -242,57 +231,68 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
242
231
|
message: z.ZodString;
|
|
243
232
|
}, z.core.$strip>>>;
|
|
244
233
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
245
|
-
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
253
|
-
addressType: "INTERNATIONAL";
|
|
254
|
-
} | {
|
|
234
|
+
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
235
|
+
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
236
|
+
}, z.core.$strip>>> | z.ZodObject<{
|
|
237
|
+
firstname: z.ZodString;
|
|
238
|
+
surname: z.ZodString;
|
|
239
|
+
middlename: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strip> | z.ZodType<{
|
|
255
241
|
country: string;
|
|
256
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
257
242
|
addressType: "DOMESTIC";
|
|
258
243
|
administrativeArea: string;
|
|
244
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
259
245
|
} | {
|
|
260
246
|
country: string;
|
|
261
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
262
247
|
addressType: "INTERNATIONAL";
|
|
263
|
-
|
|
248
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
249
|
+
} | {
|
|
250
|
+
addressType: "DOMESTIC";
|
|
264
251
|
country?: string | null | undefined;
|
|
265
252
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
266
|
-
addressType: "DOMESTIC";
|
|
267
253
|
administrativeArea?: string | null | undefined;
|
|
268
254
|
} | {
|
|
255
|
+
addressType: "INTERNATIONAL";
|
|
269
256
|
country?: string | null | undefined;
|
|
270
257
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
271
|
-
|
|
272
|
-
} | {
|
|
258
|
+
} | null | undefined, unknown, z.core.$ZodTypeInternals<{
|
|
273
259
|
country: string;
|
|
274
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
275
260
|
addressType: "DOMESTIC";
|
|
276
261
|
administrativeArea: string;
|
|
262
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
277
263
|
} | {
|
|
278
264
|
country: string;
|
|
265
|
+
addressType: "INTERNATIONAL";
|
|
279
266
|
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
|
+
} | {
|
|
280
273
|
addressType: "INTERNATIONAL";
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
274
|
+
country?: string | null | undefined;
|
|
275
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
276
|
+
} | null | undefined, unknown>> | z.ZodObject<Readonly<{
|
|
277
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
278
|
+
}>, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">>> | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
279
|
+
data: z.ZodAny;
|
|
280
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
281
|
+
numericValue: z.ZodNumber;
|
|
282
|
+
unit: z.ZodString;
|
|
283
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
284
|
+
age: z.ZodNumber;
|
|
285
|
+
asOfDateRef: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
287
|
+
label: z.ZodString;
|
|
288
|
+
value: z.ZodString;
|
|
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>>>;
|
|
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.$brand<"CustomFieldValue"> | never[] | Record<string, FieldUpdateValue> | null;
|
|
361
|
+
export declare function mapFieldTypeToEmptyValue(field: FieldConfig): z.core.$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
|
-
last30Days: "last30Days";
|
|
46
|
-
last365Days: "last365Days";
|
|
47
45
|
last7Days: "last7Days";
|
|
46
|
+
last30Days: "last30Days";
|
|
48
47
|
last90Days: "last90Days";
|
|
48
|
+
last365Days: "last365Days";
|
|
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";
|
|
70
71
|
authenticated: "authenticated";
|
|
71
72
|
failed: "failed";
|
|
72
73
|
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
|
-
last30Days: "last30Days";
|
|
93
|
-
last365Days: "last365Days";
|
|
94
92
|
last7Days: "last7Days";
|
|
93
|
+
last30Days: "last30Days";
|
|
95
94
|
last90Days: "last90Days";
|
|
95
|
+
last365Days: "last365Days";
|
|
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";
|
|
121
122
|
authenticated: "authenticated";
|
|
122
123
|
failed: "failed";
|
|
123
124
|
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
|
-
last30Days: "last30Days";
|
|
163
|
-
last365Days: "last365Days";
|
|
164
162
|
last7Days: "last7Days";
|
|
163
|
+
last30Days: "last30Days";
|
|
165
164
|
last90Days: "last90Days";
|
|
165
|
+
last365Days: "last365Days";
|
|
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";
|
|
191
192
|
authenticated: "authenticated";
|
|
192
193
|
failed: "failed";
|
|
193
194
|
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
|
-
last30Days: "last30Days";
|
|
234
|
-
last365Days: "last365Days";
|
|
235
233
|
last7Days: "last7Days";
|
|
234
|
+
last30Days: "last30Days";
|
|
236
235
|
last90Days: "last90Days";
|
|
236
|
+
last365Days: "last365Days";
|
|
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";
|
|
262
263
|
authenticated: "authenticated";
|
|
263
264
|
failed: "failed";
|
|
264
265
|
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
|
/**
|