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.2 KB · 23 lines
| 1 | { |
| 2 | "id": "app-rollup", |
| 3 | "name": "Rollups", |
| 4 | "version": "0.1.0", |
| 5 | "description": "Declared aggregations materialized as ordinary collections (plan/vocabulary/14-rollup-spec.md). rollup_definitions (admin-owned) declares a source + filter + group_by + time_bucket + metrics + refresh; the daemon's rollup pass (object_daemon.process_rollups, object_rollups.py) computes the answer into target_collection, which renders via the existing generators for free because it IS a collection. No dedicated authoring page in v1 -- rollup_definitions already gets a generated admin form (docs/schema-forms.md). Target collections are NOT declared here: each is created dynamically per operator-authored definition, and its permission rule (the payoff -- a rollup can be public while its source is private) is the operator's own, granted separately once the definition exists.", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "objects": [], |
| 10 | "schemas": [ |
| 11 | { |
| 12 | "collection": "rollup_definitions", |
| 13 | "path": "schemas/rollup_definitions.json" |
| 14 | } |
| 15 | ], |
| 16 | "permissions": [ |
| 17 | { |
| 18 | "path": "permissions/rules.json" |
| 19 | } |
| 20 | ], |
| 21 | "seed": [], |
| 22 | "migrations": [] |
| 23 | } |