Files
metabuilder/packages/code_editor/scripts/functions.json
johndoe6345789 7a82c07bfe feat(codegen_studio): add Codegen Studio components for template generation and project scaffolding
- Introduced `CodegenStudio`, `TemplateSelector`, and `PackageGenerator` components with detailed props and rendering logic.
- Created UI styles and tokens for consistent theming across components.
- Implemented permissions for template viewing, creation, and code generation.
- Added functions for lifecycle events, blueprint building, and package generation.
- Developed storybook stories for visual testing and documentation of components.

feat(config_summary): implement configuration summary components and styles

- Added `ConfigSummary`, `SummaryRow`, and related components for displaying system stats.
- Defined permissions for viewing and exporting configuration summaries.
- Created functions for rendering and aggregating summary data.
- Established storybook stories for showcasing summary components and their variations.
- Introduced styles and tokens for consistent UI presentation across summary components.
2026-01-02 16:26:34 +00:00

94 lines
2.3 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
"schemaVersion": "2.2.0",
"package": "code_editor",
"description": "Code editor functions for JSON, Lua, and theme editing",
"functions": [
{
"id": "json_render",
"name": "renderJsonEditor",
"exported": true,
"description": "Render JSON editor component with options",
"category": "json",
"luaScript": "json.lua"
},
{
"id": "json_validate",
"name": "validateJson",
"exported": true,
"description": "Validate JSON string syntax",
"category": "json",
"luaScript": "json.lua"
},
{
"id": "json_format",
"name": "formatJson",
"exported": true,
"description": "Format JSON string with indentation",
"category": "json",
"luaScript": "json.lua"
},
{
"id": "lua_render",
"name": "renderLuaEditor",
"exported": true,
"description": "Render Lua code editor component",
"category": "lua",
"luaScript": "lua.lua"
},
{
"id": "lua_validate",
"name": "validateLua",
"exported": true,
"description": "Validate Lua code syntax",
"category": "lua",
"luaScript": "lua.lua"
},
{
"id": "lua_run_sandbox",
"name": "runLuaSandbox",
"exported": true,
"description": "Execute Lua code in sandbox environment",
"category": "lua",
"luaScript": "lua.lua"
},
{
"id": "theme_render",
"name": "renderThemeEditor",
"exported": true,
"description": "Render theme customization editor",
"category": "theme",
"luaScript": "theme.lua"
},
{
"id": "theme_color_picker",
"name": "renderColorPicker",
"exported": true,
"description": "Render color picker component",
"category": "theme",
"luaScript": "theme.lua"
},
{
"id": "theme_mode_toggle",
"name": "renderModeToggle",
"exported": true,
"description": "Render light/dark mode toggle",
"category": "theme",
"luaScript": "theme.lua"
}
],
"exports": {
"functions": [
"renderJsonEditor",
"validateJson",
"formatJson",
"renderLuaEditor",
"validateLua",
"runLuaSandbox",
"renderThemeEditor",
"renderColorPicker",
"renderModeToggle"
]
}
}