mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 00:05:01 +00:00
- 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.
133 lines
3.2 KiB
JSON
133 lines
3.2 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "quick_guide",
|
|
"description": "Quick guide step management and media handling functions",
|
|
"functions": [
|
|
{
|
|
"id": "init",
|
|
"name": "init",
|
|
"exported": true,
|
|
"description": "Initialize the quick guide module",
|
|
"category": "lifecycle"
|
|
},
|
|
{
|
|
"id": "steps_generate_id",
|
|
"name": "generateStepId",
|
|
"exported": true,
|
|
"description": "Generate a unique step identifier",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_create",
|
|
"name": "createStep",
|
|
"exported": true,
|
|
"description": "Create a new empty step with default values",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_add",
|
|
"name": "addStep",
|
|
"exported": true,
|
|
"description": "Add a new step to the steps array",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_update",
|
|
"name": "updateStep",
|
|
"exported": true,
|
|
"description": "Update a step in the steps array",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_remove",
|
|
"name": "removeStep",
|
|
"exported": true,
|
|
"description": "Remove a step from the steps array",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_reset_ordering",
|
|
"name": "resetOrdering",
|
|
"exported": true,
|
|
"description": "Reset step IDs to sequential order",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_validate",
|
|
"name": "validateStep",
|
|
"exported": true,
|
|
"description": "Validate a single step",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "steps_validate_all",
|
|
"name": "validateAllSteps",
|
|
"exported": true,
|
|
"description": "Validate all steps in the array",
|
|
"category": "steps"
|
|
},
|
|
{
|
|
"id": "media_is_valid_url",
|
|
"name": "isValidUrl",
|
|
"exported": true,
|
|
"description": "Validate a URL (basic check)",
|
|
"category": "media"
|
|
},
|
|
{
|
|
"id": "media_is_image_url",
|
|
"name": "isImageUrl",
|
|
"exported": true,
|
|
"description": "Check if URL points to an image",
|
|
"category": "media"
|
|
},
|
|
{
|
|
"id": "media_is_video_url",
|
|
"name": "isVideoUrl",
|
|
"exported": true,
|
|
"description": "Check if URL points to a video",
|
|
"category": "media"
|
|
},
|
|
{
|
|
"id": "media_prepare_state",
|
|
"name": "prepareMediaState",
|
|
"exported": true,
|
|
"description": "Prepare media state from props",
|
|
"category": "media"
|
|
},
|
|
{
|
|
"id": "media_handle_thumbnail",
|
|
"name": "handleThumbnailChange",
|
|
"exported": true,
|
|
"description": "Handle thumbnail URL change",
|
|
"category": "media"
|
|
},
|
|
{
|
|
"id": "media_handle_video",
|
|
"name": "handleVideoChange",
|
|
"exported": true,
|
|
"description": "Handle video URL change",
|
|
"category": "media"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"init",
|
|
"generateStepId",
|
|
"createStep",
|
|
"addStep",
|
|
"updateStep",
|
|
"removeStep",
|
|
"resetOrdering",
|
|
"validateStep",
|
|
"validateAllSteps",
|
|
"isValidUrl",
|
|
"isImageUrl",
|
|
"isVideoUrl",
|
|
"prepareMediaState",
|
|
"handleThumbnailChange",
|
|
"handleVideoChange"
|
|
]
|
|
}
|
|
}
|