Files
playzer/apps/backend/prisma/plans.seed-data.ts
Jose Selesan 9ee98a4cb4 feat: add city/state/country to complex, new settings page with sidebar, and Biome linting
- Added city, state, and country optional fields to Complex model
- Updated onboarding to include optional location fields
- Created new settings page with sidebar navigation (Datos del Complejo, Canchas)
- Replaced ESLint with Biome for frontend and backend linting
- Added parallel dev script with concurrently
- Migrated register-routes to use direct app.route() pattern
2026-04-10 15:36:15 -03:00

78 lines
1.6 KiB
TypeScript

export const planSeeds = [
{
code: 'BASIC',
name: 'Basic',
price: '49.00',
rules: {
version: 'v1',
limits: {
maxCourts: 2,
maxBookingsPerDay: 80,
maxActiveUsers: 3,
maxConcurrentBookingsPerSlot: 1,
},
policies: {
maxAdvanceBookingDays: 7,
minCancellationNoticeHours: 2,
allowOverbooking: false,
},
features: {
onlinePayments: false,
publicBookingPage: true,
advancedReports: false,
whatsappReminders: false,
},
},
},
{
code: 'ADVANCED',
name: 'Advanced',
price: '99.00',
rules: {
version: 'v1',
limits: {
maxCourts: 5,
maxBookingsPerDay: 220,
maxActiveUsers: 8,
maxConcurrentBookingsPerSlot: 1,
},
policies: {
maxAdvanceBookingDays: 15,
minCancellationNoticeHours: 2,
allowOverbooking: false,
},
features: {
onlinePayments: true,
publicBookingPage: true,
advancedReports: true,
whatsappReminders: true,
},
},
},
{
code: 'ENTERPRISE',
name: 'Enterprise',
price: '199.00',
rules: {
version: 'v1',
limits: {
maxCourts: 20,
maxBookingsPerDay: 2000,
maxActiveUsers: 50,
maxConcurrentBookingsPerSlot: 2,
},
policies: {
maxAdvanceBookingDays: 60,
minCancellationNoticeHours: 1,
allowOverbooking: true,
},
features: {
onlinePayments: true,
publicBookingPage: true,
advancedReports: true,
whatsappReminders: true,
},
},
},
] as const;