mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 15:58:48 +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>
10 lines
275 B
TypeScript
10 lines
275 B
TypeScript
import { z } from 'zod/v4';
|
|
import { LooseArray } from '../../../util/schema-utils/index.ts';
|
|
|
|
export const DartResponse = z.object({
|
|
kind: z.string().optional(),
|
|
prefixes: LooseArray(z.string()).default([]),
|
|
});
|
|
|
|
export type DartResponse = z.infer<typeof DartResponse>;
|