Files
metabuilder/packages/component_editor/scripts/functions.json
johndoe6345789 9284b9a67b Refactor function definitions across multiple packages to remove luaScript references
- Updated functions.json files in theme_editor, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor packages.
- Removed luaScript entries from function definitions, retaining only category and other relevant metadata.
- Adjusted documentation in prisma/README.md to remove LuaScript entity reference.
2026-01-07 14:54:33 +00:00

117 lines
3.1 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
"schemaVersion": "2.2.0",
"package": "component_editor",
"description": "Component hierarchy management functions",
"functions": [
{
"id": "component_tree_build",
"name": "buildComponentTree",
"exported": true,
"description": "Build a component tree from stored configuration",
"category": "components"
},
{
"id": "component_tree_save",
"name": "saveComponentTree",
"exported": true,
"description": "Save a component tree configuration",
"category": "components"
},
{
"id": "component_add",
"name": "addComponent",
"exported": true,
"description": "Add a component to the tree at specified position",
"category": "components"
},
{
"id": "component_remove",
"name": "removeComponent",
"exported": true,
"description": "Remove a component from the tree",
"category": "components"
},
{
"id": "component_move",
"name": "moveComponent",
"exported": true,
"description": "Move a component to a new position in the tree",
"category": "components"
},
{
"id": "component_reorder",
"name": "reorderComponents",
"exported": true,
"description": "Reorder children of a parent component",
"category": "components"
},
{
"id": "component_update_props",
"name": "updateComponentProps",
"exported": true,
"description": "Update props for a specific component",
"category": "components"
},
{
"id": "component_validate_tree",
"name": "validateTree",
"exported": true,
"description": "Validate a component tree structure",
"category": "components"
},
{
"id": "component_get_catalog",
"name": "getComponentCatalog",
"exported": true,
"description": "Get the catalog of available components",
"category": "components"
},
{
"id": "component_find_by_id",
"name": "findComponentById",
"exported": true,
"description": "Find a component in the tree by ID",
"category": "components"
},
{
"id": "component_clone",
"name": "cloneComponent",
"exported": true,
"description": "Clone a component with its children",
"category": "components"
},
{
"id": "component_export",
"name": "exportComponentTree",
"exported": true,
"description": "Export component tree as JSON",
"category": "components"
},
{
"id": "component_import",
"name": "importComponentTree",
"exported": true,
"description": "Import component tree from JSON",
"category": "components"
}
],
"exports": {
"functions": [
"buildComponentTree",
"saveComponentTree",
"addComponent",
"removeComponent",
"moveComponent",
"reorderComponents",
"updateComponentProps",
"validateTree",
"getComponentCatalog",
"findComponentById",
"cloneComponent",
"exportComponentTree",
"importComponentTree"
]
}
}