mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-02 01:34:56 +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.
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "ui_home",
|
|
"description": "Home page navigation and lifecycle functions",
|
|
"functions": [
|
|
{
|
|
"id": "lifecycle_install",
|
|
"name": "onInstall",
|
|
"exported": true,
|
|
"description": "Package installation handler",
|
|
"category": "lifecycle",
|
|
"luaScript": "init.lua"
|
|
},
|
|
{
|
|
"id": "lifecycle_uninstall",
|
|
"name": "onUninstall",
|
|
"exported": true,
|
|
"description": "Package uninstallation handler",
|
|
"category": "lifecycle",
|
|
"luaScript": "init.lua"
|
|
},
|
|
{
|
|
"id": "navigate_to_level2",
|
|
"name": "toLevel2",
|
|
"exported": true,
|
|
"description": "Navigate to Level 2 user area",
|
|
"category": "navigation",
|
|
"luaScript": "navigate/to_level2.lua"
|
|
},
|
|
{
|
|
"id": "navigate_to_level3",
|
|
"name": "toLevel3",
|
|
"exported": true,
|
|
"description": "Navigate to Level 3 moderator panel",
|
|
"category": "navigation",
|
|
"luaScript": "navigate/to_level3.lua"
|
|
},
|
|
{
|
|
"id": "navigate_open_docs",
|
|
"name": "openDocs",
|
|
"exported": true,
|
|
"description": "Open documentation",
|
|
"category": "navigation",
|
|
"luaScript": "navigate/open_docs.lua"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"onInstall",
|
|
"onUninstall",
|
|
"toLevel2",
|
|
"toLevel3",
|
|
"openDocs"
|
|
]
|
|
}
|
|
}
|