computed properties in zod
my api returns an object with dates as the key - is this possible to model in zod?
something like:
something like:
const response = {
"2023-11-10": <value>,
"2023-11-11": <value>
}const schema = z.object({
[z.string()]: <value>
})