mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
Remove unnecessary seed schemas - keep seed folders simple
Seed folders are just mundane data lists (like a list of games). No schemas, no extras, no code. Just data.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[
|
||||
{
|
||||
"$schema": "https://metabuilder.dev/schemas/seed/page-config/schema.json",
|
||||
"id": "page_ui_home_root",
|
||||
"path": "/",
|
||||
"title": "MetaBuilder",
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://metabuilder.dev/schemas/seed/component-config.json",
|
||||
"title": "Component Config Seed Data",
|
||||
"description": "Seed data for ComponentConfig database entries",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "name"],
|
||||
"properties": {
|
||||
"id": { "type": "string", "description": "Component ID" },
|
||||
"name": { "type": "string", "description": "Component name" },
|
||||
"packageId": { "type": "string", "description": "Package ID" },
|
||||
"description": { "type": "string", "description": "Component description" },
|
||||
"category": { "type": "string", "description": "Component category" },
|
||||
"props": { "type": "string", "description": "JSON string of default props" },
|
||||
"metadata": { "type": "string", "description": "JSON string of metadata" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://metabuilder.dev/schemas/seed/page-config.json",
|
||||
"title": "Page Config Seed Data",
|
||||
"description": "Seed data for PageConfig database entries",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["path", "title", "component"],
|
||||
"properties": {
|
||||
"id": { "type": "string", "description": "Page ID" },
|
||||
"path": { "type": "string", "description": "URL path" },
|
||||
"title": { "type": "string", "description": "Page title" },
|
||||
"description": { "type": "string", "description": "Page description" },
|
||||
"packageId": { "type": "string", "description": "Package ID" },
|
||||
"component": { "type": "string", "description": "Component to render" },
|
||||
"icon": { "type": "string", "description": "Icon for navigation" },
|
||||
"level": { "type": "integer", "minimum": 0, "maximum": 5, "default": 0, "description": "Access level" },
|
||||
"requiresAuth": { "type": "boolean", "default": false },
|
||||
"isPublished": { "type": "boolean", "default": true },
|
||||
"sortOrder": { "type": "integer", "default": 0 },
|
||||
"parentPath": { "type": "string", "description": "Parent page path" },
|
||||
"requiredRole": { "type": "string" },
|
||||
"params": { "type": "string", "description": "JSON string of parameters" },
|
||||
"meta": { "type": "string", "description": "JSON string of metadata" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://metabuilder.dev/schemas/seed/permission.json",
|
||||
"title": "Permission Seed Data",
|
||||
"description": "Seed data for permission entries",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["resource", "action"],
|
||||
"properties": {
|
||||
"id": { "type": "string", "description": "Permission ID" },
|
||||
"resource": { "type": "string", "description": "Resource type" },
|
||||
"action": { "type": "string", "description": "Action (read, write, delete, etc)" },
|
||||
"role": { "type": "string", "description": "Required role" },
|
||||
"level": { "type": "integer", "minimum": 0, "maximum": 5, "description": "Required level" },
|
||||
"description": { "type": "string" },
|
||||
"conditions": { "type": "string", "description": "JSON string of conditions" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://metabuilder.dev/schemas/seed/workflow.json",
|
||||
"title": "Workflow Seed Data",
|
||||
"description": "Seed data for Workflow database entries",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "name"],
|
||||
"properties": {
|
||||
"id": { "type": "string", "description": "Workflow ID" },
|
||||
"name": { "type": "string", "description": "Workflow name" },
|
||||
"packageId": { "type": "string", "description": "Package ID" },
|
||||
"description": { "type": "string", "description": "Workflow description" },
|
||||
"enabled": { "type": "boolean", "default": true },
|
||||
"definition": { "type": "string", "description": "JSON string of workflow definition" },
|
||||
"trigger": { "type": "string", "description": "Trigger type (event, schedule, manual)" },
|
||||
"metadata": { "type": "string", "description": "JSON string of metadata" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user