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
notes.json · 1.2 KB · 70 lines
| 1 | { |
| 2 | "name": "notes", |
| 3 | "title": "Notes", |
| 4 | "version": 3, |
| 5 | "description": "Quick notes, optionally linked to a project.", |
| 6 | "fields": [ |
| 7 | { |
| 8 | "name": "id" |
| 9 | }, |
| 10 | { |
| 11 | "name": "content", |
| 12 | "type": "textarea", |
| 13 | "required": true, |
| 14 | "label": "Content", |
| 15 | "validation": { |
| 16 | "min_length": 1 |
| 17 | } |
| 18 | }, |
| 19 | { |
| 20 | "name": "project_id", |
| 21 | "label": "Project", |
| 22 | "relation": { |
| 23 | "collection": "projects", |
| 24 | "display_field": "name" |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "name": "is_public", |
| 29 | "type": "boolean", |
| 30 | "label": "Public", |
| 31 | "default": "false" |
| 32 | }, |
| 33 | { |
| 34 | "name": "created_at", |
| 35 | "type": "datetime", |
| 36 | "label": "Created", |
| 37 | "read_only": true |
| 38 | }, |
| 39 | { |
| 40 | "name": "owner_id", |
| 41 | "type": "text", |
| 42 | "label": "Owner" |
| 43 | } |
| 44 | ], |
| 45 | "forms": { |
| 46 | "default": { |
| 47 | "fields": [ |
| 48 | "content", |
| 49 | "project_id", |
| 50 | "is_public" |
| 51 | ] |
| 52 | } |
| 53 | }, |
| 54 | "views": { |
| 55 | "list_mode": "cards", |
| 56 | "list_fields": [ |
| 57 | "content", |
| 58 | "project_id" |
| 59 | ] |
| 60 | }, |
| 61 | "search": { |
| 62 | "fields": [ |
| 63 | "content" |
| 64 | ] |
| 65 | }, |
| 66 | "capabilities": { |
| 67 | "attachments": true, |
| 68 | "shareable": true |
| 69 | } |
| 70 | } |