@cmk/fe_utils
Version:
frontend utility library
16 lines (14 loc) • 538 B
TypeScript
import { EditorStateType, Element } from '../..';
export declare const serializeElements: (elements: Element[], alternativeViewports: EditorStateType["alternativeViewports"], project_id: string) => {
element_id: string;
element_html_id: string | null;
project_id: string;
parent_id: string | null;
content: string | null;
element_type: string;
element_page: string | null;
viewport: string | null;
template_id: string | null;
component_id: string | null;
ref_component_id: string | null;
}[];