@opencrvs/toolkit
Advanced tools
Comparing version 0.0.17-events to 0.0.17-riku-events
import { JSONSchemaType } from 'ajv'; | ||
import { z } from 'zod'; | ||
import { ActionFormData, EventDocument } from '../events'; | ||
export declare function Conditional(): z.ZodType<JSONSchema>; | ||
export declare function Conditional(): any; | ||
export type ConditionalParameters = { | ||
@@ -6,0 +5,0 @@ $now: string; |
@@ -1,4 +0,4 @@ | ||
import { Clause } from '@opencrvs/commons/events'; | ||
export declare function and(clauses: Clause[]): Clause; | ||
export declare function or(clauses: Clause[]): Clause; | ||
import { ClauseInput } from '@opencrvs/commons/events'; | ||
export declare function and(clauses: ClauseInput[]): ClauseInput; | ||
export declare function or(clauses: ClauseInput[]): ClauseInput; | ||
export declare function field(fieldId: string): { | ||
@@ -5,0 +5,0 @@ fuzzyMatches: (options?: { |
@@ -17,3 +17,3 @@ import { z } from 'zod'; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -25,3 +25,4 @@ createdAtLocation: z.ZodString; | ||
type: "CREATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -32,7 +33,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "CREATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -43,4 +45,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -64,3 +64,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -72,3 +72,4 @@ createdAtLocation: z.ZodString; | ||
type: "CREATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -79,7 +80,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "CREATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -90,4 +92,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -110,3 +110,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -118,3 +118,4 @@ createdAtLocation: z.ZodString; | ||
type: "VALIDATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -125,7 +126,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "VALIDATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -136,4 +138,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -156,3 +156,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -164,3 +164,4 @@ createdAtLocation: z.ZodString; | ||
type: "NOTIFY"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -171,7 +172,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "NOTIFY"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -182,4 +184,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -202,3 +202,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -220,3 +220,4 @@ createdAtLocation: z.ZodString; | ||
type: "REGISTER"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -227,4 +228,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -237,2 +237,4 @@ identifiers: { | ||
type: "REGISTER"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -243,4 +245,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -267,3 +267,3 @@ identifiers: { | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -275,3 +275,4 @@ createdAtLocation: z.ZodString; | ||
type: "DECLARE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -282,7 +283,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "DECLARE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -293,4 +295,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -313,3 +313,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -322,3 +322,4 @@ createdAtLocation: z.ZodString; | ||
type: "ASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -329,4 +330,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -336,2 +336,4 @@ assignedTo: string; | ||
type: "ASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -342,4 +344,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -363,3 +363,3 @@ assignedTo: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -371,3 +371,4 @@ createdAtLocation: z.ZodString; | ||
type: "UNASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -378,7 +379,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "UNASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -389,4 +391,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -409,3 +409,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -417,3 +417,4 @@ createdAtLocation: z.ZodString; | ||
type: "CUSTOM"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -424,7 +425,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "CUSTOM"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -435,4 +437,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -460,2 +460,3 @@ draft?: boolean | undefined; | ||
id: string; | ||
systemRole: string; | ||
name: { | ||
@@ -466,5 +467,5 @@ use: string; | ||
}[]; | ||
systemRole: string; | ||
}, { | ||
id: string; | ||
systemRole: string; | ||
name: { | ||
@@ -475,3 +476,2 @@ use: string; | ||
}[]; | ||
systemRole: string; | ||
}>; | ||
@@ -478,0 +478,0 @@ export type ResolvedUser = z.infer<typeof ResolvedUser>; |
@@ -18,3 +18,3 @@ import { z } from 'zod'; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -34,3 +34,3 @@ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>; | ||
type: "REGISTER"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -41,3 +41,3 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
identifiers: { | ||
@@ -49,2 +49,3 @@ trackingId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -55,3 +56,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
identifiers: { | ||
@@ -81,3 +81,3 @@ trackingId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -88,3 +88,3 @@ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>; | ||
type: "VALIDATE"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -95,6 +95,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
eventId: string; | ||
duplicates: string[]; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -105,3 +106,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
eventId: string; | ||
@@ -129,3 +129,3 @@ duplicates: string[]; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -136,3 +136,3 @@ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>; | ||
type: "NOTIFY"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -143,6 +143,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -153,3 +154,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
createdAtLocation: string; | ||
@@ -177,3 +177,3 @@ eventId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -183,3 +183,3 @@ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>; | ||
type: "DECLARE"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -190,5 +190,6 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -199,3 +200,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
eventId: string; | ||
@@ -230,3 +230,3 @@ type?: "DECLARE" | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -237,3 +237,3 @@ type: z.ZodDefault<z.ZodLiteral<"CREATE">>; | ||
type: "CREATE"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -244,6 +244,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -254,3 +255,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
createdAtLocation: string; | ||
@@ -276,3 +276,3 @@ eventId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -283,3 +283,3 @@ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>; | ||
type: "VALIDATE"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -290,6 +290,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
eventId: string; | ||
duplicates: string[]; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -300,3 +301,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
eventId: string; | ||
@@ -322,3 +322,3 @@ duplicates: string[]; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -338,3 +338,3 @@ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>; | ||
type: "REGISTER"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -345,3 +345,3 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
identifiers: { | ||
@@ -353,2 +353,3 @@ trackingId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -359,3 +360,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
identifiers: { | ||
@@ -384,3 +384,3 @@ trackingId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -391,3 +391,3 @@ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>; | ||
type: "NOTIFY"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -398,6 +398,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -408,3 +409,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
createdAtLocation: string; | ||
@@ -430,3 +430,3 @@ eventId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -436,3 +436,3 @@ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>; | ||
type: "DECLARE"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -443,5 +443,6 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -452,3 +453,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
eventId: string; | ||
@@ -473,3 +473,3 @@ type?: "DECLARE" | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -480,3 +480,3 @@ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>; | ||
type: "ASSIGN"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -487,6 +487,7 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
assignedTo: string; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -497,3 +498,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
assignedTo: string; | ||
@@ -519,3 +519,3 @@ eventId: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
}, { | ||
@@ -525,3 +525,3 @@ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>; | ||
type: "UNASSIGN"; | ||
draft: boolean; | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -532,5 +532,6 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
draft: boolean; | ||
eventId: string; | ||
}, { | ||
transactionId: string; | ||
data: Record<string, string | { | ||
@@ -541,3 +542,2 @@ type: string; | ||
} | null>; | ||
transactionId: string; | ||
eventId: string; | ||
@@ -544,0 +544,0 @@ type?: "UNASSIGN" | undefined; |
@@ -183,3 +183,2 @@ import { z } from 'zod'; | ||
export declare const Clause: z.ZodType<ClauseOutput, z.ZodTypeDef, ClauseInput>; | ||
export type Clause = z.infer<typeof Clause>; | ||
export declare const DeduplicationConfig: z.ZodObject<{ | ||
@@ -193,8 +192,8 @@ id: z.ZodString; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -206,4 +205,4 @@ query: z.ZodType<ClauseOutput, z.ZodTypeDef, ClauseInput>; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -215,4 +214,4 @@ query: ClauseOutput; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -219,0 +218,0 @@ query: ClauseInput; |
@@ -23,3 +23,3 @@ import { z } from 'zod'; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -31,3 +31,4 @@ createdAtLocation: z.ZodString; | ||
type: "CREATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -38,7 +39,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "CREATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -49,4 +51,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -69,3 +69,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -77,3 +77,4 @@ createdAtLocation: z.ZodString; | ||
type: "VALIDATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -84,7 +85,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "VALIDATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -95,4 +97,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -115,3 +115,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -123,3 +123,4 @@ createdAtLocation: z.ZodString; | ||
type: "NOTIFY"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -130,7 +131,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "NOTIFY"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -141,4 +143,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -161,3 +161,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -179,3 +179,4 @@ createdAtLocation: z.ZodString; | ||
type: "REGISTER"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -186,4 +187,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -196,2 +196,4 @@ identifiers: { | ||
type: "REGISTER"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -202,4 +204,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -226,3 +226,3 @@ identifiers: { | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -234,3 +234,4 @@ createdAtLocation: z.ZodString; | ||
type: "DECLARE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -241,7 +242,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "DECLARE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -252,4 +254,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -272,3 +272,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -281,3 +281,4 @@ createdAtLocation: z.ZodString; | ||
type: "ASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -288,4 +289,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -295,2 +295,4 @@ assignedTo: string; | ||
type: "ASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -301,4 +303,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -322,3 +322,3 @@ assignedTo: string; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -330,3 +330,4 @@ createdAtLocation: z.ZodString; | ||
type: "UNASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -337,7 +338,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "UNASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -348,4 +350,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -368,3 +368,3 @@ draft?: boolean | undefined; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>>; | ||
}>>, z.ZodString]>>; | ||
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
@@ -376,3 +376,4 @@ createdAtLocation: z.ZodString; | ||
type: "CUSTOM"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -383,7 +384,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
}, { | ||
type: "CUSTOM"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -394,4 +396,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -401,4 +401,4 @@ draft?: boolean | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
type: string; | ||
id: string; | ||
transactionId: string; | ||
@@ -409,3 +409,4 @@ createdAt: string; | ||
type: "CREATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -416,8 +417,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
} | { | ||
type: "VALIDATE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -428,8 +429,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
} | { | ||
type: "NOTIFY"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -440,8 +441,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
} | { | ||
type: "REGISTER"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -452,4 +453,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -462,3 +462,4 @@ identifiers: { | ||
type: "DECLARE"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -469,8 +470,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
} | { | ||
type: "ASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -481,4 +482,3 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
@@ -488,3 +488,4 @@ assignedTo: string; | ||
type: "UNASSIGN"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -495,8 +496,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
} | { | ||
type: "CUSTOM"; | ||
draft: boolean; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -507,9 +508,8 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
draft: boolean; | ||
createdAtLocation: string; | ||
})[]; | ||
}, { | ||
id: string; | ||
type: string; | ||
id: string; | ||
transactionId: string; | ||
@@ -520,2 +520,4 @@ createdAt: string; | ||
type: "CREATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -526,4 +528,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -533,2 +533,4 @@ draft?: boolean | undefined; | ||
type: "VALIDATE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -539,4 +541,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -546,2 +546,4 @@ draft?: boolean | undefined; | ||
type: "NOTIFY"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -552,4 +554,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -559,2 +559,4 @@ draft?: boolean | undefined; | ||
type: "REGISTER"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -565,4 +567,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -576,2 +576,4 @@ identifiers: { | ||
type: "DECLARE"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -582,4 +584,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -589,2 +589,4 @@ draft?: boolean | undefined; | ||
type: "ASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -595,4 +597,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -603,2 +603,4 @@ assignedTo: string; | ||
type: "UNASSIGN"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -609,4 +611,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -616,2 +616,4 @@ draft?: boolean | undefined; | ||
type: "CUSTOM"; | ||
createdAt: string; | ||
createdBy: string; | ||
data: Record<string, string | { | ||
@@ -622,4 +624,2 @@ type: string; | ||
} | null>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
@@ -626,0 +626,0 @@ draft?: boolean | undefined; |
@@ -22,6 +22,6 @@ import { z } from 'zod'; | ||
}>, "strip", z.ZodTypeAny, { | ||
data: Record<string, any>; | ||
id: string; | ||
type: string; | ||
id: string; | ||
status: "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED"; | ||
data: Record<string, any>; | ||
status: "DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED"; | ||
createdAt: string; | ||
@@ -34,6 +34,6 @@ createdBy: string; | ||
}, { | ||
data: Record<string, any>; | ||
id: string; | ||
type: string; | ||
id: string; | ||
status: "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED"; | ||
data: Record<string, any>; | ||
status: "DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED"; | ||
createdAt: string; | ||
@@ -40,0 +40,0 @@ createdBy: string; |
@@ -15,3 +15,3 @@ import { z } from 'zod'; | ||
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus]; | ||
export declare const eventStatuses: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
export declare const eventStatuses: ("DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED")[]; | ||
export declare const EventStatuses: z.ZodNativeEnum<{ | ||
@@ -48,5 +48,5 @@ readonly CREATED: "CREATED"; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
type: string; | ||
id: string; | ||
status: "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED"; | ||
status: "DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED"; | ||
createdAt: string; | ||
@@ -59,5 +59,5 @@ createdBy: string; | ||
}, { | ||
id: string; | ||
type: string; | ||
id: string; | ||
status: "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED"; | ||
status: "DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED"; | ||
createdAt: string; | ||
@@ -64,0 +64,0 @@ createdBy: string; |
@@ -9,4 +9,2 @@ import { z } from 'zod'; | ||
export type ParagraphFieldValue = z.infer<typeof ParagraphFieldValue>; | ||
declare const BulletListFieldValue: z.ZodString; | ||
export type BulletListFieldValue = z.infer<typeof BulletListFieldValue>; | ||
export declare const FileFieldValue: z.ZodNullable<z.ZodObject<{ | ||
@@ -28,11 +26,3 @@ filename: z.ZodString; | ||
export type RadioGroupFieldValue = z.infer<typeof RadioGroupFieldValue>; | ||
declare const CheckboxFieldValue: z.ZodEnum<["true", "false"]>; | ||
export type CheckboxFieldValue = z.infer<typeof CheckboxFieldValue>; | ||
declare const LocationFieldValue: z.ZodString; | ||
export type LocationFieldValue = z.infer<typeof LocationFieldValue>; | ||
declare const SelectFieldValue: z.ZodString; | ||
export type SelectFieldValue = z.infer<typeof SelectFieldValue>; | ||
declare const CountryFieldValue: z.ZodString; | ||
export type CountryFieldValue = z.infer<typeof CountryFieldValue>; | ||
export type FieldTypeToFieldValue<T extends FieldType> = T extends 'TEXT' ? TextFieldValue : T extends 'PARAGRAPH' ? ParagraphFieldValue : T extends 'BULLET_LIST' ? BulletListFieldValue : T extends 'DATE' ? DateFieldValue : T extends 'FILE' ? FileFieldValue : T extends 'RADIO_GROUP' ? RadioGroupFieldValue : T extends 'CHECKBOX' ? CheckboxFieldValue : T extends 'LOCATION' ? LocationFieldValue : T extends 'COUNTRY' ? CountryFieldValue : T extends 'SELECT' ? SelectFieldValue : never; | ||
export type FieldTypeToFieldValue<T extends FieldType> = T extends 'TEXT' ? TextFieldValue : T extends 'PARAGRAPH' ? ParagraphFieldValue : T extends 'DATE' ? DateFieldValue : T extends 'FILE' ? FileFieldValue : T extends 'RADIO_GROUP' ? RadioGroupFieldValue : never; | ||
export declare const FieldValue: z.ZodUnion<[z.ZodString, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNullable<z.ZodObject<{ | ||
@@ -50,5 +40,5 @@ filename: z.ZodString; | ||
originalFilename: string; | ||
}>>, z.ZodString, z.ZodEnum<["true", "false"]>, z.ZodString, z.ZodString]>; | ||
}>>, z.ZodString]>; | ||
export type FieldValue = z.infer<typeof FieldValue>; | ||
export {}; | ||
//# sourceMappingURL=FieldValue.d.ts.map |
@@ -60,3 +60,2 @@ "use strict"; | ||
fieldTypes: () => fieldTypes, | ||
findInputPageFields: () => findInputPageFields, | ||
findPageFields: () => findPageFields, | ||
@@ -155,4 +154,3 @@ getAllFields: () => getAllFields, | ||
SELECT: "SELECT", | ||
COUNTRY: "COUNTRY", | ||
LOCATION: "LOCATION" | ||
COUNTRY: "COUNTRY" | ||
}; | ||
@@ -194,10 +192,10 @@ var fieldTypes = Object.values(FieldType); | ||
}).describe("File upload"); | ||
var SelectOption = import_zod3.z.object({ | ||
value: import_zod3.z.string().describe("The value of the option"), | ||
label: TranslationConfig.describe("The label of the option") | ||
}); | ||
var RadioGroup = BaseField.extend({ | ||
type: import_zod3.z.literal(FieldType.RADIO_GROUP), | ||
options: import_zod3.z.array(SelectOption), | ||
flexDirection: import_zod3.z.enum(["row", "row-reverse", "column", "column-reverse"]).optional().describe("Direction to stack the options") | ||
options: import_zod3.z.array( | ||
import_zod3.z.object({ | ||
value: import_zod3.z.string().describe("The value of the option"), | ||
label: import_zod3.z.string().describe("The label of the option") | ||
}) | ||
) | ||
}).describe("Grouped radio options"); | ||
@@ -209,2 +207,6 @@ var BulletList = BaseField.extend({ | ||
}).describe("A list of bullet points"); | ||
var SelectOption = import_zod3.z.object({ | ||
value: import_zod3.z.string().describe("The value of the option"), | ||
label: TranslationConfig.describe("The label of the option") | ||
}); | ||
var Select = BaseField.extend({ | ||
@@ -220,12 +222,2 @@ type: import_zod3.z.literal(FieldType.SELECT), | ||
}).describe("Country select field"); | ||
var LocationOptions = import_zod3.z.object({ | ||
partOf: import_zod3.z.object({ | ||
$data: import_zod3.z.string() | ||
}).optional().describe("Parent location"), | ||
type: import_zod3.z.enum(["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]) | ||
}); | ||
var Location = BaseField.extend({ | ||
type: import_zod3.z.literal(FieldType.LOCATION), | ||
options: LocationOptions | ||
}).describe("Location input field"); | ||
var FieldConfig = import_zod3.z.discriminatedUnion("type", [ | ||
@@ -240,4 +232,3 @@ TextField, | ||
File, | ||
Country, | ||
Location | ||
Country | ||
]); | ||
@@ -547,3 +538,2 @@ | ||
var ParagraphFieldValue = import_zod12.z.string(); | ||
var BulletListFieldValue = import_zod12.z.string(); | ||
var FileFieldValue = import_zod12.z.object({ | ||
@@ -555,6 +545,2 @@ filename: import_zod12.z.string(), | ||
var RadioGroupFieldValue = import_zod12.z.string(); | ||
var CheckboxFieldValue = import_zod12.z.enum(["true", "false"]); | ||
var LocationFieldValue = import_zod12.z.string(); | ||
var SelectFieldValue = import_zod12.z.string(); | ||
var CountryFieldValue = import_zod12.z.string(); | ||
var FieldValue = import_zod12.z.union([ | ||
@@ -565,6 +551,3 @@ TextFieldValue, | ||
FileFieldValue, | ||
RadioGroupFieldValue, | ||
CheckboxFieldValue, | ||
LocationFieldValue, | ||
SelectFieldValue | ||
RadioGroupFieldValue | ||
]); | ||
@@ -794,3 +777,3 @@ | ||
var isMetadataField = (field) => field in eventMetadataLabelMap; | ||
var findInputPageFields = (config) => { | ||
var findPageFields = (config) => { | ||
return (0, import_lodash.flattenDeep)( | ||
@@ -800,3 +783,7 @@ config.actions.map( | ||
({ pages }) => pages.map( | ||
({ fields }) => fields.map(({ id, label }) => ({ id, label })) | ||
({ fields }) => fields.map(({ id, label, type }) => ({ | ||
id, | ||
label, | ||
type | ||
})) | ||
) | ||
@@ -807,9 +794,2 @@ ) | ||
}; | ||
var findPageFields = (config) => { | ||
return (0, import_lodash.flattenDeep)( | ||
config.actions.map( | ||
({ forms }) => forms.map(({ pages }) => pages.map(({ fields }) => fields)) | ||
) | ||
); | ||
}; | ||
var resolveLabelsFromKnownFields = ({ | ||
@@ -858,3 +838,6 @@ pageFields, | ||
const input = EventConfigInput.parse(config); | ||
const pageFields = findInputPageFields(input); | ||
const pageFields = findPageFields(input).map(({ id, label }) => ({ | ||
id, | ||
label | ||
})); | ||
return EventConfig.parse({ | ||
@@ -861,0 +844,0 @@ ...input, |
@@ -9,8 +9,8 @@ import { z } from 'zod'; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -25,8 +25,8 @@ fields: z.ZodArray<z.ZodObject<{ | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -39,8 +39,8 @@ emptyValueMessage: z.ZodOptional<z.ZodObject<{ | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>>; | ||
@@ -51,9 +51,9 @@ }, "strip", z.ZodTypeAny, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -64,9 +64,9 @@ }, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -77,4 +77,4 @@ }>, "many">; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -85,9 +85,9 @@ fields: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -98,4 +98,4 @@ }[]; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -106,9 +106,9 @@ fields: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -124,8 +124,8 @@ }[]; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -140,8 +140,8 @@ fields: z.ZodArray<z.ZodObject<{ | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -154,8 +154,8 @@ emptyValueMessage: z.ZodOptional<z.ZodObject<{ | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>>; | ||
@@ -166,9 +166,9 @@ }, "strip", z.ZodTypeAny, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -179,9 +179,9 @@ }, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -198,8 +198,8 @@ }>, "many">; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
@@ -212,8 +212,8 @@ emptyValueMessage: z.ZodOptional<z.ZodObject<{ | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>>; | ||
@@ -227,8 +227,8 @@ }, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>>; | ||
@@ -239,9 +239,9 @@ }>, "strip", z.ZodTypeAny, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -252,9 +252,9 @@ }, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -265,4 +265,4 @@ }>, "many">; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -273,9 +273,9 @@ fields: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -286,4 +286,4 @@ }[]; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -294,9 +294,9 @@ fields: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
emptyValueMessage?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -303,0 +303,0 @@ }[]; |
@@ -8,10 +8,10 @@ import { z } from 'zod'; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}, { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
export type TranslationConfig = z.infer<typeof TranslationConfig>; | ||
//# sourceMappingURL=TranslationConfig.d.ts.map |
@@ -6,15 +6,12 @@ import { TranslationConfig } from './TranslationConfig'; | ||
import { WorkqueueConfigInput } from './WorkqueueConfig'; | ||
import { FieldConfig } from './FieldConfig'; | ||
import { FieldType } from './FieldConfig'; | ||
/** | ||
* @returns All the fields in the event configuration input. | ||
* @returns All the fields in the event configuration. | ||
*/ | ||
export declare const findInputPageFields: (config: EventConfigInput) => { | ||
export declare const findPageFields: (config: EventConfigInput) => Array<{ | ||
id: string; | ||
label: TranslationConfig; | ||
}[]; | ||
type: FieldType; | ||
}>; | ||
/** | ||
* @returns All the fields in the event configuration. | ||
*/ | ||
export declare const findPageFields: (config: EventConfig) => FieldConfig[]; | ||
/** | ||
* | ||
@@ -49,7 +46,11 @@ * @param pageFields - All the fields in the event configuration | ||
}[]; | ||
id: string; | ||
title: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
filters: { | ||
status: ("CREATED" | "NOTIFIED" | "DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED")[]; | ||
}[]; | ||
} | { | ||
@@ -60,19 +61,15 @@ fields: { | ||
}[]; | ||
id: string; | ||
title: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
filters: { | ||
status: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
}[]; | ||
}; | ||
export declare function getAllFields(configuration: EventConfig): ({ | ||
id: string; | ||
type: "TEXT"; | ||
id: string; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -86,6 +83,6 @@ options?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -95,9 +92,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -113,12 +110,12 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
id: string; | ||
type: "DATE"; | ||
id: string; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -128,4 +125,4 @@ options?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
@@ -136,6 +133,6 @@ } | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -145,9 +142,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -163,8 +160,8 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
id: string; | ||
type: "PARAGRAPH"; | ||
id: string; | ||
options: { | ||
@@ -175,4 +172,4 @@ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -182,6 +179,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -191,9 +188,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -209,59 +206,16 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
type: "FILE"; | ||
id: string; | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validation?: { | ||
message: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
}[] | undefined; | ||
required?: boolean | undefined; | ||
conditionals?: ({ | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
})[] | undefined; | ||
dependsOn?: string[] | undefined; | ||
initialValue?: string | { | ||
dependsOn: string[]; | ||
expression: string; | ||
} | undefined; | ||
disabled?: boolean | undefined; | ||
hidden?: boolean | undefined; | ||
placeholder?: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
type: "RADIO_GROUP"; | ||
id: string; | ||
options: { | ||
value: string; | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
label: string; | ||
}[]; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -271,6 +225,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -280,9 +234,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -298,18 +252,17 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse" | undefined; | ||
} | { | ||
id: string; | ||
type: "BULLET_LIST"; | ||
id: string; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
items: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}[]; | ||
@@ -320,6 +273,6 @@ font: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1"; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -329,9 +282,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -347,8 +300,8 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
id: string; | ||
type: "SELECT"; | ||
id: string; | ||
options: { | ||
@@ -358,4 +311,4 @@ value: string; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -365,4 +318,4 @@ }[]; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -372,6 +325,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -381,9 +334,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -399,12 +352,12 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
id: string; | ||
type: "CHECKBOX"; | ||
id: string; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -414,6 +367,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -423,9 +376,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -441,12 +394,12 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
type: "COUNTRY"; | ||
id: string; | ||
type: "FILE"; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -456,6 +409,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -465,9 +418,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -483,18 +436,12 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
} | { | ||
type: "LOCATION"; | ||
id: string; | ||
options: { | ||
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE"; | ||
partOf?: { | ||
$data: string; | ||
} | undefined; | ||
}; | ||
type: "COUNTRY"; | ||
label: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
@@ -504,6 +451,6 @@ validation?: { | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
validator: import("../client").JSONSchema; | ||
validator?: any; | ||
}[] | undefined; | ||
@@ -513,9 +460,9 @@ required?: boolean | undefined; | ||
type: "SHOW"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "HIDE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
} | { | ||
type: "ENABLE"; | ||
conditional: import("../client").JSONSchema; | ||
conditional?: any; | ||
})[] | undefined; | ||
@@ -531,6 +478,6 @@ dependsOn?: string[] | undefined; | ||
id: string; | ||
defaultMessage: string; | ||
description: string; | ||
defaultMessage: string; | ||
} | undefined; | ||
})[]; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -60,5 +60,5 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
status: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
status: ("DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED")[]; | ||
}, { | ||
status: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
status: ("DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED")[]; | ||
}>, "many">; | ||
@@ -81,3 +81,3 @@ }, "strip", z.ZodTypeAny, { | ||
filters: { | ||
status: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
status: ("DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED")[]; | ||
}[]; | ||
@@ -100,3 +100,3 @@ }, { | ||
filters: { | ||
status: ("CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[]; | ||
status: ("DECLARED" | "VALIDATED" | "REGISTERED" | "CERTIFIED" | "CREATED" | "NOTIFIED")[]; | ||
}[]; | ||
@@ -103,0 +103,0 @@ }>; |
{ | ||
"name": "@opencrvs/toolkit", | ||
"version": "0.0.17-events", | ||
"version": "0.0.17-riku-events", | ||
"description": "OpenCRVS toolkit for building country configurations", | ||
@@ -8,2 +8,3 @@ "license": "MPL-2.0", | ||
"./lib": "./dist/lib.js", | ||
"./api": "./dist/api/index.js", | ||
"./events": "./dist/events/index.js", | ||
@@ -13,10 +14,8 @@ "./conditionals": "./dist/conditionals/index.js" | ||
"scripts": { | ||
"build": "rimraf dist && tsc --build && yarn build-common-events:js && yarn copy-common-events:ts && yarn build-common-conditionals:js && yarn copy-common-conditionals:ts", | ||
"build-common-events:js": "esbuild src/events/index.ts --bundle --format=cjs --outdir=./dist/events --allow-overwrite --packages=external", | ||
"build-common-conditionals:js": "esbuild src/conditionals/index.ts --bundle --format=cjs --outdir=./dist/conditionals --allow-overwrite --packages=external", | ||
"copy-common-events:ts": "cp -r ../commons/build/dist/common/events/*.d.ts ./dist/events", | ||
"copy-common-conditionals:ts": "cp -r ../commons/build/dist/common/conditionals/*.d.ts ./dist/conditionals" | ||
"build": "./build.sh" | ||
}, | ||
"dependencies": { | ||
"ajv": "^8.17.1" | ||
"ajv": "^8.17.1", | ||
"superjson": "1.9.0-0", | ||
"@trpc/client": "^11.0.0-rc.648" | ||
}, | ||
@@ -23,0 +22,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
37
4141494
3
108704
+ Added@trpc/client@^11.0.0-rc.648
+ Addedsuperjson@1.9.0-0
+ Added@trpc/client@11.0.0-rc.730(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedlodash.clonedeep@4.5.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedsuperjson@1.9.0-0(transitive)
+ Addedtypescript@5.7.3(transitive)