[37.2.1] Rename LawNet BFF API routes under /api/lawnet #54

Merged
dernbu merged 1 commit from feat/53-rename-lawnet-routes into main 2026-06-14 11:10:19 +02:00
Owner

Summary

Renames existing LawNet BFF API routes into a /api/lawnet/* namespace, as a standalone refactor before the #49 PostgreSQL work.

Changes

  • Routes moved: /api/judgments/*/api/lawnet/judgments/*, /api/artifacts/$source/$artifactId/api/lawnet/artifacts/$artifactId (removed redundant $source param, hardcoded to "lawnet")
  • Store renamed & relocated: server/lawnet/server/stores/lawnet/, FileSystemStoreLawnetFileSystemStore, getStore()getLawnetStore()
  • Fixtures: Artifact URLs updated from /api/artifacts/lawnet/ to /api/lawnet/artifacts/
  • Route tree: Auto-generated routeTree.gen.ts updated to reflect new paths
  • /api/health remains unchanged

Closes #53

## Summary Renames existing LawNet BFF API routes into a `/api/lawnet/*` namespace, as a standalone refactor before the #49 PostgreSQL work. ## Changes - **Routes moved:** `/api/judgments/*` → `/api/lawnet/judgments/*`, `/api/artifacts/$source/$artifactId` → `/api/lawnet/artifacts/$artifactId` (removed redundant `$source` param, hardcoded to `"lawnet"`) - **Store renamed & relocated:** `server/lawnet/` → `server/stores/lawnet/`, `FileSystemStore` → `LawnetFileSystemStore`, `getStore()` → `getLawnetStore()` - **Fixtures:** Artifact URLs updated from `/api/artifacts/lawnet/` to `/api/lawnet/artifacts/` - **Route tree:** Auto-generated `routeTree.gen.ts` updated to reflect new paths - `/api/health` remains unchanged Closes #53
refactor: rename LawNet BFF routes under /api/lawnet
Some checks failed
CI / merge-check (pull_request) Successful in 1m1s
Deploy / deploy-production (push) Has been cancelled
Deploy / deploy-staging (push) Has been cancelled
ef562294a3
dernbu merged commit ef562294a3 into main 2026-06-14 11:10:19 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dernbu/lawnet-scraper!54
No description provided.