mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-24 22:48:06 +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
9 lines
316 B
TypeScript
9 lines
316 B
TypeScript
import { z } from 'zod/v4';
|
|
|
|
// See https://github.com/haskell/hackage-server
|
|
// revision e885d36c
|
|
// src/Distribution/Server/Features/PackageInfoJSON/State.hs line 160
|
|
const VersionStatus = z.enum(['normal', 'deprecated', 'unpreferred']);
|
|
|
|
export const HackagePackageMetadata = z.record(z.string(), VersionStatus);
|