2970 lines
132 KiB
TypeScript
2970 lines
132 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `users` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model users
|
|
*
|
|
*/
|
|
export type usersModel = runtime.Types.Result.DefaultSelection<Prisma.$usersPayload>
|
|
|
|
export type AggregateUsers = {
|
|
_count: UsersCountAggregateOutputType | null
|
|
_avg: UsersAvgAggregateOutputType | null
|
|
_sum: UsersSumAggregateOutputType | null
|
|
_min: UsersMinAggregateOutputType | null
|
|
_max: UsersMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type UsersAvgAggregateOutputType = {
|
|
pro_state: number | null
|
|
}
|
|
|
|
export type UsersSumAggregateOutputType = {
|
|
pro_state: number | null
|
|
}
|
|
|
|
export type UsersMinAggregateOutputType = {
|
|
id: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
password_hash: string | null
|
|
name: string | null
|
|
nickname: string | null
|
|
city: string | null
|
|
picture: string | null
|
|
birthday: Date | null
|
|
gender: string | null
|
|
pro_state: number | null
|
|
fcm_token: string | null
|
|
is_phone_verified: boolean | null
|
|
is_email_verified: boolean | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
}
|
|
|
|
export type UsersMaxAggregateOutputType = {
|
|
id: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
password_hash: string | null
|
|
name: string | null
|
|
nickname: string | null
|
|
city: string | null
|
|
picture: string | null
|
|
birthday: Date | null
|
|
gender: string | null
|
|
pro_state: number | null
|
|
fcm_token: string | null
|
|
is_phone_verified: boolean | null
|
|
is_email_verified: boolean | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
}
|
|
|
|
export type UsersCountAggregateOutputType = {
|
|
id: number
|
|
email: number
|
|
phone: number
|
|
password_hash: number
|
|
name: number
|
|
nickname: number
|
|
city: number
|
|
picture: number
|
|
birthday: number
|
|
gender: number
|
|
pro_state: number
|
|
fcm_token: number
|
|
is_phone_verified: number
|
|
is_email_verified: number
|
|
created_at: number
|
|
updated_at: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type UsersAvgAggregateInputType = {
|
|
pro_state?: true
|
|
}
|
|
|
|
export type UsersSumAggregateInputType = {
|
|
pro_state?: true
|
|
}
|
|
|
|
export type UsersMinAggregateInputType = {
|
|
id?: true
|
|
email?: true
|
|
phone?: true
|
|
password_hash?: true
|
|
name?: true
|
|
nickname?: true
|
|
city?: true
|
|
picture?: true
|
|
birthday?: true
|
|
gender?: true
|
|
pro_state?: true
|
|
fcm_token?: true
|
|
is_phone_verified?: true
|
|
is_email_verified?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
}
|
|
|
|
export type UsersMaxAggregateInputType = {
|
|
id?: true
|
|
email?: true
|
|
phone?: true
|
|
password_hash?: true
|
|
name?: true
|
|
nickname?: true
|
|
city?: true
|
|
picture?: true
|
|
birthday?: true
|
|
gender?: true
|
|
pro_state?: true
|
|
fcm_token?: true
|
|
is_phone_verified?: true
|
|
is_email_verified?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
}
|
|
|
|
export type UsersCountAggregateInputType = {
|
|
id?: true
|
|
email?: true
|
|
phone?: true
|
|
password_hash?: true
|
|
name?: true
|
|
nickname?: true
|
|
city?: true
|
|
picture?: true
|
|
birthday?: true
|
|
gender?: true
|
|
pro_state?: true
|
|
fcm_token?: true
|
|
is_phone_verified?: true
|
|
is_email_verified?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type UsersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which users to aggregate.
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of users to fetch.
|
|
*/
|
|
orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.usersWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` users from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` users.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned users
|
|
**/
|
|
_count?: true | UsersCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: UsersAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: UsersSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: UsersMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: UsersMaxAggregateInputType
|
|
}
|
|
|
|
export type GetUsersAggregateType<T extends UsersAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateUsers]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateUsers[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateUsers[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type usersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.usersWhereInput
|
|
orderBy?: Prisma.usersOrderByWithAggregationInput | Prisma.usersOrderByWithAggregationInput[]
|
|
by: Prisma.UsersScalarFieldEnum[] | Prisma.UsersScalarFieldEnum
|
|
having?: Prisma.usersScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: UsersCountAggregateInputType | true
|
|
_avg?: UsersAvgAggregateInputType
|
|
_sum?: UsersSumAggregateInputType
|
|
_min?: UsersMinAggregateInputType
|
|
_max?: UsersMaxAggregateInputType
|
|
}
|
|
|
|
export type UsersGroupByOutputType = {
|
|
id: string
|
|
email: string | null
|
|
phone: string | null
|
|
password_hash: string | null
|
|
name: string
|
|
nickname: string | null
|
|
city: string | null
|
|
picture: string | null
|
|
birthday: Date | null
|
|
gender: string | null
|
|
pro_state: number
|
|
fcm_token: string | null
|
|
is_phone_verified: boolean | null
|
|
is_email_verified: boolean | null
|
|
created_at: Date
|
|
updated_at: Date
|
|
_count: UsersCountAggregateOutputType | null
|
|
_avg: UsersAvgAggregateOutputType | null
|
|
_sum: UsersSumAggregateOutputType | null
|
|
_min: UsersMinAggregateOutputType | null
|
|
_max: UsersMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetUsersGroupByPayload<T extends usersGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<UsersGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof UsersGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], UsersGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], UsersGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type usersWhereInput = {
|
|
AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[]
|
|
OR?: Prisma.usersWhereInput[]
|
|
NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[]
|
|
id?: Prisma.UuidFilter<"users"> | string
|
|
email?: Prisma.StringNullableFilter<"users"> | string | null
|
|
phone?: Prisma.StringNullableFilter<"users"> | string | null
|
|
password_hash?: Prisma.StringNullableFilter<"users"> | string | null
|
|
name?: Prisma.StringFilter<"users"> | string
|
|
nickname?: Prisma.StringNullableFilter<"users"> | string | null
|
|
city?: Prisma.StringNullableFilter<"users"> | string | null
|
|
picture?: Prisma.StringNullableFilter<"users"> | string | null
|
|
birthday?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null
|
|
gender?: Prisma.StringNullableFilter<"users"> | string | null
|
|
pro_state?: Prisma.IntFilter<"users"> | number
|
|
fcm_token?: Prisma.StringNullableFilter<"users"> | string | null
|
|
is_phone_verified?: Prisma.BoolNullableFilter<"users"> | boolean | null
|
|
is_email_verified?: Prisma.BoolNullableFilter<"users"> | boolean | null
|
|
created_at?: Prisma.DateTimeFilter<"users"> | Date | string
|
|
updated_at?: Prisma.DateTimeFilter<"users"> | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.ChatsListRelationFilter
|
|
chats_chats_user_idTousers?: Prisma.ChatsListRelationFilter
|
|
comments_comments_author_idTousers?: Prisma.CommentsListRelationFilter
|
|
comments_comments_destination_idTousers?: Prisma.CommentsListRelationFilter
|
|
messages?: Prisma.MessagesListRelationFilter
|
|
professionals?: Prisma.XOR<Prisma.ProfessionalsNullableScalarRelationFilter, Prisma.professionalsWhereInput> | null
|
|
reputations?: Prisma.XOR<Prisma.ReputationsNullableScalarRelationFilter, Prisma.reputationsWhereInput> | null
|
|
services?: Prisma.ServicesListRelationFilter
|
|
}
|
|
|
|
export type usersOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
password_hash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
nickname?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
city?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
picture?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
birthday?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
gender?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
pro_state?: Prisma.SortOrder
|
|
fcm_token?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_phone_verified?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_email_verified?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
chats_chats_professional_idTousers?: Prisma.chatsOrderByRelationAggregateInput
|
|
chats_chats_user_idTousers?: Prisma.chatsOrderByRelationAggregateInput
|
|
comments_comments_author_idTousers?: Prisma.commentsOrderByRelationAggregateInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsOrderByRelationAggregateInput
|
|
messages?: Prisma.messagesOrderByRelationAggregateInput
|
|
professionals?: Prisma.professionalsOrderByWithRelationInput
|
|
reputations?: Prisma.reputationsOrderByWithRelationInput
|
|
services?: Prisma.servicesOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type usersWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
email?: string
|
|
phone?: string
|
|
AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[]
|
|
OR?: Prisma.usersWhereInput[]
|
|
NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[]
|
|
password_hash?: Prisma.StringNullableFilter<"users"> | string | null
|
|
name?: Prisma.StringFilter<"users"> | string
|
|
nickname?: Prisma.StringNullableFilter<"users"> | string | null
|
|
city?: Prisma.StringNullableFilter<"users"> | string | null
|
|
picture?: Prisma.StringNullableFilter<"users"> | string | null
|
|
birthday?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null
|
|
gender?: Prisma.StringNullableFilter<"users"> | string | null
|
|
pro_state?: Prisma.IntFilter<"users"> | number
|
|
fcm_token?: Prisma.StringNullableFilter<"users"> | string | null
|
|
is_phone_verified?: Prisma.BoolNullableFilter<"users"> | boolean | null
|
|
is_email_verified?: Prisma.BoolNullableFilter<"users"> | boolean | null
|
|
created_at?: Prisma.DateTimeFilter<"users"> | Date | string
|
|
updated_at?: Prisma.DateTimeFilter<"users"> | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.ChatsListRelationFilter
|
|
chats_chats_user_idTousers?: Prisma.ChatsListRelationFilter
|
|
comments_comments_author_idTousers?: Prisma.CommentsListRelationFilter
|
|
comments_comments_destination_idTousers?: Prisma.CommentsListRelationFilter
|
|
messages?: Prisma.MessagesListRelationFilter
|
|
professionals?: Prisma.XOR<Prisma.ProfessionalsNullableScalarRelationFilter, Prisma.professionalsWhereInput> | null
|
|
reputations?: Prisma.XOR<Prisma.ReputationsNullableScalarRelationFilter, Prisma.reputationsWhereInput> | null
|
|
services?: Prisma.ServicesListRelationFilter
|
|
}, "id" | "email" | "phone">
|
|
|
|
export type usersOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
password_hash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
nickname?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
city?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
picture?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
birthday?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
gender?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
pro_state?: Prisma.SortOrder
|
|
fcm_token?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_phone_verified?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_email_verified?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
_count?: Prisma.usersCountOrderByAggregateInput
|
|
_avg?: Prisma.usersAvgOrderByAggregateInput
|
|
_max?: Prisma.usersMaxOrderByAggregateInput
|
|
_min?: Prisma.usersMinOrderByAggregateInput
|
|
_sum?: Prisma.usersSumOrderByAggregateInput
|
|
}
|
|
|
|
export type usersScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.usersScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.UuidWithAggregatesFilter<"users"> | string
|
|
email?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
phone?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
password_hash?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
name?: Prisma.StringWithAggregatesFilter<"users"> | string
|
|
nickname?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
city?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
picture?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
birthday?: Prisma.DateTimeNullableWithAggregatesFilter<"users"> | Date | string | null
|
|
gender?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
pro_state?: Prisma.IntWithAggregatesFilter<"users"> | number
|
|
fcm_token?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null
|
|
is_phone_verified?: Prisma.BoolNullableWithAggregatesFilter<"users"> | boolean | null
|
|
is_email_verified?: Prisma.BoolNullableWithAggregatesFilter<"users"> | boolean | null
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"users"> | Date | string
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"users"> | Date | string
|
|
}
|
|
|
|
export type usersCreateInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateManyInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
}
|
|
|
|
export type usersUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type usersUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type UsersScalarRelationFilter = {
|
|
is?: Prisma.usersWhereInput
|
|
isNot?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
password_hash?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
nickname?: Prisma.SortOrder
|
|
city?: Prisma.SortOrder
|
|
picture?: Prisma.SortOrder
|
|
birthday?: Prisma.SortOrder
|
|
gender?: Prisma.SortOrder
|
|
pro_state?: Prisma.SortOrder
|
|
fcm_token?: Prisma.SortOrder
|
|
is_phone_verified?: Prisma.SortOrder
|
|
is_email_verified?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type usersAvgOrderByAggregateInput = {
|
|
pro_state?: Prisma.SortOrder
|
|
}
|
|
|
|
export type usersMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
password_hash?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
nickname?: Prisma.SortOrder
|
|
city?: Prisma.SortOrder
|
|
picture?: Prisma.SortOrder
|
|
birthday?: Prisma.SortOrder
|
|
gender?: Prisma.SortOrder
|
|
pro_state?: Prisma.SortOrder
|
|
fcm_token?: Prisma.SortOrder
|
|
is_phone_verified?: Prisma.SortOrder
|
|
is_email_verified?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type usersMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
password_hash?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
nickname?: Prisma.SortOrder
|
|
city?: Prisma.SortOrder
|
|
picture?: Prisma.SortOrder
|
|
birthday?: Prisma.SortOrder
|
|
gender?: Prisma.SortOrder
|
|
pro_state?: Prisma.SortOrder
|
|
fcm_token?: Prisma.SortOrder
|
|
is_phone_verified?: Prisma.SortOrder
|
|
is_email_verified?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type usersSumOrderByAggregateInput = {
|
|
pro_state?: Prisma.SortOrder
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutChats_chats_professional_idTousersInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_professional_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutChats_chats_professional_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutChats_chats_user_idTousersInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_user_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutChats_chats_user_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutChats_chats_professional_idTousersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_professional_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutChats_chats_professional_idTousersInput
|
|
upsert?: Prisma.usersUpsertWithoutChats_chats_professional_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutChats_chats_professional_idTousersInput, Prisma.usersUpdateWithoutChats_chats_professional_idTousersInput>, Prisma.usersUncheckedUpdateWithoutChats_chats_professional_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutChats_chats_user_idTousersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_user_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutChats_chats_user_idTousersInput
|
|
upsert?: Prisma.usersUpsertWithoutChats_chats_user_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutChats_chats_user_idTousersInput, Prisma.usersUpdateWithoutChats_chats_user_idTousersInput>, Prisma.usersUncheckedUpdateWithoutChats_chats_user_idTousersInput>
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutComments_comments_author_idTousersInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_author_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutComments_comments_author_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutComments_comments_destination_idTousersInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_destination_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutComments_comments_destination_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutComments_comments_author_idTousersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_author_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutComments_comments_author_idTousersInput
|
|
upsert?: Prisma.usersUpsertWithoutComments_comments_author_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutComments_comments_author_idTousersInput, Prisma.usersUpdateWithoutComments_comments_author_idTousersInput>, Prisma.usersUncheckedUpdateWithoutComments_comments_author_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutComments_comments_destination_idTousersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_destination_idTousersInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutComments_comments_destination_idTousersInput
|
|
upsert?: Prisma.usersUpsertWithoutComments_comments_destination_idTousersInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutComments_comments_destination_idTousersInput, Prisma.usersUpdateWithoutComments_comments_destination_idTousersInput>, Prisma.usersUncheckedUpdateWithoutComments_comments_destination_idTousersInput>
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutMessagesInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutMessagesInput, Prisma.usersUncheckedCreateWithoutMessagesInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutMessagesInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutMessagesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutMessagesInput, Prisma.usersUncheckedCreateWithoutMessagesInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutMessagesInput
|
|
upsert?: Prisma.usersUpsertWithoutMessagesInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutMessagesInput, Prisma.usersUpdateWithoutMessagesInput>, Prisma.usersUncheckedUpdateWithoutMessagesInput>
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutProfessionalsInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutProfessionalsInput, Prisma.usersUncheckedCreateWithoutProfessionalsInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutProfessionalsInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutProfessionalsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutProfessionalsInput, Prisma.usersUncheckedCreateWithoutProfessionalsInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutProfessionalsInput
|
|
upsert?: Prisma.usersUpsertWithoutProfessionalsInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutProfessionalsInput, Prisma.usersUpdateWithoutProfessionalsInput>, Prisma.usersUncheckedUpdateWithoutProfessionalsInput>
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutReputationsInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutReputationsInput, Prisma.usersUncheckedCreateWithoutReputationsInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutReputationsInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutReputationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutReputationsInput, Prisma.usersUncheckedCreateWithoutReputationsInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutReputationsInput
|
|
upsert?: Prisma.usersUpsertWithoutReputationsInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutReputationsInput, Prisma.usersUpdateWithoutReputationsInput>, Prisma.usersUncheckedUpdateWithoutReputationsInput>
|
|
}
|
|
|
|
export type usersCreateNestedOneWithoutServicesInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutServicesInput, Prisma.usersUncheckedCreateWithoutServicesInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutServicesInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
export type usersUpdateOneRequiredWithoutServicesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.usersCreateWithoutServicesInput, Prisma.usersUncheckedCreateWithoutServicesInput>
|
|
connectOrCreate?: Prisma.usersCreateOrConnectWithoutServicesInput
|
|
upsert?: Prisma.usersUpsertWithoutServicesInput
|
|
connect?: Prisma.usersWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutServicesInput, Prisma.usersUpdateWithoutServicesInput>, Prisma.usersUncheckedUpdateWithoutServicesInput>
|
|
}
|
|
|
|
export type usersCreateWithoutChats_chats_professional_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutChats_chats_professional_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutChats_chats_professional_idTousersInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_professional_idTousersInput>
|
|
}
|
|
|
|
export type usersCreateWithoutChats_chats_user_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutChats_chats_user_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutChats_chats_user_idTousersInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_user_idTousersInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutChats_chats_professional_idTousersInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedUpdateWithoutChats_chats_professional_idTousersInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_professional_idTousersInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutChats_chats_professional_idTousersInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutChats_chats_professional_idTousersInput, Prisma.usersUncheckedUpdateWithoutChats_chats_professional_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutChats_chats_professional_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutChats_chats_professional_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUpsertWithoutChats_chats_user_idTousersInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedUpdateWithoutChats_chats_user_idTousersInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedCreateWithoutChats_chats_user_idTousersInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutChats_chats_user_idTousersInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutChats_chats_user_idTousersInput, Prisma.usersUncheckedUpdateWithoutChats_chats_user_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutChats_chats_user_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutChats_chats_user_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateWithoutComments_comments_author_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutComments_comments_author_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutComments_comments_author_idTousersInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_author_idTousersInput>
|
|
}
|
|
|
|
export type usersCreateWithoutComments_comments_destination_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutComments_comments_destination_idTousersInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutComments_comments_destination_idTousersInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_destination_idTousersInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutComments_comments_author_idTousersInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedUpdateWithoutComments_comments_author_idTousersInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_author_idTousersInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutComments_comments_author_idTousersInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutComments_comments_author_idTousersInput, Prisma.usersUncheckedUpdateWithoutComments_comments_author_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutComments_comments_author_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutComments_comments_author_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUpsertWithoutComments_comments_destination_idTousersInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedUpdateWithoutComments_comments_destination_idTousersInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedCreateWithoutComments_comments_destination_idTousersInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutComments_comments_destination_idTousersInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutComments_comments_destination_idTousersInput, Prisma.usersUncheckedUpdateWithoutComments_comments_destination_idTousersInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutComments_comments_destination_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutComments_comments_destination_idTousersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateWithoutMessagesInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutMessagesInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutMessagesInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutMessagesInput, Prisma.usersUncheckedCreateWithoutMessagesInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutMessagesInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutMessagesInput, Prisma.usersUncheckedUpdateWithoutMessagesInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutMessagesInput, Prisma.usersUncheckedCreateWithoutMessagesInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutMessagesInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutMessagesInput, Prisma.usersUncheckedUpdateWithoutMessagesInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutMessagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutMessagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateWithoutProfessionalsInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutProfessionalsInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutProfessionalsInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutProfessionalsInput, Prisma.usersUncheckedCreateWithoutProfessionalsInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutProfessionalsInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutProfessionalsInput, Prisma.usersUncheckedUpdateWithoutProfessionalsInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutProfessionalsInput, Prisma.usersUncheckedCreateWithoutProfessionalsInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutProfessionalsInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutProfessionalsInput, Prisma.usersUncheckedUpdateWithoutProfessionalsInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutProfessionalsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutProfessionalsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateWithoutReputationsInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutReputationsInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
services?: Prisma.servicesUncheckedCreateNestedManyWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutReputationsInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutReputationsInput, Prisma.usersUncheckedCreateWithoutReputationsInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutReputationsInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutReputationsInput, Prisma.usersUncheckedUpdateWithoutReputationsInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutReputationsInput, Prisma.usersUncheckedCreateWithoutReputationsInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutReputationsInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutReputationsInput, Prisma.usersUncheckedUpdateWithoutReputationsInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutReputationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutReputationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
services?: Prisma.servicesUncheckedUpdateManyWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersCreateWithoutServicesInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsCreateNestedOneWithoutUsersInput
|
|
}
|
|
|
|
export type usersUncheckedCreateWithoutServicesInput = {
|
|
id?: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
password_hash?: string | null
|
|
name: string
|
|
nickname?: string | null
|
|
city?: string | null
|
|
picture?: string | null
|
|
birthday?: Date | string | null
|
|
gender?: string | null
|
|
pro_state?: number
|
|
fcm_token?: string | null
|
|
is_phone_verified?: boolean | null
|
|
is_email_verified?: boolean | null
|
|
created_at?: Date | string
|
|
updated_at?: Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_professional_idTousersInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedCreateNestedManyWithoutUsers_chats_user_idTousersInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_author_idTousersInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedCreateNestedManyWithoutUsers_comments_destination_idTousersInput
|
|
messages?: Prisma.messagesUncheckedCreateNestedManyWithoutUsersInput
|
|
professionals?: Prisma.professionalsUncheckedCreateNestedOneWithoutUsersInput
|
|
reputations?: Prisma.reputationsUncheckedCreateNestedOneWithoutUsersInput
|
|
}
|
|
|
|
export type usersCreateOrConnectWithoutServicesInput = {
|
|
where: Prisma.usersWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutServicesInput, Prisma.usersUncheckedCreateWithoutServicesInput>
|
|
}
|
|
|
|
export type usersUpsertWithoutServicesInput = {
|
|
update: Prisma.XOR<Prisma.usersUpdateWithoutServicesInput, Prisma.usersUncheckedUpdateWithoutServicesInput>
|
|
create: Prisma.XOR<Prisma.usersCreateWithoutServicesInput, Prisma.usersUncheckedCreateWithoutServicesInput>
|
|
where?: Prisma.usersWhereInput
|
|
}
|
|
|
|
export type usersUpdateToOneWithWhereWithoutServicesInput = {
|
|
where?: Prisma.usersWhereInput
|
|
data: Prisma.XOR<Prisma.usersUpdateWithoutServicesInput, Prisma.usersUncheckedUpdateWithoutServicesInput>
|
|
}
|
|
|
|
export type usersUpdateWithoutServicesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUpdateOneWithoutUsersNestedInput
|
|
}
|
|
|
|
export type usersUncheckedUpdateWithoutServicesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password_hash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
nickname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
birthday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
gender?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
pro_state?: Prisma.IntFieldUpdateOperationsInput | number
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_phone_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
is_email_verified?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
chats_chats_professional_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_professional_idTousersNestedInput
|
|
chats_chats_user_idTousers?: Prisma.chatsUncheckedUpdateManyWithoutUsers_chats_user_idTousersNestedInput
|
|
comments_comments_author_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_author_idTousersNestedInput
|
|
comments_comments_destination_idTousers?: Prisma.commentsUncheckedUpdateManyWithoutUsers_comments_destination_idTousersNestedInput
|
|
messages?: Prisma.messagesUncheckedUpdateManyWithoutUsersNestedInput
|
|
professionals?: Prisma.professionalsUncheckedUpdateOneWithoutUsersNestedInput
|
|
reputations?: Prisma.reputationsUncheckedUpdateOneWithoutUsersNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type UsersCountOutputType
|
|
*/
|
|
|
|
export type UsersCountOutputType = {
|
|
chats_chats_professional_idTousers: number
|
|
chats_chats_user_idTousers: number
|
|
comments_comments_author_idTousers: number
|
|
comments_comments_destination_idTousers: number
|
|
messages: number
|
|
services: number
|
|
}
|
|
|
|
export type UsersCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
chats_chats_professional_idTousers?: boolean | UsersCountOutputTypeCountChats_chats_professional_idTousersArgs
|
|
chats_chats_user_idTousers?: boolean | UsersCountOutputTypeCountChats_chats_user_idTousersArgs
|
|
comments_comments_author_idTousers?: boolean | UsersCountOutputTypeCountComments_comments_author_idTousersArgs
|
|
comments_comments_destination_idTousers?: boolean | UsersCountOutputTypeCountComments_comments_destination_idTousersArgs
|
|
messages?: boolean | UsersCountOutputTypeCountMessagesArgs
|
|
services?: boolean | UsersCountOutputTypeCountServicesArgs
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersCountOutputType
|
|
*/
|
|
select?: Prisma.UsersCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountChats_chats_professional_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.chatsWhereInput
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountChats_chats_user_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.chatsWhereInput
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountComments_comments_author_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.commentsWhereInput
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountComments_comments_destination_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.commentsWhereInput
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.messagesWhereInput
|
|
}
|
|
|
|
/**
|
|
* UsersCountOutputType without action
|
|
*/
|
|
export type UsersCountOutputTypeCountServicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.servicesWhereInput
|
|
}
|
|
|
|
|
|
export type usersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
password_hash?: boolean
|
|
name?: boolean
|
|
nickname?: boolean
|
|
city?: boolean
|
|
picture?: boolean
|
|
birthday?: boolean
|
|
gender?: boolean
|
|
pro_state?: boolean
|
|
fcm_token?: boolean
|
|
is_phone_verified?: boolean
|
|
is_email_verified?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
chats_chats_professional_idTousers?: boolean | Prisma.users$chats_chats_professional_idTousersArgs<ExtArgs>
|
|
chats_chats_user_idTousers?: boolean | Prisma.users$chats_chats_user_idTousersArgs<ExtArgs>
|
|
comments_comments_author_idTousers?: boolean | Prisma.users$comments_comments_author_idTousersArgs<ExtArgs>
|
|
comments_comments_destination_idTousers?: boolean | Prisma.users$comments_comments_destination_idTousersArgs<ExtArgs>
|
|
messages?: boolean | Prisma.users$messagesArgs<ExtArgs>
|
|
professionals?: boolean | Prisma.users$professionalsArgs<ExtArgs>
|
|
reputations?: boolean | Prisma.users$reputationsArgs<ExtArgs>
|
|
services?: boolean | Prisma.users$servicesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["users"]>
|
|
|
|
export type usersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
password_hash?: boolean
|
|
name?: boolean
|
|
nickname?: boolean
|
|
city?: boolean
|
|
picture?: boolean
|
|
birthday?: boolean
|
|
gender?: boolean
|
|
pro_state?: boolean
|
|
fcm_token?: boolean
|
|
is_phone_verified?: boolean
|
|
is_email_verified?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
}, ExtArgs["result"]["users"]>
|
|
|
|
export type usersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
password_hash?: boolean
|
|
name?: boolean
|
|
nickname?: boolean
|
|
city?: boolean
|
|
picture?: boolean
|
|
birthday?: boolean
|
|
gender?: boolean
|
|
pro_state?: boolean
|
|
fcm_token?: boolean
|
|
is_phone_verified?: boolean
|
|
is_email_verified?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
}, ExtArgs["result"]["users"]>
|
|
|
|
export type usersSelectScalar = {
|
|
id?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
password_hash?: boolean
|
|
name?: boolean
|
|
nickname?: boolean
|
|
city?: boolean
|
|
picture?: boolean
|
|
birthday?: boolean
|
|
gender?: boolean
|
|
pro_state?: boolean
|
|
fcm_token?: boolean
|
|
is_phone_verified?: boolean
|
|
is_email_verified?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
}
|
|
|
|
export type usersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "phone" | "password_hash" | "name" | "nickname" | "city" | "picture" | "birthday" | "gender" | "pro_state" | "fcm_token" | "is_phone_verified" | "is_email_verified" | "created_at" | "updated_at", ExtArgs["result"]["users"]>
|
|
export type usersInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
chats_chats_professional_idTousers?: boolean | Prisma.users$chats_chats_professional_idTousersArgs<ExtArgs>
|
|
chats_chats_user_idTousers?: boolean | Prisma.users$chats_chats_user_idTousersArgs<ExtArgs>
|
|
comments_comments_author_idTousers?: boolean | Prisma.users$comments_comments_author_idTousersArgs<ExtArgs>
|
|
comments_comments_destination_idTousers?: boolean | Prisma.users$comments_comments_destination_idTousersArgs<ExtArgs>
|
|
messages?: boolean | Prisma.users$messagesArgs<ExtArgs>
|
|
professionals?: boolean | Prisma.users$professionalsArgs<ExtArgs>
|
|
reputations?: boolean | Prisma.users$reputationsArgs<ExtArgs>
|
|
services?: boolean | Prisma.users$servicesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type usersIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type usersIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $usersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "users"
|
|
objects: {
|
|
chats_chats_professional_idTousers: Prisma.$chatsPayload<ExtArgs>[]
|
|
chats_chats_user_idTousers: Prisma.$chatsPayload<ExtArgs>[]
|
|
comments_comments_author_idTousers: Prisma.$commentsPayload<ExtArgs>[]
|
|
comments_comments_destination_idTousers: Prisma.$commentsPayload<ExtArgs>[]
|
|
messages: Prisma.$messagesPayload<ExtArgs>[]
|
|
professionals: Prisma.$professionalsPayload<ExtArgs> | null
|
|
reputations: Prisma.$reputationsPayload<ExtArgs> | null
|
|
services: Prisma.$servicesPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
email: string | null
|
|
phone: string | null
|
|
password_hash: string | null
|
|
name: string
|
|
nickname: string | null
|
|
city: string | null
|
|
picture: string | null
|
|
birthday: Date | null
|
|
gender: string | null
|
|
pro_state: number
|
|
fcm_token: string | null
|
|
is_phone_verified: boolean | null
|
|
is_email_verified: boolean | null
|
|
created_at: Date
|
|
updated_at: Date
|
|
}, ExtArgs["result"]["users"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type usersGetPayload<S extends boolean | null | undefined | usersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$usersPayload, S>
|
|
|
|
export type usersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<usersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: UsersCountAggregateInputType | true
|
|
}
|
|
|
|
export interface usersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['users'], meta: { name: 'users' } }
|
|
/**
|
|
* Find zero or one Users that matches the filter.
|
|
* @param {usersFindUniqueArgs} args - Arguments to find a Users
|
|
* @example
|
|
* // Get one Users
|
|
* const users = await prisma.users.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends usersFindUniqueArgs>(args: Prisma.SelectSubset<T, usersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Users that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {usersFindUniqueOrThrowArgs} args - Arguments to find a Users
|
|
* @example
|
|
* // Get one Users
|
|
* const users = await prisma.users.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends usersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, usersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Users that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersFindFirstArgs} args - Arguments to find a Users
|
|
* @example
|
|
* // Get one Users
|
|
* const users = await prisma.users.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends usersFindFirstArgs>(args?: Prisma.SelectSubset<T, usersFindFirstArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Users that matches the filter or
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersFindFirstOrThrowArgs} args - Arguments to find a Users
|
|
* @example
|
|
* // Get one Users
|
|
* const users = await prisma.users.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends usersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, usersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Users that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Users
|
|
* const users = await prisma.users.findMany()
|
|
*
|
|
* // Get first 10 Users
|
|
* const users = await prisma.users.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const usersWithIdOnly = await prisma.users.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends usersFindManyArgs>(args?: Prisma.SelectSubset<T, usersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Users.
|
|
* @param {usersCreateArgs} args - Arguments to create a Users.
|
|
* @example
|
|
* // Create one Users
|
|
* const Users = await prisma.users.create({
|
|
* data: {
|
|
* // ... data to create a Users
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends usersCreateArgs>(args: Prisma.SelectSubset<T, usersCreateArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Users.
|
|
* @param {usersCreateManyArgs} args - Arguments to create many Users.
|
|
* @example
|
|
* // Create many Users
|
|
* const users = await prisma.users.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends usersCreateManyArgs>(args?: Prisma.SelectSubset<T, usersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Users and returns the data saved in the database.
|
|
* @param {usersCreateManyAndReturnArgs} args - Arguments to create many Users.
|
|
* @example
|
|
* // Create many Users
|
|
* const users = await prisma.users.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Users and only return the `id`
|
|
* const usersWithIdOnly = await prisma.users.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends usersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, usersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Users.
|
|
* @param {usersDeleteArgs} args - Arguments to delete one Users.
|
|
* @example
|
|
* // Delete one Users
|
|
* const Users = await prisma.users.delete({
|
|
* where: {
|
|
* // ... filter to delete one Users
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends usersDeleteArgs>(args: Prisma.SelectSubset<T, usersDeleteArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Users.
|
|
* @param {usersUpdateArgs} args - Arguments to update one Users.
|
|
* @example
|
|
* // Update one Users
|
|
* const users = await prisma.users.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends usersUpdateArgs>(args: Prisma.SelectSubset<T, usersUpdateArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Users.
|
|
* @param {usersDeleteManyArgs} args - Arguments to filter Users to delete.
|
|
* @example
|
|
* // Delete a few Users
|
|
* const { count } = await prisma.users.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends usersDeleteManyArgs>(args?: Prisma.SelectSubset<T, usersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Users.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Users
|
|
* const users = await prisma.users.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends usersUpdateManyArgs>(args: Prisma.SelectSubset<T, usersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Users and returns the data updated in the database.
|
|
* @param {usersUpdateManyAndReturnArgs} args - Arguments to update many Users.
|
|
* @example
|
|
* // Update many Users
|
|
* const users = await prisma.users.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Users and only return the `id`
|
|
* const usersWithIdOnly = await prisma.users.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends usersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, usersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Users.
|
|
* @param {usersUpsertArgs} args - Arguments to update or create a Users.
|
|
* @example
|
|
* // Update or create a Users
|
|
* const users = await prisma.users.upsert({
|
|
* create: {
|
|
* // ... data to create a Users
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Users we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends usersUpsertArgs>(args: Prisma.SelectSubset<T, usersUpsertArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Users.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersCountArgs} args - Arguments to filter Users to count.
|
|
* @example
|
|
* // Count the number of Users
|
|
* const count = await prisma.users.count({
|
|
* where: {
|
|
* // ... the filter for the Users we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends usersCountArgs>(
|
|
args?: Prisma.Subset<T, usersCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], UsersCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Users.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {UsersAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends UsersAggregateArgs>(args: Prisma.Subset<T, UsersAggregateArgs>): Prisma.PrismaPromise<GetUsersAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Users.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {usersGroupByArgs} args - Group by arguments.
|
|
* @example
|
|
* // Group by city, order by createdAt, get count
|
|
* const result = await prisma.user.groupBy({
|
|
* by: ['city', 'createdAt'],
|
|
* orderBy: {
|
|
* createdAt: true
|
|
* },
|
|
* _count: {
|
|
* _all: true
|
|
* },
|
|
* })
|
|
*
|
|
**/
|
|
groupBy<
|
|
T extends usersGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: usersGroupByArgs['orderBy'] }
|
|
: { orderBy?: usersGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, usersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUsersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the users model
|
|
*/
|
|
readonly fields: usersFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for users.
|
|
* Why is this prefixed with `Prisma__`?
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
*/
|
|
export interface Prisma__usersClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
chats_chats_professional_idTousers<T extends Prisma.users$chats_chats_professional_idTousersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$chats_chats_professional_idTousersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$chatsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
chats_chats_user_idTousers<T extends Prisma.users$chats_chats_user_idTousersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$chats_chats_user_idTousersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$chatsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
comments_comments_author_idTousers<T extends Prisma.users$comments_comments_author_idTousersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$comments_comments_author_idTousersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$commentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
comments_comments_destination_idTousers<T extends Prisma.users$comments_comments_destination_idTousersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$comments_comments_destination_idTousersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$commentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
messages<T extends Prisma.users$messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$messagesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
professionals<T extends Prisma.users$professionalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$professionalsArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
reputations<T extends Prisma.users$reputationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$reputationsArgs<ExtArgs>>): Prisma.Prisma__reputationsClient<runtime.Types.Result.GetResult<Prisma.$reputationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
services<T extends Prisma.users$servicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$servicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$servicesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the users model
|
|
*/
|
|
export interface usersFieldRefs {
|
|
readonly id: Prisma.FieldRef<"users", 'String'>
|
|
readonly email: Prisma.FieldRef<"users", 'String'>
|
|
readonly phone: Prisma.FieldRef<"users", 'String'>
|
|
readonly password_hash: Prisma.FieldRef<"users", 'String'>
|
|
readonly name: Prisma.FieldRef<"users", 'String'>
|
|
readonly nickname: Prisma.FieldRef<"users", 'String'>
|
|
readonly city: Prisma.FieldRef<"users", 'String'>
|
|
readonly picture: Prisma.FieldRef<"users", 'String'>
|
|
readonly birthday: Prisma.FieldRef<"users", 'DateTime'>
|
|
readonly gender: Prisma.FieldRef<"users", 'String'>
|
|
readonly pro_state: Prisma.FieldRef<"users", 'Int'>
|
|
readonly fcm_token: Prisma.FieldRef<"users", 'String'>
|
|
readonly is_phone_verified: Prisma.FieldRef<"users", 'Boolean'>
|
|
readonly is_email_verified: Prisma.FieldRef<"users", 'Boolean'>
|
|
readonly created_at: Prisma.FieldRef<"users", 'DateTime'>
|
|
readonly updated_at: Prisma.FieldRef<"users", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* users findUnique
|
|
*/
|
|
export type usersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which users to fetch.
|
|
*/
|
|
where: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* users findUniqueOrThrow
|
|
*/
|
|
export type usersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which users to fetch.
|
|
*/
|
|
where: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* users findFirst
|
|
*/
|
|
export type usersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which users to fetch.
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of users to fetch.
|
|
*/
|
|
orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for users.
|
|
*/
|
|
cursor?: Prisma.usersWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` users from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` users.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of users.
|
|
*/
|
|
distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users findFirstOrThrow
|
|
*/
|
|
export type usersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which users to fetch.
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of users to fetch.
|
|
*/
|
|
orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for users.
|
|
*/
|
|
cursor?: Prisma.usersWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` users from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` users.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of users.
|
|
*/
|
|
distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users findMany
|
|
*/
|
|
export type usersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which users to fetch.
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of users to fetch.
|
|
*/
|
|
orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing users.
|
|
*/
|
|
cursor?: Prisma.usersWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` users from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` users.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of users.
|
|
*/
|
|
distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users create
|
|
*/
|
|
export type usersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.usersCreateInput, Prisma.usersUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* users createMany
|
|
*/
|
|
export type usersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many users.
|
|
*/
|
|
data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* users createManyAndReturn
|
|
*/
|
|
export type usersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many users.
|
|
*/
|
|
data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* users update
|
|
*/
|
|
export type usersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.usersUpdateInput, Prisma.usersUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which users to update.
|
|
*/
|
|
where: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* users updateMany
|
|
*/
|
|
export type usersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.usersUpdateManyMutationInput, Prisma.usersUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which users to update
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* Limit how many users to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* users updateManyAndReturn
|
|
*/
|
|
export type usersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.usersUpdateManyMutationInput, Prisma.usersUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which users to update
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* Limit how many users to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* users upsert
|
|
*/
|
|
export type usersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the users to update in case it exists.
|
|
*/
|
|
where: Prisma.usersWhereUniqueInput
|
|
/**
|
|
* In case the users found by the `where` argument doesn't exist, create a new users with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.usersCreateInput, Prisma.usersUncheckedCreateInput>
|
|
/**
|
|
* In case the users was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.usersUpdateInput, Prisma.usersUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* users delete
|
|
*/
|
|
export type usersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which users to delete.
|
|
*/
|
|
where: Prisma.usersWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* users deleteMany
|
|
*/
|
|
export type usersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which users to delete
|
|
*/
|
|
where?: Prisma.usersWhereInput
|
|
/**
|
|
* Limit how many users to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* users.chats_chats_professional_idTousers
|
|
*/
|
|
export type users$chats_chats_professional_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the chats
|
|
*/
|
|
select?: Prisma.chatsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the chats
|
|
*/
|
|
omit?: Prisma.chatsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.chatsInclude<ExtArgs> | null
|
|
where?: Prisma.chatsWhereInput
|
|
orderBy?: Prisma.chatsOrderByWithRelationInput | Prisma.chatsOrderByWithRelationInput[]
|
|
cursor?: Prisma.chatsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ChatsScalarFieldEnum | Prisma.ChatsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users.chats_chats_user_idTousers
|
|
*/
|
|
export type users$chats_chats_user_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the chats
|
|
*/
|
|
select?: Prisma.chatsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the chats
|
|
*/
|
|
omit?: Prisma.chatsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.chatsInclude<ExtArgs> | null
|
|
where?: Prisma.chatsWhereInput
|
|
orderBy?: Prisma.chatsOrderByWithRelationInput | Prisma.chatsOrderByWithRelationInput[]
|
|
cursor?: Prisma.chatsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ChatsScalarFieldEnum | Prisma.ChatsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users.comments_comments_author_idTousers
|
|
*/
|
|
export type users$comments_comments_author_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the comments
|
|
*/
|
|
select?: Prisma.commentsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the comments
|
|
*/
|
|
omit?: Prisma.commentsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.commentsInclude<ExtArgs> | null
|
|
where?: Prisma.commentsWhereInput
|
|
orderBy?: Prisma.commentsOrderByWithRelationInput | Prisma.commentsOrderByWithRelationInput[]
|
|
cursor?: Prisma.commentsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.CommentsScalarFieldEnum | Prisma.CommentsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users.comments_comments_destination_idTousers
|
|
*/
|
|
export type users$comments_comments_destination_idTousersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the comments
|
|
*/
|
|
select?: Prisma.commentsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the comments
|
|
*/
|
|
omit?: Prisma.commentsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.commentsInclude<ExtArgs> | null
|
|
where?: Prisma.commentsWhereInput
|
|
orderBy?: Prisma.commentsOrderByWithRelationInput | Prisma.commentsOrderByWithRelationInput[]
|
|
cursor?: Prisma.commentsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.CommentsScalarFieldEnum | Prisma.CommentsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users.messages
|
|
*/
|
|
export type users$messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the messages
|
|
*/
|
|
select?: Prisma.messagesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the messages
|
|
*/
|
|
omit?: Prisma.messagesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.messagesInclude<ExtArgs> | null
|
|
where?: Prisma.messagesWhereInput
|
|
orderBy?: Prisma.messagesOrderByWithRelationInput | Prisma.messagesOrderByWithRelationInput[]
|
|
cursor?: Prisma.messagesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.MessagesScalarFieldEnum | Prisma.MessagesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users.professionals
|
|
*/
|
|
export type users$professionalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
/**
|
|
* users.reputations
|
|
*/
|
|
export type users$reputationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the reputations
|
|
*/
|
|
select?: Prisma.reputationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the reputations
|
|
*/
|
|
omit?: Prisma.reputationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.reputationsInclude<ExtArgs> | null
|
|
where?: Prisma.reputationsWhereInput
|
|
}
|
|
|
|
/**
|
|
* users.services
|
|
*/
|
|
export type users$servicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the services
|
|
*/
|
|
select?: Prisma.servicesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the services
|
|
*/
|
|
omit?: Prisma.servicesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.servicesInclude<ExtArgs> | null
|
|
where?: Prisma.servicesWhereInput
|
|
orderBy?: Prisma.servicesOrderByWithRelationInput | Prisma.servicesOrderByWithRelationInput[]
|
|
cursor?: Prisma.servicesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ServicesScalarFieldEnum | Prisma.ServicesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* users without action
|
|
*/
|
|
export type usersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the users
|
|
*/
|
|
select?: Prisma.usersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the users
|
|
*/
|
|
omit?: Prisma.usersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.usersInclude<ExtArgs> | null
|
|
}
|