UNPKG

@cdwr/nx-fly-deployment-action

Version:

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

77 lines (76 loc) 2.07 kB
import { z } from 'zod'; export declare const ActionSchema: z.ZodEnum<["deploy", "destroy", "skip"]>; export declare const ActionOutputsSchema: z.ZodObject<{ environment: z.ZodUnion<[z.ZodEnum<["preview", "production"]>, z.ZodNull]>; projects: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<z.objectUtil.extendShape<{ app: z.ZodString; }, { action: z.ZodLiteral<"deploy">; name: z.ZodString; url: z.ZodString; }>, "strip", z.ZodTypeAny, { action: "deploy"; name: string; app: string; url: string; }, { action: "deploy"; name: string; app: string; url: string; }>, z.ZodObject<z.objectUtil.extendShape<{ app: z.ZodString; }, { action: z.ZodLiteral<"destroy">; }>, "strip", z.ZodTypeAny, { action: "destroy"; app: string; }, { action: "destroy"; app: string; }>, z.ZodObject<{ action: z.ZodLiteral<"skip">; appOrProject: z.ZodString; reason: z.ZodString; }, "strip", z.ZodTypeAny, { reason: string; action: "skip"; appOrProject: string; }, { reason: string; action: "skip"; appOrProject: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { environment: "preview" | "production" | null; projects: ({ action: "deploy"; name: string; app: string; url: string; } | { action: "destroy"; app: string; } | { reason: string; action: "skip"; appOrProject: string; })[]; }, { environment: "preview" | "production" | null; projects: ({ action: "deploy"; name: string; app: string; url: string; } | { action: "destroy"; app: string; } | { reason: string; action: "skip"; appOrProject: string; })[]; }>; export type Action = z.infer<typeof ActionSchema>; export type ActionOutputs = z.infer<typeof ActionOutputsSchema>;