mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-26 23:39:13 +00:00
f03ec3c848
Co-authored-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Anne Stellingwerf <1637358+astellingwerf@users.noreply.github.com>
19 lines
405 B
TypeScript
19 lines
405 B
TypeScript
import { z } from 'zod';
|
|
|
|
const UnityReleaseNote = z.object({
|
|
url: z.string(),
|
|
});
|
|
|
|
const UnityRelease = z.object({
|
|
version: z.string(),
|
|
releaseDate: z.string(),
|
|
releaseNotes: UnityReleaseNote,
|
|
shortRevision: z.string(),
|
|
});
|
|
|
|
export const UnityReleasesJSON = z.object({
|
|
total: z.number(),
|
|
results: UnityRelease.array(),
|
|
});
|
|
export type UnityReleasesJSON = z.infer<typeof UnityReleasesJSON>;
|