askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
user_prefs.json · 692 bytes · 42 lines
| 1 | { |
| 2 | "name": "user_prefs", |
| 3 | "title": "User Prefs", |
| 4 | "version": 1, |
| 5 | "description": "Per-user settings, owner-scoped: key/value pairs any app can read/write via GET/PUT /prefs.", |
| 6 | "fields": [ |
| 7 | { |
| 8 | "name": "id" |
| 9 | }, |
| 10 | { |
| 11 | "name": "owner_id", |
| 12 | "type": "text", |
| 13 | "label": "Owner" |
| 14 | }, |
| 15 | { |
| 16 | "name": "key", |
| 17 | "type": "text", |
| 18 | "required": true, |
| 19 | "label": "Key" |
| 20 | }, |
| 21 | { |
| 22 | "name": "value", |
| 23 | "type": "text", |
| 24 | "label": "Value" |
| 25 | } |
| 26 | ], |
| 27 | "forms": { |
| 28 | "default": { |
| 29 | "fields": [ |
| 30 | "key", |
| 31 | "value" |
| 32 | ] |
| 33 | } |
| 34 | }, |
| 35 | "views": { |
| 36 | "list_mode": "table", |
| 37 | "list_fields": [ |
| 38 | "key", |
| 39 | "value" |
| 40 | ] |
| 41 | } |
| 42 | } |