import { Omit } from 'lodash'; /** * All components of this file are directly in relation to the output of the GraphQLCodeGenerator library * when used in the context of Skedulo's standard GraphQL schema. Most of the methods and types are used * to convert the raw result of GraphQL queries from the Skedulo endpoint into cleaner and more usable objects. * https://graphql-code-generator.com/. */ /** * This type filters out anything that could possibly be interpreted as anything other than a field value. * It's important to note that Arrays are not filtered out as string arrays are the field value * for multipicklists despite they fact they're technically not primitive */ export type RecordOnlyKeys = ({ [P in keyof T]: T[P] extends (string | null | undefined) ? P : T[P] extends (number | null | undefined) ? P : T[P] extends (boolean | null | undefined) ? P : T[P] extends (string[] | null | undefined) ? P : never; })[keyof T]; export interface GraphQLRawOperationNodeBase { __typename?: string | never; } export type RawOperationToPrimitive = Pick>>; export declare function sanitizeGraphQLRawQueryData(nodes: T[]): RawOperationToPrimitive[]; //# sourceMappingURL=generated.d.ts.map