refactor(onboarding): restructure onboarding routes and components
- Removed obsolete onboarding routes: complete, create-complex, index, verify-email, and verify. - Introduced new setup stepper page for onboarding process. - Created a multi-step setup component to handle complex creation with validation. - Added new schemas for complex creation and plan features. - Implemented detailed steps for complex name, location, plan selection, and court setup. - Enhanced error handling and user feedback during the onboarding process.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { PlanSummary } from '@repo/api-contract';
|
||||
import type { PlanWithFeatures } from '@repo/api-contract';
|
||||
import { http } from '../http';
|
||||
|
||||
export async function list() {
|
||||
const response = await http.get<PlanSummary[]>('/api/plans');
|
||||
const response = await http.get<PlanWithFeatures[]>('/api/plans');
|
||||
return response.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user