mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 18:43:40 +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
18 lines
300 B
TypeScript
18 lines
300 B
TypeScript
import { z } from 'zod/v4';
|
|
|
|
/**
|
|
* Response from registry.buildpacks.io
|
|
*/
|
|
export const BuildpacksRegistryResponse = z.object({
|
|
latest: z
|
|
.object({
|
|
homepage: z.string().optional(),
|
|
})
|
|
.optional(),
|
|
versions: z
|
|
.object({
|
|
version: z.string(),
|
|
})
|
|
.array(),
|
|
});
|