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
dbbasic-package.json · 2.4 KB · 74 lines
| 1 | { |
| 2 | "id": "app-contacts", |
| 3 | "name": "Contacts", |
| 4 | "version": "0.3.0", |
| 5 | "description": "CRM records: contacts, organizations, interactions, and tags, owner-scoped with project sharing and global search. Seeds one 59 detail view + site_routes row per collection (/contacts/{id}, /organizations/{id}, /interactions/{id}, /tags/{id}), each routed through app-views' site_view_render -- a soft reference like template_id's, not a hard dependency: without app-views installed the routes simply 404, the same graceful degrade site routing already has for any unresolved path. 0.2.0 deletes the bespoke /contacts list page object: it was ~80 lines of chrome around two generator calls with no business logic of its own, and is now a seeded VIEW record over the same `list` block /notes uses (title_field: full_name, the formula field already computed server-side). Contacts declare capabilities.attachments (a signed contract, an ID) and deliberately NOT comments: `interactions` already records what was said to this person, and a second thread beside it would split that history in half.", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": [ |
| 10 | "app-projects" |
| 11 | ], |
| 12 | "objects": [], |
| 13 | "schemas": [ |
| 14 | { |
| 15 | "collection": "contacts", |
| 16 | "path": "schemas/contacts.json" |
| 17 | }, |
| 18 | { |
| 19 | "collection": "organizations", |
| 20 | "path": "schemas/organizations.json" |
| 21 | }, |
| 22 | { |
| 23 | "collection": "interactions", |
| 24 | "path": "schemas/interactions.json" |
| 25 | }, |
| 26 | { |
| 27 | "collection": "tags", |
| 28 | "path": "schemas/tags.json" |
| 29 | } |
| 30 | ], |
| 31 | "permissions": [ |
| 32 | { |
| 33 | "path": "permissions/rules.json" |
| 34 | } |
| 35 | ], |
| 36 | "seed": [ |
| 37 | { |
| 38 | "collection": "contacts", |
| 39 | "path": "seed/contacts.tsv" |
| 40 | }, |
| 41 | { |
| 42 | "collection": "organizations", |
| 43 | "path": "seed/organizations.tsv" |
| 44 | }, |
| 45 | { |
| 46 | "collection": "interactions", |
| 47 | "path": "seed/interactions.tsv" |
| 48 | }, |
| 49 | { |
| 50 | "collection": "tags", |
| 51 | "path": "seed/tags.tsv" |
| 52 | }, |
| 53 | { |
| 54 | "collection": "views", |
| 55 | "path": "seed/views.tsv" |
| 56 | }, |
| 57 | { |
| 58 | "collection": "site_routes", |
| 59 | "path": "seed/site_routes.tsv" |
| 60 | } |
| 61 | ], |
| 62 | "migrations": [], |
| 63 | "nav": [ |
| 64 | { |
| 65 | "id": "contacts", |
| 66 | "label": "Contacts", |
| 67 | "path": "/contacts", |
| 68 | "blurb": "People, the organizations they belong to, and interactions logged against them", |
| 69 | "surface": "member", |
| 70 | "group": "Work", |
| 71 | "order": 60 |
| 72 | } |
| 73 | ] |
| 74 | } |