frontend phase 15

This commit is contained in:
hamid
2026-07-10 20:28:06 +03:30
parent bc51cf59b4
commit 70cf00ce4a
151 changed files with 10711 additions and 44 deletions
+10
View File
@@ -0,0 +1,10 @@
import { USE_ADMIN_MOCK } from '../constants';
import type { AdminApi } from '../types';
import { adminClientApi } from './clientApi';
import { adminMockApi } from './mockApi';
/**
* The selected `AdminApi` implementation — the single seam the hooks import. Mock-primary this phase
* (REQ-029/030/031); flipping to the real client is this one line once the upstream endpoints/columns land.
*/
export const adminApi: AdminApi = USE_ADMIN_MOCK ? adminMockApi : adminClientApi;