@opencrvs/toolkit 1.8.1-rc.faf1965 → 1.8.1-rc.fbb3bff
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 +0 -4
- package/dist/commons/events/EventIndex.d.ts +0 -3
- package/dist/commons/events/EventMetadata.d.ts +0 -3
- package/dist/events/index.js +1 -2
- package/package.json +1 -1
- 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
@@ -7493,7 +7493,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7493
7493
|
dateOfEvent?: string | null | undefined;
|
7494
7494
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7495
7495
|
updatedBy?: string | null | undefined;
|
7496
|
-
modifiedAt?: string | undefined;
|
7497
7496
|
}[];
|
7498
7497
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7499
7498
|
}>;
|
@@ -7589,7 +7588,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7589
7588
|
dateOfEvent?: string | null | undefined;
|
7590
7589
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7591
7590
|
updatedBy?: string | null | undefined;
|
7592
|
-
modifiedAt?: string | undefined;
|
7593
7591
|
}[];
|
7594
7592
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7595
7593
|
}>;
|
@@ -10807,7 +10805,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10807
10805
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
10808
10806
|
input: {
|
10809
10807
|
id: string;
|
10810
|
-
externalId: string | null;
|
10811
10808
|
name: string;
|
10812
10809
|
partOf: string | null;
|
10813
10810
|
}[];
|
@@ -10818,7 +10815,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10818
10815
|
input: void;
|
10819
10816
|
output: {
|
10820
10817
|
id: string & import("zod").BRAND<"UUID">;
|
10821
|
-
externalId: string | null;
|
10822
10818
|
name: string;
|
10823
10819
|
partOf: (string & import("zod").BRAND<"UUID">) | null;
|
10824
10820
|
}[];
|
@@ -117,7 +117,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
117
117
|
readonly REJECTED: "rejected";
|
118
118
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
119
119
|
}>]>, "many">;
|
120
|
-
modifiedAt: z.ZodOptional<z.ZodString>;
|
121
120
|
}, {
|
122
121
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
123
122
|
start: z.ZodString;
|
@@ -353,7 +352,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
353
352
|
dateOfEvent?: string | null | undefined;
|
354
353
|
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
355
354
|
updatedBy?: string | null | undefined;
|
356
|
-
modifiedAt?: string | undefined;
|
357
355
|
}, {
|
358
356
|
type: string;
|
359
357
|
id: string;
|
@@ -441,7 +439,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
441
439
|
dateOfEvent?: string | null | undefined;
|
442
440
|
updatedAtLocation?: string | null | undefined;
|
443
441
|
updatedBy?: string | null | undefined;
|
444
|
-
modifiedAt?: string | undefined;
|
445
442
|
}>;
|
446
443
|
export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
447
444
|
type: z.ZodString;
|
@@ -297,7 +297,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
297
297
|
readonly REJECTED: "rejected";
|
298
298
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
299
299
|
}>]>, "many">;
|
300
|
-
modifiedAt: z.ZodOptional<z.ZodString>;
|
301
300
|
}, "strip", z.ZodTypeAny, {
|
302
301
|
type: string;
|
303
302
|
id: string & z.BRAND<"UUID">;
|
@@ -336,7 +335,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
336
335
|
dateOfEvent?: string | null | undefined;
|
337
336
|
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
338
337
|
updatedBy?: string | null | undefined;
|
339
|
-
modifiedAt?: string | undefined;
|
340
338
|
}, {
|
341
339
|
type: string;
|
342
340
|
id: string;
|
@@ -375,7 +373,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
375
373
|
dateOfEvent?: string | null | undefined;
|
376
374
|
updatedAtLocation?: string | null | undefined;
|
377
375
|
updatedBy?: string | null | undefined;
|
378
|
-
modifiedAt?: string | undefined;
|
379
376
|
}>;
|
380
377
|
export type EventMetadata = z.infer<typeof EventMetadata>;
|
381
378
|
export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
|
package/dist/events/index.js
CHANGED
@@ -3416,8 +3416,7 @@ var EventMetadata = import_zod23.z.object({
|
|
3416
3416
|
trackingId: import_zod23.z.string().describe(
|
3417
3417
|
"System-generated tracking ID used by informants or registrars to look up the event."
|
3418
3418
|
),
|
3419
|
-
flags: import_zod23.z.array(Flag)
|
3420
|
-
modifiedAt: import_zod23.z.string().optional()
|
3419
|
+
flags: import_zod23.z.array(Flag)
|
3421
3420
|
});
|
3422
3421
|
var EventMetadataKeysArray = [
|
3423
3422
|
"id",
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
"@opencrvs/commons/events": ["../commons/src/events/index.ts"]
|
20
20
|
}
|
21
21
|
},
|
22
|
-
"references": [{ "path": "../commons" }],
|
22
|
+
"references": [{ "path": "../commons/tsconfig-commonjs.json" }],
|
23
23
|
"include": ["src/**/*.ts"],
|
24
24
|
"exclude": ["**/node_modules/**", "dist"]
|
25
25
|
}
|