- Fix API service paths to use /v1/iam/, /v1/dimentorin/, /v1/gacha/, /v1/hackathon/ prefixes - Add roles, permissions, events, testimonials, sessions API services and hooks - Rewrite gacha service with full CRUD + roll/claim endpoints - Replace all mock data in backoffice pages with real API calls (accounts, roles, permissions, gacha-roll, dashboard, sessions, users-dimentorin, feedback-review, settings) - Wire dimentorin mentoring list to useMentorList with search + pagination - Wire dimentorin mentor detail page to useMentorById, pass real data to all sections - Wire appointment modal to useBookSession with controlled schedule inputs - Wire gacha app Spin Now to useExecuteGachaRoll, show credits and real items Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
277 B
TypeScript
9 lines
277 B
TypeScript
// All API calls now go through the main `api` instance (api.imphnen.dev).
|
|
// This file re-exports `api` as `backofficeApi` for backward compatibility.
|
|
export { api as backofficeApi } from './index';
|
|
|
|
export interface BackofficeApiResponse<T> {
|
|
data: T;
|
|
message: string;
|
|
}
|