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 · 1.8 KB · 44 lines
| 1 | { |
| 2 | "id": "app-entities", |
| 3 | "name": "Entities", |
| 4 | "version": "0.1.0", |
| 5 | "description": "Multi-entity: a distinct set of books (a business or household) under one login, a faithful port of the predecessor's Entity model (plan/vocabulary/65-multi-entity-spec.md). Owner-scoped -- each entity belongs to one login (owner_id), and a login can run several. entity_id on the finance/commerce collections is a scoping FK pointing INTO this collection (added additively to those packages, backfilled to a per-owner default). Because entities are owner-scoped, the scoping needs NO permission-core change: access stays owner_id-based (you only see your own rows) and the current entity is a client-held 58 filter (entity_id=) that only narrows within your own data. /entities (list + create) and /entities/{entity_id:uuid} (owner-editable detail) are seeded 59 views via site_view_render -- URL-addressable, no bespoke page. mode drives chart-of-accounts auto-seed on creation (deferred to a later slice: a Setup Accounts action). Out of scope v1: multi-member entity sharing, multi-currency FX, inter-entity transactions, cross-entity consolidation.", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": ["app-views"], |
| 10 | "objects": [], |
| 11 | "schemas": [ |
| 12 | { |
| 13 | "collection": "entities", |
| 14 | "path": "schemas/entities.json" |
| 15 | } |
| 16 | ], |
| 17 | "permissions": [ |
| 18 | { |
| 19 | "path": "permissions/rules.json" |
| 20 | } |
| 21 | ], |
| 22 | "seed": [ |
| 23 | { |
| 24 | "collection": "views", |
| 25 | "path": "seed/views.tsv" |
| 26 | }, |
| 27 | { |
| 28 | "collection": "site_routes", |
| 29 | "path": "seed/site_routes.tsv" |
| 30 | } |
| 31 | ], |
| 32 | "migrations": [], |
| 33 | "nav": [ |
| 34 | { |
| 35 | "id": "entities", |
| 36 | "label": "Books", |
| 37 | "path": "/entities", |
| 38 | "blurb": "The separate sets of books one login keeps", |
| 39 | "surface": "member", |
| 40 | "group": "Money", |
| 41 | "order": 370 |
| 42 | } |
| 43 | ] |
| 44 | } |