UNPKG

@ai-stack/payloadcms

Version:

<p align="center"> <img alt="Payload AI Plugin" src="assets/payload-ai-intro.gif" width="100%" /> </p>

25 lines 719 B
import type { JSONSchema7 } from 'json-schema'; export interface LexicalNodeSchema extends JSONSchema7 { additionalProperties?: boolean; properties: { [key: string]: any; children?: { items: { $ref?: string; anyOf?: { $ref: string; }[]; }; type: 'array'; }; type?: { enum: string[]; type: 'string'; }; }; required?: string[]; type: 'object'; } export declare const documentSchema: LexicalNodeSchema; export declare const lexicalJsonSchema: (customNodes?: any[]) => LexicalNodeSchema; //# sourceMappingURL=lexicalJsonSchema.d.ts.map