@opencrvs/toolkit 2.1.0-rc.1b9e49f → 2.1.0-rc.1bb0cb2
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/README.md +1 -0
- package/build.sh +5 -1
- package/create-countryconfig/index.js +284 -62
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +343 -275
- package/dist/cli.js +1423 -152
- package/dist/commons/api/router.d.ts +3971 -3373
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +32 -323
- package/dist/commons/conditionals/validate.d.ts +16 -5
- package/dist/commons/events/ActionConfig.d.ts +105 -105
- package/dist/commons/events/ActionDocument.d.ts +121 -127
- package/dist/commons/events/ActionInput.d.ts +4 -10
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +62 -62
- package/dist/commons/events/AdvancedSearchConfig.d.ts +531 -507
- package/dist/commons/events/AuditLog.d.ts +189 -42
- 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 +8 -5
- package/dist/commons/events/EventDocument.d.ts +518 -50
- package/dist/commons/events/EventIndex.d.ts +49 -72
- package/dist/commons/events/EventMetadata.d.ts +39 -49
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +424 -389
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +86 -86
- package/dist/commons/events/FieldValue.d.ts +14 -14
- package/dist/commons/events/Flag.d.ts +57 -15
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- 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 +817 -814
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +14 -2
- package/dist/commons/events/field.d.ts +69 -198
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +243 -14
- package/dist/commons/events/mocks.test.utils.d.ts +48 -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 +47 -46
- package/dist/commons/events/utils.d.ts +114 -114
- package/dist/commons/notification/UserNotifications.d.ts +38 -23
- package/dist/commons/notification/dispatch.d.ts +15 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +328 -58
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- 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/index.d.ts +1 -0
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +10 -0
- package/dist/environment/logger.d.ts +3 -3
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/paths.d.ts +7 -0
- package/dist/environment/paths.d.ts.map +1 -0
- package/dist/environment/paths.js +72 -0
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.js +11 -30
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +2 -1
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +34 -12
- package/dist/environment/upgrade.d.ts +2 -0
- package/dist/environment/upgrade.d.ts.map +1 -0
- package/dist/environment/upgrade.js +82 -0
- package/dist/environment/users.js +28 -20
- package/dist/environment/utils.d.ts +1 -1
- package/dist/environment/utils.js +17 -7
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +3760 -3361
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/v2.1/add-translations.d.ts +9 -0
- package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-translations.js +213 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +438 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +1058 -0
- package/dist/notification/index.js +1865 -1467
- package/dist/scopes/index.d.ts +464 -169
- package/dist/scopes/index.js +329 -58
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +39 -0
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -7
- package/dist/templates/charts-values/opentelemetry/values.yaml +95 -0
- package/dist/templates/charts-values/traefik/values.yaml +23 -9
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/check.d.ts +23 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +128 -0
- package/opencrvs-toolkit-2.1.0-rc.1bb0cb2.tgz +0 -0
- package/package.json +10 -6
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.1b9e49f.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -9,6 +9,14 @@ import { z } from 'zod';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const PlainDate: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
11
11
|
export type PlainDate = z.infer<typeof PlainDate>;
|
|
12
|
+
/**
|
|
13
|
+
* Extracts the plain calendar date from an ISO 8601 datetime (or passes an
|
|
14
|
+
* already-plain YYYY-MM-DD through) as a {@link PlainDate}. This is the single
|
|
15
|
+
* conversion from a timestamp to a location-resolution anchor — comparing
|
|
16
|
+
* plain dates as strings, with no timezone conversion. Assumes a valid ISO /
|
|
17
|
+
* YYYY-MM-DD input, as produced by the event metadata and date fields.
|
|
18
|
+
*/
|
|
19
|
+
export declare function toPlainDate(dateTime: string): PlainDate;
|
|
12
20
|
/**
|
|
13
21
|
* Converts a {@link PlainDate} (YYYY-MM-DD) to a local `Date` at midnight.
|
|
14
22
|
*
|
|
@@ -1,5 +1,254 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const InfoBox: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
info: "info";
|
|
5
|
+
negative: "negative";
|
|
6
|
+
positive: "positive";
|
|
7
|
+
warning: "warning";
|
|
8
|
+
}>;
|
|
9
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
10
|
+
tinted: "tinted";
|
|
11
|
+
white: "white";
|
|
12
|
+
}>>>;
|
|
13
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
Activity: "Activity";
|
|
15
|
+
Archive: "Archive";
|
|
16
|
+
ArchiveBox: "ArchiveBox";
|
|
17
|
+
ArchiveTray: "ArchiveTray";
|
|
18
|
+
Archived: "Archived";
|
|
19
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
20
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
21
|
+
ArrowLeft: "ArrowLeft";
|
|
22
|
+
ArrowRight: "ArrowRight";
|
|
23
|
+
Assigned: "Assigned";
|
|
24
|
+
Briefcase: "Briefcase";
|
|
25
|
+
Buildings: "Buildings";
|
|
26
|
+
CaretDown: "CaretDown";
|
|
27
|
+
CaretLeft: "CaretLeft";
|
|
28
|
+
CaretRight: "CaretRight";
|
|
29
|
+
Certified: "Certified";
|
|
30
|
+
ChartActivity: "ChartActivity";
|
|
31
|
+
ChartBar: "ChartBar";
|
|
32
|
+
ChartLine: "ChartLine";
|
|
33
|
+
ChatCircle: "ChatCircle";
|
|
34
|
+
ChatText: "ChatText";
|
|
35
|
+
Check: "Check";
|
|
36
|
+
CheckSquare: "CheckSquare";
|
|
37
|
+
Circle: "Circle";
|
|
38
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
39
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
40
|
+
Clock: "Clock";
|
|
41
|
+
Close: "Close";
|
|
42
|
+
Collapse: "Collapse";
|
|
43
|
+
Compass: "Compass";
|
|
44
|
+
Copy: "Copy";
|
|
45
|
+
Database: "Database";
|
|
46
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
47
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
48
|
+
Draft: "Draft";
|
|
49
|
+
DuplicateYellow: "DuplicateYellow";
|
|
50
|
+
Envelope: "Envelope";
|
|
51
|
+
Expand: "Expand";
|
|
52
|
+
Export: "Export";
|
|
53
|
+
ExternalValidate: "ExternalValidate";
|
|
54
|
+
Eye: "Eye";
|
|
55
|
+
EyeSlash: "EyeSlash";
|
|
56
|
+
File: "File";
|
|
57
|
+
FileArrowUp: "FileArrowUp";
|
|
58
|
+
FileDotted: "FileDotted";
|
|
59
|
+
FileLock: "FileLock";
|
|
60
|
+
FileMinus: "FileMinus";
|
|
61
|
+
FilePlus: "FilePlus";
|
|
62
|
+
FileSearch: "FileSearch";
|
|
63
|
+
FileText: "FileText";
|
|
64
|
+
FileX: "FileX";
|
|
65
|
+
Files: "Files";
|
|
66
|
+
FilledCheck: "FilledCheck";
|
|
67
|
+
Fingerprint: "Fingerprint";
|
|
68
|
+
Gear: "Gear";
|
|
69
|
+
GitBranch: "GitBranch";
|
|
70
|
+
Globe: "Globe";
|
|
71
|
+
Handshake: "Handshake";
|
|
72
|
+
IdentificationCard: "IdentificationCard";
|
|
73
|
+
InReview: "InReview";
|
|
74
|
+
List: "List";
|
|
75
|
+
ListBullets: "ListBullets";
|
|
76
|
+
Lock: "Lock";
|
|
77
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
78
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
79
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
80
|
+
MapPin: "MapPin";
|
|
81
|
+
Medal: "Medal";
|
|
82
|
+
NotePencil: "NotePencil";
|
|
83
|
+
Offline: "Offline";
|
|
84
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
85
|
+
Paperclip: "Paperclip";
|
|
86
|
+
Pen: "Pen";
|
|
87
|
+
PenNib: "PenNib";
|
|
88
|
+
Pencil: "Pencil";
|
|
89
|
+
PencilCircle: "PencilCircle";
|
|
90
|
+
PencilLine: "PencilLine";
|
|
91
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
92
|
+
Phone: "Phone";
|
|
93
|
+
Plus: "Plus";
|
|
94
|
+
Printer: "Printer";
|
|
95
|
+
PushPin: "PushPin";
|
|
96
|
+
QrCode: "QrCode";
|
|
97
|
+
Registered: "Registered";
|
|
98
|
+
RequiresUpdates: "RequiresUpdates";
|
|
99
|
+
Sent: "Sent";
|
|
100
|
+
SignOut: "SignOut";
|
|
101
|
+
Stamp: "Stamp";
|
|
102
|
+
Star: "Star";
|
|
103
|
+
Sun: "Sun";
|
|
104
|
+
Target: "Target";
|
|
105
|
+
TextT: "TextT";
|
|
106
|
+
Timer: "Timer";
|
|
107
|
+
Trash: "Trash";
|
|
108
|
+
UploadSimple: "UploadSimple";
|
|
109
|
+
User: "User";
|
|
110
|
+
UserCircle: "UserCircle";
|
|
111
|
+
UserPlus: "UserPlus";
|
|
112
|
+
Users: "Users";
|
|
113
|
+
Validated: "Validated";
|
|
114
|
+
WaitingApproval: "WaitingApproval";
|
|
115
|
+
WarningCircle: "WarningCircle";
|
|
116
|
+
Webcam: "Webcam";
|
|
117
|
+
X: "X";
|
|
118
|
+
}>>;
|
|
119
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
120
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
121
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"SHOW">;
|
|
123
|
+
conditional: z.ZodAny;
|
|
124
|
+
}, z.core.$strip>>>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
export type InfoBox = z.infer<typeof InfoBox>;
|
|
2
127
|
export declare const SummaryConfig: z.ZodObject<{
|
|
128
|
+
banners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
129
|
+
type: z.ZodEnum<{
|
|
130
|
+
info: "info";
|
|
131
|
+
negative: "negative";
|
|
132
|
+
positive: "positive";
|
|
133
|
+
warning: "warning";
|
|
134
|
+
}>;
|
|
135
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
tinted: "tinted";
|
|
137
|
+
white: "white";
|
|
138
|
+
}>>>;
|
|
139
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
Activity: "Activity";
|
|
141
|
+
Archive: "Archive";
|
|
142
|
+
ArchiveBox: "ArchiveBox";
|
|
143
|
+
ArchiveTray: "ArchiveTray";
|
|
144
|
+
Archived: "Archived";
|
|
145
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
146
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
147
|
+
ArrowLeft: "ArrowLeft";
|
|
148
|
+
ArrowRight: "ArrowRight";
|
|
149
|
+
Assigned: "Assigned";
|
|
150
|
+
Briefcase: "Briefcase";
|
|
151
|
+
Buildings: "Buildings";
|
|
152
|
+
CaretDown: "CaretDown";
|
|
153
|
+
CaretLeft: "CaretLeft";
|
|
154
|
+
CaretRight: "CaretRight";
|
|
155
|
+
Certified: "Certified";
|
|
156
|
+
ChartActivity: "ChartActivity";
|
|
157
|
+
ChartBar: "ChartBar";
|
|
158
|
+
ChartLine: "ChartLine";
|
|
159
|
+
ChatCircle: "ChatCircle";
|
|
160
|
+
ChatText: "ChatText";
|
|
161
|
+
Check: "Check";
|
|
162
|
+
CheckSquare: "CheckSquare";
|
|
163
|
+
Circle: "Circle";
|
|
164
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
165
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
166
|
+
Clock: "Clock";
|
|
167
|
+
Close: "Close";
|
|
168
|
+
Collapse: "Collapse";
|
|
169
|
+
Compass: "Compass";
|
|
170
|
+
Copy: "Copy";
|
|
171
|
+
Database: "Database";
|
|
172
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
173
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
174
|
+
Draft: "Draft";
|
|
175
|
+
DuplicateYellow: "DuplicateYellow";
|
|
176
|
+
Envelope: "Envelope";
|
|
177
|
+
Expand: "Expand";
|
|
178
|
+
Export: "Export";
|
|
179
|
+
ExternalValidate: "ExternalValidate";
|
|
180
|
+
Eye: "Eye";
|
|
181
|
+
EyeSlash: "EyeSlash";
|
|
182
|
+
File: "File";
|
|
183
|
+
FileArrowUp: "FileArrowUp";
|
|
184
|
+
FileDotted: "FileDotted";
|
|
185
|
+
FileLock: "FileLock";
|
|
186
|
+
FileMinus: "FileMinus";
|
|
187
|
+
FilePlus: "FilePlus";
|
|
188
|
+
FileSearch: "FileSearch";
|
|
189
|
+
FileText: "FileText";
|
|
190
|
+
FileX: "FileX";
|
|
191
|
+
Files: "Files";
|
|
192
|
+
FilledCheck: "FilledCheck";
|
|
193
|
+
Fingerprint: "Fingerprint";
|
|
194
|
+
Gear: "Gear";
|
|
195
|
+
GitBranch: "GitBranch";
|
|
196
|
+
Globe: "Globe";
|
|
197
|
+
Handshake: "Handshake";
|
|
198
|
+
IdentificationCard: "IdentificationCard";
|
|
199
|
+
InReview: "InReview";
|
|
200
|
+
List: "List";
|
|
201
|
+
ListBullets: "ListBullets";
|
|
202
|
+
Lock: "Lock";
|
|
203
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
204
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
205
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
206
|
+
MapPin: "MapPin";
|
|
207
|
+
Medal: "Medal";
|
|
208
|
+
NotePencil: "NotePencil";
|
|
209
|
+
Offline: "Offline";
|
|
210
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
211
|
+
Paperclip: "Paperclip";
|
|
212
|
+
Pen: "Pen";
|
|
213
|
+
PenNib: "PenNib";
|
|
214
|
+
Pencil: "Pencil";
|
|
215
|
+
PencilCircle: "PencilCircle";
|
|
216
|
+
PencilLine: "PencilLine";
|
|
217
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
218
|
+
Phone: "Phone";
|
|
219
|
+
Plus: "Plus";
|
|
220
|
+
Printer: "Printer";
|
|
221
|
+
PushPin: "PushPin";
|
|
222
|
+
QrCode: "QrCode";
|
|
223
|
+
Registered: "Registered";
|
|
224
|
+
RequiresUpdates: "RequiresUpdates";
|
|
225
|
+
Sent: "Sent";
|
|
226
|
+
SignOut: "SignOut";
|
|
227
|
+
Stamp: "Stamp";
|
|
228
|
+
Star: "Star";
|
|
229
|
+
Sun: "Sun";
|
|
230
|
+
Target: "Target";
|
|
231
|
+
TextT: "TextT";
|
|
232
|
+
Timer: "Timer";
|
|
233
|
+
Trash: "Trash";
|
|
234
|
+
UploadSimple: "UploadSimple";
|
|
235
|
+
User: "User";
|
|
236
|
+
UserCircle: "UserCircle";
|
|
237
|
+
UserPlus: "UserPlus";
|
|
238
|
+
Users: "Users";
|
|
239
|
+
Validated: "Validated";
|
|
240
|
+
WaitingApproval: "WaitingApproval";
|
|
241
|
+
WarningCircle: "WarningCircle";
|
|
242
|
+
Webcam: "Webcam";
|
|
243
|
+
X: "X";
|
|
244
|
+
}>>;
|
|
245
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
246
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
247
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"SHOW">;
|
|
249
|
+
conditional: z.ZodAny;
|
|
250
|
+
}, z.core.$strip>>>>;
|
|
251
|
+
}, z.core.$strip>>>>;
|
|
3
252
|
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4
253
|
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
5
254
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -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
|
/**
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "placeOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"];
|
|
3
3
|
export declare const WorkqueueColumnKeys: z.ZodEnum<{
|
|
4
|
-
|
|
5
|
-
title: "title";
|
|
6
|
-
type: "type";
|
|
7
|
-
updatedAt: "updatedAt";
|
|
8
|
-
placeOfEvent: "placeOfEvent";
|
|
9
|
-
createdByUserType: "createdByUserType";
|
|
4
|
+
assignedTo: "assignedTo";
|
|
10
5
|
createdAt: "createdAt";
|
|
11
|
-
createdBy: "createdBy";
|
|
12
6
|
createdAtLocation: "createdAtLocation";
|
|
7
|
+
createdBy: "createdBy";
|
|
8
|
+
createdByUserType: "createdByUserType";
|
|
9
|
+
dateOfEvent: "dateOfEvent";
|
|
10
|
+
flags: "flags";
|
|
11
|
+
id: "id";
|
|
12
|
+
legalStatuses: "legalStatuses";
|
|
13
|
+
outbox: "outbox";
|
|
14
|
+
placeOfEvent: "placeOfEvent";
|
|
13
15
|
status: "status";
|
|
14
|
-
|
|
16
|
+
title: "title";
|
|
15
17
|
trackingId: "trackingId";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
updatedByUserRole: "updatedByUserRole";
|
|
18
|
+
type: "type";
|
|
19
|
+
updatedAt: "updatedAt";
|
|
19
20
|
updatedAtLocation: "updatedAtLocation";
|
|
20
21
|
updatedBy: "updatedBy";
|
|
21
|
-
|
|
22
|
-
outbox: "outbox";
|
|
22
|
+
updatedByUserRole: "updatedByUserRole";
|
|
23
23
|
}>;
|
|
24
24
|
export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
|
|
25
25
|
export declare const WorkqueueColumnValue: z.ZodObject<{
|
|
26
26
|
$event: z.ZodEnum<{
|
|
27
|
-
|
|
28
|
-
title: "title";
|
|
29
|
-
type: "type";
|
|
30
|
-
updatedAt: "updatedAt";
|
|
31
|
-
placeOfEvent: "placeOfEvent";
|
|
32
|
-
createdByUserType: "createdByUserType";
|
|
27
|
+
assignedTo: "assignedTo";
|
|
33
28
|
createdAt: "createdAt";
|
|
34
|
-
createdBy: "createdBy";
|
|
35
29
|
createdAtLocation: "createdAtLocation";
|
|
30
|
+
createdBy: "createdBy";
|
|
31
|
+
createdByUserType: "createdByUserType";
|
|
32
|
+
dateOfEvent: "dateOfEvent";
|
|
33
|
+
flags: "flags";
|
|
34
|
+
id: "id";
|
|
35
|
+
legalStatuses: "legalStatuses";
|
|
36
|
+
outbox: "outbox";
|
|
37
|
+
placeOfEvent: "placeOfEvent";
|
|
36
38
|
status: "status";
|
|
37
|
-
|
|
39
|
+
title: "title";
|
|
38
40
|
trackingId: "trackingId";
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
updatedByUserRole: "updatedByUserRole";
|
|
41
|
+
type: "type";
|
|
42
|
+
updatedAt: "updatedAt";
|
|
42
43
|
updatedAtLocation: "updatedAtLocation";
|
|
43
44
|
updatedBy: "updatedBy";
|
|
44
|
-
|
|
45
|
-
outbox: "outbox";
|
|
45
|
+
updatedByUserRole: "updatedByUserRole";
|
|
46
46
|
}>;
|
|
47
47
|
}, z.core.$strip>;
|
|
48
48
|
export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
|
|
@@ -53,25 +53,25 @@ export declare const WorkqueueColumn: z.ZodObject<{
|
|
|
53
53
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
54
54
|
value: z.ZodObject<{
|
|
55
55
|
$event: z.ZodEnum<{
|
|
56
|
-
|
|
57
|
-
title: "title";
|
|
58
|
-
type: "type";
|
|
59
|
-
updatedAt: "updatedAt";
|
|
60
|
-
placeOfEvent: "placeOfEvent";
|
|
61
|
-
createdByUserType: "createdByUserType";
|
|
56
|
+
assignedTo: "assignedTo";
|
|
62
57
|
createdAt: "createdAt";
|
|
63
|
-
createdBy: "createdBy";
|
|
64
58
|
createdAtLocation: "createdAtLocation";
|
|
59
|
+
createdBy: "createdBy";
|
|
60
|
+
createdByUserType: "createdByUserType";
|
|
61
|
+
dateOfEvent: "dateOfEvent";
|
|
62
|
+
flags: "flags";
|
|
63
|
+
id: "id";
|
|
64
|
+
legalStatuses: "legalStatuses";
|
|
65
|
+
outbox: "outbox";
|
|
66
|
+
placeOfEvent: "placeOfEvent";
|
|
65
67
|
status: "status";
|
|
66
|
-
|
|
68
|
+
title: "title";
|
|
67
69
|
trackingId: "trackingId";
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
updatedByUserRole: "updatedByUserRole";
|
|
70
|
+
type: "type";
|
|
71
|
+
updatedAt: "updatedAt";
|
|
71
72
|
updatedAtLocation: "updatedAtLocation";
|
|
72
73
|
updatedBy: "updatedBy";
|
|
73
|
-
|
|
74
|
-
outbox: "outbox";
|
|
74
|
+
updatedByUserRole: "updatedByUserRole";
|
|
75
75
|
}>;
|
|
76
76
|
}, z.core.$strip>;
|
|
77
77
|
}, z.core.$strip>;
|
|
@@ -84,7 +84,7 @@ export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColum
|
|
|
84
84
|
description: string;
|
|
85
85
|
};
|
|
86
86
|
value: {
|
|
87
|
-
$event: "
|
|
87
|
+
$event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
|
|
88
88
|
};
|
|
89
89
|
}[];
|
|
90
90
|
//# sourceMappingURL=WorkqueueColumnConfig.d.ts.map
|