Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/FRONTEND_ARCHITECTURE_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ boundaries exist.

### Phase 6 — Cleanup & Hardening

- [ ] Delete the legacy `src/lib/api.ts` compatibility facade once all imports use `src/shared/api`
- [x] Delete the legacy `src/lib/api.ts` compatibility facade once all imports use `src/shared/api`
- [ ] Collapse copied endpoint logic into the shared API modules and remove duplicate request construction
- [ ] Audit query invalidation keys and replace ad hoc cache-key arrays with query-key factories
- [ ] Add tests around `ApiClient`, query-key factories, and table-model behavior
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type { ColumnDef } from "@tanstack/react-table";
import { ExternalLink } from "lucide-react";
import { useMemo } from "react";
import { useTableCols } from "@/features/schema";
import { api } from "@/lib/api";
import { api } from "@/shared/api/client";
import { useDatabaseStore } from "@/stores/database.store";
import type { TableRecord } from "@/types/table.type";
import { CellCopyButton } from "./cell-copy-button";
Expand Down
9 changes: 0 additions & 9 deletions packages/web/src/lib/api.ts

This file was deleted.