config: packages,metadata,json (18 files)

This commit is contained in:
Richard Ward
2025-12-30 23:11:25 +00:00
parent 1ebcd93f7e
commit a72ffff6e2
18 changed files with 511 additions and 123 deletions

View File

@@ -7,7 +7,9 @@
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"ConfigSummary",
@@ -28,5 +30,16 @@
"tests/aggregators.cases.json"
]
},
"minLevel": 4
"minLevel": 4,
"primary": false,
"permissions": {
"config.summary.export": {
"minLevel": 4,
"description": "Export configuration data"
},
"config.summary.view": {
"minLevel": 4,
"description": "View configuration summaries"
}
}
}

View File

@@ -45,5 +45,20 @@
"tests": [
"tests/colors.test.lua",
"tests/export.test.lua"
]
],
"primary": true,
"permissions": {
"css.designer.export": {
"minLevel": 2,
"description": "Export to SCSS/CSS"
},
"css.designer.edit": {
"minLevel": 2,
"description": "Edit CSS styles"
},
"css.designer.view": {
"minLevel": 2,
"description": "View CSS designer"
}
}
}

View File

@@ -6,8 +6,13 @@
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "ui",
"dependencies": ["data_table", "ui_permissions"],
"devDependencies": ["lua_test"],
"dependencies": [
"data_table",
"ui_permissions"
],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"StatCard",
@@ -27,5 +32,20 @@
"tests/stats.cases.json"
]
},
"minLevel": 2
}
"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"
}
}
}

View File

@@ -7,7 +7,9 @@
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"DataGrid"
@@ -33,5 +35,20 @@
"tests/export.cases.json"
]
},
"minLevel": 1
"minLevel": 1,
"primary": false,
"permissions": {
"datatable.export": {
"minLevel": 2,
"description": "Export table data"
},
"datatable.view": {
"minLevel": 1,
"description": "View data tables"
},
"datatable.filter": {
"minLevel": 1,
"description": "Filter table data"
}
}
}

View File

@@ -1,41 +1,58 @@
{
"packageId": "form_builder",
"name": "Form Builder",
"version": "1.0.0",
"description": "Form fields, validation, and submission handling",
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": ["lua_test"],
"exports": {
"components": [
"FormField",
"EmailField",
"PasswordField",
"NumberField",
"SearchBar",
"ContactForm"
],
"scripts": [
"fields",
"validate",
"contact_form"
]
},
"tests": {
"scripts": [
"tests/metadata.test.lua",
"tests/components.test.lua",
"tests/validate.test.lua",
"tests/contact_form.test.lua"
],
"cases": [
"tests/metadata.cases.json",
"tests/components.cases.json",
"tests/validate.cases.json",
"tests/contact_form.cases.json"
]
},
"minLevel": 1
}
{
"packageId": "form_builder",
"name": "Form Builder",
"version": "1.0.0",
"description": "Form fields, validation, and submission handling",
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"FormField",
"EmailField",
"PasswordField",
"NumberField",
"SearchBar",
"ContactForm"
],
"scripts": [
"fields",
"validate",
"contact_form"
]
},
"tests": {
"scripts": [
"tests/metadata.test.lua",
"tests/components.test.lua",
"tests/validate.test.lua",
"tests/contact_form.test.lua"
],
"cases": [
"tests/metadata.cases.json",
"tests/components.cases.json",
"tests/validate.cases.json",
"tests/contact_form.cases.json"
]
},
"minLevel": 1,
"primary": false,
"permissions": {
"form.view": {
"minLevel": 1,
"description": "View forms"
},
"form.submit": {
"minLevel": 1,
"description": "Submit forms"
},
"form.create": {
"minLevel": 3,
"description": "Create form definitions"
}
}
}

View File

@@ -6,8 +6,14 @@
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "social",
"dependencies": ["ui_permissions", "data_table", "form_builder"],
"devDependencies": ["lua_test"],
"dependencies": [
"ui_permissions",
"data_table",
"form_builder"
],
"devDependencies": [
"lua_test"
],
"exports": {
"components": []
},
@@ -23,7 +29,34 @@
},
"minLevel": 2,
"schema": {
"entities": ["ForumCategory", "ForumThread", "ForumPost"],
"entities": [
"ForumCategory",
"ForumThread",
"ForumPost"
],
"path": "schema/entities.yaml"
},
"primary": true,
"permissions": {
"forum.thread.create": {
"minLevel": 2,
"description": "Create forum threads"
},
"forum.view": {
"minLevel": 2,
"description": "View forum categories and threads"
},
"forum.moderate": {
"minLevel": 3,
"description": "Moderate forum content"
},
"forum.category.manage": {
"minLevel": 4,
"description": "Manage forum categories"
},
"forum.post.create": {
"minLevel": 2,
"description": "Create forum posts"
}
}
}
}

View File

@@ -6,10 +6,41 @@
"author": "MetaBuilder",
"minLevel": 2,
"category": "development",
"tags": ["github", "ci-cd", "workflow", "actions"],
"tags": [
"github",
"ci-cd",
"workflow",
"actions"
],
"dependencies": [],
"exports": {
"components": ["GitHubViewer", "RunList", "RunDetails", "AnalysisPanel", "RunFilters"],
"scripts": ["fetch_runs", "analyze", "filter", "status"]
"components": [
"GitHubViewer",
"RunList",
"RunDetails",
"AnalysisPanel",
"RunFilters"
],
"scripts": [
"fetch_runs",
"analyze",
"filter",
"status"
]
},
"primary": true,
"permissions": {
"github.runs.view": {
"minLevel": 2,
"description": "View GitHub Actions runs"
},
"github.runs.analyze": {
"minLevel": 2,
"description": "Analyze GitHub Actions runs"
},
"github.workflow.trigger": {
"minLevel": 3,
"description": "Trigger workflow runs"
}
}
}

View File

@@ -7,10 +7,16 @@
"author": "MetaBuilder Team",
"category": "social",
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": ["IRCWebchat"],
"layouts": ["layout.json"],
"components": [
"IRCWebchat"
],
"layouts": [
"layout.json"
],
"luaScripts": [
"send_message",
"handle_command",
@@ -29,10 +35,42 @@
"tests/components.cases.json"
]
},
"tags": ["chat", "irc", "messaging", "realtime"],
"tags": [
"chat",
"irc",
"messaging",
"realtime"
],
"minLevel": 2,
"schema": {
"entities": ["IRCChannel", "IRCMessage", "IRCMembership"],
"entities": [
"IRCChannel",
"IRCMessage",
"IRCMembership"
],
"path": "schema/entities.yaml"
},
"primary": true,
"permissions": {
"irc.channel.moderate": {
"minLevel": 3,
"description": "Moderate IRC channels"
},
"irc.message.send": {
"minLevel": 2,
"description": "Send IRC messages"
},
"irc.channel.join": {
"minLevel": 2,
"description": "Join IRC channels"
},
"irc.channel.view": {
"minLevel": 2,
"description": "View IRC channels"
},
"irc.channel.create": {
"minLevel": 3,
"description": "Create IRC channels"
}
}
}

View File

@@ -8,8 +8,27 @@
"category": "tools",
"dependencies": [],
"exports": {
"components": ["TestRunner", "TestResults"],
"scripts": ["framework", "runner", "assertions", "mocks"]
"components": [
"TestRunner",
"TestResults"
],
"scripts": [
"framework",
"runner",
"assertions",
"mocks"
]
},
"minLevel": 3
"minLevel": 3,
"primary": false,
"permissions": {
"lua.test.run": {
"minLevel": 3,
"description": "Run Lua tests"
},
"lua.test.view": {
"minLevel": 3,
"description": "View test results"
}
}
}

View File

@@ -9,7 +9,9 @@
"dependencies": [
"ui_permissions"
],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"Sidebar",
@@ -31,5 +33,16 @@
"tests/components.cases.json"
]
},
"minLevel": 2
}
"minLevel": 2,
"primary": false,
"permissions": {
"nav.menu.view": {
"minLevel": 2,
"description": "View navigation menus"
},
"nav.menu.configure": {
"minLevel": 4,
"description": "Configure navigation menus"
}
}
}

View File

@@ -1,37 +1,60 @@
{
"packageId": "notification_center",
"name": "Notification Center",
"version": "1.0.0",
"description": "Notification center components and summary cards",
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": ["lua_test"],
"exports": {
"components": [
"NotificationSummary"
],
"scripts": [
"init",
"toast",
"list",
"summary"
]
},
"tests": {
"scripts": [
"tests/metadata.test.lua",
"tests/components.test.lua"
],
"cases": [
"tests/metadata.cases.json",
"tests/components.cases.json"
]
},
"minLevel": 1,
"schema": {
"entities": ["Notification"],
"path": "schema/entities.yaml"
}
}
{
"packageId": "notification_center",
"name": "Notification Center",
"version": "1.0.0",
"description": "Notification center components and summary cards",
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"NotificationSummary"
],
"scripts": [
"init",
"toast",
"list",
"summary"
]
},
"tests": {
"scripts": [
"tests/metadata.test.lua",
"tests/components.test.lua"
],
"cases": [
"tests/metadata.cases.json",
"tests/components.cases.json"
]
},
"minLevel": 1,
"schema": {
"entities": [
"Notification"
],
"path": "schema/entities.yaml"
},
"primary": false,
"permissions": {
"notifications.view": {
"minLevel": 1,
"description": "View notifications"
},
"notifications.dismiss": {
"minLevel": 1,
"description": "Dismiss notifications"
},
"notifications.send": {
"minLevel": 3,
"description": "Send notifications to users"
},
"notifications.broadcast": {
"minLevel": 4,
"description": "Broadcast notifications"
}
}
}

View File

@@ -22,5 +22,20 @@
"media"
]
},
"minLevel": 2
"minLevel": 2,
"primary": true,
"permissions": {
"guide.edit": {
"minLevel": 3,
"description": "Edit quick guides"
},
"guide.view": {
"minLevel": 2,
"description": "View quick guides"
},
"guide.create": {
"minLevel": 3,
"description": "Create quick guides"
}
}
}

View File

@@ -7,7 +7,9 @@
"author": "MetaBuilder",
"category": "ui",
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"RoleEditor",
@@ -28,5 +30,28 @@
"tests/config.cases.json"
]
},
"minLevel": 3
"minLevel": 3,
"primary": true,
"permissions": {
"role.delete": {
"minLevel": 5,
"description": "Delete roles"
},
"role.assign": {
"minLevel": 4,
"description": "Assign roles to users"
},
"role.create": {
"minLevel": 4,
"description": "Create roles"
},
"role.view": {
"minLevel": 3,
"description": "View roles"
},
"role.edit": {
"minLevel": 4,
"description": "Edit roles"
}
}
}

View File

@@ -9,7 +9,9 @@
"dependencies": [
"form_builder"
],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"scripts": [
"fields",
@@ -36,5 +38,24 @@
"tests/table_operations.cases.json"
]
},
"minLevel": 5
}
"minLevel": 5,
"primary": true,
"permissions": {
"schema.view": {
"minLevel": 5,
"description": "View database schemas"
},
"schema.create": {
"minLevel": 5,
"description": "Create new schemas"
},
"schema.edit": {
"minLevel": 5,
"description": "Edit database schemas"
},
"schema.migrate": {
"minLevel": 5,
"description": "Run schema migrations"
}
}
}

View File

@@ -7,12 +7,29 @@
"license": "MIT",
"minLevel": 5,
"category": "demo",
"tags": ["screenshot", "analysis", "browser", "dom"],
"tags": [
"screenshot",
"analysis",
"browser",
"dom"
],
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": ["ScreenshotAnalyzer", "UploadSection", "ResultPanel", "PageInfo"],
"scripts": ["init", "capture", "analyze", "page_info"]
"components": [
"ScreenshotAnalyzer",
"UploadSection",
"ResultPanel",
"PageInfo"
],
"scripts": [
"init",
"capture",
"analyze",
"page_info"
]
},
"tests": {
"scripts": [
@@ -29,5 +46,20 @@
"browser": true
},
"requiredHooks": [],
"layout": "layout.json"
"layout": "layout.json",
"primary": true,
"permissions": {
"screenshot.upload": {
"minLevel": 5,
"description": "Upload screenshots"
},
"screenshot.analyze": {
"minLevel": 5,
"description": "Analyze screenshots"
},
"screenshot.capture": {
"minLevel": 5,
"description": "Capture screenshots"
}
}
}

View File

@@ -17,5 +17,16 @@
"permissions.database_toggle"
],
"dependencies": [],
"minLevel": 0
"minLevel": 0,
"primary": false,
"permissions": {
"shared.permissions.check": {
"minLevel": 0,
"description": "Check permissions"
},
"shared.types.access": {
"minLevel": 0,
"description": "Access shared type definitions"
}
}
}

View File

@@ -7,7 +7,9 @@
"author": "MetaBuilder",
"category": "config",
"dependencies": [],
"devDependencies": ["lua_test"],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"SMTPConfigEditor",
@@ -28,5 +30,20 @@
"tests/validate.cases.json"
]
},
"minLevel": 5
"minLevel": 5,
"primary": true,
"permissions": {
"smtp.config.view": {
"minLevel": 5,
"description": "View SMTP configuration"
},
"smtp.config.edit": {
"minLevel": 5,
"description": "Edit SMTP configuration"
},
"smtp.test": {
"minLevel": 5,
"description": "Test SMTP connection"
}
}
}

View File

@@ -6,8 +6,13 @@
"icon": "static_content/icon.svg",
"author": "MetaBuilder",
"category": "social",
"dependencies": ["ui_permissions", "form_builder"],
"devDependencies": ["lua_test"],
"dependencies": [
"ui_permissions",
"form_builder"
],
"devDependencies": [
"lua_test"
],
"exports": {
"components": [
"social_hub_root",
@@ -51,5 +56,28 @@
"tests/components.cases.json"
]
},
"minLevel": 2
}
"minLevel": 2,
"primary": true,
"permissions": {
"social.feed.view": {
"minLevel": 2,
"description": "View social feed"
},
"social.moderate": {
"minLevel": 3,
"description": "Moderate social content"
},
"social.post.edit": {
"minLevel": 2,
"description": "Edit own posts"
},
"social.post.create": {
"minLevel": 2,
"description": "Create social posts"
},
"social.post.delete": {
"minLevel": 2,
"description": "Delete own posts"
}
}
}