UNPKG

@apollo/utils.stripsensitiveliterals

Version:

Remove literals from an AST which might contain PII (strings and numbers, and optionally lists and objects)

5 lines 217 B
import type { DocumentNode } from "graphql"; export declare function stripSensitiveLiterals(ast: DocumentNode, options?: { hideListAndObjectLiterals?: boolean; }): DocumentNode; //# sourceMappingURL=index.d.ts.map