Skip to content

Commit f31bff3

Browse files
committed
chore: better type for metadata schema
1 parent 586c4c1 commit f31bff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kleros-sdk/src/dataMappings/utils/disputeDetailsSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const AttachmentSchema = z.object({
4949

5050
export const AliasSchema = z.record(ethAddressOrEnsNameSchema);
5151

52-
const MetadataSchema = z.record(z.any());
52+
const MetadataSchema = z.record(z.unknown());
5353

5454
const DisputeDetailsSchema = z.object({
5555
title: z.string(),

0 commit comments

Comments
 (0)