frontend phase 15
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user