fix: add previous value as optional
This commit is contained in:
@@ -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.string().optional(),
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
@@ -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.string().optional(),
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user