@opencrvs/toolkit 1.8.0-rc.f7e4aad → 1.8.0-rc.f807e0d
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 +1822 -10136
- package/dist/commons/conditionals/conditionals.d.ts +1 -12
- package/dist/commons/conditionals/validate.d.ts +8 -0
- package/dist/commons/events/ActionConfig.d.ts +15960 -3820
- package/dist/commons/events/ActionDocument.d.ts +1951 -904
- package/dist/commons/events/ActionInput.d.ts +1680 -780
- package/dist/commons/events/ActionType.d.ts +0 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +113 -68
- package/dist/commons/events/CompositeFieldValue.d.ts +9 -9
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1215 -813
- package/dist/commons/events/Draft.d.ts +144 -72
- package/dist/commons/events/EventConfig.d.ts +6459 -1250
- package/dist/commons/events/EventDocument.d.ts +1236 -588
- package/dist/commons/events/EventIndex.d.ts +609 -268
- package/dist/commons/events/EventMetadata.d.ts +9 -7
- package/dist/commons/events/FieldConfig.d.ts +1635 -67
- package/dist/commons/events/FieldType.d.ts +7 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +57 -25
- package/dist/commons/events/FieldValue.d.ts +45 -16
- package/dist/commons/events/FormConfig.d.ts +6488 -1370
- package/dist/commons/events/PageConfig.d.ts +1380 -70
- package/dist/commons/events/User.d.ts +9 -3
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +7 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +2459 -1519
- package/dist/commons/events/defineConfig.d.ts +971 -58
- package/dist/commons/events/event.d.ts +19 -19
- package/dist/commons/events/field.d.ts +17 -1
- package/dist/commons/events/test.utils.d.ts +45 -20
- package/dist/commons/events/utils.d.ts +3323 -267
- package/dist/conditionals/index.js +23 -39
- package/dist/events/index.js +1208 -928
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +6 -4
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -15,7 +15,9 @@ export declare const User: z.ZodObject<{
|
|
15
15
|
family: string;
|
16
16
|
}>, "many">;
|
17
17
|
role: z.ZodString;
|
18
|
-
|
18
|
+
avatar: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
19
|
+
signature: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
20
|
+
primaryOfficeId: z.ZodString;
|
19
21
|
}, "strip", z.ZodTypeAny, {
|
20
22
|
id: string;
|
21
23
|
name: {
|
@@ -24,7 +26,9 @@ export declare const User: z.ZodObject<{
|
|
24
26
|
family: string;
|
25
27
|
}[];
|
26
28
|
role: string;
|
27
|
-
|
29
|
+
primaryOfficeId: string;
|
30
|
+
signature?: string | undefined;
|
31
|
+
avatar?: string | undefined;
|
28
32
|
}, {
|
29
33
|
id: string;
|
30
34
|
name: {
|
@@ -33,7 +37,9 @@ export declare const User: z.ZodObject<{
|
|
33
37
|
family: string;
|
34
38
|
}[];
|
35
39
|
role: string;
|
36
|
-
|
40
|
+
primaryOfficeId: string;
|
41
|
+
signature?: string | undefined;
|
42
|
+
avatar?: string | undefined;
|
37
43
|
}>;
|
38
44
|
export type User = z.infer<typeof User>;
|
39
45
|
//# sourceMappingURL=User.d.ts.map
|
@@ -6,9 +6,9 @@ export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
|
|
6
6
|
export declare const WorkqueueColumnValue: z.ZodObject<{
|
7
7
|
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
9
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
9
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
10
10
|
}, {
|
11
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
11
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
12
12
|
}>;
|
13
13
|
export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
|
14
14
|
/**
|
@@ -23,18 +23,18 @@ export declare const WorkqueueColumn: z.ZodObject<{
|
|
23
23
|
value: z.ZodObject<{
|
24
24
|
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
26
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
26
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
27
27
|
}, {
|
28
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
28
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
29
29
|
}>;
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
31
31
|
value: {
|
32
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
32
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
33
33
|
};
|
34
34
|
label: TranslationConfig;
|
35
35
|
}, {
|
36
36
|
value: {
|
37
|
-
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
37
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "
|
49
|
+
$event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "dateOfEvent" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
50
50
|
};
|
51
51
|
label: TranslationConfig;
|
52
52
|
}[];
|