@brizy/core
Version:
Brizy Core to register your own component into Brizy Builder
18 lines (17 loc) • 619 B
TypeScript
import { ComponentData, EditorPlugin, MValue, MetaData } from "@/types";
declare class Brizy {
private static categoriesOrder;
private static setCategoryOrder;
static registerComponent<T>(component: ComponentData<T>): void;
static registerPlugin(plugin: EditorPlugin): void;
static getMetaData<T>(_pluginConfig: Record<string, unknown>): MValue<MetaData>;
static getEditorProjectMetaData(): MValue<{
publicData?: string;
privateData?: string;
}>;
static getPreviewProjectMetaData(): MValue<{
publicData?: string;
}>;
}
export { Brizy };
export default Brizy;