UNPKG

@cdwr/nx-fly-deployment-action

Version:

The Nx Fly Deployment Action will manage your deployments to fly.io.

75 lines (74 loc) 2.4 kB
import { z } from 'zod'; export declare const DeploymentConfigSchema: z.ZodObject<{ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; fly: z.ZodObject<{ token: z.ZodString; org: z.ZodString; region: z.ZodString; optOutDepotBuilder: z.ZodBoolean; traceCLI: z.ZodBoolean; }, "strip", z.ZodTypeAny, { region: string; token: string; org: string; traceCLI: boolean; optOutDepotBuilder: boolean; }, { region: string; token: string; org: string; traceCLI: boolean; optOutDepotBuilder: boolean; }>; mainBranch: z.ZodString; secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; appDetails: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ tenant: z.ZodOptional<z.ZodString>; env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; tenant?: string | undefined; }, { env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; tenant?: string | undefined; }>, "many">>; token: z.ZodString; }, "strip", z.ZodTypeAny, { token: string; mainBranch: string; appDetails: Record<string, { env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; tenant?: string | undefined; }[]>; fly: { region: string; token: string; org: string; traceCLI: boolean; optOutDepotBuilder: boolean; }; env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; }, { token: string; mainBranch: string; appDetails: Record<string, { env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; tenant?: string | undefined; }[]>; fly: { region: string; token: string; org: string; traceCLI: boolean; optOutDepotBuilder: boolean; }; env?: Record<string, string> | undefined; secrets?: Record<string, string> | undefined; }>; export type DeploymentConfig = z.infer<typeof DeploymentConfigSchema>;