mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 00:09:03 +00:00
4456 lines
204 KiB
TypeScript
Generated
4456 lines
204 KiB
TypeScript
Generated
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `User` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import type * as PJTG from '../pjtg';
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model User
|
|
*
|
|
*/
|
|
export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload>
|
|
|
|
export type AggregateUser = {
|
|
_count: UserCountAggregateOutputType | null
|
|
_min: UserMinAggregateOutputType | null
|
|
_max: UserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type UserMinAggregateOutputType = {
|
|
id: string | null
|
|
type: $Enums.UserType | null
|
|
name: string | null
|
|
email: string | null
|
|
emailVerified: boolean | null
|
|
image: string | null
|
|
password: string | null
|
|
guestEmail: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type UserMaxAggregateOutputType = {
|
|
id: string | null
|
|
type: $Enums.UserType | null
|
|
name: string | null
|
|
email: string | null
|
|
emailVerified: boolean | null
|
|
image: string | null
|
|
password: string | null
|
|
guestEmail: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type UserCountAggregateOutputType = {
|
|
id: number
|
|
type: number
|
|
name: number
|
|
email: number
|
|
emailVerified: number
|
|
image: number
|
|
password: number
|
|
agentSettings:PrismaJson.AgentSettings
|
|
guestEmail: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type UserMinAggregateInputType = {
|
|
id?: true
|
|
type?: true
|
|
name?: true
|
|
email?: true
|
|
emailVerified?: true
|
|
image?: true
|
|
password?: true
|
|
guestEmail?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type UserMaxAggregateInputType = {
|
|
id?: true
|
|
type?: true
|
|
name?: true
|
|
email?: true
|
|
emailVerified?: true
|
|
image?: true
|
|
password?: true
|
|
guestEmail?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type UserCountAggregateInputType = {
|
|
id?: true
|
|
type?: true
|
|
name?: true
|
|
email?: true
|
|
emailVerified?: true
|
|
image?: true
|
|
password?: true
|
|
agentSettings?: true
|
|
guestEmail?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which User to aggregate.
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Users to fetch.
|
|
*/
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.UserWhereUniqueInput
|
|
/**
|
|
* {@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 | UserCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: UserMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: UserMaxAggregateInputType
|
|
}
|
|
|
|
export type GetUserAggregateType<T extends UserAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateUser]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateUser[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateUser[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.UserWhereInput
|
|
orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[]
|
|
by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum
|
|
having?: Prisma.UserScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: UserCountAggregateInputType | true
|
|
_min?: UserMinAggregateInputType
|
|
_max?: UserMaxAggregateInputType
|
|
}
|
|
|
|
export type UserGroupByOutputType = {
|
|
id: string
|
|
type: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified: boolean
|
|
image: string | null
|
|
password: string | null
|
|
agentSettings:PrismaJson.AgentSettings | null
|
|
guestEmail: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: UserCountAggregateOutputType | null
|
|
_min: UserMinAggregateOutputType | null
|
|
_max: UserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<UserGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type UserWhereInput = {
|
|
AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
OR?: Prisma.UserWhereInput[]
|
|
NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
id?: Prisma.StringFilter<"User"> | string
|
|
type?: Prisma.EnumUserTypeFilter<"User"> | $Enums.UserType
|
|
name?: Prisma.StringFilter<"User"> | string
|
|
email?: Prisma.StringFilter<"User"> | string
|
|
emailVerified?: Prisma.BoolFilter<"User"> | boolean
|
|
image?: Prisma.StringNullableFilter<"User"> | string | null
|
|
password?: Prisma.StringNullableFilter<"User"> | string | null
|
|
agentSettings?: Prisma.JsonNullableFilter<"User">
|
|
guestEmail?: Prisma.StringNullableFilter<"User"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
assets?: Prisma.AssetListRelationFilter
|
|
authTokens?: Prisma.AuthTokenListRelationFilter
|
|
tasks?: Prisma.TaskListRelationFilter
|
|
teamMembers?: Prisma.TeamMemberListRelationFilter
|
|
comments?: Prisma.AssetCommentListRelationFilter
|
|
createdInvites?: Prisma.InviteListRelationFilter
|
|
createdNotifications?: Prisma.NotificationListRelationFilter
|
|
notifications?: Prisma.NotificationListRelationFilter
|
|
sessions?: Prisma.SessionListRelationFilter
|
|
accounts?: Prisma.AccountListRelationFilter
|
|
agent?: Prisma.XOR<Prisma.AgentNullableScalarRelationFilter, Prisma.AgentWhereInput> | null
|
|
agentSessions?: Prisma.AgentSessionListRelationFilter
|
|
userMetadata?: Prisma.UserMetadataListRelationFilter
|
|
collections?: Prisma.CollectionListRelationFilter
|
|
shareLinks?: Prisma.ShareLinkListRelationFilter
|
|
apiTokens?: Prisma.ApiTokenListRelationFilter
|
|
}
|
|
|
|
export type UserOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
emailVerified?: Prisma.SortOrder
|
|
image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
password?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
agentSettings?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
guestEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assets?: Prisma.AssetOrderByRelationAggregateInput
|
|
authTokens?: Prisma.AuthTokenOrderByRelationAggregateInput
|
|
tasks?: Prisma.TaskOrderByRelationAggregateInput
|
|
teamMembers?: Prisma.TeamMemberOrderByRelationAggregateInput
|
|
comments?: Prisma.AssetCommentOrderByRelationAggregateInput
|
|
createdInvites?: Prisma.InviteOrderByRelationAggregateInput
|
|
createdNotifications?: Prisma.NotificationOrderByRelationAggregateInput
|
|
notifications?: Prisma.NotificationOrderByRelationAggregateInput
|
|
sessions?: Prisma.SessionOrderByRelationAggregateInput
|
|
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
|
agent?: Prisma.AgentOrderByWithRelationInput
|
|
agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput
|
|
userMetadata?: Prisma.UserMetadataOrderByRelationAggregateInput
|
|
collections?: Prisma.CollectionOrderByRelationAggregateInput
|
|
shareLinks?: Prisma.ShareLinkOrderByRelationAggregateInput
|
|
apiTokens?: Prisma.ApiTokenOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
email?: string
|
|
AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
OR?: Prisma.UserWhereInput[]
|
|
NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
type?: Prisma.EnumUserTypeFilter<"User"> | $Enums.UserType
|
|
name?: Prisma.StringFilter<"User"> | string
|
|
emailVerified?: Prisma.BoolFilter<"User"> | boolean
|
|
image?: Prisma.StringNullableFilter<"User"> | string | null
|
|
password?: Prisma.StringNullableFilter<"User"> | string | null
|
|
agentSettings?: Prisma.JsonNullableFilter<"User">
|
|
guestEmail?: Prisma.StringNullableFilter<"User"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
assets?: Prisma.AssetListRelationFilter
|
|
authTokens?: Prisma.AuthTokenListRelationFilter
|
|
tasks?: Prisma.TaskListRelationFilter
|
|
teamMembers?: Prisma.TeamMemberListRelationFilter
|
|
comments?: Prisma.AssetCommentListRelationFilter
|
|
createdInvites?: Prisma.InviteListRelationFilter
|
|
createdNotifications?: Prisma.NotificationListRelationFilter
|
|
notifications?: Prisma.NotificationListRelationFilter
|
|
sessions?: Prisma.SessionListRelationFilter
|
|
accounts?: Prisma.AccountListRelationFilter
|
|
agent?: Prisma.XOR<Prisma.AgentNullableScalarRelationFilter, Prisma.AgentWhereInput> | null
|
|
agentSessions?: Prisma.AgentSessionListRelationFilter
|
|
userMetadata?: Prisma.UserMetadataListRelationFilter
|
|
collections?: Prisma.CollectionListRelationFilter
|
|
shareLinks?: Prisma.ShareLinkListRelationFilter
|
|
apiTokens?: Prisma.ApiTokenListRelationFilter
|
|
}, "id" | "email">
|
|
|
|
export type UserOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
emailVerified?: Prisma.SortOrder
|
|
image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
password?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
agentSettings?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
guestEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.UserCountOrderByAggregateInput
|
|
_max?: Prisma.UserMaxOrderByAggregateInput
|
|
_min?: Prisma.UserMinOrderByAggregateInput
|
|
}
|
|
|
|
export type UserScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.UserScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
type?: Prisma.EnumUserTypeWithAggregatesFilter<"User"> | $Enums.UserType
|
|
name?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
email?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
emailVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean
|
|
image?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
password?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
agentSettings?: Prisma.JsonNullableWithAggregatesFilter<"User">
|
|
guestEmail?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
}
|
|
|
|
export type UserCreateInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateManyInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type UserUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type UserUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type UserCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
emailVerified?: Prisma.SortOrder
|
|
image?: Prisma.SortOrder
|
|
password?: Prisma.SortOrder
|
|
agentSettings?: Prisma.SortOrder
|
|
guestEmail?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type UserMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
emailVerified?: Prisma.SortOrder
|
|
image?: Prisma.SortOrder
|
|
password?: Prisma.SortOrder
|
|
guestEmail?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type UserMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
emailVerified?: Prisma.SortOrder
|
|
image?: Prisma.SortOrder
|
|
password?: Prisma.SortOrder
|
|
guestEmail?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type UserScalarRelationFilter = {
|
|
is?: Prisma.UserWhereInput
|
|
isNot?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserNullableScalarRelationFilter = {
|
|
is?: Prisma.UserWhereInput | null
|
|
isNot?: Prisma.UserWhereInput | null
|
|
}
|
|
|
|
export type StringFieldUpdateOperationsInput = {
|
|
set?: string
|
|
}
|
|
|
|
export type EnumUserTypeFieldUpdateOperationsInput = {
|
|
set?: $Enums.UserType
|
|
}
|
|
|
|
export type BoolFieldUpdateOperationsInput = {
|
|
set?: boolean
|
|
}
|
|
|
|
export type NullableStringFieldUpdateOperationsInput = {
|
|
set?: string | null
|
|
}
|
|
|
|
export type DateTimeFieldUpdateOperationsInput = {
|
|
set?: Date | string
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutSessionsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutSessionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput
|
|
upsert?: Prisma.UserUpsertWithoutSessionsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSessionsInput, Prisma.UserUpdateWithoutSessionsInput>, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutAccountsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAccountsInput, Prisma.UserUncheckedCreateWithoutAccountsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutAccountsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAccountsInput, Prisma.UserUncheckedCreateWithoutAccountsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput
|
|
upsert?: Prisma.UserUpsertWithoutAccountsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAccountsInput, Prisma.UserUpdateWithoutAccountsInput>, Prisma.UserUncheckedUpdateWithoutAccountsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutAuthTokensInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAuthTokensInput, Prisma.UserUncheckedCreateWithoutAuthTokensInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAuthTokensInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutAuthTokensNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAuthTokensInput, Prisma.UserUncheckedCreateWithoutAuthTokensInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAuthTokensInput
|
|
upsert?: Prisma.UserUpsertWithoutAuthTokensInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAuthTokensInput, Prisma.UserUpdateWithoutAuthTokensInput>, Prisma.UserUncheckedUpdateWithoutAuthTokensInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutTeamMembersInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutTeamMembersInput, Prisma.UserUncheckedCreateWithoutTeamMembersInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutTeamMembersInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutTeamMembersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutTeamMembersInput, Prisma.UserUncheckedCreateWithoutTeamMembersInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutTeamMembersInput
|
|
upsert?: Prisma.UserUpsertWithoutTeamMembersInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutTeamMembersInput, Prisma.UserUpdateWithoutTeamMembersInput>, Prisma.UserUncheckedUpdateWithoutTeamMembersInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutShareLinksInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutShareLinksInput, Prisma.UserUncheckedCreateWithoutShareLinksInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutShareLinksInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutShareLinksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutShareLinksInput, Prisma.UserUncheckedCreateWithoutShareLinksInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutShareLinksInput
|
|
upsert?: Prisma.UserUpsertWithoutShareLinksInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutShareLinksInput, Prisma.UserUpdateWithoutShareLinksInput>, Prisma.UserUncheckedUpdateWithoutShareLinksInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutAssetsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAssetsInput, Prisma.UserUncheckedCreateWithoutAssetsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAssetsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutAssetsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAssetsInput, Prisma.UserUncheckedCreateWithoutAssetsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAssetsInput
|
|
upsert?: Prisma.UserUpsertWithoutAssetsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAssetsInput, Prisma.UserUpdateWithoutAssetsInput>, Prisma.UserUncheckedUpdateWithoutAssetsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutCommentsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCommentsInput, Prisma.UserUncheckedCreateWithoutCommentsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCommentsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutCommentsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCommentsInput, Prisma.UserUncheckedCreateWithoutCommentsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCommentsInput
|
|
upsert?: Prisma.UserUpsertWithoutCommentsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutCommentsInput, Prisma.UserUpdateWithoutCommentsInput>, Prisma.UserUncheckedUpdateWithoutCommentsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutCreatedInvitesInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCreatedInvitesInput, Prisma.UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedInvitesInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutCreatedInvitesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCreatedInvitesInput, Prisma.UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedInvitesInput
|
|
upsert?: Prisma.UserUpsertWithoutCreatedInvitesInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutCreatedInvitesInput, Prisma.UserUpdateWithoutCreatedInvitesInput>, Prisma.UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutCreatedNotificationsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCreatedNotificationsInput, Prisma.UserUncheckedCreateWithoutCreatedNotificationsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedNotificationsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutNotificationsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutCreatedNotificationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCreatedNotificationsInput, Prisma.UserUncheckedCreateWithoutCreatedNotificationsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedNotificationsInput
|
|
upsert?: Prisma.UserUpsertWithoutCreatedNotificationsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutCreatedNotificationsInput, Prisma.UserUpdateWithoutCreatedNotificationsInput>, Prisma.UserUncheckedUpdateWithoutCreatedNotificationsInput>
|
|
}
|
|
|
|
export type UserUpdateOneWithoutNotificationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput
|
|
upsert?: Prisma.UserUpsertWithoutNotificationsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutNotificationsInput, Prisma.UserUpdateWithoutNotificationsInput>, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutTasksInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutTasksInput, Prisma.UserUncheckedCreateWithoutTasksInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutTasksInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutTasksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutTasksInput, Prisma.UserUncheckedCreateWithoutTasksInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutTasksInput
|
|
upsert?: Prisma.UserUpsertWithoutTasksInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutTasksInput, Prisma.UserUpdateWithoutTasksInput>, Prisma.UserUncheckedUpdateWithoutTasksInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutAgentInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAgentInput, Prisma.UserUncheckedCreateWithoutAgentInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutAgentNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAgentInput, Prisma.UserUncheckedCreateWithoutAgentInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentInput
|
|
upsert?: Prisma.UserUpsertWithoutAgentInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAgentInput, Prisma.UserUpdateWithoutAgentInput>, Prisma.UserUncheckedUpdateWithoutAgentInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutAgentSessionsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAgentSessionsInput, Prisma.UserUncheckedCreateWithoutAgentSessionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentSessionsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutAgentSessionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutAgentSessionsInput, Prisma.UserUncheckedCreateWithoutAgentSessionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentSessionsInput
|
|
upsert?: Prisma.UserUpsertWithoutAgentSessionsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAgentSessionsInput, Prisma.UserUpdateWithoutAgentSessionsInput>, Prisma.UserUncheckedUpdateWithoutAgentSessionsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutUserMetadataInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutUserMetadataInput, Prisma.UserUncheckedCreateWithoutUserMetadataInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserMetadataInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutUserMetadataNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutUserMetadataInput, Prisma.UserUncheckedCreateWithoutUserMetadataInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserMetadataInput
|
|
upsert?: Prisma.UserUpsertWithoutUserMetadataInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutUserMetadataInput, Prisma.UserUpdateWithoutUserMetadataInput>, Prisma.UserUncheckedUpdateWithoutUserMetadataInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutCollectionsInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCollectionsInput, Prisma.UserUncheckedCreateWithoutCollectionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCollectionsInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneWithoutCollectionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutCollectionsInput, Prisma.UserUncheckedCreateWithoutCollectionsInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutCollectionsInput
|
|
upsert?: Prisma.UserUpsertWithoutCollectionsInput
|
|
disconnect?: Prisma.UserWhereInput | boolean
|
|
delete?: Prisma.UserWhereInput | boolean
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutCollectionsInput, Prisma.UserUpdateWithoutCollectionsInput>, Prisma.UserUncheckedUpdateWithoutCollectionsInput>
|
|
}
|
|
|
|
export type UserCreateNestedOneWithoutApiTokensInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutApiTokensInput, Prisma.UserUncheckedCreateWithoutApiTokensInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutApiTokensInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
export type UserUpdateOneRequiredWithoutApiTokensNestedInput = {
|
|
create?: Prisma.XOR<Prisma.UserCreateWithoutApiTokensInput, Prisma.UserUncheckedCreateWithoutApiTokensInput>
|
|
connectOrCreate?: Prisma.UserCreateOrConnectWithoutApiTokensInput
|
|
upsert?: Prisma.UserUpsertWithoutApiTokensInput
|
|
connect?: Prisma.UserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutApiTokensInput, Prisma.UserUpdateWithoutApiTokensInput>, Prisma.UserUncheckedUpdateWithoutApiTokensInput>
|
|
}
|
|
|
|
export type UserCreateWithoutSessionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutSessionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutSessionsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutSessionsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutSessionsInput, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutSessionsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutSessionsInput, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutAccountsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutAccountsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutAccountsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAccountsInput, Prisma.UserUncheckedCreateWithoutAccountsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutAccountsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutAccountsInput, Prisma.UserUncheckedUpdateWithoutAccountsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAccountsInput, Prisma.UserUncheckedCreateWithoutAccountsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutAccountsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutAccountsInput, Prisma.UserUncheckedUpdateWithoutAccountsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutAccountsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutAccountsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutAuthTokensInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutAuthTokensInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutAuthTokensInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAuthTokensInput, Prisma.UserUncheckedCreateWithoutAuthTokensInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutAuthTokensInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutAuthTokensInput, Prisma.UserUncheckedUpdateWithoutAuthTokensInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAuthTokensInput, Prisma.UserUncheckedCreateWithoutAuthTokensInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutAuthTokensInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutAuthTokensInput, Prisma.UserUncheckedUpdateWithoutAuthTokensInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutAuthTokensInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutAuthTokensInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutTeamMembersInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutTeamMembersInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutTeamMembersInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutTeamMembersInput, Prisma.UserUncheckedCreateWithoutTeamMembersInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutTeamMembersInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutTeamMembersInput, Prisma.UserUncheckedUpdateWithoutTeamMembersInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutTeamMembersInput, Prisma.UserUncheckedCreateWithoutTeamMembersInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutTeamMembersInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutTeamMembersInput, Prisma.UserUncheckedUpdateWithoutTeamMembersInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutTeamMembersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutTeamMembersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutShareLinksInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutShareLinksInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutShareLinksInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutShareLinksInput, Prisma.UserUncheckedCreateWithoutShareLinksInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutShareLinksInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutShareLinksInput, Prisma.UserUncheckedUpdateWithoutShareLinksInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutShareLinksInput, Prisma.UserUncheckedCreateWithoutShareLinksInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutShareLinksInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutShareLinksInput, Prisma.UserUncheckedUpdateWithoutShareLinksInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutShareLinksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutShareLinksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutAssetsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutAssetsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutAssetsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAssetsInput, Prisma.UserUncheckedCreateWithoutAssetsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutAssetsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutAssetsInput, Prisma.UserUncheckedUpdateWithoutAssetsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAssetsInput, Prisma.UserUncheckedCreateWithoutAssetsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutAssetsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutAssetsInput, Prisma.UserUncheckedUpdateWithoutAssetsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutAssetsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutAssetsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutCommentsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutCommentsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutCommentsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCommentsInput, Prisma.UserUncheckedCreateWithoutCommentsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutCommentsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutCommentsInput, Prisma.UserUncheckedUpdateWithoutCommentsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCommentsInput, Prisma.UserUncheckedCreateWithoutCommentsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutCommentsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutCommentsInput, Prisma.UserUncheckedUpdateWithoutCommentsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutCommentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutCommentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutCreatedInvitesInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutCreatedInvitesInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutCreatedInvitesInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCreatedInvitesInput, Prisma.UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutCreatedInvitesInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutCreatedInvitesInput, Prisma.UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCreatedInvitesInput, Prisma.UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutCreatedInvitesInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutCreatedInvitesInput, Prisma.UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutCreatedInvitesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutCreatedInvitesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutCreatedNotificationsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutCreatedNotificationsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutCreatedNotificationsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCreatedNotificationsInput, Prisma.UserUncheckedCreateWithoutCreatedNotificationsInput>
|
|
}
|
|
|
|
export type UserCreateWithoutNotificationsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutNotificationsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutNotificationsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutCreatedNotificationsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutCreatedNotificationsInput, Prisma.UserUncheckedUpdateWithoutCreatedNotificationsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCreatedNotificationsInput, Prisma.UserUncheckedCreateWithoutCreatedNotificationsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutCreatedNotificationsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutCreatedNotificationsInput, Prisma.UserUncheckedUpdateWithoutCreatedNotificationsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutCreatedNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutCreatedNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUpsertWithoutNotificationsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutNotificationsInput, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutNotificationsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutNotificationsInput, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutTasksInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutTasksInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutTasksInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutTasksInput, Prisma.UserUncheckedCreateWithoutTasksInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutTasksInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutTasksInput, Prisma.UserUncheckedUpdateWithoutTasksInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutTasksInput, Prisma.UserUncheckedCreateWithoutTasksInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutTasksInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutTasksInput, Prisma.UserUncheckedUpdateWithoutTasksInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutTasksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutTasksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutAgentInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutAgentInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutAgentInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAgentInput, Prisma.UserUncheckedCreateWithoutAgentInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutAgentInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutAgentInput, Prisma.UserUncheckedUpdateWithoutAgentInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAgentInput, Prisma.UserUncheckedCreateWithoutAgentInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutAgentInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutAgentInput, Prisma.UserUncheckedUpdateWithoutAgentInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutAgentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutAgentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutAgentSessionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutAgentSessionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutAgentSessionsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAgentSessionsInput, Prisma.UserUncheckedCreateWithoutAgentSessionsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutAgentSessionsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutAgentSessionsInput, Prisma.UserUncheckedUpdateWithoutAgentSessionsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutAgentSessionsInput, Prisma.UserUncheckedCreateWithoutAgentSessionsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutAgentSessionsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutAgentSessionsInput, Prisma.UserUncheckedUpdateWithoutAgentSessionsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutAgentSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutAgentSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutUserMetadataInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutUserMetadataInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutUserMetadataInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutUserMetadataInput, Prisma.UserUncheckedCreateWithoutUserMetadataInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutUserMetadataInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutUserMetadataInput, Prisma.UserUncheckedUpdateWithoutUserMetadataInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutUserMetadataInput, Prisma.UserUncheckedCreateWithoutUserMetadataInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutUserMetadataInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutUserMetadataInput, Prisma.UserUncheckedUpdateWithoutUserMetadataInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutUserMetadataInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutUserMetadataInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutCollectionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutCollectionsInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutCollectionsInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCollectionsInput, Prisma.UserUncheckedCreateWithoutCollectionsInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutCollectionsInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutCollectionsInput, Prisma.UserUncheckedUpdateWithoutCollectionsInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutCollectionsInput, Prisma.UserUncheckedCreateWithoutCollectionsInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutCollectionsInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutCollectionsInput, Prisma.UserUncheckedUpdateWithoutCollectionsInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutCollectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutCollectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
}
|
|
|
|
export type UserCreateWithoutApiTokensInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
|
}
|
|
|
|
export type UserUncheckedCreateWithoutApiTokensInput = {
|
|
id?: string
|
|
type?: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified?: boolean
|
|
image?: string | null
|
|
password?: string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
|
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
|
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
|
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
|
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
|
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
|
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
|
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
|
}
|
|
|
|
export type UserCreateOrConnectWithoutApiTokensInput = {
|
|
where: Prisma.UserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutApiTokensInput, Prisma.UserUncheckedCreateWithoutApiTokensInput>
|
|
}
|
|
|
|
export type UserUpsertWithoutApiTokensInput = {
|
|
update: Prisma.XOR<Prisma.UserUpdateWithoutApiTokensInput, Prisma.UserUncheckedUpdateWithoutApiTokensInput>
|
|
create: Prisma.XOR<Prisma.UserCreateWithoutApiTokensInput, Prisma.UserUncheckedCreateWithoutApiTokensInput>
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
export type UserUpdateToOneWithWhereWithoutApiTokensInput = {
|
|
where?: Prisma.UserWhereInput
|
|
data: Prisma.XOR<Prisma.UserUpdateWithoutApiTokensInput, Prisma.UserUncheckedUpdateWithoutApiTokensInput>
|
|
}
|
|
|
|
export type UserUpdateWithoutApiTokensInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
|
}
|
|
|
|
export type UserUncheckedUpdateWithoutApiTokensInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
|
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
|
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
|
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
|
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
|
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
|
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
|
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type UserCountOutputType
|
|
*/
|
|
|
|
export type UserCountOutputType = {
|
|
assets: number
|
|
authTokens: number
|
|
tasks: number
|
|
teamMembers: number
|
|
comments: number
|
|
createdInvites: number
|
|
createdNotifications: number
|
|
notifications: number
|
|
sessions: number
|
|
accounts: number
|
|
agentSessions: number
|
|
userMetadata: number
|
|
collections: number
|
|
shareLinks: number
|
|
apiTokens: number
|
|
}
|
|
|
|
export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
assets?: boolean | UserCountOutputTypeCountAssetsArgs
|
|
authTokens?: boolean | UserCountOutputTypeCountAuthTokensArgs
|
|
tasks?: boolean | UserCountOutputTypeCountTasksArgs
|
|
teamMembers?: boolean | UserCountOutputTypeCountTeamMembersArgs
|
|
comments?: boolean | UserCountOutputTypeCountCommentsArgs
|
|
createdInvites?: boolean | UserCountOutputTypeCountCreatedInvitesArgs
|
|
createdNotifications?: boolean | UserCountOutputTypeCountCreatedNotificationsArgs
|
|
notifications?: boolean | UserCountOutputTypeCountNotificationsArgs
|
|
sessions?: boolean | UserCountOutputTypeCountSessionsArgs
|
|
accounts?: boolean | UserCountOutputTypeCountAccountsArgs
|
|
agentSessions?: boolean | UserCountOutputTypeCountAgentSessionsArgs
|
|
userMetadata?: boolean | UserCountOutputTypeCountUserMetadataArgs
|
|
collections?: boolean | UserCountOutputTypeCountCollectionsArgs
|
|
shareLinks?: boolean | UserCountOutputTypeCountShareLinksArgs
|
|
apiTokens?: boolean | UserCountOutputTypeCountApiTokensArgs
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UserCountOutputType
|
|
*/
|
|
select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountAssetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AssetWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountAuthTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AuthTokenWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TaskWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountTeamMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TeamMemberWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountCommentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AssetCommentWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountCreatedInvitesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.InviteWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountCreatedNotificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.NotificationWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountNotificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.NotificationWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.SessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AccountWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountAgentSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AgentSessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountUserMetadataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.UserMetadataWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountCollectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.CollectionWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountShareLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ShareLinkWhereInput
|
|
}
|
|
|
|
/**
|
|
* UserCountOutputType without action
|
|
*/
|
|
export type UserCountOutputTypeCountApiTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ApiTokenWhereInput
|
|
}
|
|
|
|
|
|
export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
type?: boolean
|
|
name?: boolean
|
|
email?: boolean
|
|
emailVerified?: boolean
|
|
image?: boolean
|
|
password?: boolean
|
|
agentSettings?: boolean
|
|
guestEmail?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
assets?: boolean | Prisma.User$assetsArgs<ExtArgs>
|
|
authTokens?: boolean | Prisma.User$authTokensArgs<ExtArgs>
|
|
tasks?: boolean | Prisma.User$tasksArgs<ExtArgs>
|
|
teamMembers?: boolean | Prisma.User$teamMembersArgs<ExtArgs>
|
|
comments?: boolean | Prisma.User$commentsArgs<ExtArgs>
|
|
createdInvites?: boolean | Prisma.User$createdInvitesArgs<ExtArgs>
|
|
createdNotifications?: boolean | Prisma.User$createdNotificationsArgs<ExtArgs>
|
|
notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>
|
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
|
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>
|
|
agent?: boolean | Prisma.User$agentArgs<ExtArgs>
|
|
agentSessions?: boolean | Prisma.User$agentSessionsArgs<ExtArgs>
|
|
userMetadata?: boolean | Prisma.User$userMetadataArgs<ExtArgs>
|
|
collections?: boolean | Prisma.User$collectionsArgs<ExtArgs>
|
|
shareLinks?: boolean | Prisma.User$shareLinksArgs<ExtArgs>
|
|
apiTokens?: boolean | Prisma.User$apiTokensArgs<ExtArgs>
|
|
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["user"]>
|
|
|
|
export type UserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
type?: boolean
|
|
name?: boolean
|
|
email?: boolean
|
|
emailVerified?: boolean
|
|
image?: boolean
|
|
password?: boolean
|
|
agentSettings?: boolean
|
|
guestEmail?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["user"]>
|
|
|
|
export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
type?: boolean
|
|
name?: boolean
|
|
email?: boolean
|
|
emailVerified?: boolean
|
|
image?: boolean
|
|
password?: boolean
|
|
agentSettings?: boolean
|
|
guestEmail?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["user"]>
|
|
|
|
export type UserSelectScalar = {
|
|
id?: boolean
|
|
type?: boolean
|
|
name?: boolean
|
|
email?: boolean
|
|
emailVerified?: boolean
|
|
image?: boolean
|
|
password?: boolean
|
|
agentSettings?: boolean
|
|
guestEmail?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "name" | "email" | "emailVerified" | "image" | "password" | "agentSettings" | "guestEmail" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]>
|
|
export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
assets?: boolean | Prisma.User$assetsArgs<ExtArgs>
|
|
authTokens?: boolean | Prisma.User$authTokensArgs<ExtArgs>
|
|
tasks?: boolean | Prisma.User$tasksArgs<ExtArgs>
|
|
teamMembers?: boolean | Prisma.User$teamMembersArgs<ExtArgs>
|
|
comments?: boolean | Prisma.User$commentsArgs<ExtArgs>
|
|
createdInvites?: boolean | Prisma.User$createdInvitesArgs<ExtArgs>
|
|
createdNotifications?: boolean | Prisma.User$createdNotificationsArgs<ExtArgs>
|
|
notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>
|
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
|
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>
|
|
agent?: boolean | Prisma.User$agentArgs<ExtArgs>
|
|
agentSessions?: boolean | Prisma.User$agentSessionsArgs<ExtArgs>
|
|
userMetadata?: boolean | Prisma.User$userMetadataArgs<ExtArgs>
|
|
collections?: boolean | Prisma.User$collectionsArgs<ExtArgs>
|
|
shareLinks?: boolean | Prisma.User$shareLinksArgs<ExtArgs>
|
|
apiTokens?: boolean | Prisma.User$apiTokensArgs<ExtArgs>
|
|
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type UserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "User"
|
|
objects: {
|
|
assets: Prisma.$AssetPayload<ExtArgs>[]
|
|
authTokens: Prisma.$AuthTokenPayload<ExtArgs>[]
|
|
tasks: Prisma.$TaskPayload<ExtArgs>[]
|
|
teamMembers: Prisma.$TeamMemberPayload<ExtArgs>[]
|
|
comments: Prisma.$AssetCommentPayload<ExtArgs>[]
|
|
createdInvites: Prisma.$InvitePayload<ExtArgs>[]
|
|
createdNotifications: Prisma.$NotificationPayload<ExtArgs>[]
|
|
notifications: Prisma.$NotificationPayload<ExtArgs>[]
|
|
sessions: Prisma.$SessionPayload<ExtArgs>[]
|
|
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
|
agent: Prisma.$AgentPayload<ExtArgs> | null
|
|
agentSessions: Prisma.$AgentSessionPayload<ExtArgs>[]
|
|
userMetadata: Prisma.$UserMetadataPayload<ExtArgs>[]
|
|
collections: Prisma.$CollectionPayload<ExtArgs>[]
|
|
shareLinks: Prisma.$ShareLinkPayload<ExtArgs>[]
|
|
apiTokens: Prisma.$ApiTokenPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
type: $Enums.UserType
|
|
name: string
|
|
email: string
|
|
emailVerified: boolean
|
|
image: string | null
|
|
password: string | null
|
|
/**
|
|
* [AgentSettings]
|
|
*/
|
|
agentSettings:PrismaJson.AgentSettings | null
|
|
guestEmail: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["user"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPayload, S>
|
|
|
|
export type UserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: UserCountAggregateInputType | true
|
|
}
|
|
|
|
export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } }
|
|
/**
|
|
* Find zero or one User that matches the filter.
|
|
* @param {UserFindUniqueArgs} args - Arguments to find a User
|
|
* @example
|
|
* // Get one User
|
|
* const user = await prisma.user.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends UserFindUniqueArgs>(args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one User that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
|
|
* @example
|
|
* // Get one User
|
|
* const user = await prisma.user.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first User 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 {UserFindFirstArgs} args - Arguments to find a User
|
|
* @example
|
|
* // Get one User
|
|
* const user = await prisma.user.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends UserFindFirstArgs>(args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first User 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 {UserFindFirstOrThrowArgs} args - Arguments to find a User
|
|
* @example
|
|
* // Get one User
|
|
* const user = await prisma.user.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<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 {UserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Users
|
|
* const users = await prisma.user.findMany()
|
|
*
|
|
* // Get first 10 Users
|
|
* const users = await prisma.user.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const userWithIdOnly = await prisma.user.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a User.
|
|
* @param {UserCreateArgs} args - Arguments to create a User.
|
|
* @example
|
|
* // Create one User
|
|
* const User = await prisma.user.create({
|
|
* data: {
|
|
* // ... data to create a User
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends UserCreateArgs>(args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Users.
|
|
* @param {UserCreateManyArgs} args - Arguments to create many Users.
|
|
* @example
|
|
* // Create many Users
|
|
* const user = await prisma.user.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Users and returns the data saved in the database.
|
|
* @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users.
|
|
* @example
|
|
* // Create many Users
|
|
* const user = await prisma.user.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Users and only return the `id`
|
|
* const userWithIdOnly = await prisma.user.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 UserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a User.
|
|
* @param {UserDeleteArgs} args - Arguments to delete one User.
|
|
* @example
|
|
* // Delete one User
|
|
* const User = await prisma.user.delete({
|
|
* where: {
|
|
* // ... filter to delete one User
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends UserDeleteArgs>(args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one User.
|
|
* @param {UserUpdateArgs} args - Arguments to update one User.
|
|
* @example
|
|
* // Update one User
|
|
* const user = await prisma.user.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends UserUpdateArgs>(args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Users.
|
|
* @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
|
|
* @example
|
|
* // Delete a few Users
|
|
* const { count } = await prisma.user.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<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 {UserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Users
|
|
* const user = await prisma.user.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Users and returns the data updated in the database.
|
|
* @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users.
|
|
* @example
|
|
* // Update many Users
|
|
* const user = await prisma.user.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Users and only return the `id`
|
|
* const userWithIdOnly = await prisma.user.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 UserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one User.
|
|
* @param {UserUpsertArgs} args - Arguments to update or create a User.
|
|
* @example
|
|
* // Update or create a User
|
|
* const user = await prisma.user.upsert({
|
|
* create: {
|
|
* // ... data to create a User
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the User we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends UserUpsertArgs>(args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<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 {UserCountArgs} args - Arguments to filter Users to count.
|
|
* @example
|
|
* // Count the number of Users
|
|
* const count = await prisma.user.count({
|
|
* where: {
|
|
* // ... the filter for the Users we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends UserCountArgs>(
|
|
args?: Prisma.Subset<T, UserCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], UserCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a User.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {UserAggregateArgs} 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 UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>
|
|
|
|
/**
|
|
* Group by User.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {UserGroupByArgs} 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 UserGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: UserGroupByArgs['orderBy'] }
|
|
: { orderBy?: UserGroupByArgs['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, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the User model
|
|
*/
|
|
readonly fields: UserFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for User.
|
|
* 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__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
assets<T extends Prisma.User$assetsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$assetsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
authTokens<T extends Prisma.User$authTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$authTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
tasks<T extends Prisma.User$tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
teamMembers<T extends Prisma.User$teamMembersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$teamMembersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
comments<T extends Prisma.User$commentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
createdInvites<T extends Prisma.User$createdInvitesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$createdInvitesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
createdNotifications<T extends Prisma.User$createdNotificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$createdNotificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
notifications<T extends Prisma.User$notificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$notificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
sessions<T extends Prisma.User$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
accounts<T extends Prisma.User$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
agent<T extends Prisma.User$agentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$agentArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
agentSessions<T extends Prisma.User$agentSessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$agentSessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
userMetadata<T extends Prisma.User$userMetadataArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$userMetadataArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserMetadataPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
collections<T extends Prisma.User$collectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$collectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CollectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
shareLinks<T extends Prisma.User$shareLinksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$shareLinksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShareLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
apiTokens<T extends Prisma.User$apiTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$apiTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiTokenPayload<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 User model
|
|
*/
|
|
export interface UserFieldRefs {
|
|
readonly id: Prisma.FieldRef<"User", 'String'>
|
|
readonly type: Prisma.FieldRef<"User", 'UserType'>
|
|
readonly name: Prisma.FieldRef<"User", 'String'>
|
|
readonly email: Prisma.FieldRef<"User", 'String'>
|
|
readonly emailVerified: Prisma.FieldRef<"User", 'Boolean'>
|
|
readonly image: Prisma.FieldRef<"User", 'String'>
|
|
readonly password: Prisma.FieldRef<"User", 'String'>
|
|
readonly agentSettings: Prisma.FieldRef<"User", 'Json'>
|
|
readonly guestEmail: Prisma.FieldRef<"User", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* User findUnique
|
|
*/
|
|
export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which User to fetch.
|
|
*/
|
|
where: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* User findUniqueOrThrow
|
|
*/
|
|
export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which User to fetch.
|
|
*/
|
|
where: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* User findFirst
|
|
*/
|
|
export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which User to fetch.
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Users to fetch.
|
|
*/
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
/**
|
|
* {@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.UserWhereUniqueInput
|
|
/**
|
|
* {@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.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User findFirstOrThrow
|
|
*/
|
|
export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which User to fetch.
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Users to fetch.
|
|
*/
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
/**
|
|
* {@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.UserWhereUniqueInput
|
|
/**
|
|
* {@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.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User findMany
|
|
*/
|
|
export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Users to fetch.
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Users to fetch.
|
|
*/
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Users.
|
|
*/
|
|
cursor?: Prisma.UserWhereUniqueInput
|
|
/**
|
|
* {@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.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User create
|
|
*/
|
|
export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a User.
|
|
*/
|
|
data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* User createMany
|
|
*/
|
|
export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Users.
|
|
*/
|
|
data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* User createManyAndReturn
|
|
*/
|
|
export type UserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Users.
|
|
*/
|
|
data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* User update
|
|
*/
|
|
export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a User.
|
|
*/
|
|
data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which User to update.
|
|
*/
|
|
where: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* User updateMany
|
|
*/
|
|
export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Users to update
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* Limit how many Users to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* User updateManyAndReturn
|
|
*/
|
|
export type UserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Users.
|
|
*/
|
|
data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Users to update
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* Limit how many Users to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* User upsert
|
|
*/
|
|
export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the User to update in case it exists.
|
|
*/
|
|
where: Prisma.UserWhereUniqueInput
|
|
/**
|
|
* In case the User found by the `where` argument doesn't exist, create a new User with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>
|
|
/**
|
|
* In case the User was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* User delete
|
|
*/
|
|
export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which User to delete.
|
|
*/
|
|
where: Prisma.UserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* User deleteMany
|
|
*/
|
|
export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Users to delete
|
|
*/
|
|
where?: Prisma.UserWhereInput
|
|
/**
|
|
* Limit how many Users to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* User.assets
|
|
*/
|
|
export type User$assetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Asset
|
|
*/
|
|
select?: Prisma.AssetSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Asset
|
|
*/
|
|
omit?: Prisma.AssetOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetInclude<ExtArgs> | null
|
|
where?: Prisma.AssetWhereInput
|
|
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
|
|
cursor?: Prisma.AssetWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.authTokens
|
|
*/
|
|
export type User$authTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AuthToken
|
|
*/
|
|
select?: Prisma.AuthTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AuthToken
|
|
*/
|
|
omit?: Prisma.AuthTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AuthTokenInclude<ExtArgs> | null
|
|
where?: Prisma.AuthTokenWhereInput
|
|
orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[]
|
|
cursor?: Prisma.AuthTokenWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AuthTokenScalarFieldEnum | Prisma.AuthTokenScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.tasks
|
|
*/
|
|
export type User$tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Task
|
|
*/
|
|
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Task
|
|
*/
|
|
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
where?: Prisma.TaskWhereInput
|
|
orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[]
|
|
cursor?: Prisma.TaskWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.teamMembers
|
|
*/
|
|
export type User$teamMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamMember
|
|
*/
|
|
select?: Prisma.TeamMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamMember
|
|
*/
|
|
omit?: Prisma.TeamMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamMemberInclude<ExtArgs> | null
|
|
where?: Prisma.TeamMemberWhereInput
|
|
orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[]
|
|
cursor?: Prisma.TeamMemberWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.comments
|
|
*/
|
|
export type User$commentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetComment
|
|
*/
|
|
select?: Prisma.AssetCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetComment
|
|
*/
|
|
omit?: Prisma.AssetCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentInclude<ExtArgs> | null
|
|
where?: Prisma.AssetCommentWhereInput
|
|
orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[]
|
|
cursor?: Prisma.AssetCommentWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.createdInvites
|
|
*/
|
|
export type User$createdInvitesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Invite
|
|
*/
|
|
select?: Prisma.InviteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Invite
|
|
*/
|
|
omit?: Prisma.InviteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.InviteInclude<ExtArgs> | null
|
|
where?: Prisma.InviteWhereInput
|
|
orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[]
|
|
cursor?: Prisma.InviteWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.createdNotifications
|
|
*/
|
|
export type User$createdNotificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Notification
|
|
*/
|
|
select?: Prisma.NotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Notification
|
|
*/
|
|
omit?: Prisma.NotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.NotificationInclude<ExtArgs> | null
|
|
where?: Prisma.NotificationWhereInput
|
|
orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[]
|
|
cursor?: Prisma.NotificationWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.notifications
|
|
*/
|
|
export type User$notificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Notification
|
|
*/
|
|
select?: Prisma.NotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Notification
|
|
*/
|
|
omit?: Prisma.NotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.NotificationInclude<ExtArgs> | null
|
|
where?: Prisma.NotificationWhereInput
|
|
orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[]
|
|
cursor?: Prisma.NotificationWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.sessions
|
|
*/
|
|
export type User$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Session
|
|
*/
|
|
select?: Prisma.SessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Session
|
|
*/
|
|
omit?: Prisma.SessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SessionInclude<ExtArgs> | null
|
|
where?: Prisma.SessionWhereInput
|
|
orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]
|
|
cursor?: Prisma.SessionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.accounts
|
|
*/
|
|
export type User$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Account
|
|
*/
|
|
select?: Prisma.AccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Account
|
|
*/
|
|
omit?: Prisma.AccountOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AccountInclude<ExtArgs> | null
|
|
where?: Prisma.AccountWhereInput
|
|
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
|
cursor?: Prisma.AccountWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.agent
|
|
*/
|
|
export type User$agentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Agent
|
|
*/
|
|
select?: Prisma.AgentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Agent
|
|
*/
|
|
omit?: Prisma.AgentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentInclude<ExtArgs> | null
|
|
where?: Prisma.AgentWhereInput
|
|
}
|
|
|
|
/**
|
|
* User.agentSessions
|
|
*/
|
|
export type User$agentSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSession
|
|
*/
|
|
select?: Prisma.AgentSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSession
|
|
*/
|
|
omit?: Prisma.AgentSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionInclude<ExtArgs> | null
|
|
where?: Prisma.AgentSessionWhereInput
|
|
orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AgentSessionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.userMetadata
|
|
*/
|
|
export type User$userMetadataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UserMetadata
|
|
*/
|
|
select?: Prisma.UserMetadataSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UserMetadata
|
|
*/
|
|
omit?: Prisma.UserMetadataOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserMetadataInclude<ExtArgs> | null
|
|
where?: Prisma.UserMetadataWhereInput
|
|
orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[]
|
|
cursor?: Prisma.UserMetadataWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.collections
|
|
*/
|
|
export type User$collectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Collection
|
|
*/
|
|
select?: Prisma.CollectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Collection
|
|
*/
|
|
omit?: Prisma.CollectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CollectionInclude<ExtArgs> | null
|
|
where?: Prisma.CollectionWhereInput
|
|
orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[]
|
|
cursor?: Prisma.CollectionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.shareLinks
|
|
*/
|
|
export type User$shareLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ShareLink
|
|
*/
|
|
select?: Prisma.ShareLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ShareLink
|
|
*/
|
|
omit?: Prisma.ShareLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ShareLinkInclude<ExtArgs> | null
|
|
where?: Prisma.ShareLinkWhereInput
|
|
orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[]
|
|
cursor?: Prisma.ShareLinkWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User.apiTokens
|
|
*/
|
|
export type User$apiTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiToken
|
|
*/
|
|
select?: Prisma.ApiTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiToken
|
|
*/
|
|
omit?: Prisma.ApiTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiTokenInclude<ExtArgs> | null
|
|
where?: Prisma.ApiTokenWhereInput
|
|
orderBy?: Prisma.ApiTokenOrderByWithRelationInput | Prisma.ApiTokenOrderByWithRelationInput[]
|
|
cursor?: Prisma.ApiTokenWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ApiTokenScalarFieldEnum | Prisma.ApiTokenScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* User without action
|
|
*/
|
|
export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
}
|