/* !!! 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 UserProfile * Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain * (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification. */ export type UserProfile = Prisma.UserProfileModel /** * Model Account * Tabel link akun OAuth pihak ketiga (Google, dst). Diisi oleh PrismaAdapter NextAuth. * Session tidak pakai DB — kita pakai JWT, jadi Session/VerificationToken tidak perlu. */ export type Account = Prisma.AccountModel /** * Model OrganizerVerification * */ export type OrganizerVerification = Prisma.OrganizerVerificationModel /** * Model Trip * */ export type Trip = Prisma.TripModel /** * Model TripReview * */ export type TripReview = Prisma.TripReviewModel /** * Model TripImage * */ export type TripImage = Prisma.TripImageModel /** * Model TripParticipant * */ export type TripParticipant = Prisma.TripParticipantModel /** * Model Booking * Booking 1-1 ke TripParticipant. Lifecycle ikut peserta: * - join → Booking PENDING (menunggu approve organizer) * - organizer confirm → AWAITING_PAY (paid trip) atau PAID (free trip) * - peserta + organizer rampungkan pembayaran → PAID * - cancel/reject → CANCELLED * `amount` adalah snapshot harga saat booking dibuat — protect dari perubahan trip.price. */ export type Booking = Prisma.BookingModel /** * Model Payment * Satu attempt pembayaran. Satu Booking bisa punya banyak Payment kalau retry * (di Phase MIDTRANS nanti). Untuk MANUAL biasanya cukup 1 Payment. */ export type Payment = Prisma.PaymentModel