mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
4a2578d18d
* build(deps): update dependency zod to v4 | datasource | package | from | to | | ---------- | ------- | ------- | ----- | | npm | zod | 3.25.76 | 4.3.6 | * fix: zod migration --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
22 lines
523 B
TypeScript
22 lines
523 B
TypeScript
import { z } from 'zod/v3';
|
|
import { LooseArray, LooseRecord } from '../../../util/schema-utils/index.ts';
|
|
|
|
const Translation = z.object({
|
|
changelog: z.string(),
|
|
});
|
|
|
|
export const ApplicationRelease = z.object({
|
|
created: z.string(),
|
|
isNightly: z.boolean(),
|
|
translations: LooseRecord(z.string(), Translation),
|
|
version: z.string(),
|
|
});
|
|
|
|
export const Application = z.object({
|
|
id: z.string(),
|
|
releases: LooseArray(ApplicationRelease),
|
|
website: z.string(),
|
|
});
|
|
|
|
export const Applications = z.array(Application);
|