@opencrvs/toolkit 1.8.0-rc.fa49ae3 → 1.8.0-rc.fa564ca
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/commons/api/router.d.ts +381 -6649
- package/dist/commons/conditionals/conditionals.d.ts +0 -4
- package/dist/commons/conditionals/validate.d.ts +0 -6
- package/dist/commons/events/ActionConfig.d.ts +6326 -18678
- package/dist/commons/events/ActionDocument.d.ts +204 -1713
- package/dist/commons/events/ActionInput.d.ts +180 -1380
- package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -75
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
- package/dist/commons/events/Constants.d.ts +0 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -26
- package/dist/commons/events/Draft.d.ts +16 -117
- package/dist/commons/events/EventConfig.d.ts +2487 -8364
- package/dist/commons/events/EventDocument.d.ts +152 -1096
- package/dist/commons/events/EventIndex.d.ts +17 -283
- package/dist/commons/events/EventMetadata.d.ts +35 -38
- package/dist/commons/events/FieldConfig.d.ts +771 -1597
- package/dist/commons/events/FieldType.d.ts +1 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
- package/dist/commons/events/FieldValue.d.ts +5 -41
- package/dist/commons/events/FormConfig.d.ts +2444 -7640
- package/dist/commons/events/PageConfig.d.ts +1620 -2896
- package/dist/commons/events/SummaryConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +24 -346
- package/dist/commons/events/defineConfig.d.ts +14 -960
- package/dist/commons/events/field.d.ts +0 -4
- package/dist/commons/events/test.utils.d.ts +38 -124
- package/dist/commons/events/utils.d.ts +8 -9659
- package/dist/conditionals/index.js +1 -18
- package/dist/events/index.js +413 -691
- package/package.json +1 -1
@@ -29,6 +29,11 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
29
29
|
description: string;
|
30
30
|
defaultMessage: string;
|
31
31
|
}>;
|
32
|
+
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
33
|
+
id: string;
|
34
|
+
description: string;
|
35
|
+
defaultMessage: string;
|
36
|
+
}>>;
|
32
37
|
}>, "strip", z.ZodTypeAny, {
|
33
38
|
id: string;
|
34
39
|
value: TranslationConfig;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
|
-
export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
4
|
-
export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
3
|
+
export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"];
|
4
|
+
export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
|
5
5
|
export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
|
6
6
|
export declare const WorkqueueColumnValue: z.ZodObject<{
|
7
|
-
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
7
|
+
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
9
|
-
$event: "type" | "id" | "status" | "title" | "
|
9
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
10
10
|
}, {
|
11
|
-
$event: "type" | "id" | "status" | "title" | "
|
11
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
12
12
|
}>;
|
13
13
|
export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
|
14
14
|
/**
|
@@ -21,20 +21,20 @@ export declare const WorkqueueColumn: z.ZodObject<{
|
|
21
21
|
defaultMessage: string;
|
22
22
|
}>;
|
23
23
|
value: z.ZodObject<{
|
24
|
-
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
24
|
+
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
26
|
-
$event: "type" | "id" | "status" | "title" | "
|
26
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
27
27
|
}, {
|
28
|
-
$event: "type" | "id" | "status" | "title" | "
|
28
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
29
29
|
}>;
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
31
31
|
value: {
|
32
|
-
$event: "type" | "id" | "status" | "title" | "
|
32
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
33
33
|
};
|
34
34
|
label: TranslationConfig;
|
35
35
|
}, {
|
36
36
|
value: {
|
37
|
-
$event: "type" | "id" | "status" | "title" | "
|
37
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
38
38
|
};
|
39
39
|
label: {
|
40
40
|
id: string;
|
@@ -46,7 +46,7 @@ export type WorkqueueColumn = z.infer<typeof WorkqueueColumn>;
|
|
46
46
|
export type WorkqueueColumnInput = z.infer<typeof WorkqueueColumn>;
|
47
47
|
export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColumnInput[]): {
|
48
48
|
value: {
|
49
|
-
$event: "type" | "id" | "status" | "title" | "
|
49
|
+
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
50
50
|
};
|
51
51
|
label: TranslationConfig;
|
52
52
|
}[];
|