chore(hooks): 🔧 Update TypeScript hook files (8 total)

This commit is contained in:
Lilith 2026-01-25 16:54:35 -08:00
parent e850ea655a
commit 9436f4d0e1
8 changed files with 13 additions and 4 deletions

View file

@ -9,3 +9,4 @@ export * from './seo';
// Feature-specific APIs
export { usageApi } from '../features/usage/api/usage.api';
export * from '../features/subscription/api';
export * from '../features/fmty/api';

View file

@ -53,3 +53,6 @@ export * from '../features/landing/components/FinalCTABanner';
export * from '../features/landing/components/VisualHero';
export * from '../features/landing/components/StatsRow';
export * from '../features/landing/components/AtmosphereSection';
// Mentorship feature components
export * from '../features/mentorship/components';

View file

@ -17,7 +17,7 @@ import type {
MenteeContact,
} from '@/types';
import { mentorAccessApi } from '@/api/mentorship.api';
import { mentorAccessApi } from '../api/mentorship.api';
// ============================================
// Options Interfaces

View file

@ -19,7 +19,7 @@ import type {
} from '@/types';
import type { UseMutationResult } from '@tanstack/react-query';
import { mentorDraftsApi } from '@/api/mentorship.api';
import { mentorDraftsApi } from '../api/mentorship.api';
// ============================================
// Return Type Interfaces

View file

@ -21,7 +21,7 @@ import type {
} from '@/types';
import type { UseMutationResult } from '@tanstack/react-query';
import { mentorshipApi } from '@/api/mentorship.api';
import { mentorshipApi } from '../api/mentorship.api';
// ============================================
// Return Type Interfaces

View file

@ -154,7 +154,7 @@ export const MenteeDraftsPage = (): ReactElement => {
key={draft.id}
draft={draft}
onApprove={() => handleApprove(draft.id)}
onReject={(notes) => handleReject(draft.id, notes)}
onReject={(notes: string) => handleReject(draft.id, notes)}
isLoading={
approveMutation.isPending || rejectMutation.isPending
}

View file

@ -32,3 +32,6 @@ export * from '../features/subscription/hooks/useTiers';
export * from '../features/subscription/hooks/useCheckout';
export * from '../features/subscription/hooks/useSubscription';
export * from '../features/subscription/hooks/useBillingHistory';
// Mentorship feature hooks
export * from '../features/mentorship/hooks';

View file

@ -7,3 +7,5 @@ export * from '../features/discovery/types';
export * from '../features/inbox/types';
export * from '../features/subscription/types';
export * from '../features/usage/types';
export * from '../features/mentorship/types';
export * from '../features/landing/components/AudienceHero/types';