mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
ef557aca81
* fix(datasource): replace getJsonUnchecked with validated getJson in Java, Gradle, Dart, and Flutter datasources Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * refactor: remove .nullable() * fix linter errors * chore removed some unused types --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
349 B
TypeScript
13 lines
349 B
TypeScript
import { z } from 'zod/v4';
|
|
import { LooseArray } from '../../../util/schema-utils/index.ts';
|
|
|
|
export const AdoptiumJavaVersion = z.object({
|
|
semver: z.string(),
|
|
});
|
|
|
|
export const AdoptiumJavaResponse = z.object({
|
|
versions: LooseArray(AdoptiumJavaVersion).optional(),
|
|
});
|
|
|
|
export type AdoptiumJavaResponse = z.infer<typeof AdoptiumJavaResponse>;
|