UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

201 lines (200 loc) • 5.16 kB
import { z } from 'zod'; import type { PackageDependency } from '../../types'; export declare const ociExtensionPrefix = "oci"; export declare const ociExtensionTags: string[]; export declare const RuleToDockerPackageDep: z.ZodEffects<z.ZodObject<{ type: z.ZodLiteral<"extensionTag">; rawExtension: z.ZodString; isComplete: z.ZodBoolean; offset: z.ZodNumber; rawString: z.ZodOptional<z.ZodString>; } & { extension: z.ZodLiteral<"oci">; tag: z.ZodLiteral<"pull">; children: z.ZodObject<{ name: z.ZodObject<{ type: z.ZodLiteral<"string">; value: z.ZodString; isComplete: z.ZodLiteral<true>; }, "strip", z.ZodTypeAny, { value: string; type: "string"; isComplete: true; }, { value: string; type: "string"; isComplete: true; }>; image: z.ZodObject<{ type: z.ZodLiteral<"string">; value: z.ZodString; isComplete: z.ZodLiteral<true>; }, "strip", z.ZodTypeAny, { value: string; type: "string"; isComplete: true; }, { value: string; type: "string"; isComplete: true; }>; tag: z.ZodOptional<z.ZodObject<{ type: z.ZodLiteral<"string">; value: z.ZodString; isComplete: z.ZodLiteral<true>; }, "strip", z.ZodTypeAny, { value: string; type: "string"; isComplete: true; }, { value: string; type: "string"; isComplete: true; }>>; digest: z.ZodOptional<z.ZodObject<{ type: z.ZodLiteral<"string">; value: z.ZodString; isComplete: z.ZodLiteral<true>; }, "strip", z.ZodTypeAny, { value: string; type: "string"; isComplete: true; }, { value: string; type: "string"; isComplete: true; }>>; }, "strip", z.ZodTypeAny, { name: { value: string; type: "string"; isComplete: true; }; image: { value: string; type: "string"; isComplete: true; }; tag?: { value: string; type: "string"; isComplete: true; } | undefined; digest?: { value: string; type: "string"; isComplete: true; } | undefined; }, { name: { value: string; type: "string"; isComplete: true; }; image: { value: string; type: "string"; isComplete: true; }; tag?: { value: string; type: "string"; isComplete: true; } | undefined; digest?: { value: string; type: "string"; isComplete: true; } | undefined; }>; }, "strip", z.ZodTypeAny, { type: "extensionTag"; tag: "pull"; children: { name: { value: string; type: "string"; isComplete: true; }; image: { value: string; type: "string"; isComplete: true; }; tag?: { value: string; type: "string"; isComplete: true; } | undefined; digest?: { value: string; type: "string"; isComplete: true; } | undefined; }; offset: number; isComplete: boolean; extension: "oci"; rawExtension: string; rawString?: string | undefined; }, { type: "extensionTag"; tag: "pull"; children: { name: { value: string; type: "string"; isComplete: true; }; image: { value: string; type: "string"; isComplete: true; }; tag?: { value: string; type: "string"; isComplete: true; } | undefined; digest?: { value: string; type: "string"; isComplete: true; } | undefined; }; offset: number; isComplete: boolean; extension: "oci"; rawExtension: string; rawString?: string | undefined; }>, PackageDependency<Record<string, any>>, { type: "extensionTag"; tag: "pull"; children: { name: { value: string; type: "string"; isComplete: true; }; image: { value: string; type: "string"; isComplete: true; }; tag?: { value: string; type: "string"; isComplete: true; } | undefined; digest?: { value: string; type: "string"; isComplete: true; } | undefined; }; offset: number; isComplete: boolean; extension: "oci"; rawExtension: string; rawString?: string | undefined; }>;