We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
min
1 parent 75e03cd commit 01dd533Copy full SHA for 01dd533
1 file changed
packages/cache/src/schemas.ts
@@ -1,8 +1,8 @@
1
import z from 'zod'
2
3
export const cacheOptionsSchema = z.strictObject({
4
- ttl: z.int().positive().min(1).optional(),
5
- swr: z.int().positive().min(1).optional(),
+ ttl: z.int().positive().optional(),
+ swr: z.int().positive().optional(),
6
tags: z.string().array().optional(),
7
})
8
0 commit comments