/** * Connection Filter Preset * * Provides a convenient preset factory for including connection filtering * in PostGraphile v5. * * @example * ```typescript * import { ConnectionFilterPreset } from 'graphile-connection-filter'; * * const preset = { * extends: [ * ConnectionFilterPreset(), * // or with options: * ConnectionFilterPreset({ * connectionFilterLogicalOperators: true, * connectionFilterArrays: true, * }), * ], * }; * ``` */ import './augmentations'; import type { GraphileConfig } from 'graphile-config'; import type { ConnectionFilterOptions } from './types'; /** * Creates a preset that includes the connection filter plugins with the given options. * * All plugins are always included. Use the schema options to control behavior: * - `connectionFilterLogicalOperators: false` to exclude and/or/not * - `connectionFilterArrays: false` to exclude array type filters * - `connectionFilterAllowNullInput: true` to allow null literals */ export declare function ConnectionFilterPreset(options?: ConnectionFilterOptions): GraphileConfig.Preset; export default ConnectionFilterPreset;