UNPKG

directus-extension-flexible-editor-test

Version:

A rich text editor (WYSIWYG) with JSON output that allows the integration of M2A relations to make it extremely flexible.

14 lines (11 loc) 450 B
import type { RelationNodeAttrs } from "../shared/types"; export type RelationNodeSerializers<T> = { collection: string; component: T; }[]; export type RelationNodeProps = RelationNodeAttrs & { data?: Record<string, any> | null; }; // TODO: [Stage 2][deprecated] type RelationBlockSerializers & RelationBlockProps export type RelationBlockSerializers<T> = RelationNodeSerializers<T>; export type RelationBlockProps = RelationNodeProps;