mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-02 01:34:56 +00:00
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
{
|
|
"packageId": "dashboard",
|
|
"name": "Dashboard",
|
|
"version": "1.0.0",
|
|
"description": "Dashboard layouts, stat cards, and widgets",
|
|
"icon": "static_content/icon.svg",
|
|
"author": "MetaBuilder",
|
|
"category": "ui",
|
|
"dependencies": [
|
|
"data_table",
|
|
"ui_permissions"
|
|
],
|
|
"devDependencies": [
|
|
"lua_test"
|
|
],
|
|
"exports": {
|
|
"components": [
|
|
"StatCard",
|
|
"DashboardGrid",
|
|
"Widget"
|
|
],
|
|
"scripts": [
|
|
"stats",
|
|
"layout"
|
|
]
|
|
},
|
|
"tests": {
|
|
"scripts": [
|
|
"tests/stats.test.lua"
|
|
],
|
|
"cases": [
|
|
"tests/stats.cases.json"
|
|
]
|
|
},
|
|
"minLevel": 2,
|
|
"primary": true,
|
|
"permissions": {
|
|
"dashboard.view": {
|
|
"minLevel": 2,
|
|
"description": "View dashboard"
|
|
},
|
|
"dashboard.widgets.configure": {
|
|
"minLevel": 3,
|
|
"description": "Configure dashboard widgets"
|
|
},
|
|
"dashboard.widgets.add": {
|
|
"minLevel": 3,
|
|
"description": "Add dashboard widgets",
|
|
"storybook": {
|
|
"stories": []
|
|
}
|
|
}
|
|
},
|
|
"seed": {
|
|
"styles": "seed/styles.json",
|
|
"storybook": {
|
|
"stories": []
|
|
}
|
|
},
|
|
"storybook": {
|
|
"stories": [
|
|
{
|
|
"name": "StatsCard",
|
|
"render": "stats"
|
|
},
|
|
{
|
|
"name": "DashboardLayout",
|
|
"render": "layout"
|
|
}
|
|
]
|
|
}
|
|
}
|