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