- Introduced recurring booking groups with the ability to create and cancel them. - Added database migrations for recurring bookings, including new tables and relationships. - Implemented handlers for creating and canceling recurring bookings in the admin booking module. - Enhanced existing booking services to support recurring bookings logic. - Updated API contract to include new schemas for recurring bookings. - Refactored existing code for improved readability and maintainability.
105 lines
2.1 KiB
TypeScript
105 lines
2.1 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
* Use it to get access to models, enums, and input types.
|
|
*
|
|
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
* See `client.ts` for the standard, server-side entry point.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import * as Prisma from './internal/prismaNamespaceBrowser'
|
|
export { Prisma }
|
|
export * as $Enums from './enums'
|
|
export * from './enums';
|
|
/**
|
|
* Model User
|
|
*
|
|
*/
|
|
export type User = Prisma.UserModel
|
|
/**
|
|
* Model Session
|
|
*
|
|
*/
|
|
export type Session = Prisma.SessionModel
|
|
/**
|
|
* Model Account
|
|
*
|
|
*/
|
|
export type Account = Prisma.AccountModel
|
|
/**
|
|
* Model Verification
|
|
*
|
|
*/
|
|
export type Verification = Prisma.VerificationModel
|
|
/**
|
|
* Model Complex
|
|
*
|
|
*/
|
|
export type Complex = Prisma.ComplexModel
|
|
/**
|
|
* Model ComplexUser
|
|
*
|
|
*/
|
|
export type ComplexUser = Prisma.ComplexUserModel
|
|
/**
|
|
* Model ComplexInvitation
|
|
*
|
|
*/
|
|
export type ComplexInvitation = Prisma.ComplexInvitationModel
|
|
/**
|
|
* Model Sport
|
|
*
|
|
*/
|
|
export type Sport = Prisma.SportModel
|
|
/**
|
|
* Model Court
|
|
*
|
|
*/
|
|
export type Court = Prisma.CourtModel
|
|
/**
|
|
* Model CourtMaintenance
|
|
*
|
|
*/
|
|
export type CourtMaintenance = Prisma.CourtMaintenanceModel
|
|
/**
|
|
* Model CourtAvailability
|
|
*
|
|
*/
|
|
export type CourtAvailability = Prisma.CourtAvailabilityModel
|
|
/**
|
|
* Model CourtPriceRule
|
|
*
|
|
*/
|
|
export type CourtPriceRule = Prisma.CourtPriceRuleModel
|
|
/**
|
|
* Model CourtBooking
|
|
*
|
|
*/
|
|
export type CourtBooking = Prisma.CourtBookingModel
|
|
/**
|
|
* Model CourtBookingLog
|
|
*
|
|
*/
|
|
export type CourtBookingLog = Prisma.CourtBookingLogModel
|
|
/**
|
|
* Model RecurringBookingGroup
|
|
*
|
|
*/
|
|
export type RecurringBookingGroup = Prisma.RecurringBookingGroupModel
|
|
/**
|
|
* Model PasswordResetRequest
|
|
*
|
|
*/
|
|
export type PasswordResetRequest = Prisma.PasswordResetRequestModel
|
|
/**
|
|
* Model Plan
|
|
*
|
|
*/
|
|
export type Plan = Prisma.PlanModel
|