feat(properties): tree-aware readers for expenses, maintenance, checklists
Phase 2. Each service grows a `*ForProperties` (plural) variant that takes a resolved property id array; the existing single-property functions now delegate to them with `[propertyId]`. The route layer will compute the descendant set via getDescendantIds when the user toggles "include sub-properties" — this commit only adds the readers behind the scenes. Also extends the checklist_scope enum with 'property' so checklists can attach directly to a property and the rollup query has a well-typed scope to filter on. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -127,6 +127,13 @@
|
||||
"when": 1777268853484,
|
||||
"tag": "0017_property_parent_check",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 18,
|
||||
"version": "7",
|
||||
"when": 1777268985448,
|
||||
"tag": "0018_checklist_scope_property",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user