Files
setrip/app/generated/prisma/internal/prismaNamespaceBrowser.ts
T
2026-05-08 18:23:51 +07:00

237 lines
6.4 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* WARNING: This is an internal file that is subject to change!
*
* 🛑 Under no circumstances should you import this file directly! 🛑
*
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
* While this enables partial backward compatibility, it is not part of the stable public API.
*
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
* model files in the `model` directory!
*/
import * as runtime from "@prisma/client/runtime/index-browser"
export type * from '../models'
export type * from './prismaNamespace'
export const Decimal = runtime.Decimal
export const NullTypes = {
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
}
/**
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const DbNull = runtime.DbNull
/**
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const JsonNull = runtime.JsonNull
/**
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const AnyNull = runtime.AnyNull
export const ModelName = {
User: 'User',
UserProfile: 'UserProfile',
Account: 'Account',
OrganizerVerification: 'OrganizerVerification',
Trip: 'Trip',
TripReview: 'TripReview',
TripImage: 'TripImage',
TripParticipant: 'TripParticipant'
} as const
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
/*
* Enums
*/
export const TransactionIsolationLevel = runtime.makeStrictEnum({
ReadUncommitted: 'ReadUncommitted',
ReadCommitted: 'ReadCommitted',
RepeatableRead: 'RepeatableRead',
Serializable: 'Serializable'
} as const)
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
export const UserScalarFieldEnum = {
id: 'id',
name: 'name',
email: 'email',
password: 'password',
image: 'image',
emailVerified: 'emailVerified',
acceptedTermsAndPrivacy: 'acceptedTermsAndPrivacy',
acceptedAt: 'acceptedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
export const UserProfileScalarFieldEnum = {
id: 'id',
userId: 'userId',
bio: 'bio',
city: 'city',
interests: 'interests',
instagram: 'instagram',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type UserProfileScalarFieldEnum = (typeof UserProfileScalarFieldEnum)[keyof typeof UserProfileScalarFieldEnum]
export const AccountScalarFieldEnum = {
id: 'id',
userId: 'userId',
type: 'type',
provider: 'provider',
providerAccountId: 'providerAccountId',
refresh_token: 'refresh_token',
access_token: 'access_token',
expires_at: 'expires_at',
token_type: 'token_type',
scope: 'scope',
id_token: 'id_token',
session_state: 'session_state'
} as const
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
export const OrganizerVerificationScalarFieldEnum = {
id: 'id',
userId: 'userId',
fullName: 'fullName',
nikEncrypted: 'nikEncrypted',
nikHash: 'nikHash',
birthDate: 'birthDate',
address: 'address',
ktpImageKey: 'ktpImageKey',
selfieKey: 'selfieKey',
bankName: 'bankName',
bankAccountNumber: 'bankAccountNumber',
bankAccountName: 'bankAccountName',
status: 'status',
rejectionReason: 'rejectionReason',
reviewedAt: 'reviewedAt',
reviewedById: 'reviewedById',
verifiedAt: 'verifiedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type OrganizerVerificationScalarFieldEnum = (typeof OrganizerVerificationScalarFieldEnum)[keyof typeof OrganizerVerificationScalarFieldEnum]
export const TripScalarFieldEnum = {
id: 'id',
title: 'title',
description: 'description',
category: 'category',
destination: 'destination',
location: 'location',
meetingPoint: 'meetingPoint',
itinerary: 'itinerary',
whatsIncluded: 'whatsIncluded',
whatsExcluded: 'whatsExcluded',
date: 'date',
endDate: 'endDate',
maxParticipants: 'maxParticipants',
price: 'price',
status: 'status',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
organizerId: 'organizerId'
} as const
export type TripScalarFieldEnum = (typeof TripScalarFieldEnum)[keyof typeof TripScalarFieldEnum]
export const TripReviewScalarFieldEnum = {
id: 'id',
rating: 'rating',
comment: 'comment',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
tripId: 'tripId',
userId: 'userId'
} as const
export type TripReviewScalarFieldEnum = (typeof TripReviewScalarFieldEnum)[keyof typeof TripReviewScalarFieldEnum]
export const TripImageScalarFieldEnum = {
id: 'id',
url: 'url',
caption: 'caption',
order: 'order',
tripId: 'tripId'
} as const
export type TripImageScalarFieldEnum = (typeof TripImageScalarFieldEnum)[keyof typeof TripImageScalarFieldEnum]
export const TripParticipantScalarFieldEnum = {
id: 'id',
status: 'status',
createdAt: 'createdAt',
markedPaidAt: 'markedPaidAt',
paymentConfirmedAt: 'paymentConfirmedAt',
tripId: 'tripId',
userId: 'userId'
} as const
export type TripParticipantScalarFieldEnum = (typeof TripParticipantScalarFieldEnum)[keyof typeof TripParticipantScalarFieldEnum]
export const SortOrder = {
asc: 'asc',
desc: 'desc'
} as const
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
export const QueryMode = {
default: 'default',
insensitive: 'insensitive'
} as const
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
export const NullsOrder = {
first: 'first',
last: 'last'
} as const
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]