mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
The DBAL sync client referenced these 4 entities but no JSON schema files existed, causing 422 Unprocessable Entity on CodeForge page load. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"entity": "Settings",
|
|
"version": "1.0",
|
|
"description": "Application settings for a CodeForge user session",
|
|
"tenantId": true,
|
|
"fields": {
|
|
"id": {
|
|
"type": "string",
|
|
"primary": true,
|
|
"description": "Settings key (e.g. 'app')"
|
|
},
|
|
"autoSave": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable automatic file saving"
|
|
},
|
|
"autoSync": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable automatic DBAL synchronization"
|
|
},
|
|
"syncInterval": {
|
|
"type": "integer",
|
|
"default": 30000,
|
|
"description": "Sync interval in milliseconds"
|
|
},
|
|
"dbalApiUrl": {
|
|
"type": "string",
|
|
"default": "http://localhost:8080",
|
|
"description": "DBAL daemon API URL"
|
|
},
|
|
"useIndexedDB": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable IndexedDB client-side persistence"
|
|
},
|
|
"theme": {
|
|
"type": "enum",
|
|
"values": ["light", "dark", "system"],
|
|
"default": "light",
|
|
"description": "UI theme preference"
|
|
},
|
|
"locale": {
|
|
"type": "string",
|
|
"default": "en",
|
|
"max_length": 10,
|
|
"description": "UI locale (e.g. en, es)"
|
|
},
|
|
"createdAt": {
|
|
"type": "bigint",
|
|
"generated": true
|
|
},
|
|
"updatedAt": {
|
|
"type": "bigint",
|
|
"generated": true
|
|
}
|
|
},
|
|
"indexes": [
|
|
{
|
|
"fields": ["tenantId"]
|
|
}
|
|
],
|
|
"acl": {
|
|
"create": { "user": true },
|
|
"read": { "self": true, "admin": true },
|
|
"update": { "self": true },
|
|
"delete": { "self": true }
|
|
}
|
|
}
|