chore(hooks): 🔧 Update TypeScript hook files (8 total)
This commit is contained in:
parent
e850ea655a
commit
9436f4d0e1
8 changed files with 13 additions and 4 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import type {
|
|||
MenteeContact,
|
||||
} from '@/types';
|
||||
|
||||
import { mentorAccessApi } from '@/api/mentorship.api';
|
||||
import { mentorAccessApi } from '../api/mentorship.api';
|
||||
|
||||
// ============================================
|
||||
// Options Interfaces
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue