Compare commits

...

2 Commits

Author SHA1 Message Date
jamesgeorge007
263f8b3588 refactor: remove method chaining for consistency 2024-05-20 13:20:59 +05:30
nivedin
fc9f933905 fix: add previous value as optional 2024-05-17 00:00:13 +05:30

View File

@@ -400,7 +400,7 @@ const HoppTestResultSchema = z
(x) => "secret" in x && !x.secret (x) => "secret" in x && !x.secret
).and( ).and(
z.object({ z.object({
previousValue: z.string(), previousValue: z.optional(z.string()),
}) })
) )
), ),
@@ -415,7 +415,7 @@ const HoppTestResultSchema = z
(x) => "secret" in x && !x.secret (x) => "secret" in x && !x.secret
).and( ).and(
z.object({ z.object({
previousValue: z.string(), previousValue: z.optional(z.string()),
}) })
) )
), ),