add user profile, profile vibe and trip vibe and social signal
This commit is contained in:
@@ -15,7 +15,7 @@ import type * as Prisma from "../internal/prismaNamespace"
|
||||
/**
|
||||
* Model UserProfile
|
||||
* Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain
|
||||
* (bio, kota, minat). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification.
|
||||
* (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification.
|
||||
*/
|
||||
export type UserProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$UserProfilePayload>
|
||||
|
||||
@@ -31,6 +31,7 @@ export type UserProfileMinAggregateOutputType = {
|
||||
bio: string | null
|
||||
city: string | null
|
||||
instagram: string | null
|
||||
vibe: $Enums.Vibe | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -41,6 +42,7 @@ export type UserProfileMaxAggregateOutputType = {
|
||||
bio: string | null
|
||||
city: string | null
|
||||
instagram: string | null
|
||||
vibe: $Enums.Vibe | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -52,6 +54,7 @@ export type UserProfileCountAggregateOutputType = {
|
||||
city: number
|
||||
interests: number
|
||||
instagram: number
|
||||
vibe: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
@@ -64,6 +67,7 @@ export type UserProfileMinAggregateInputType = {
|
||||
bio?: true
|
||||
city?: true
|
||||
instagram?: true
|
||||
vibe?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
@@ -74,6 +78,7 @@ export type UserProfileMaxAggregateInputType = {
|
||||
bio?: true
|
||||
city?: true
|
||||
instagram?: true
|
||||
vibe?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
@@ -85,6 +90,7 @@ export type UserProfileCountAggregateInputType = {
|
||||
city?: true
|
||||
interests?: true
|
||||
instagram?: true
|
||||
vibe?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
_all?: true
|
||||
@@ -169,6 +175,7 @@ export type UserProfileGroupByOutputType = {
|
||||
city: string | null
|
||||
interests: string[]
|
||||
instagram: string | null
|
||||
vibe: $Enums.Vibe | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
_count: UserProfileCountAggregateOutputType | null
|
||||
@@ -201,6 +208,7 @@ export type UserProfileWhereInput = {
|
||||
city?: Prisma.StringNullableFilter<"UserProfile"> | string | null
|
||||
interests?: Prisma.StringNullableListFilter<"UserProfile">
|
||||
instagram?: Prisma.StringNullableFilter<"UserProfile"> | string | null
|
||||
vibe?: Prisma.EnumVibeNullableFilter<"UserProfile"> | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
@@ -213,6 +221,7 @@ export type UserProfileOrderByWithRelationInput = {
|
||||
city?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
interests?: Prisma.SortOrder
|
||||
instagram?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
vibe?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
user?: Prisma.UserOrderByWithRelationInput
|
||||
@@ -228,6 +237,7 @@ export type UserProfileWhereUniqueInput = Prisma.AtLeast<{
|
||||
city?: Prisma.StringNullableFilter<"UserProfile"> | string | null
|
||||
interests?: Prisma.StringNullableListFilter<"UserProfile">
|
||||
instagram?: Prisma.StringNullableFilter<"UserProfile"> | string | null
|
||||
vibe?: Prisma.EnumVibeNullableFilter<"UserProfile"> | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
@@ -240,6 +250,7 @@ export type UserProfileOrderByWithAggregationInput = {
|
||||
city?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
interests?: Prisma.SortOrder
|
||||
instagram?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
vibe?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
_count?: Prisma.UserProfileCountOrderByAggregateInput
|
||||
@@ -257,6 +268,7 @@ export type UserProfileScalarWhereWithAggregatesInput = {
|
||||
city?: Prisma.StringNullableWithAggregatesFilter<"UserProfile"> | string | null
|
||||
interests?: Prisma.StringNullableListFilter<"UserProfile">
|
||||
instagram?: Prisma.StringNullableWithAggregatesFilter<"UserProfile"> | string | null
|
||||
vibe?: Prisma.EnumVibeNullableWithAggregatesFilter<"UserProfile"> | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserProfile"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserProfile"> | Date | string
|
||||
}
|
||||
@@ -267,6 +279,7 @@ export type UserProfileCreateInput = {
|
||||
city?: string | null
|
||||
interests?: Prisma.UserProfileCreateinterestsInput | string[]
|
||||
instagram?: string | null
|
||||
vibe?: $Enums.Vibe | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
user: Prisma.UserCreateNestedOneWithoutProfileInput
|
||||
@@ -279,6 +292,7 @@ export type UserProfileUncheckedCreateInput = {
|
||||
city?: string | null
|
||||
interests?: Prisma.UserProfileCreateinterestsInput | string[]
|
||||
instagram?: string | null
|
||||
vibe?: $Enums.Vibe | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -289,6 +303,7 @@ export type UserProfileUpdateInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput
|
||||
@@ -301,6 +316,7 @@ export type UserProfileUncheckedUpdateInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -312,6 +328,7 @@ export type UserProfileCreateManyInput = {
|
||||
city?: string | null
|
||||
interests?: Prisma.UserProfileCreateinterestsInput | string[]
|
||||
instagram?: string | null
|
||||
vibe?: $Enums.Vibe | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -322,6 +339,7 @@ export type UserProfileUpdateManyMutationInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -333,6 +351,7 @@ export type UserProfileUncheckedUpdateManyInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -357,6 +376,7 @@ export type UserProfileCountOrderByAggregateInput = {
|
||||
city?: Prisma.SortOrder
|
||||
interests?: Prisma.SortOrder
|
||||
instagram?: Prisma.SortOrder
|
||||
vibe?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -367,6 +387,7 @@ export type UserProfileMaxOrderByAggregateInput = {
|
||||
bio?: Prisma.SortOrder
|
||||
city?: Prisma.SortOrder
|
||||
instagram?: Prisma.SortOrder
|
||||
vibe?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -377,6 +398,7 @@ export type UserProfileMinOrderByAggregateInput = {
|
||||
bio?: Prisma.SortOrder
|
||||
city?: Prisma.SortOrder
|
||||
instagram?: Prisma.SortOrder
|
||||
vibe?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -422,12 +444,17 @@ export type UserProfileUpdateinterestsInput = {
|
||||
push?: string | string[]
|
||||
}
|
||||
|
||||
export type NullableEnumVibeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.Vibe | null
|
||||
}
|
||||
|
||||
export type UserProfileCreateWithoutUserInput = {
|
||||
id?: string
|
||||
bio?: string | null
|
||||
city?: string | null
|
||||
interests?: Prisma.UserProfileCreateinterestsInput | string[]
|
||||
instagram?: string | null
|
||||
vibe?: $Enums.Vibe | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -438,6 +465,7 @@ export type UserProfileUncheckedCreateWithoutUserInput = {
|
||||
city?: string | null
|
||||
interests?: Prisma.UserProfileCreateinterestsInput | string[]
|
||||
instagram?: string | null
|
||||
vibe?: $Enums.Vibe | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -464,6 +492,7 @@ export type UserProfileUpdateWithoutUserInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -474,6 +503,7 @@ export type UserProfileUncheckedUpdateWithoutUserInput = {
|
||||
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
interests?: Prisma.UserProfileUpdateinterestsInput | string[]
|
||||
instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -487,6 +517,7 @@ export type UserProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
city?: boolean
|
||||
interests?: boolean
|
||||
instagram?: boolean
|
||||
vibe?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
@@ -499,6 +530,7 @@ export type UserProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
city?: boolean
|
||||
interests?: boolean
|
||||
instagram?: boolean
|
||||
vibe?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
@@ -511,6 +543,7 @@ export type UserProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
city?: boolean
|
||||
interests?: boolean
|
||||
instagram?: boolean
|
||||
vibe?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
@@ -523,11 +556,12 @@ export type UserProfileSelectScalar = {
|
||||
city?: boolean
|
||||
interests?: boolean
|
||||
instagram?: boolean
|
||||
vibe?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type UserProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "bio" | "city" | "interests" | "instagram" | "createdAt" | "updatedAt", ExtArgs["result"]["userProfile"]>
|
||||
export type UserProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "bio" | "city" | "interests" | "instagram" | "vibe" | "createdAt" | "updatedAt", ExtArgs["result"]["userProfile"]>
|
||||
export type UserProfileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -562,6 +596,10 @@ export type $UserProfilePayload<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Username Instagram (tanpa @, opsional)
|
||||
*/
|
||||
instagram: string | null
|
||||
/**
|
||||
* Gaya jalan / energi user — dipakai untuk matching teman dengan ritme serupa.
|
||||
*/
|
||||
vibe: $Enums.Vibe | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}, ExtArgs["result"]["userProfile"]>
|
||||
@@ -994,6 +1032,7 @@ export interface UserProfileFieldRefs {
|
||||
readonly city: Prisma.FieldRef<"UserProfile", 'String'>
|
||||
readonly interests: Prisma.FieldRef<"UserProfile", 'String[]'>
|
||||
readonly instagram: Prisma.FieldRef<"UserProfile", 'String'>
|
||||
readonly vibe: Prisma.FieldRef<"UserProfile", 'Vibe'>
|
||||
readonly createdAt: Prisma.FieldRef<"UserProfile", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"UserProfile", 'DateTime'>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user