mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
48 lines
861 B
JSON
48 lines
861 B
JSON
{
|
|
"entity": "KVEntry",
|
|
"version": "1.0",
|
|
"description": "Key-value store entry for CodeForge app data persistence",
|
|
"tenantId": true,
|
|
"fields": {
|
|
"id": {
|
|
"type": "string",
|
|
"primary": true,
|
|
"description": "The KV key (e.g. 'project-files', 'project-models')"
|
|
},
|
|
"value": {
|
|
"type": "json",
|
|
"required": true,
|
|
"description": "Stored value (any JSON-serializable data)"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
} |