- 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.
8 lines
219 B
TypeScript
8 lines
219 B
TypeScript
import type { PlanWithFeatures } from '@repo/api-contract';
|
|
import { http } from '../http';
|
|
|
|
export async function list() {
|
|
const response = await http.get<PlanWithFeatures[]>('/api/plans');
|
|
return response.data;
|
|
}
|