mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +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>
58 lines
1.2 KiB
JSON
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 }
|
|
}
|
|
}
|