mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
- Added `jsonScript` property to metadata schema for JSON script entry points. - Refactored `generate-package.ts` to replace Lua scripts with JSON scripts for lifecycle hooks. - Updated test generation to use JSON format for metadata validation. - Modified documentation and comments to reflect the transition from Lua to JSON scripting. - Adjusted Storybook configuration and mock data to align with new JSON script structure. - Renamed relevant files and references from Lua to JSON for consistency across the project.
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "testing",
|
|
"description": "JSON test framework access permissions",
|
|
"permissions": [
|
|
{
|
|
"id": "testing.run",
|
|
"name": "Run Tests",
|
|
"description": "Execute JSON-based test suites",
|
|
"resource": "testing",
|
|
"action": "execute",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "testing.view",
|
|
"name": "View Test Results",
|
|
"description": "View execution results and reports",
|
|
"resource": "testing",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "testing.configure",
|
|
"name": "Configure Test Runner",
|
|
"description": "Adjust test runner settings and filters",
|
|
"resource": "testing",
|
|
"action": "manage",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
},
|
|
{
|
|
"id": "testing.debug",
|
|
"name": "Debug Tests",
|
|
"description": "Access detailed execution traces",
|
|
"resource": "testing",
|
|
"action": "execute",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "testing",
|
|
"name": "JSON Test Framework",
|
|
"type": "function",
|
|
"description": "Resources for JSON test execution",
|
|
"actions": [
|
|
"read",
|
|
"execute",
|
|
"manage"
|
|
]
|
|
}
|
|
]
|
|
}
|