@opencrvs/toolkit 1.8.0-rc.f7a451a → 1.8.0-rc.f7aaf07
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 +14932 -5124
- package/dist/commons/conditionals/conditionals.d.ts +6 -2
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +32976 -12647
- package/dist/commons/events/ActionDocument.d.ts +2005 -309
- package/dist/commons/events/ActionInput.d.ts +1455 -183
- package/dist/commons/events/ActionType.d.ts +6 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +314 -254
- package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
- package/dist/commons/events/Draft.d.ts +127 -21
- package/dist/commons/events/EventConfig.d.ts +22415 -12245
- package/dist/commons/events/EventDocument.d.ts +1308 -232
- package/dist/commons/events/EventIndex.d.ts +616 -423
- package/dist/commons/events/EventMetadata.d.ts +104 -81
- package/dist/commons/events/FieldConfig.d.ts +2082 -1191
- package/dist/commons/events/FieldType.d.ts +4 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
- package/dist/commons/events/FieldValue.d.ts +43 -5
- package/dist/commons/events/FormConfig.d.ts +10259 -4769
- package/dist/commons/events/PageConfig.d.ts +3480 -2134
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +17 -6
- package/dist/commons/events/WorkqueueConfig.d.ts +2589 -1640
- package/dist/commons/events/defineConfig.d.ts +2439 -679
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +10 -10
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +158 -40
- package/dist/commons/events/utils.d.ts +10021 -326
- package/dist/conditionals/index.js +26 -6
- package/dist/events/index.js +2401 -1217
- package/dist/scopes/index.d.ts +6 -2
- package/dist/scopes/index.js +70 -17
- package/package.json +1 -1
@@ -29,11 +29,6 @@ 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
|
-
}>>;
|
37
32
|
}>, "strip", z.ZodTypeAny, {
|
38
33
|
id: string;
|
39
34
|
value: TranslationConfig;
|
@@ -1,5 +1,16 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
|
+
export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"];
|
4
|
+
export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
5
|
+
export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
|
6
|
+
export declare const WorkqueueColumnValue: z.ZodObject<{
|
7
|
+
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
10
|
+
}, {
|
11
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
12
|
+
}>;
|
13
|
+
export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
|
3
14
|
/**
|
4
15
|
* Configuration for column header and value of cell of workqueue.
|
5
16
|
*/
|
@@ -10,20 +21,20 @@ export declare const WorkqueueColumn: z.ZodObject<{
|
|
10
21
|
defaultMessage: string;
|
11
22
|
}>;
|
12
23
|
value: z.ZodObject<{
|
13
|
-
$event: z.ZodEnum<["id", "
|
24
|
+
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
14
25
|
}, "strip", z.ZodTypeAny, {
|
15
|
-
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
26
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
16
27
|
}, {
|
17
|
-
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
28
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
18
29
|
}>;
|
19
30
|
}, "strip", z.ZodTypeAny, {
|
20
31
|
value: {
|
21
|
-
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
32
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
22
33
|
};
|
23
34
|
label: TranslationConfig;
|
24
35
|
}, {
|
25
36
|
value: {
|
26
|
-
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
37
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
27
38
|
};
|
28
39
|
label: {
|
29
40
|
id: string;
|
@@ -35,7 +46,7 @@ export type WorkqueueColumn = z.infer<typeof WorkqueueColumn>;
|
|
35
46
|
export type WorkqueueColumnInput = z.infer<typeof WorkqueueColumn>;
|
36
47
|
export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColumnInput[]): {
|
37
48
|
value: {
|
38
|
-
$event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
49
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
39
50
|
};
|
40
51
|
label: TranslationConfig;
|
41
52
|
}[];
|