You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bf9aad1
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ledger): list_information_block_summaries, the block list as identities and counts (#257)
## Summary
Adds `list_information_block_summaries` to the ledger facade: the rows,
filters, order and page of `list_information_blocks` as identities and
counts (`fact_count`, `connection_count`), read by the server in one
query instead of an envelope build per block — the call that fills a
picker. Its TypeScript twin is robosystems-typescript-client PR for the
same field; the two move together.
**Waits on the server:** the `informationBlockSummaries` field lands
with robosystems PR #1834, unreleased at the time of writing (prod is
v1.18.1). Merge after that release is in production.
## Changes
-
`robosystems_client/graphql/operations/ledger/ListInformationBlockSummaries.graphql`
— the operation.
- `robosystems_client/graphql/schema.graphql` — refreshed from the local
stack on the server branch (`just refresh-schema`). Besides the new
field and type, the snapshot picks up `periodRole` on the ledger
statement rows from robosystems #1832, already on `main`.
- `robosystems_client/graphql/generated/*` — `just generate-graphql`:
the typed models and the operation string.
- `robosystems_client/clients/ledger_client.py` —
`list_information_block_summaries(graph_id, *, block_type, category,
limit, offset, scenario_id, entity_id)`.
- Tests: the facade's parsing and variables (`test_ledger_client.py`),
the wire shape (`test_facade_wire_shapes.py`); `test_graphql_queries.py`
validates the new document against the snapshot by discovery.
## Breaking Changes
None — additive to the stable tier (a new facade method). Client
**minor**.
## Testing
- `just test-all` — 691 passed, 17 skipped; format, lint and typecheck
clean.
## Certification
- [x] I have the right to submit this work under the Apache 2.0 license,
and do so. Where any part of it is owned by my employer, I have their
permission.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
"""Source taxonomy the Structure was seeded from."""
4012
+
taxonomyId: String
4013
+
4014
+
"""Display name of the source taxonomy."""
4015
+
taxonomyName: String
4016
+
4017
+
"""
4018
+
The entity whose books the block reads: its owner for a schedule, reconciliation or forecast; the entity asked for, else the group parent, on a block shared by the group. Null on the library.
4019
+
"""
4020
+
entityId: String
4021
+
4022
+
"""
4023
+
Facts in the block's scope for that entity, every set — what its envelope carries. Zero on a library-seeded structure variant and on a schedule that has run off into history, which a picker leaves out.
0 commit comments