Skip to content

Commit 10e44ae

Browse files
committed
fix: properties
1 parent 5377f78 commit 10e44ae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/validation/src/schemas/analytics.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,5 @@ export const analyticsEventSchema = z.object({
212212
.max(VALIDATION_LIMITS.VALUE_MAX_LENGTH)
213213
.nullable()
214214
.optional(),
215-
properties: z
216-
.record(z.union([z.string(), z.number(), z.boolean(), z.null()]))
217-
.optional()
218-
.nullable(),
215+
properties: z.record(z.any(), z.any()).optional().nullable(),
219216
});

0 commit comments

Comments
 (0)