@opencrvs/toolkit 2.1.0-rc.e4589b6 → 2.1.0-rc.e58bb01
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 +200 -189
- package/dist/cli.js +48 -0
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +21 -0
- package/dist/commons/events/ActionDocument.d.ts +1 -7
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +18 -0
- package/dist/commons/events/EventIndex.d.ts +5 -24
- package/dist/commons/events/EventMetadata.d.ts +2 -1
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/Flag.d.ts +48 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -5
- package/dist/conditionals/index.js +303 -55
- package/dist/environment/derived-variables.d.ts +12 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +14 -0
- package/dist/environment/setup-environment.js +14 -0
- package/dist/events/index.js +3205 -3165
- package/dist/notification/index.js +1442 -879
- package/dist/scopes/index.d.ts +250 -0
- package/dist/scopes/index.js +304 -55
- package/dist/templates/charts-values/dependencies/values.yaml +3 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -0
- package/opencrvs-toolkit-2.1.0-rc.e58bb01.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.1.0-rc.e4589b6.tgz +0 -0
package/dist/cli.js
CHANGED
|
@@ -380,6 +380,20 @@ var init_derived_variables = __esm({
|
|
|
380
380
|
type: "disabled",
|
|
381
381
|
scope: "ENVIRONMENT"
|
|
382
382
|
},
|
|
383
|
+
{
|
|
384
|
+
name: "MONGODB_ADMIN_USER",
|
|
385
|
+
valueLabel: "MONGODB_ADMIN_USER",
|
|
386
|
+
valueType: "SECRET",
|
|
387
|
+
type: "disabled",
|
|
388
|
+
scope: "ENVIRONMENT"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
name: "MONGODB_ADMIN_PASSWORD",
|
|
392
|
+
valueLabel: "MONGODB_ADMIN_PASSWORD",
|
|
393
|
+
valueType: "SECRET",
|
|
394
|
+
type: "disabled",
|
|
395
|
+
scope: "ENVIRONMENT"
|
|
396
|
+
},
|
|
383
397
|
{
|
|
384
398
|
name: "POSTGRES_USER",
|
|
385
399
|
valueLabel: "POSTGRES_USER",
|
|
@@ -2276,6 +2290,40 @@ var init_setup_environment = __esm({
|
|
|
2276
2290
|
),
|
|
2277
2291
|
scope: "ENVIRONMENT"
|
|
2278
2292
|
},
|
|
2293
|
+
{
|
|
2294
|
+
name: "MONGODB_ADMIN_USER",
|
|
2295
|
+
type: "SECRET",
|
|
2296
|
+
didExist: findExistingValue(
|
|
2297
|
+
"MONGODB_ADMIN_USER",
|
|
2298
|
+
"SECRET",
|
|
2299
|
+
"ENVIRONMENT",
|
|
2300
|
+
existingValues
|
|
2301
|
+
),
|
|
2302
|
+
value: findExistingOrDefine(
|
|
2303
|
+
"MONGODB_ADMIN_USER",
|
|
2304
|
+
"SECRET",
|
|
2305
|
+
"ENVIRONMENT",
|
|
2306
|
+
generateLongPassword()
|
|
2307
|
+
),
|
|
2308
|
+
scope: "ENVIRONMENT"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
name: "MONGODB_ADMIN_PASSWORD",
|
|
2312
|
+
type: "SECRET",
|
|
2313
|
+
didExist: findExistingValue(
|
|
2314
|
+
"MONGODB_ADMIN_PASSWORD",
|
|
2315
|
+
"SECRET",
|
|
2316
|
+
"ENVIRONMENT",
|
|
2317
|
+
existingValues
|
|
2318
|
+
),
|
|
2319
|
+
value: findExistingOrDefine(
|
|
2320
|
+
"MONGODB_ADMIN_PASSWORD",
|
|
2321
|
+
"SECRET",
|
|
2322
|
+
"ENVIRONMENT",
|
|
2323
|
+
generateLongPassword()
|
|
2324
|
+
),
|
|
2325
|
+
scope: "ENVIRONMENT"
|
|
2326
|
+
},
|
|
2279
2327
|
{
|
|
2280
2328
|
name: "POSTGRES_USER",
|
|
2281
2329
|
type: "SECRET",
|
|
@@ -94,16 +94,16 @@ export declare const user: typeof userSerializer & {
|
|
|
94
94
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
95
95
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
96
96
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.unarchive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
97
|
-
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
97
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "flags" | "accessLevel" | "ids";
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
101
101
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.unarchive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
102
|
-
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
102
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "flags" | "accessLevel" | "ids";
|
|
103
103
|
}) => {
|
|
104
104
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
105
105
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.unarchive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
106
|
-
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
106
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "flags" | "accessLevel" | "ids";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
};
|
|
@@ -69,13 +69,14 @@ export declare function validate(schema: JSONSchema, data: ConditionalParameters
|
|
|
69
69
|
export declare function validateValue(schema: JSONSchema, data: unknown): boolean;
|
|
70
70
|
export declare function isOnline(): boolean;
|
|
71
71
|
export declare function isConditionMet(conditional: JSONSchema, values: EventState | ActionUpdate, context: ValidatorContext): boolean;
|
|
72
|
-
export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, FieldValue>, context: ValidatorContext,
|
|
72
|
+
export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, FieldValue>, context: ValidatorContext, event: EventIndex): boolean;
|
|
73
73
|
export type ValidatorContext = {
|
|
74
74
|
user?: ITokenPayload;
|
|
75
75
|
leafAdminStructureLocationIds?: Array<{
|
|
76
76
|
id: UUID;
|
|
77
77
|
}>;
|
|
78
78
|
event?: EventDocument;
|
|
79
|
+
eventConfig?: EventConfig;
|
|
79
80
|
baseFormState?: EventState;
|
|
80
81
|
};
|
|
81
82
|
export declare function isFieldVisible(field: FieldConfig, form: Partial<ActionUpdate | EventState>, context: ValidatorContext): boolean;
|
|
@@ -13,6 +13,7 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
13
13
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
14
14
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
15
15
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
16
|
+
readonly SEALED: "sealed";
|
|
16
17
|
}>]>, z.ZodString]>;
|
|
17
18
|
operation: z.ZodEnum<{
|
|
18
19
|
add: "add";
|
|
@@ -39,6 +40,7 @@ declare const CustomActionConfig: z.ZodObject<{
|
|
|
39
40
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
40
41
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
41
42
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
43
|
+
readonly SEALED: "sealed";
|
|
42
44
|
}>]>, z.ZodString]>;
|
|
43
45
|
operation: z.ZodEnum<{
|
|
44
46
|
add: "add";
|
|
@@ -70,6 +72,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
70
72
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
71
73
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
72
74
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
75
|
+
readonly SEALED: "sealed";
|
|
73
76
|
}>]>, z.ZodString]>;
|
|
74
77
|
operation: z.ZodEnum<{
|
|
75
78
|
add: "add";
|
|
@@ -120,6 +123,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
120
123
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
121
124
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
122
125
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
126
|
+
readonly SEALED: "sealed";
|
|
123
127
|
}>]>, z.ZodString]>;
|
|
124
128
|
operation: z.ZodEnum<{
|
|
125
129
|
add: "add";
|
|
@@ -146,6 +150,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
146
150
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
147
151
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
148
152
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
153
|
+
readonly SEALED: "sealed";
|
|
149
154
|
}>]>, z.ZodString]>;
|
|
150
155
|
operation: z.ZodEnum<{
|
|
151
156
|
add: "add";
|
|
@@ -173,6 +178,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
178
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
174
179
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
175
180
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
181
|
+
readonly SEALED: "sealed";
|
|
176
182
|
}>]>, z.ZodString]>;
|
|
177
183
|
operation: z.ZodEnum<{
|
|
178
184
|
add: "add";
|
|
@@ -213,6 +219,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
213
219
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
214
220
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
215
221
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
222
|
+
readonly SEALED: "sealed";
|
|
216
223
|
}>]>, z.ZodString]>;
|
|
217
224
|
operation: z.ZodEnum<{
|
|
218
225
|
add: "add";
|
|
@@ -234,6 +241,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
234
241
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
235
242
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
236
243
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
244
|
+
readonly SEALED: "sealed";
|
|
237
245
|
}>]>, z.ZodString]>;
|
|
238
246
|
operation: z.ZodEnum<{
|
|
239
247
|
add: "add";
|
|
@@ -260,6 +268,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
260
268
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
261
269
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
262
270
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
271
|
+
readonly SEALED: "sealed";
|
|
263
272
|
}>]>, z.ZodString]>;
|
|
264
273
|
operation: z.ZodEnum<{
|
|
265
274
|
add: "add";
|
|
@@ -286,6 +295,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
286
295
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
287
296
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
288
297
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
298
|
+
readonly SEALED: "sealed";
|
|
289
299
|
}>]>, z.ZodString]>;
|
|
290
300
|
operation: z.ZodEnum<{
|
|
291
301
|
add: "add";
|
|
@@ -313,6 +323,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
323
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
314
324
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
315
325
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
326
|
+
readonly SEALED: "sealed";
|
|
316
327
|
}>]>, z.ZodString]>;
|
|
317
328
|
operation: z.ZodEnum<{
|
|
318
329
|
add: "add";
|
|
@@ -345,6 +356,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
345
356
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
346
357
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
347
358
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
359
|
+
readonly SEALED: "sealed";
|
|
348
360
|
}>]>, z.ZodString]>;
|
|
349
361
|
operation: z.ZodEnum<{
|
|
350
362
|
add: "add";
|
|
@@ -401,6 +413,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
401
413
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
402
414
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
403
415
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
416
|
+
readonly SEALED: "sealed";
|
|
404
417
|
}>]>, z.ZodString]>;
|
|
405
418
|
operation: z.ZodEnum<{
|
|
406
419
|
add: "add";
|
|
@@ -457,6 +470,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
457
470
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
458
471
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
459
472
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
473
|
+
readonly SEALED: "sealed";
|
|
460
474
|
}>]>, z.ZodString]>;
|
|
461
475
|
operation: z.ZodEnum<{
|
|
462
476
|
add: "add";
|
|
@@ -483,6 +497,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
483
497
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
484
498
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
485
499
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
500
|
+
readonly SEALED: "sealed";
|
|
486
501
|
}>]>, z.ZodString]>;
|
|
487
502
|
operation: z.ZodEnum<{
|
|
488
503
|
add: "add";
|
|
@@ -509,6 +524,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
509
524
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
510
525
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
511
526
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
527
|
+
readonly SEALED: "sealed";
|
|
512
528
|
}>]>, z.ZodString]>;
|
|
513
529
|
operation: z.ZodEnum<{
|
|
514
530
|
add: "add";
|
|
@@ -540,6 +556,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
540
556
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
541
557
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
542
558
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
559
|
+
readonly SEALED: "sealed";
|
|
543
560
|
}>]>, z.ZodString]>;
|
|
544
561
|
operation: z.ZodEnum<{
|
|
545
562
|
add: "add";
|
|
@@ -567,6 +584,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
567
584
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
568
585
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
569
586
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
587
|
+
readonly SEALED: "sealed";
|
|
570
588
|
}>]>, z.ZodString]>;
|
|
571
589
|
operation: z.ZodEnum<{
|
|
572
590
|
add: "add";
|
|
@@ -593,6 +611,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
593
611
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
594
612
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
595
613
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
614
|
+
readonly SEALED: "sealed";
|
|
596
615
|
}>]>, z.ZodString]>;
|
|
597
616
|
operation: z.ZodEnum<{
|
|
598
617
|
add: "add";
|
|
@@ -634,6 +653,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
634
653
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
635
654
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
636
655
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
656
|
+
readonly SEALED: "sealed";
|
|
637
657
|
}>]>, z.ZodString]>;
|
|
638
658
|
operation: z.ZodEnum<{
|
|
639
659
|
add: "add";
|
|
@@ -675,6 +695,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
675
695
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
676
696
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
677
697
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
698
|
+
readonly SEALED: "sealed";
|
|
678
699
|
}>]>, z.ZodString]>;
|
|
679
700
|
operation: z.ZodEnum<{
|
|
680
701
|
add: "add";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { FieldValue, FieldUpdateValue } from './FieldValue';
|
|
3
|
+
export { ActionStatus } from './ActionStatus';
|
|
3
4
|
/**
|
|
4
5
|
* ActionUpdate is a record of a specific action that updated data fields.
|
|
5
6
|
*/
|
|
@@ -10,12 +11,6 @@ export type ActionUpdate = z.infer<typeof ActionUpdate>;
|
|
|
10
11
|
*/
|
|
11
12
|
export declare const EventState: z.ZodRecord<z.ZodString, z.ZodType<FieldValue, unknown, z.core.$ZodTypeInternals<FieldValue, unknown>>>;
|
|
12
13
|
export type EventState = z.infer<typeof EventState>;
|
|
13
|
-
export declare const ActionStatus: {
|
|
14
|
-
readonly Requested: "Requested";
|
|
15
|
-
readonly Accepted: "Accepted";
|
|
16
|
-
readonly Rejected: "Rejected";
|
|
17
|
-
};
|
|
18
|
-
export type ActionStatus = keyof typeof ActionStatus;
|
|
19
14
|
export declare const ActionBase: z.ZodObject<{
|
|
20
15
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
21
16
|
transactionId: z.ZodString;
|
|
@@ -1173,5 +1168,4 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1173
1168
|
export type Action = z.infer<typeof Action>;
|
|
1174
1169
|
export type CreatedAction = z.infer<typeof CreatedAction>;
|
|
1175
1170
|
export type AssignedAction = z.infer<typeof AssignedAction>;
|
|
1176
|
-
export {};
|
|
1177
1171
|
//# sourceMappingURL=ActionDocument.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deliberately dependency-free (aside from language builtins) so that files
|
|
3
|
+
* like Flag.ts can depend on ActionStatus without being pulled into the
|
|
4
|
+
* commons/scopes.ts <-> commons/authentication.ts import cycle that
|
|
5
|
+
* ActionDocument.ts participates in (it imports TokenUserType from
|
|
6
|
+
* '../authentication').
|
|
7
|
+
*/
|
|
8
|
+
export declare const ActionStatus: {
|
|
9
|
+
readonly Requested: "Requested";
|
|
10
|
+
readonly Accepted: "Accepted";
|
|
11
|
+
readonly Rejected: "Rejected";
|
|
12
|
+
};
|
|
13
|
+
export type ActionStatus = keyof typeof ActionStatus;
|
|
14
|
+
//# sourceMappingURL=ActionStatus.d.ts.map
|
|
@@ -146,6 +146,7 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
146
146
|
declaredBy: "declaredBy";
|
|
147
147
|
registeredIn: "registeredIn";
|
|
148
148
|
registeredBy: "registeredBy";
|
|
149
|
+
flags: "flags";
|
|
149
150
|
accessLevel: "accessLevel";
|
|
150
151
|
ids: "ids";
|
|
151
152
|
}>;
|
|
@@ -326,6 +327,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
326
327
|
declaredBy: "declaredBy";
|
|
327
328
|
registeredIn: "registeredIn";
|
|
328
329
|
registeredBy: "registeredBy";
|
|
330
|
+
flags: "flags";
|
|
329
331
|
accessLevel: "accessLevel";
|
|
330
332
|
ids: "ids";
|
|
331
333
|
}>;
|
|
@@ -482,6 +484,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
482
484
|
declaredBy: "declaredBy";
|
|
483
485
|
registeredIn: "registeredIn";
|
|
484
486
|
registeredBy: "registeredBy";
|
|
487
|
+
flags: "flags";
|
|
485
488
|
accessLevel: "accessLevel";
|
|
486
489
|
ids: "ids";
|
|
487
490
|
}>;
|
|
@@ -630,6 +633,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
630
633
|
declaredBy: "declaredBy";
|
|
631
634
|
registeredIn: "registeredIn";
|
|
632
635
|
registeredBy: "registeredBy";
|
|
636
|
+
flags: "flags";
|
|
633
637
|
accessLevel: "accessLevel";
|
|
634
638
|
ids: "ids";
|
|
635
639
|
}>;
|
|
@@ -789,6 +793,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
789
793
|
declaredBy: "declaredBy";
|
|
790
794
|
registeredIn: "registeredIn";
|
|
791
795
|
registeredBy: "registeredBy";
|
|
796
|
+
flags: "flags";
|
|
792
797
|
accessLevel: "accessLevel";
|
|
793
798
|
ids: "ids";
|
|
794
799
|
}>;
|
|
@@ -937,6 +942,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
937
942
|
declaredBy: "declaredBy";
|
|
938
943
|
registeredIn: "registeredIn";
|
|
939
944
|
registeredBy: "registeredBy";
|
|
945
|
+
flags: "flags";
|
|
940
946
|
accessLevel: "accessLevel";
|
|
941
947
|
ids: "ids";
|
|
942
948
|
}>;
|
|
@@ -338,6 +338,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
338
338
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
339
339
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
340
340
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
341
|
+
readonly SEALED: "sealed";
|
|
341
342
|
}>]>, z.ZodString]>>>;
|
|
342
343
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
343
344
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -345,6 +346,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
345
346
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
346
347
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
347
348
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
349
|
+
readonly SEALED: "sealed";
|
|
348
350
|
}>]>, z.ZodString]>>>;
|
|
349
351
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
350
352
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -352,6 +354,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
352
354
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
353
355
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
354
356
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
357
|
+
readonly SEALED: "sealed";
|
|
355
358
|
}>]>, z.ZodString]>>>;
|
|
356
359
|
}, z.core.$strip>>>;
|
|
357
360
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -656,6 +659,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
656
659
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
657
660
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
658
661
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
662
|
+
readonly SEALED: "sealed";
|
|
659
663
|
}>]>, z.ZodString]>>>;
|
|
660
664
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
661
665
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -663,6 +667,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
663
667
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
664
668
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
665
669
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
670
|
+
readonly SEALED: "sealed";
|
|
666
671
|
}>]>, z.ZodString]>>>;
|
|
667
672
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
668
673
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -670,6 +675,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
670
675
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
671
676
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
672
677
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
678
|
+
readonly SEALED: "sealed";
|
|
673
679
|
}>]>, z.ZodString]>>>;
|
|
674
680
|
}, z.core.$strip>>>;
|
|
675
681
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -973,6 +979,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
973
979
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
974
980
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
975
981
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
982
|
+
readonly SEALED: "sealed";
|
|
976
983
|
}>]>, z.ZodString]>>>;
|
|
977
984
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
978
985
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -980,6 +987,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
980
987
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
981
988
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
982
989
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
990
|
+
readonly SEALED: "sealed";
|
|
983
991
|
}>]>, z.ZodString]>>>;
|
|
984
992
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
985
993
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -987,6 +995,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
987
995
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
988
996
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
989
997
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
998
|
+
readonly SEALED: "sealed";
|
|
990
999
|
}>]>, z.ZodString]>>>;
|
|
991
1000
|
}, z.core.$strip>>>;
|
|
992
1001
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1290,6 +1299,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1290
1299
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1291
1300
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1292
1301
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1302
|
+
readonly SEALED: "sealed";
|
|
1293
1303
|
}>]>, z.ZodString]>>>;
|
|
1294
1304
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1295
1305
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1297,6 +1307,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1297
1307
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1298
1308
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1299
1309
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1310
|
+
readonly SEALED: "sealed";
|
|
1300
1311
|
}>]>, z.ZodString]>>>;
|
|
1301
1312
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1302
1313
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1304,6 +1315,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1304
1315
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1305
1316
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1306
1317
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1318
|
+
readonly SEALED: "sealed";
|
|
1307
1319
|
}>]>, z.ZodString]>>>;
|
|
1308
1320
|
}, z.core.$strip>>>;
|
|
1309
1321
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1606,6 +1618,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1606
1618
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1607
1619
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1608
1620
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1621
|
+
readonly SEALED: "sealed";
|
|
1609
1622
|
}>]>, z.ZodString]>>>;
|
|
1610
1623
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1611
1624
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1613,6 +1626,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1613
1626
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1614
1627
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1615
1628
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1629
|
+
readonly SEALED: "sealed";
|
|
1616
1630
|
}>]>, z.ZodString]>>>;
|
|
1617
1631
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1618
1632
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1620,6 +1634,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1620
1634
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1621
1635
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1622
1636
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1637
|
+
readonly SEALED: "sealed";
|
|
1623
1638
|
}>]>, z.ZodString]>>>;
|
|
1624
1639
|
}, z.core.$strip>>>;
|
|
1625
1640
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1923,6 +1938,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1923
1938
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1924
1939
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1925
1940
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1941
|
+
readonly SEALED: "sealed";
|
|
1926
1942
|
}>]>, z.ZodString]>>>;
|
|
1927
1943
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1928
1944
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1930,6 +1946,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1930
1946
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1931
1947
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1932
1948
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1949
|
+
readonly SEALED: "sealed";
|
|
1933
1950
|
}>]>, z.ZodString]>>>;
|
|
1934
1951
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1935
1952
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -1937,6 +1954,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1937
1954
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1938
1955
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1939
1956
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1957
|
+
readonly SEALED: "sealed";
|
|
1940
1958
|
}>]>, z.ZodString]>>>;
|
|
1941
1959
|
}, z.core.$strip>>>;
|
|
1942
1960
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod/v4';
|
|
2
|
+
export { ContainsFlags } from './Flag';
|
|
2
3
|
export declare const EventIndex: z.ZodObject<{
|
|
3
4
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
4
5
|
type: z.ZodString;
|
|
@@ -70,6 +71,7 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
70
71
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
71
72
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
72
73
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
74
|
+
readonly SEALED: "sealed";
|
|
73
75
|
}>]>, z.ZodString]>>;
|
|
74
76
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldValue, unknown>>>;
|
|
75
77
|
}, z.core.$strip>;
|
|
@@ -123,29 +125,6 @@ export declare const Range: z.ZodObject<{
|
|
|
123
125
|
gte: z.ZodString;
|
|
124
126
|
lte: z.ZodString;
|
|
125
127
|
}, z.core.$strip>;
|
|
126
|
-
export declare const ContainsFlags: z.ZodObject<{
|
|
127
|
-
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
128
|
-
readonly INCOMPLETE: "incomplete";
|
|
129
|
-
readonly REJECTED: "rejected";
|
|
130
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
131
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
132
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
133
|
-
}>]>, z.ZodString]>>>;
|
|
134
|
-
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
135
|
-
readonly INCOMPLETE: "incomplete";
|
|
136
|
-
readonly REJECTED: "rejected";
|
|
137
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
138
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
139
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
140
|
-
}>]>, z.ZodString]>>>;
|
|
141
|
-
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
142
|
-
readonly INCOMPLETE: "incomplete";
|
|
143
|
-
readonly REJECTED: "rejected";
|
|
144
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
145
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
146
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
147
|
-
}>]>, z.ZodString]>>>;
|
|
148
|
-
}, z.core.$strip>;
|
|
149
128
|
export declare const Within: z.ZodObject<{
|
|
150
129
|
type: z.ZodLiteral<"within">;
|
|
151
130
|
location: z.ZodString;
|
|
@@ -316,6 +295,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
316
295
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
317
296
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
318
297
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
298
|
+
readonly SEALED: "sealed";
|
|
319
299
|
}>]>, z.ZodString]>>>;
|
|
320
300
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
321
301
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -323,6 +303,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
323
303
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
324
304
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
325
305
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
306
|
+
readonly SEALED: "sealed";
|
|
326
307
|
}>]>, z.ZodString]>>>;
|
|
327
308
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
328
309
|
readonly INCOMPLETE: "incomplete";
|
|
@@ -330,6 +311,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
330
311
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
331
312
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
332
313
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
314
|
+
readonly SEALED: "sealed";
|
|
333
315
|
}>]>, z.ZodString]>>>;
|
|
334
316
|
}, z.core.$strip>>>;
|
|
335
317
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -354,5 +336,4 @@ export declare const SearchQuery: z.ZodObject<{
|
|
|
354
336
|
export type SearchQuery = z.infer<typeof SearchQuery>;
|
|
355
337
|
export type QueryType = z.infer<typeof QueryType>;
|
|
356
338
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
|
357
|
-
export {};
|
|
358
339
|
//# sourceMappingURL=EventIndex.d.ts.map
|
|
@@ -150,6 +150,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
150
150
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
151
151
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
152
152
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
153
|
+
readonly SEALED: "sealed";
|
|
153
154
|
}>]>, z.ZodString]>>;
|
|
154
155
|
}, z.core.$strip>;
|
|
155
156
|
export type EventMetadata = z.infer<typeof EventMetadata>;
|
|
@@ -159,6 +160,7 @@ export declare const EventMetadataKeys: z.ZodEnum<{
|
|
|
159
160
|
type: "type";
|
|
160
161
|
updatedAt: "updatedAt";
|
|
161
162
|
placeOfEvent: "placeOfEvent";
|
|
163
|
+
flags: "flags";
|
|
162
164
|
createdByUserType: "createdByUserType";
|
|
163
165
|
createdAt: "createdAt";
|
|
164
166
|
createdBy: "createdBy";
|
|
@@ -171,7 +173,6 @@ export declare const EventMetadataKeys: z.ZodEnum<{
|
|
|
171
173
|
updatedByUserRole: "updatedByUserRole";
|
|
172
174
|
updatedAtLocation: "updatedAtLocation";
|
|
173
175
|
updatedBy: "updatedBy";
|
|
174
|
-
flags: "flags";
|
|
175
176
|
}>;
|
|
176
177
|
export type EventMetadataKeys = z.infer<typeof EventMetadataKeys>;
|
|
177
178
|
/**
|
|
@@ -1926,6 +1926,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1926
1926
|
declaredBy: "declaredBy";
|
|
1927
1927
|
registeredIn: "registeredIn";
|
|
1928
1928
|
registeredBy: "registeredBy";
|
|
1929
|
+
flags: "flags";
|
|
1929
1930
|
accessLevel: "accessLevel";
|
|
1930
1931
|
ids: "ids";
|
|
1931
1932
|
}>;
|
|
@@ -2055,6 +2056,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2055
2056
|
declaredBy: "declaredBy";
|
|
2056
2057
|
registeredIn: "registeredIn";
|
|
2057
2058
|
registeredBy: "registeredBy";
|
|
2059
|
+
flags: "flags";
|
|
2058
2060
|
accessLevel: "accessLevel";
|
|
2059
2061
|
ids: "ids";
|
|
2060
2062
|
}>;
|
|
@@ -2255,6 +2257,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2255
2257
|
declaredBy: "declaredBy";
|
|
2256
2258
|
registeredIn: "registeredIn";
|
|
2257
2259
|
registeredBy: "registeredBy";
|
|
2260
|
+
flags: "flags";
|
|
2258
2261
|
accessLevel: "accessLevel";
|
|
2259
2262
|
ids: "ids";
|
|
2260
2263
|
}>;
|
|
@@ -2370,6 +2373,7 @@ declare const Office: z.ZodObject<{
|
|
|
2370
2373
|
declaredBy: "declaredBy";
|
|
2371
2374
|
registeredIn: "registeredIn";
|
|
2372
2375
|
registeredBy: "registeredBy";
|
|
2376
|
+
flags: "flags";
|
|
2373
2377
|
accessLevel: "accessLevel";
|
|
2374
2378
|
ids: "ids";
|
|
2375
2379
|
}>;
|
|
@@ -2571,6 +2575,7 @@ declare const Address: z.ZodObject<{
|
|
|
2571
2575
|
declaredBy: "declaredBy";
|
|
2572
2576
|
registeredIn: "registeredIn";
|
|
2573
2577
|
registeredBy: "registeredBy";
|
|
2578
|
+
flags: "flags";
|
|
2574
2579
|
accessLevel: "accessLevel";
|
|
2575
2580
|
ids: "ids";
|
|
2576
2581
|
}>;
|