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
links.json · 1.3 KB · 63 lines
| 1 | { |
| 2 | "name": "links", |
| 3 | "title": "Links", |
| 4 | "version": 2, |
| 5 | "description": "Saved links and bookmarks.", |
| 6 | "fields": [ |
| 7 | { |
| 8 | "name": "id" |
| 9 | }, |
| 10 | { |
| 11 | "name": "title", |
| 12 | "type": "text", |
| 13 | "required": true, |
| 14 | "label": "Title", |
| 15 | "validation": {"min_length": 1, "max_length": 200} |
| 16 | }, |
| 17 | { |
| 18 | "name": "url", |
| 19 | "type": "text", |
| 20 | "required": true, |
| 21 | "label": "URL", |
| 22 | "placeholder": "https://", |
| 23 | "validation": {"min_length": 1, "max_length": 2000, "pattern": "^https?://\\S+$"} |
| 24 | }, |
| 25 | { |
| 26 | "name": "description", |
| 27 | "type": "textarea", |
| 28 | "label": "Description" |
| 29 | }, |
| 30 | { |
| 31 | "name": "tags", |
| 32 | "type": "text", |
| 33 | "label": "Tags", |
| 34 | "help": "Separate tags with commas (e.g. reference, docs, tutorial)" |
| 35 | }, |
| 36 | { |
| 37 | "name": "notes", |
| 38 | "type": "textarea", |
| 39 | "label": "Notes" |
| 40 | }, |
| 41 | { |
| 42 | "name": "created_at", |
| 43 | "type": "datetime", |
| 44 | "label": "Added", |
| 45 | "read_only": true |
| 46 | }, |
| 47 | { |
| 48 | "name": "owner_id", |
| 49 | "type": "text", |
| 50 | "label": "Owner" |
| 51 | } |
| 52 | ], |
| 53 | "forms": { |
| 54 | "default": {"fields": ["title", "url", "description", "tags", "notes"]} |
| 55 | }, |
| 56 | "views": { |
| 57 | "list_mode": "cards", |
| 58 | "list_fields": ["title", "url", "tags"] |
| 59 | }, |
| 60 | "search": { |
| 61 | "fields": ["title", "url", "description", "tags", "notes"] |
| 62 | } |
| 63 | } |