import '../augmentations'; import type { GraphileConfig } from 'graphile-config'; /** * ConnectionFilterComputedAttributesPlugin * * Adds filter fields for computed columns (PostgreSQL functions that take * a table row as their first argument and return a scalar). * * For example, given: * CREATE FUNCTION person_full_name(person) RETURNS text AS $$ ... $$; * * This plugin adds a `fullName` filter field to `PersonFilter`, typed as `StringFilter`, * allowing queries like: * { people(where: { fullName: { startsWith: "John" } }) { ... } } * * Controlled by the `connectionFilterComputedColumns` schema option (default: true). * Requires the `filterBy` behavior on the pgResource to be enabled. */ export declare const ConnectionFilterComputedAttributesPlugin: GraphileConfig.Plugin;