/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type RegistryConfig = { auth?: string | undefined; registryUrl?: string | undefined; image: string; }; /** @internal */ export type RegistryConfig$Outbound = { auth?: string | undefined; registryUrl?: string | undefined; image: string; }; /** @internal */ export const RegistryConfig$outboundSchema: z.ZodType< RegistryConfig$Outbound, z.ZodTypeDef, RegistryConfig > = z.object({ auth: z.string().optional(), registryUrl: z.string().optional(), image: z.string(), }); export function registryConfigToJSON(registryConfig: RegistryConfig): string { return JSON.stringify(RegistryConfig$outboundSchema.parse(registryConfig)); }