planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

22
node_modules/slate/dist/interfaces/scrubber.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
export declare type Scrubber = (key: string, value: unknown) => unknown;
export interface ScrubberInterface {
setScrubber(scrubber: Scrubber | undefined): void;
stringify(value: any): string;
}
/**
* This interface implements a stringify() function, which is used by Slate
* internally when generating exceptions containing end user data. Developers
* using Slate may call Scrubber.setScrubber() to alter the behavior of this
* stringify() function.
*
* For example, to prevent the cleartext logging of 'text' fields within Nodes:
*
* import { Scrubber } from 'slate';
* Scrubber.setScrubber((key, val) => {
* if (key === 'text') return '...scrubbed...'
* return val
* });
*
*/
export declare const Scrubber: ScrubberInterface;
//# sourceMappingURL=scrubber.d.ts.map