mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-30 17:27:26 +00:00
15f4bd8eff
* chore: migrate from zod/v3 to zod/v4 This commit contains the logic changes * chore: migrate imports from zod/v3 to zod/v4 This contains import updates and adds explicit record keys as zod/v4 requires these now * ci: enforce usage of zod/v4
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
import { z } from 'zod/v4';
|
|
|
|
export const HttpCache = z
|
|
.object({
|
|
etag: z.string().optional(),
|
|
lastModified: z.string().optional(),
|
|
httpResponse: z.unknown(),
|
|
timestamp: z.string(),
|
|
})
|
|
.nullable()
|
|
.catch(null);
|
|
export type HttpCache = z.infer<typeof HttpCache>;
|