UNPKG

@wordpress/blocks

Version:
8 lines (7 loc) 604 B
{ "version": 3, "sources": ["../../../src/api/raw-handling/types.ts"], "sourcesContent": ["export interface RawTransform {\n\ttype: string;\n\tblockName: string;\n\tselector?: string;\n\tschema?:\n\t\t| Record< string, unknown >\n\t\t| ( ( args: Record< string, unknown > ) => Record< string, unknown > );\n\tisMatch: ( node: Element ) => boolean;\n\ttransform?: ( node: Node, handler: Function ) => unknown;\n}\n\nexport type NodeFilterFunction = (\n\tnode: Node,\n\tdoc: Document,\n\tschema?: Record< string, unknown >\n) => void;\n"], "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;", "names": [] }