Files
metabuilder/packages/dashboard/seed/metadata.json
2025-12-31 02:04:59 +00:00

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"
}
]
}
}