mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-01 18:19:51 +00:00
24 lines
470 B
TypeScript
24 lines
470 B
TypeScript
import { z } from 'zod/v4';
|
|
import { Ini } from '../../../util/schema-utils/index.ts';
|
|
|
|
export const QuadletFile = Ini.pipe(
|
|
z.object({
|
|
Container: z
|
|
.object({
|
|
Image: z.string(),
|
|
})
|
|
.optional(),
|
|
Image: z
|
|
.object({
|
|
Image: z.string(),
|
|
})
|
|
.optional(),
|
|
Volume: z
|
|
.object({
|
|
Image: z.string().optional(),
|
|
})
|
|
.optional(),
|
|
}),
|
|
);
|
|
export type QuadletFile = z.infer<typeof QuadletFile>;
|