UNPKG

@equinor/fusion-framework-cli

Version:

--- title: Fusion Framework CLI ---

31 lines (30 loc) 923 B
import { z } from 'zod'; /** * Api config object */ export declare const ApiAppConfigSchema: z.ZodObject<{ environment: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>; endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ url: z.ZodString; scopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; }, "strip", z.ZodTypeAny, { url: string; scopes: string[]; }, { url: string; scopes?: string[] | undefined; }>>>; }, "strip", z.ZodTypeAny, { environment: Record<string, any>; endpoints?: Record<string, { url: string; scopes: string[]; }> | undefined; }, { environment?: Record<string, any> | undefined; endpoints?: Record<string, { url: string; scopes?: string[] | undefined; }> | undefined; }>; export type ApiAppConfig = z.infer<typeof ApiAppConfigSchema>;