export type GraphqlVercajkOptions = { apiUrl: string; headers?: Record; inputs: GraphqlVercajkOptionsPaths & { constraintsDirectiveName: string; }; enums?: GraphqlVercajkOptionsPaths & { postfix?: string; isTranslatable?: boolean; typesPath?: string; translationPrefix?: string; }; operations?: { outDir: string; constraintsDirectiveName: string; mutationPrefix: string; queryPrefix: string; }; attribution?: GraphqlVercajkConstraintsAttribution; debug: boolean; }; export type GraphqlVercajkConstraintsAttribution = boolean | 'no-version'; type GraphqlVercajkOptionsPaths = { outDir: string; fileNamePrefix: string; }; export type GraphqlVercajkSchema = { data: { schema: string; } | null; errors?: { message: string; }[]; schema?: string; }; export type GraphqlVercajkConstraints = { gt: number | null; gte: number | null; lt: number | null; lte: number | null; maxLength: number | null; minLength: number | null; maxDigits: null | number; decimalPlaces: number | null; pattern: string | null; multipleOf: number | null; [key: string]: string | boolean | number | null; }; export interface GraphqlVercajkFieldInfo { [key: string]: GraphqlVercajkField; } export interface GraphqlVercajkField { [fieldName: string]: GraphqlVercajkFieldContent; } export type GraphqlVercajkOperationInfo = { [k in 'queries' | 'mutations']: GraphqlVercajkOperationFields; }; export interface GraphqlVercajkOperationFields { [key: string]: { permissions: GraphqlVercajkPermissionConstraints; }; } export interface GraphqlVercajkPermissionConstraints { [key: string]: string[]; } export interface GraphqlVercajkFieldContent { fieldName: string; constraints: GraphqlVercajkConstraints | null; children: GraphqlVercajkField | null; required: boolean; order: number; childInputName?: string | null; } export {};