- Implemented complex member and invitation schemas using Zod for validation. - Created new API endpoints for inviting, accepting, revoking, and canceling complex user invitations. - Developed handlers for managing complex users, including listing, inviting, revoking, and canceling invitations. - Added frontend components for displaying and managing complex users and invitations. - Introduced session storage management for pending invitations. - Integrated Gravatar for user avatars based on email. - Created database migration for complex invitations table.
95 lines
1.9 KiB
TypeScript
95 lines
1.9 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 CourtAvailability
|
|
*
|
|
*/
|
|
export type CourtAvailability = Prisma.CourtAvailabilityModel
|
|
/**
|
|
* Model CourtPriceRule
|
|
*
|
|
*/
|
|
export type CourtPriceRule = Prisma.CourtPriceRuleModel
|
|
/**
|
|
* Model CourtBooking
|
|
*
|
|
*/
|
|
export type CourtBooking = Prisma.CourtBookingModel
|
|
/**
|
|
* Model OnboardingRequest
|
|
*
|
|
*/
|
|
export type OnboardingRequest = Prisma.OnboardingRequestModel
|
|
/**
|
|
* Model PasswordResetRequest
|
|
*
|
|
*/
|
|
export type PasswordResetRequest = Prisma.PasswordResetRequestModel
|
|
/**
|
|
* Model Plan
|
|
*
|
|
*/
|
|
export type Plan = Prisma.PlanModel
|