/** * Bulk Mutations Preset * * Provides a convenient preset factory for including bulk mutations * in PostGraphile v5. * * @example * ```typescript * import { BulkMutationPreset } from 'graphile-bulk-mutations'; * * const preset = { * extends: [ * BulkMutationPreset(), * // or with options: * BulkMutationPreset({ * bulkNaming: 'pluralized', * bulkRelational: true, * }), * ], * }; * ``` */ import './augmentations'; import type { GraphileConfig } from 'graphile-config'; import type { BulkMutationOptions } from './types'; /** * Creates a preset that includes the bulk mutation plugins with the given options. * * Behavior is OFF by default for all tables. Tables must opt in via smart tags: * COMMENT ON TABLE users IS E'@behavior +bulkInsert +bulkUpsert'; * * The `enable_bulk` database setting must also be true for the plugin to load. */ export declare function BulkMutationPreset(options?: BulkMutationOptions): GraphileConfig.Preset; export default BulkMutationPreset;