import { QueryBuilder, buildCustomDocument } from '../query-builder';
import { connectionFieldsMap } from '../input-types';
export function createQueryOperations(client) {
    return {
        readFunctionGraph: (args, options) => new QueryBuilder({
            client,
            operation: 'query',
            operationName: 'ReadFunctionGraph',
            fieldName: 'readFunctionGraph',
            ...buildCustomDocument('query', 'ReadFunctionGraph', 'readFunctionGraph', options?.select, args, [
                {
                    name: 'graphId',
                    type: 'UUID',
                },
            ], connectionFieldsMap, undefined),
        }),
    };
}
