UNPKG

@cdwr/fly-node

Version:

The flyctl node wrapper for programmatic deployments to fly.io.

63 lines (62 loc) 1.38 kB
import { z } from 'zod'; /** * Transformed postgres list response schema * * ```ts * fly postgres list --json * ``` * * Returns an array of Postgres instances, but when there are no instances, * it returns a string e.g. "No postgres clusters found". */ export declare const PostgresListTransformedResponseSchema: z.ZodUnion<[z.ZodArray<z.ZodEffects<z.ZodObject<{ deployed: z.ZodBoolean; hostname: z.ZodString; id: z.ZodString; name: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; slug: string; }, { id: string; slug: string; }>; status: z.ZodString; version: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; status: string; id: string; deployed: boolean; hostname: string; organization: { id: string; slug: string; }; version: number; }, { name: string; status: string; id: string; deployed: boolean; hostname: string; organization: { id: string; slug: string; }; version: number; }>, { name: string; status: string; id: string; deployed: boolean; hostname: string; organization: { id: string; slug: string; }; version: number; }, unknown>, "many">, z.ZodString]>;