SurfSense/surfsense_web/contracts
Matt Van Horn b92cc963ce
refactor(use-logs): use canonical log types from contracts/types/log.types
Removes duplicated LogLevel, LogStatus, Log, LogFilters and LogSummary
definitions from surfsense_web/hooks/use-logs.ts. These shapes already
live as Zod-derived types in contracts/types/log.types.ts, which is the
source of truth used by logs-api.service.ts and log-mutation.atoms.ts.

Adds LogLevel and LogStatus aliases for LogLevelEnum/LogStatusEnum in
log.types.ts so the existing public surface from use-logs is preserved
without per-hook re-exports. The hook re-exports the canonical names so
callers (app/dashboard/[search_space_id]/logs/(manage)/page.tsx) do not
need to change.

Closes #1372
2026-05-11 00:11:05 -07:00
..
enums feat: enhance tool display names for better user experience in chat UI 2026-04-29 07:40:11 -07:00
types refactor(use-logs): use canonical log types from contracts/types/log.types 2026-05-11 00:11:05 -07:00