mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +00:00
- Created package.json for ui_pages with dependencies and exports. - Added roles.json for access permissions related to UI pages. - Implemented functions.json for managing UI pages and routing. - Developed stories.json for Storybook showcasing UI pages components. - Defined styles tokens for UI pages including colors, spacing, and typography. feat(ui_permissions): Introduce UI Permissions package for access control - Created package.json for ui_permissions with permission utilities. - Added roles.json defining permissions for a 6-level access control system. - Implemented functions.json for permission checking and level management. - Developed stories.json for Storybook showcasing permission-related components. - Defined styles tokens for UI permissions including colors and spacing.
85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "ui_level2",
|
|
"description": "Level 2 user dashboard layout, profile, and comments management functions",
|
|
"functions": [
|
|
{
|
|
"id": "layout_render",
|
|
"name": "renderLayout",
|
|
"exported": true,
|
|
"description": "Render the main Level 2 layout component",
|
|
"category": "ui",
|
|
"luaScript": "layout.lua"
|
|
},
|
|
{
|
|
"id": "layout_tabs",
|
|
"name": "renderTabs",
|
|
"exported": true,
|
|
"description": "Render tabs component with profile, comments, and chat sections",
|
|
"category": "ui",
|
|
"luaScript": "layout.lua"
|
|
},
|
|
{
|
|
"id": "profile_render",
|
|
"name": "renderProfile",
|
|
"exported": true,
|
|
"description": "Render the profile panel",
|
|
"category": "ui",
|
|
"luaScript": "profile/render.lua"
|
|
},
|
|
{
|
|
"id": "profile_save",
|
|
"name": "saveProfile",
|
|
"exported": true,
|
|
"description": "Save user profile changes",
|
|
"category": "data",
|
|
"luaScript": "profile/save_profile.lua"
|
|
},
|
|
{
|
|
"id": "comments_render",
|
|
"name": "renderComments",
|
|
"exported": true,
|
|
"description": "Render the comments panel",
|
|
"category": "ui",
|
|
"luaScript": "comments/render.lua"
|
|
},
|
|
{
|
|
"id": "comments_list",
|
|
"name": "listComments",
|
|
"exported": true,
|
|
"description": "List user comments",
|
|
"category": "data",
|
|
"luaScript": "comments/list.lua"
|
|
},
|
|
{
|
|
"id": "comments_post",
|
|
"name": "postComment",
|
|
"exported": true,
|
|
"description": "Post a new comment",
|
|
"category": "data",
|
|
"luaScript": "comments/post_comment.lua"
|
|
},
|
|
{
|
|
"id": "comments_composer",
|
|
"name": "renderComposer",
|
|
"exported": true,
|
|
"description": "Render the comment composer component",
|
|
"category": "ui",
|
|
"luaScript": "comments/composer.lua"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"renderLayout",
|
|
"renderTabs",
|
|
"renderProfile",
|
|
"saveProfile",
|
|
"renderComments",
|
|
"listComments",
|
|
"postComment",
|
|
"renderComposer"
|
|
]
|
|
}
|
|
}
|