Files
johndoe6345789 149d6cf297 fix(dbal): add missing codeforge entity schemas (Settings, Theme, Lambda, ComponentNode)
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>
2026-03-19 08:43:52 +00:00

58 lines
1.2 KiB
JSON

{
"entity": "Lambda",
"version": "1.0",
"description": "Serverless function definition in CodeForge",
"tenantId": true,
"fields": {
"id": {
"type": "uuid",
"primary": true,
"generated": true,
"description": "Unique lambda identifier"
},
"name": {
"type": "string",
"required": true,
"max_length": 255,
"description": "Lambda function name"
},
"description": {
"type": "string",
"max_length": 1024,
"description": "Lambda description"
},
"code": {
"type": "text",
"required": true,
"description": "Function source code"
},
"runtime": {
"type": "string",
"required": true,
"max_length": 50,
"description": "Runtime environment (e.g. nodejs20, python3.11)"
},
"handler": {
"type": "string",
"required": true,
"max_length": 255,
"description": "Entry point handler (e.g. index.handler)"
},
"updatedAt": {
"type": "bigint",
"generated": true
}
},
"indexes": [
{
"fields": ["tenantId"]
}
],
"acl": {
"create": { "user": true },
"read": { "self": true, "admin": true },
"update": { "self": true },
"delete": { "self": true }
}
}