3x-ui/frontend/src
MHSanaei dd0477a839
refactor(frontend): drop eslint-disable from models/dbinbound
Replace `any` with explicit domain types:
- `coerceInboundJsonField` returns `Record<string, unknown>` (settings/streamSettings/sniffing are always objects).
- Add `RawJsonField`, `ClientStats`, `FallbackParentRef`, `DBInboundInit` types.
- `_cachedInbound: Inbound | null`, `toInbound(): Inbound`.
- `getClientStats(email): ClientStats | undefined`.
- `genInboundLinks(): string` (matches actual return from Inbound.genInboundLinks).
- Constructor now accepts `DBInboundInit`.
2026-05-25 01:52:46 +02:00
..
api refactor(frontend): port api/* and reality-targets to TypeScript 2026-05-25 00:19:01 +02:00
components refactor(frontend): drop .js extensions from TS-resolved imports 2026-05-25 01:18:43 +02:00
entries refactor(frontend): port api/* and reality-targets to TypeScript 2026-05-25 00:19:01 +02:00
hooks refactor(frontend): port api/* and reality-targets to TypeScript 2026-05-25 00:19:01 +02:00
i18n Frontend rewrite: React + TypeScript with AntD v6 (#4498) 2026-05-23 15:21:45 +02:00
layouts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
models refactor(frontend): drop eslint-disable from models/dbinbound 2026-05-25 01:52:46 +02:00
pages refactor(frontend): drop .js extensions from TS-resolved imports 2026-05-25 01:18:43 +02:00
styles Frontend rewrite: React + TypeScript with AntD v6 (#4498) 2026-05-23 15:21:45 +02:00
utils refactor(frontend): port utils/index to TypeScript 2026-05-25 00:29:19 +02:00
env.d.ts refactor(frontend): port api/* and reality-targets to TypeScript 2026-05-25 00:19:01 +02:00
main.tsx refactor(frontend): port api/* and reality-targets to TypeScript 2026-05-25 00:19:01 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00