Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 signup: the person chooses the password and name on the confirm page 83c7aa6 2 weeks, 5 days ago History
entities.json · 2.5 KB · 29 lines
1{
2 "name": "entities",
3 "title": "Entities",
4 "version": 1,
5 "description": "A distinct set of books -- a business or household under one login. Owner-scoped (owner_id = the login that owns this set of books), a faithful port of the predecessor's Entity model (its `user` FK), adapted to this system's owner_id convention. `entity_id` on the finance/commerce collections points INTO this collection -- a scoping FK, not composition (plan/vocabulary/65-multi-entity-spec.md). Multi-currency FX, inter-entity transactions, and cross-entity consolidation are out of scope; base_currency is stored (home currency for reports) but not converted. mode drives the chart-of-accounts auto-seed (simple = income+expense; standard/double_entry = the full standard chart).",
6 "fields": [
7 { "name": "id" },
8 { "name": "name", "type": "text", "required": true, "label": "Name" },
9 { "name": "owner_id", "type": "text", "required": true, "label": "Owner", "help": "The login that owns this set of books." },
10 { "name": "mode", "type": "enum", "enum": ["simple", "standard", "double_entry"], "default": "simple", "label": "Mode", "help": "Simple = income/expense only; standard/double_entry = full chart of accounts." },
11 { "name": "business_type", "type": "enum", "enum": ["freelancer", "small_business", "nonprofit", "other"], "default": "freelancer", "label": "Business Type" },
12 { "name": "status", "type": "enum", "enum": ["active", "closed", "archived"], "default": "active", "label": "Status" },
13 { "name": "base_currency", "type": "text", "default": "USD", "label": "Base Currency", "help": "Home currency for this entity's reports and totals. Stored, not FX-converted (multi-currency is out of scope for v1)." },
14 { "name": "description", "type": "textarea", "label": "Description" },
15 { "name": "project_id", "type": "text", "label": "Project", "relation": { "collection": "projects", "display_field": "name" }, "help": "Optional: link this set of books to a project." },
16 { "name": "created_at", "type": "datetime", "read_only": true, "label": "Created" },
17 { "name": "updated_at", "type": "datetime", "read_only": true, "label": "Updated" },
18 { "name": "extra", "type": "text", "label": "Extra", "store": "extra" }
19 ],
20 "views": {
21 "list_mode": "table",
22 "list_fields": ["name", "business_type", "base_currency", "status"]
23 },
24 "forms": {
25 "default": {
26 "fields": ["name", "mode", "business_type", "status", "base_currency", "description", "project_id"]
27 }
28 }
29}