/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ShareLink` 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 ShareLink * */ export type ShareLinkModel = runtime.Types.Result.DefaultSelection export type AggregateShareLink = { _count: ShareLinkCountAggregateOutputType | null _min: ShareLinkMinAggregateOutputType | null _max: ShareLinkMaxAggregateOutputType | null } export type ShareLinkMinAggregateOutputType = { id: string | null name: string | null expireAt: Date | null password: string | null isDisabled: boolean | null defaultSortOrder: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null rootFolderId: string | null } export type ShareLinkMaxAggregateOutputType = { id: string | null name: string | null expireAt: Date | null password: string | null isDisabled: boolean | null defaultSortOrder: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null rootFolderId: string | null } export type ShareLinkCountAggregateOutputType = { id: number name: number expireAt: number password: number isDisabled: number defaultSortOrder: number fieldVisibility:PrismaJson.ShareLinkFieldVisibility createdAt: number updatedAt: number projectId: number rootFolderId: number _all: number } export type ShareLinkMinAggregateInputType = { id?: true name?: true expireAt?: true password?: true isDisabled?: true defaultSortOrder?: true createdAt?: true updatedAt?: true projectId?: true rootFolderId?: true } export type ShareLinkMaxAggregateInputType = { id?: true name?: true expireAt?: true password?: true isDisabled?: true defaultSortOrder?: true createdAt?: true updatedAt?: true projectId?: true rootFolderId?: true } export type ShareLinkCountAggregateInputType = { id?: true name?: true expireAt?: true password?: true isDisabled?: true defaultSortOrder?: true fieldVisibility?: true createdAt?: true updatedAt?: true projectId?: true rootFolderId?: true _all?: true } export type ShareLinkAggregateArgs = { /** * Filter which ShareLink to aggregate. */ where?: Prisma.ShareLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShareLinks to fetch. */ orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ShareLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShareLinks 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` ShareLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ShareLinks **/ _count?: true | ShareLinkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ShareLinkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ShareLinkMaxAggregateInputType } export type GetShareLinkAggregateType = { [P in keyof T & keyof AggregateShareLink]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ShareLinkGroupByArgs = { where?: Prisma.ShareLinkWhereInput orderBy?: Prisma.ShareLinkOrderByWithAggregationInput | Prisma.ShareLinkOrderByWithAggregationInput[] by: Prisma.ShareLinkScalarFieldEnum[] | Prisma.ShareLinkScalarFieldEnum having?: Prisma.ShareLinkScalarWhereWithAggregatesInput take?: number skip?: number _count?: ShareLinkCountAggregateInputType | true _min?: ShareLinkMinAggregateInputType _max?: ShareLinkMaxAggregateInputType } export type ShareLinkGroupByOutputType = { id: string name: string expireAt: Date | null password: string | null isDisabled: boolean defaultSortOrder: string | null fieldVisibility:PrismaJson.ShareLinkFieldVisibility | null createdAt: Date updatedAt: Date projectId: string rootFolderId: string _count: ShareLinkCountAggregateOutputType | null _min: ShareLinkMinAggregateOutputType | null _max: ShareLinkMaxAggregateOutputType | null } export type GetShareLinkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ShareLinkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ShareLinkWhereInput = { AND?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] OR?: Prisma.ShareLinkWhereInput[] NOT?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] id?: Prisma.StringFilter<"ShareLink"> | string name?: Prisma.StringFilter<"ShareLink"> | string expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null password?: Prisma.StringNullableFilter<"ShareLink"> | string | null isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string projectId?: Prisma.StringFilter<"ShareLink"> | string rootFolderId?: Prisma.StringFilter<"ShareLink"> | string project?: Prisma.XOR rootFolder?: Prisma.XOR } export type ShareLinkOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder expireAt?: Prisma.SortOrderInput | Prisma.SortOrder password?: Prisma.SortOrderInput | Prisma.SortOrder isDisabled?: Prisma.SortOrder defaultSortOrder?: Prisma.SortOrderInput | Prisma.SortOrder fieldVisibility?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder projectId?: Prisma.SortOrder rootFolderId?: Prisma.SortOrder project?: Prisma.ProjectOrderByWithRelationInput rootFolder?: Prisma.AssetOrderByWithRelationInput } export type ShareLinkWhereUniqueInput = Prisma.AtLeast<{ id?: string rootFolderId?: string AND?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] OR?: Prisma.ShareLinkWhereInput[] NOT?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] name?: Prisma.StringFilter<"ShareLink"> | string expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null password?: Prisma.StringNullableFilter<"ShareLink"> | string | null isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string projectId?: Prisma.StringFilter<"ShareLink"> | string project?: Prisma.XOR rootFolder?: Prisma.XOR }, "id" | "rootFolderId"> export type ShareLinkOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder expireAt?: Prisma.SortOrderInput | Prisma.SortOrder password?: Prisma.SortOrderInput | Prisma.SortOrder isDisabled?: Prisma.SortOrder defaultSortOrder?: Prisma.SortOrderInput | Prisma.SortOrder fieldVisibility?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder projectId?: Prisma.SortOrder rootFolderId?: Prisma.SortOrder _count?: Prisma.ShareLinkCountOrderByAggregateInput _max?: Prisma.ShareLinkMaxOrderByAggregateInput _min?: Prisma.ShareLinkMinOrderByAggregateInput } export type ShareLinkScalarWhereWithAggregatesInput = { AND?: Prisma.ShareLinkScalarWhereWithAggregatesInput | Prisma.ShareLinkScalarWhereWithAggregatesInput[] OR?: Prisma.ShareLinkScalarWhereWithAggregatesInput[] NOT?: Prisma.ShareLinkScalarWhereWithAggregatesInput | Prisma.ShareLinkScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string name?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string expireAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShareLink"> | Date | string | null password?: Prisma.StringNullableWithAggregatesFilter<"ShareLink"> | string | null isDisabled?: Prisma.BoolWithAggregatesFilter<"ShareLink"> | boolean defaultSortOrder?: Prisma.StringNullableWithAggregatesFilter<"ShareLink"> | string | null fieldVisibility?: Prisma.JsonNullableWithAggregatesFilter<"ShareLink"> createdAt?: Prisma.DateTimeWithAggregatesFilter<"ShareLink"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ShareLink"> | Date | string projectId?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string rootFolderId?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string } export type ShareLinkCreateInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string project: Prisma.ProjectCreateNestedOneWithoutShareLinksInput rootFolder: Prisma.AssetCreateNestedOneWithoutShareLinkRootFolderInput } export type ShareLinkUncheckedCreateInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string projectId: string rootFolderId: string } export type ShareLinkUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneRequiredWithoutShareLinksNestedInput rootFolder?: Prisma.AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput } export type ShareLinkUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string projectId?: Prisma.StringFieldUpdateOperationsInput | string rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string } export type ShareLinkCreateManyInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string projectId: string rootFolderId: string } export type ShareLinkUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ShareLinkUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string projectId?: Prisma.StringFieldUpdateOperationsInput | string rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string } export type ShareLinkListRelationFilter = { every?: Prisma.ShareLinkWhereInput some?: Prisma.ShareLinkWhereInput none?: Prisma.ShareLinkWhereInput } export type ShareLinkOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ShareLinkCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder expireAt?: Prisma.SortOrder password?: Prisma.SortOrder isDisabled?: Prisma.SortOrder defaultSortOrder?: Prisma.SortOrder fieldVisibility?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder projectId?: Prisma.SortOrder rootFolderId?: Prisma.SortOrder } export type ShareLinkMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder expireAt?: Prisma.SortOrder password?: Prisma.SortOrder isDisabled?: Prisma.SortOrder defaultSortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder projectId?: Prisma.SortOrder rootFolderId?: Prisma.SortOrder } export type ShareLinkMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder expireAt?: Prisma.SortOrder password?: Prisma.SortOrder isDisabled?: Prisma.SortOrder defaultSortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder projectId?: Prisma.SortOrder rootFolderId?: Prisma.SortOrder } export type ShareLinkNullableScalarRelationFilter = { is?: Prisma.ShareLinkWhereInput | null isNot?: Prisma.ShareLinkWhereInput | null } export type ShareLinkCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] } export type ShareLinkUncheckedCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] } export type ShareLinkUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] upsert?: Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope set?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] disconnect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] delete?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] update?: Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput | Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] } export type ShareLinkUncheckedUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] upsert?: Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope set?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] disconnect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] delete?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] update?: Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput | Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] } export type ShareLinkCreateNestedOneWithoutRootFolderInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput connect?: Prisma.ShareLinkWhereUniqueInput } export type ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput connect?: Prisma.ShareLinkWhereUniqueInput } export type ShareLinkUpdateOneWithoutRootFolderNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput upsert?: Prisma.ShareLinkUpsertWithoutRootFolderInput disconnect?: Prisma.ShareLinkWhereInput | boolean delete?: Prisma.ShareLinkWhereInput | boolean connect?: Prisma.ShareLinkWhereUniqueInput update?: Prisma.XOR, Prisma.ShareLinkUncheckedUpdateWithoutRootFolderInput> } export type ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput upsert?: Prisma.ShareLinkUpsertWithoutRootFolderInput disconnect?: Prisma.ShareLinkWhereInput | boolean delete?: Prisma.ShareLinkWhereInput | boolean connect?: Prisma.ShareLinkWhereUniqueInput update?: Prisma.XOR, Prisma.ShareLinkUncheckedUpdateWithoutRootFolderInput> } export type ShareLinkCreateWithoutProjectInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string rootFolder: Prisma.AssetCreateNestedOneWithoutShareLinkRootFolderInput } export type ShareLinkUncheckedCreateWithoutProjectInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string rootFolderId: string } export type ShareLinkCreateOrConnectWithoutProjectInput = { where: Prisma.ShareLinkWhereUniqueInput create: Prisma.XOR } export type ShareLinkCreateManyProjectInputEnvelope = { data: Prisma.ShareLinkCreateManyProjectInput | Prisma.ShareLinkCreateManyProjectInput[] skipDuplicates?: boolean } export type ShareLinkUpsertWithWhereUniqueWithoutProjectInput = { where: Prisma.ShareLinkWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ShareLinkUpdateWithWhereUniqueWithoutProjectInput = { where: Prisma.ShareLinkWhereUniqueInput data: Prisma.XOR } export type ShareLinkUpdateManyWithWhereWithoutProjectInput = { where: Prisma.ShareLinkScalarWhereInput data: Prisma.XOR } export type ShareLinkScalarWhereInput = { AND?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] OR?: Prisma.ShareLinkScalarWhereInput[] NOT?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] id?: Prisma.StringFilter<"ShareLink"> | string name?: Prisma.StringFilter<"ShareLink"> | string expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null password?: Prisma.StringNullableFilter<"ShareLink"> | string | null isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string projectId?: Prisma.StringFilter<"ShareLink"> | string rootFolderId?: Prisma.StringFilter<"ShareLink"> | string } export type ShareLinkCreateWithoutRootFolderInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string project: Prisma.ProjectCreateNestedOneWithoutShareLinksInput } export type ShareLinkUncheckedCreateWithoutRootFolderInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string projectId: string } export type ShareLinkCreateOrConnectWithoutRootFolderInput = { where: Prisma.ShareLinkWhereUniqueInput create: Prisma.XOR } export type ShareLinkUpsertWithoutRootFolderInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ShareLinkWhereInput } export type ShareLinkUpdateToOneWithWhereWithoutRootFolderInput = { where?: Prisma.ShareLinkWhereInput data: Prisma.XOR } export type ShareLinkUpdateWithoutRootFolderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneRequiredWithoutShareLinksNestedInput } export type ShareLinkUncheckedUpdateWithoutRootFolderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string projectId?: Prisma.StringFieldUpdateOperationsInput | string } export type ShareLinkCreateManyProjectInput = { id?: string name: string expireAt?: Date | string | null password?: string | null isDisabled?: boolean defaultSortOrder?: string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string rootFolderId: string } export type ShareLinkUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string rootFolder?: Prisma.AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput } export type ShareLinkUncheckedUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string } export type ShareLinkUncheckedUpdateManyWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string } export type ShareLinkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean expireAt?: boolean password?: boolean isDisabled?: boolean defaultSortOrder?: boolean fieldVisibility?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean rootFolderId?: boolean project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["shareLink"]> export type ShareLinkSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean expireAt?: boolean password?: boolean isDisabled?: boolean defaultSortOrder?: boolean fieldVisibility?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean rootFolderId?: boolean project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["shareLink"]> export type ShareLinkSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean expireAt?: boolean password?: boolean isDisabled?: boolean defaultSortOrder?: boolean fieldVisibility?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean rootFolderId?: boolean project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["shareLink"]> export type ShareLinkSelectScalar = { id?: boolean name?: boolean expireAt?: boolean password?: boolean isDisabled?: boolean defaultSortOrder?: boolean fieldVisibility?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean rootFolderId?: boolean } export type ShareLinkOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "expireAt" | "password" | "isDisabled" | "defaultSortOrder" | "fieldVisibility" | "createdAt" | "updatedAt" | "projectId" | "rootFolderId", ExtArgs["result"]["shareLink"]> export type ShareLinkInclude = { project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs } export type ShareLinkIncludeCreateManyAndReturn = { project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs } export type ShareLinkIncludeUpdateManyAndReturn = { project?: boolean | Prisma.ProjectDefaultArgs rootFolder?: boolean | Prisma.AssetDefaultArgs } export type $ShareLinkPayload = { name: "ShareLink" objects: { project: Prisma.$ProjectPayload rootFolder: Prisma.$AssetPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string expireAt: Date | null password: string | null isDisabled: boolean defaultSortOrder: string | null /** * [ShareLinkFieldVisibility] */ fieldVisibility:PrismaJson.ShareLinkFieldVisibility | null createdAt: Date updatedAt: Date projectId: string rootFolderId: string }, ExtArgs["result"]["shareLink"]> composites: {} } export type ShareLinkGetPayload = runtime.Types.Result.GetResult export type ShareLinkCountArgs = Omit & { select?: ShareLinkCountAggregateInputType | true } export interface ShareLinkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ShareLink'], meta: { name: 'ShareLink' } } /** * Find zero or one ShareLink that matches the filter. * @param {ShareLinkFindUniqueArgs} args - Arguments to find a ShareLink * @example * // Get one ShareLink * const shareLink = await prisma.shareLink.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ShareLink that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ShareLinkFindUniqueOrThrowArgs} args - Arguments to find a ShareLink * @example * // Get one ShareLink * const shareLink = await prisma.shareLink.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ShareLink 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 {ShareLinkFindFirstArgs} args - Arguments to find a ShareLink * @example * // Get one ShareLink * const shareLink = await prisma.shareLink.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ShareLink 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 {ShareLinkFindFirstOrThrowArgs} args - Arguments to find a ShareLink * @example * // Get one ShareLink * const shareLink = await prisma.shareLink.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ShareLinks 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 {ShareLinkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ShareLinks * const shareLinks = await prisma.shareLink.findMany() * * // Get first 10 ShareLinks * const shareLinks = await prisma.shareLink.findMany({ take: 10 }) * * // Only select the `id` * const shareLinkWithIdOnly = await prisma.shareLink.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ShareLink. * @param {ShareLinkCreateArgs} args - Arguments to create a ShareLink. * @example * // Create one ShareLink * const ShareLink = await prisma.shareLink.create({ * data: { * // ... data to create a ShareLink * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ShareLinks. * @param {ShareLinkCreateManyArgs} args - Arguments to create many ShareLinks. * @example * // Create many ShareLinks * const shareLink = await prisma.shareLink.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ShareLinks and returns the data saved in the database. * @param {ShareLinkCreateManyAndReturnArgs} args - Arguments to create many ShareLinks. * @example * // Create many ShareLinks * const shareLink = await prisma.shareLink.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ShareLinks and only return the `id` * const shareLinkWithIdOnly = await prisma.shareLink.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a ShareLink. * @param {ShareLinkDeleteArgs} args - Arguments to delete one ShareLink. * @example * // Delete one ShareLink * const ShareLink = await prisma.shareLink.delete({ * where: { * // ... filter to delete one ShareLink * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ShareLink. * @param {ShareLinkUpdateArgs} args - Arguments to update one ShareLink. * @example * // Update one ShareLink * const shareLink = await prisma.shareLink.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ShareLinks. * @param {ShareLinkDeleteManyArgs} args - Arguments to filter ShareLinks to delete. * @example * // Delete a few ShareLinks * const { count } = await prisma.shareLink.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ShareLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShareLinkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ShareLinks * const shareLink = await prisma.shareLink.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ShareLinks and returns the data updated in the database. * @param {ShareLinkUpdateManyAndReturnArgs} args - Arguments to update many ShareLinks. * @example * // Update many ShareLinks * const shareLink = await prisma.shareLink.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ShareLinks and only return the `id` * const shareLinkWithIdOnly = await prisma.shareLink.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ShareLink. * @param {ShareLinkUpsertArgs} args - Arguments to update or create a ShareLink. * @example * // Update or create a ShareLink * const shareLink = await prisma.shareLink.upsert({ * create: { * // ... data to create a ShareLink * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ShareLink we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ShareLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShareLinkCountArgs} args - Arguments to filter ShareLinks to count. * @example * // Count the number of ShareLinks * const count = await prisma.shareLink.count({ * where: { * // ... the filter for the ShareLinks we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a ShareLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShareLinkAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by ShareLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShareLinkGroupByArgs} 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 ShareLinkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ShareLinkGroupByArgs['orderBy'] } : { orderBy?: ShareLinkGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetShareLinkGroupByPayload : Prisma.PrismaPromise /** * Fields of the ShareLink model */ readonly fields: ShareLinkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ShareLink. * 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__ShareLinkClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> rootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the ShareLink model */ export interface ShareLinkFieldRefs { readonly id: Prisma.FieldRef<"ShareLink", 'String'> readonly name: Prisma.FieldRef<"ShareLink", 'String'> readonly expireAt: Prisma.FieldRef<"ShareLink", 'DateTime'> readonly password: Prisma.FieldRef<"ShareLink", 'String'> readonly isDisabled: Prisma.FieldRef<"ShareLink", 'Boolean'> readonly defaultSortOrder: Prisma.FieldRef<"ShareLink", 'String'> readonly fieldVisibility: Prisma.FieldRef<"ShareLink", 'Json'> readonly createdAt: Prisma.FieldRef<"ShareLink", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ShareLink", 'DateTime'> readonly projectId: Prisma.FieldRef<"ShareLink", 'String'> readonly rootFolderId: Prisma.FieldRef<"ShareLink", 'String'> } // Custom InputTypes /** * ShareLink findUnique */ export type ShareLinkFindUniqueArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter, which ShareLink to fetch. */ where: Prisma.ShareLinkWhereUniqueInput } /** * ShareLink findUniqueOrThrow */ export type ShareLinkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter, which ShareLink to fetch. */ where: Prisma.ShareLinkWhereUniqueInput } /** * ShareLink findFirst */ export type ShareLinkFindFirstArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter, which ShareLink to fetch. */ where?: Prisma.ShareLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShareLinks to fetch. */ orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ShareLinks. */ cursor?: Prisma.ShareLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShareLinks 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` ShareLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ShareLinks. */ distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] } /** * ShareLink findFirstOrThrow */ export type ShareLinkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter, which ShareLink to fetch. */ where?: Prisma.ShareLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShareLinks to fetch. */ orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ShareLinks. */ cursor?: Prisma.ShareLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShareLinks 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` ShareLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ShareLinks. */ distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] } /** * ShareLink findMany */ export type ShareLinkFindManyArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter, which ShareLinks to fetch. */ where?: Prisma.ShareLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShareLinks to fetch. */ orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ShareLinks. */ cursor?: Prisma.ShareLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShareLinks 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` ShareLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ShareLinks. */ distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] } /** * ShareLink create */ export type ShareLinkCreateArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * The data needed to create a ShareLink. */ data: Prisma.XOR } /** * ShareLink createMany */ export type ShareLinkCreateManyArgs = { /** * The data used to create many ShareLinks. */ data: Prisma.ShareLinkCreateManyInput | Prisma.ShareLinkCreateManyInput[] skipDuplicates?: boolean } /** * ShareLink createManyAndReturn */ export type ShareLinkCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelectCreateManyAndReturn | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * The data used to create many ShareLinks. */ data: Prisma.ShareLinkCreateManyInput | Prisma.ShareLinkCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkIncludeCreateManyAndReturn | null } /** * ShareLink update */ export type ShareLinkUpdateArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * The data needed to update a ShareLink. */ data: Prisma.XOR /** * Choose, which ShareLink to update. */ where: Prisma.ShareLinkWhereUniqueInput } /** * ShareLink updateMany */ export type ShareLinkUpdateManyArgs = { /** * The data used to update ShareLinks. */ data: Prisma.XOR /** * Filter which ShareLinks to update */ where?: Prisma.ShareLinkWhereInput /** * Limit how many ShareLinks to update. */ limit?: number } /** * ShareLink updateManyAndReturn */ export type ShareLinkUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelectUpdateManyAndReturn | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * The data used to update ShareLinks. */ data: Prisma.XOR /** * Filter which ShareLinks to update */ where?: Prisma.ShareLinkWhereInput /** * Limit how many ShareLinks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkIncludeUpdateManyAndReturn | null } /** * ShareLink upsert */ export type ShareLinkUpsertArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * The filter to search for the ShareLink to update in case it exists. */ where: Prisma.ShareLinkWhereUniqueInput /** * In case the ShareLink found by the `where` argument doesn't exist, create a new ShareLink with this data. */ create: Prisma.XOR /** * In case the ShareLink was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ShareLink delete */ export type ShareLinkDeleteArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null /** * Filter which ShareLink to delete. */ where: Prisma.ShareLinkWhereUniqueInput } /** * ShareLink deleteMany */ export type ShareLinkDeleteManyArgs = { /** * Filter which ShareLinks to delete */ where?: Prisma.ShareLinkWhereInput /** * Limit how many ShareLinks to delete. */ limit?: number } /** * ShareLink without action */ export type ShareLinkDefaultArgs = { /** * Select specific fields to fetch from the ShareLink */ select?: Prisma.ShareLinkSelect | null /** * Omit specific fields from the ShareLink */ omit?: Prisma.ShareLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShareLinkInclude | null }