Wiki/bridge/tests
Corentin JOGUET 95089c460c
Some checks are pending
CI / Lint bridge (Biome) (push) Waiting to run
CI / Type-check bridge (push) Blocked by required conditions
CI / Tests unit bridge (push) Blocked by required conditions
CI / Tests integration bridge (push) Blocked by required conditions
CI / Security scan (push) Waiting to run
CI / Docker build + healthcheck (push) Blocked by required conditions
feat(bridge): add views endpoints for R3.1.a database-view
Two new endpoints under /api/v1/views:
  GET /api/v1/views/table/:tableId  — list views for a table with Redis
    cache TTL 60s. Returns full view metadata (filters, sortings, groupBys,
    order). Cache invalidated by view.created|updated|deleted webhook events.
  GET /api/v1/views/:viewId/data    — paginated rows of a view applying
    Baserow view filters/sorts via ?view_id= query param. Redis cache TTL 30s
    keyed by (viewId, page, size, search). Requires tableId query param.

Domain: View entity extended with order, filters, sortings, groupBys.
Adapter: BaserowListOptions gains viewId param (forwards to Baserow ?view_id=).
Webhook: baserow-handler extended for view.* events — invalidates views:table
  and views:data cache keys. rows.* events now also invalidate views:data:*.
Tests: +44 tests (336 total, was 292). Routes 20, repo 20, webhook 4.
Coverage: view.ts 100%, routes/views.ts 100% lines, baserow-handler 100%.

Co-Authored-By: Amelia (bmad-bmm-dev BYAN) <noreply@anthropic.com>
2026-05-07 23:24:10 +02:00
..
domain feat(bridge): R1 refactor proxy generique style Notion 2026-05-07 22:12:32 +02:00
helpers feat(bridge): add views endpoints for R3.1.a database-view 2026-05-07 23:24:10 +02:00
integration feat(bridge): R1 refactor proxy generique style Notion 2026-05-07 22:12:32 +02:00
middleware feat(auth): R2.3b bridge accepte JWT HMAC DocAdenice via DOCMOST_APP_SECRET 2026-05-07 23:02:01 +02:00
repos feat(bridge): add views endpoints for R3.1.a database-view 2026-05-07 23:24:10 +02:00
routes feat(bridge): add views endpoints for R3.1.a database-view 2026-05-07 23:24:10 +02:00
unit feat(bridge): R1 refactor proxy generique style Notion 2026-05-07 22:12:32 +02:00
webhooks feat(bridge): add views endpoints for R3.1.a database-view 2026-05-07 23:24:10 +02:00