Files
playzer/apps/frontend/src/lib/api/resources/plans.ts
Jose Selesan 4544911f0e 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.
2026-06-02 10:02:28 -03:00

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;
}