/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `EntityRelationship` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model EntityRelationship * */ export type EntityRelationshipModel = runtime.Types.Result.DefaultSelection export type AggregateEntityRelationship = { _count: EntityRelationshipCountAggregateOutputType | null _avg: EntityRelationshipAvgAggregateOutputType | null _sum: EntityRelationshipSumAggregateOutputType | null _min: EntityRelationshipMinAggregateOutputType | null _max: EntityRelationshipMaxAggregateOutputType | null } export type EntityRelationshipAvgAggregateOutputType = { order: number | null } export type EntityRelationshipSumAggregateOutputType = { order: number | null } export type EntityRelationshipMinAggregateOutputType = { id: string | null parentId: string | null childId: string | null order: number | null title: string | null type: string | null required: boolean | null cascade: boolean | null readOnly: boolean | null hiddenIfEmpty: boolean | null childEntityViewId: string | null parentEntityViewId: string | null } export type EntityRelationshipMaxAggregateOutputType = { id: string | null parentId: string | null childId: string | null order: number | null title: string | null type: string | null required: boolean | null cascade: boolean | null readOnly: boolean | null hiddenIfEmpty: boolean | null childEntityViewId: string | null parentEntityViewId: string | null } export type EntityRelationshipCountAggregateOutputType = { id: number parentId: number childId: number order: number title: number type: number required: number cascade: number readOnly: number hiddenIfEmpty: number childEntityViewId: number parentEntityViewId: number _all: number } export type EntityRelationshipAvgAggregateInputType = { order?: true } export type EntityRelationshipSumAggregateInputType = { order?: true } export type EntityRelationshipMinAggregateInputType = { id?: true parentId?: true childId?: true order?: true title?: true type?: true required?: true cascade?: true readOnly?: true hiddenIfEmpty?: true childEntityViewId?: true parentEntityViewId?: true } export type EntityRelationshipMaxAggregateInputType = { id?: true parentId?: true childId?: true order?: true title?: true type?: true required?: true cascade?: true readOnly?: true hiddenIfEmpty?: true childEntityViewId?: true parentEntityViewId?: true } export type EntityRelationshipCountAggregateInputType = { id?: true parentId?: true childId?: true order?: true title?: true type?: true required?: true cascade?: true readOnly?: true hiddenIfEmpty?: true childEntityViewId?: true parentEntityViewId?: true _all?: true } export type EntityRelationshipAggregateArgs = { /** * Filter which EntityRelationship to aggregate. */ where?: Prisma.EntityRelationshipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityRelationships to fetch. */ orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.EntityRelationshipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityRelationships 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` EntityRelationships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EntityRelationships **/ _count?: true | EntityRelationshipCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EntityRelationshipAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EntityRelationshipSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EntityRelationshipMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EntityRelationshipMaxAggregateInputType } export type GetEntityRelationshipAggregateType = { [P in keyof T & keyof AggregateEntityRelationship]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type EntityRelationshipGroupByArgs = { where?: Prisma.EntityRelationshipWhereInput orderBy?: Prisma.EntityRelationshipOrderByWithAggregationInput | Prisma.EntityRelationshipOrderByWithAggregationInput[] by: Prisma.EntityRelationshipScalarFieldEnum[] | Prisma.EntityRelationshipScalarFieldEnum having?: Prisma.EntityRelationshipScalarWhereWithAggregatesInput take?: number skip?: number _count?: EntityRelationshipCountAggregateInputType | true _avg?: EntityRelationshipAvgAggregateInputType _sum?: EntityRelationshipSumAggregateInputType _min?: EntityRelationshipMinAggregateInputType _max?: EntityRelationshipMaxAggregateInputType } export type EntityRelationshipGroupByOutputType = { id: string parentId: string childId: string order: number | null title: string | null type: string required: boolean cascade: boolean readOnly: boolean hiddenIfEmpty: boolean childEntityViewId: string | null parentEntityViewId: string | null _count: EntityRelationshipCountAggregateOutputType | null _avg: EntityRelationshipAvgAggregateOutputType | null _sum: EntityRelationshipSumAggregateOutputType | null _min: EntityRelationshipMinAggregateOutputType | null _max: EntityRelationshipMaxAggregateOutputType | null } export type GetEntityRelationshipGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EntityRelationshipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type EntityRelationshipWhereInput = { AND?: Prisma.EntityRelationshipWhereInput | Prisma.EntityRelationshipWhereInput[] OR?: Prisma.EntityRelationshipWhereInput[] NOT?: Prisma.EntityRelationshipWhereInput | Prisma.EntityRelationshipWhereInput[] id?: Prisma.StringFilter<"EntityRelationship"> | string parentId?: Prisma.StringFilter<"EntityRelationship"> | string childId?: Prisma.StringFilter<"EntityRelationship"> | string order?: Prisma.IntNullableFilter<"EntityRelationship"> | number | null title?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null type?: Prisma.StringFilter<"EntityRelationship"> | string required?: Prisma.BoolFilter<"EntityRelationship"> | boolean cascade?: Prisma.BoolFilter<"EntityRelationship"> | boolean readOnly?: Prisma.BoolFilter<"EntityRelationship"> | boolean hiddenIfEmpty?: Prisma.BoolFilter<"EntityRelationship"> | boolean childEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null parentEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null parent?: Prisma.XOR child?: Prisma.XOR childEntityView?: Prisma.XOR | null parentEntityView?: Prisma.XOR | null rows?: Prisma.RowRelationshipListRelationFilter } export type EntityRelationshipOrderByWithRelationInput = { id?: Prisma.SortOrder parentId?: Prisma.SortOrder childId?: Prisma.SortOrder order?: Prisma.SortOrderInput | Prisma.SortOrder title?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrder required?: Prisma.SortOrder cascade?: Prisma.SortOrder readOnly?: Prisma.SortOrder hiddenIfEmpty?: Prisma.SortOrder childEntityViewId?: Prisma.SortOrderInput | Prisma.SortOrder parentEntityViewId?: Prisma.SortOrderInput | Prisma.SortOrder parent?: Prisma.EntityOrderByWithRelationInput child?: Prisma.EntityOrderByWithRelationInput childEntityView?: Prisma.EntityViewOrderByWithRelationInput parentEntityView?: Prisma.EntityViewOrderByWithRelationInput rows?: Prisma.RowRelationshipOrderByRelationAggregateInput } export type EntityRelationshipWhereUniqueInput = Prisma.AtLeast<{ id?: string parentId_childId_title?: Prisma.EntityRelationshipParentIdChildIdTitleCompoundUniqueInput AND?: Prisma.EntityRelationshipWhereInput | Prisma.EntityRelationshipWhereInput[] OR?: Prisma.EntityRelationshipWhereInput[] NOT?: Prisma.EntityRelationshipWhereInput | Prisma.EntityRelationshipWhereInput[] parentId?: Prisma.StringFilter<"EntityRelationship"> | string childId?: Prisma.StringFilter<"EntityRelationship"> | string order?: Prisma.IntNullableFilter<"EntityRelationship"> | number | null title?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null type?: Prisma.StringFilter<"EntityRelationship"> | string required?: Prisma.BoolFilter<"EntityRelationship"> | boolean cascade?: Prisma.BoolFilter<"EntityRelationship"> | boolean readOnly?: Prisma.BoolFilter<"EntityRelationship"> | boolean hiddenIfEmpty?: Prisma.BoolFilter<"EntityRelationship"> | boolean childEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null parentEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null parent?: Prisma.XOR child?: Prisma.XOR childEntityView?: Prisma.XOR | null parentEntityView?: Prisma.XOR | null rows?: Prisma.RowRelationshipListRelationFilter }, "id" | "parentId_childId_title"> export type EntityRelationshipOrderByWithAggregationInput = { id?: Prisma.SortOrder parentId?: Prisma.SortOrder childId?: Prisma.SortOrder order?: Prisma.SortOrderInput | Prisma.SortOrder title?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrder required?: Prisma.SortOrder cascade?: Prisma.SortOrder readOnly?: Prisma.SortOrder hiddenIfEmpty?: Prisma.SortOrder childEntityViewId?: Prisma.SortOrderInput | Prisma.SortOrder parentEntityViewId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.EntityRelationshipCountOrderByAggregateInput _avg?: Prisma.EntityRelationshipAvgOrderByAggregateInput _max?: Prisma.EntityRelationshipMaxOrderByAggregateInput _min?: Prisma.EntityRelationshipMinOrderByAggregateInput _sum?: Prisma.EntityRelationshipSumOrderByAggregateInput } export type EntityRelationshipScalarWhereWithAggregatesInput = { AND?: Prisma.EntityRelationshipScalarWhereWithAggregatesInput | Prisma.EntityRelationshipScalarWhereWithAggregatesInput[] OR?: Prisma.EntityRelationshipScalarWhereWithAggregatesInput[] NOT?: Prisma.EntityRelationshipScalarWhereWithAggregatesInput | Prisma.EntityRelationshipScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"EntityRelationship"> | string parentId?: Prisma.StringWithAggregatesFilter<"EntityRelationship"> | string childId?: Prisma.StringWithAggregatesFilter<"EntityRelationship"> | string order?: Prisma.IntNullableWithAggregatesFilter<"EntityRelationship"> | number | null title?: Prisma.StringNullableWithAggregatesFilter<"EntityRelationship"> | string | null type?: Prisma.StringWithAggregatesFilter<"EntityRelationship"> | string required?: Prisma.BoolWithAggregatesFilter<"EntityRelationship"> | boolean cascade?: Prisma.BoolWithAggregatesFilter<"EntityRelationship"> | boolean readOnly?: Prisma.BoolWithAggregatesFilter<"EntityRelationship"> | boolean hiddenIfEmpty?: Prisma.BoolWithAggregatesFilter<"EntityRelationship"> | boolean childEntityViewId?: Prisma.StringNullableWithAggregatesFilter<"EntityRelationship"> | string | null parentEntityViewId?: Prisma.StringNullableWithAggregatesFilter<"EntityRelationship"> | string | null } export type EntityRelationshipCreateInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parent: Prisma.EntityCreateNestedOneWithoutChildEntitiesInput child: Prisma.EntityCreateNestedOneWithoutParentEntitiesInput childEntityView?: Prisma.EntityViewCreateNestedOneWithoutInChildRelationshipsInput parentEntityView?: Prisma.EntityViewCreateNestedOneWithoutInParentRelationshipsInput rows?: Prisma.RowRelationshipCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUncheckedCreateInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null rows?: Prisma.RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parent?: Prisma.EntityUpdateOneRequiredWithoutChildEntitiesNestedInput child?: Prisma.EntityUpdateOneRequiredWithoutParentEntitiesNestedInput childEntityView?: Prisma.EntityViewUpdateOneWithoutInChildRelationshipsNestedInput parentEntityView?: Prisma.EntityViewUpdateOneWithoutInParentRelationshipsNestedInput rows?: Prisma.RowRelationshipUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rows?: Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipCreateManyInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null } export type EntityRelationshipUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type EntityRelationshipUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityRelationshipListRelationFilter = { every?: Prisma.EntityRelationshipWhereInput some?: Prisma.EntityRelationshipWhereInput none?: Prisma.EntityRelationshipWhereInput } export type EntityRelationshipOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type EntityRelationshipParentIdChildIdTitleCompoundUniqueInput = { parentId: string childId: string title: string } export type EntityRelationshipCountOrderByAggregateInput = { id?: Prisma.SortOrder parentId?: Prisma.SortOrder childId?: Prisma.SortOrder order?: Prisma.SortOrder title?: Prisma.SortOrder type?: Prisma.SortOrder required?: Prisma.SortOrder cascade?: Prisma.SortOrder readOnly?: Prisma.SortOrder hiddenIfEmpty?: Prisma.SortOrder childEntityViewId?: Prisma.SortOrder parentEntityViewId?: Prisma.SortOrder } export type EntityRelationshipAvgOrderByAggregateInput = { order?: Prisma.SortOrder } export type EntityRelationshipMaxOrderByAggregateInput = { id?: Prisma.SortOrder parentId?: Prisma.SortOrder childId?: Prisma.SortOrder order?: Prisma.SortOrder title?: Prisma.SortOrder type?: Prisma.SortOrder required?: Prisma.SortOrder cascade?: Prisma.SortOrder readOnly?: Prisma.SortOrder hiddenIfEmpty?: Prisma.SortOrder childEntityViewId?: Prisma.SortOrder parentEntityViewId?: Prisma.SortOrder } export type EntityRelationshipMinOrderByAggregateInput = { id?: Prisma.SortOrder parentId?: Prisma.SortOrder childId?: Prisma.SortOrder order?: Prisma.SortOrder title?: Prisma.SortOrder type?: Prisma.SortOrder required?: Prisma.SortOrder cascade?: Prisma.SortOrder readOnly?: Prisma.SortOrder hiddenIfEmpty?: Prisma.SortOrder childEntityViewId?: Prisma.SortOrder parentEntityViewId?: Prisma.SortOrder } export type EntityRelationshipSumOrderByAggregateInput = { order?: Prisma.SortOrder } export type EntityRelationshipScalarRelationFilter = { is?: Prisma.EntityRelationshipWhereInput isNot?: Prisma.EntityRelationshipWhereInput } export type EntityRelationshipCreateNestedManyWithoutChildInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildInput[] createMany?: Prisma.EntityRelationshipCreateManyChildInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipCreateNestedManyWithoutParentInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentInput[] createMany?: Prisma.EntityRelationshipCreateManyParentInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUncheckedCreateNestedManyWithoutChildInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildInput[] createMany?: Prisma.EntityRelationshipCreateManyChildInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUncheckedCreateNestedManyWithoutParentInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentInput[] createMany?: Prisma.EntityRelationshipCreateManyParentInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUpdateManyWithoutChildNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildInput[] createMany?: Prisma.EntityRelationshipCreateManyChildInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUpdateManyWithoutParentNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentInput[] createMany?: Prisma.EntityRelationshipCreateManyParentInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildInput[] createMany?: Prisma.EntityRelationshipCreateManyChildInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentInput[] createMany?: Prisma.EntityRelationshipCreateManyParentInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipCreateNestedManyWithoutChildEntityViewInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyChildEntityViewInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipCreateNestedManyWithoutParentEntityViewInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyParentEntityViewInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUncheckedCreateNestedManyWithoutChildEntityViewInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyChildEntityViewInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUncheckedCreateNestedManyWithoutParentEntityViewInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyParentEntityViewInputEnvelope connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] } export type EntityRelationshipUpdateManyWithoutChildEntityViewNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyChildEntityViewInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUpdateManyWithoutParentEntityViewNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyParentEntityViewInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUncheckedUpdateManyWithoutChildEntityViewNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutChildEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutChildEntityViewInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyChildEntityViewInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipUncheckedUpdateManyWithoutParentEntityViewNestedInput = { create?: Prisma.XOR | Prisma.EntityRelationshipCreateWithoutParentEntityViewInput[] | Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput[] connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput | Prisma.EntityRelationshipCreateOrConnectWithoutParentEntityViewInput[] upsert?: Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput | Prisma.EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput[] createMany?: Prisma.EntityRelationshipCreateManyParentEntityViewInputEnvelope set?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] disconnect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] delete?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] connect?: Prisma.EntityRelationshipWhereUniqueInput | Prisma.EntityRelationshipWhereUniqueInput[] update?: Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput | Prisma.EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput[] updateMany?: Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput | Prisma.EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput[] deleteMany?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] } export type EntityRelationshipCreateNestedOneWithoutRowsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutRowsInput connect?: Prisma.EntityRelationshipWhereUniqueInput } export type EntityRelationshipUpdateOneRequiredWithoutRowsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutRowsInput upsert?: Prisma.EntityRelationshipUpsertWithoutRowsInput connect?: Prisma.EntityRelationshipWhereUniqueInput update?: Prisma.XOR, Prisma.EntityRelationshipUncheckedUpdateWithoutRowsInput> } export type EntityRelationshipCreateWithoutChildInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parent: Prisma.EntityCreateNestedOneWithoutChildEntitiesInput childEntityView?: Prisma.EntityViewCreateNestedOneWithoutInChildRelationshipsInput parentEntityView?: Prisma.EntityViewCreateNestedOneWithoutInParentRelationshipsInput rows?: Prisma.RowRelationshipCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUncheckedCreateWithoutChildInput = { id?: string parentId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null rows?: Prisma.RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipCreateOrConnectWithoutChildInput = { where: Prisma.EntityRelationshipWhereUniqueInput create: Prisma.XOR } export type EntityRelationshipCreateManyChildInputEnvelope = { data: Prisma.EntityRelationshipCreateManyChildInput | Prisma.EntityRelationshipCreateManyChildInput[] skipDuplicates?: boolean } export type EntityRelationshipCreateWithoutParentInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean child: Prisma.EntityCreateNestedOneWithoutParentEntitiesInput childEntityView?: Prisma.EntityViewCreateNestedOneWithoutInChildRelationshipsInput parentEntityView?: Prisma.EntityViewCreateNestedOneWithoutInParentRelationshipsInput rows?: Prisma.RowRelationshipCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUncheckedCreateWithoutParentInput = { id?: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null rows?: Prisma.RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipCreateOrConnectWithoutParentInput = { where: Prisma.EntityRelationshipWhereUniqueInput create: Prisma.XOR } export type EntityRelationshipCreateManyParentInputEnvelope = { data: Prisma.EntityRelationshipCreateManyParentInput | Prisma.EntityRelationshipCreateManyParentInput[] skipDuplicates?: boolean } export type EntityRelationshipUpsertWithWhereUniqueWithoutChildInput = { where: Prisma.EntityRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityRelationshipUpdateWithWhereUniqueWithoutChildInput = { where: Prisma.EntityRelationshipWhereUniqueInput data: Prisma.XOR } export type EntityRelationshipUpdateManyWithWhereWithoutChildInput = { where: Prisma.EntityRelationshipScalarWhereInput data: Prisma.XOR } export type EntityRelationshipScalarWhereInput = { AND?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] OR?: Prisma.EntityRelationshipScalarWhereInput[] NOT?: Prisma.EntityRelationshipScalarWhereInput | Prisma.EntityRelationshipScalarWhereInput[] id?: Prisma.StringFilter<"EntityRelationship"> | string parentId?: Prisma.StringFilter<"EntityRelationship"> | string childId?: Prisma.StringFilter<"EntityRelationship"> | string order?: Prisma.IntNullableFilter<"EntityRelationship"> | number | null title?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null type?: Prisma.StringFilter<"EntityRelationship"> | string required?: Prisma.BoolFilter<"EntityRelationship"> | boolean cascade?: Prisma.BoolFilter<"EntityRelationship"> | boolean readOnly?: Prisma.BoolFilter<"EntityRelationship"> | boolean hiddenIfEmpty?: Prisma.BoolFilter<"EntityRelationship"> | boolean childEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null parentEntityViewId?: Prisma.StringNullableFilter<"EntityRelationship"> | string | null } export type EntityRelationshipUpsertWithWhereUniqueWithoutParentInput = { where: Prisma.EntityRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityRelationshipUpdateWithWhereUniqueWithoutParentInput = { where: Prisma.EntityRelationshipWhereUniqueInput data: Prisma.XOR } export type EntityRelationshipUpdateManyWithWhereWithoutParentInput = { where: Prisma.EntityRelationshipScalarWhereInput data: Prisma.XOR } export type EntityRelationshipCreateWithoutChildEntityViewInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parent: Prisma.EntityCreateNestedOneWithoutChildEntitiesInput child: Prisma.EntityCreateNestedOneWithoutParentEntitiesInput parentEntityView?: Prisma.EntityViewCreateNestedOneWithoutInParentRelationshipsInput rows?: Prisma.RowRelationshipCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUncheckedCreateWithoutChildEntityViewInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parentEntityViewId?: string | null rows?: Prisma.RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipCreateOrConnectWithoutChildEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput create: Prisma.XOR } export type EntityRelationshipCreateManyChildEntityViewInputEnvelope = { data: Prisma.EntityRelationshipCreateManyChildEntityViewInput | Prisma.EntityRelationshipCreateManyChildEntityViewInput[] skipDuplicates?: boolean } export type EntityRelationshipCreateWithoutParentEntityViewInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parent: Prisma.EntityCreateNestedOneWithoutChildEntitiesInput child: Prisma.EntityCreateNestedOneWithoutParentEntitiesInput childEntityView?: Prisma.EntityViewCreateNestedOneWithoutInChildRelationshipsInput rows?: Prisma.RowRelationshipCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipUncheckedCreateWithoutParentEntityViewInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null rows?: Prisma.RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput } export type EntityRelationshipCreateOrConnectWithoutParentEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput create: Prisma.XOR } export type EntityRelationshipCreateManyParentEntityViewInputEnvelope = { data: Prisma.EntityRelationshipCreateManyParentEntityViewInput | Prisma.EntityRelationshipCreateManyParentEntityViewInput[] skipDuplicates?: boolean } export type EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput data: Prisma.XOR } export type EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput = { where: Prisma.EntityRelationshipScalarWhereInput data: Prisma.XOR } export type EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput = { where: Prisma.EntityRelationshipWhereUniqueInput data: Prisma.XOR } export type EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput = { where: Prisma.EntityRelationshipScalarWhereInput data: Prisma.XOR } export type EntityRelationshipCreateWithoutRowsInput = { id?: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parent: Prisma.EntityCreateNestedOneWithoutChildEntitiesInput child: Prisma.EntityCreateNestedOneWithoutParentEntitiesInput childEntityView?: Prisma.EntityViewCreateNestedOneWithoutInChildRelationshipsInput parentEntityView?: Prisma.EntityViewCreateNestedOneWithoutInParentRelationshipsInput } export type EntityRelationshipUncheckedCreateWithoutRowsInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null } export type EntityRelationshipCreateOrConnectWithoutRowsInput = { where: Prisma.EntityRelationshipWhereUniqueInput create: Prisma.XOR } export type EntityRelationshipUpsertWithoutRowsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityRelationshipWhereInput } export type EntityRelationshipUpdateToOneWithWhereWithoutRowsInput = { where?: Prisma.EntityRelationshipWhereInput data: Prisma.XOR } export type EntityRelationshipUpdateWithoutRowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parent?: Prisma.EntityUpdateOneRequiredWithoutChildEntitiesNestedInput child?: Prisma.EntityUpdateOneRequiredWithoutParentEntitiesNestedInput childEntityView?: Prisma.EntityViewUpdateOneWithoutInChildRelationshipsNestedInput parentEntityView?: Prisma.EntityViewUpdateOneWithoutInParentRelationshipsNestedInput } export type EntityRelationshipUncheckedUpdateWithoutRowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityRelationshipCreateManyChildInput = { id?: string parentId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null } export type EntityRelationshipCreateManyParentInput = { id?: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null parentEntityViewId?: string | null } export type EntityRelationshipUpdateWithoutChildInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parent?: Prisma.EntityUpdateOneRequiredWithoutChildEntitiesNestedInput childEntityView?: Prisma.EntityViewUpdateOneWithoutInChildRelationshipsNestedInput parentEntityView?: Prisma.EntityViewUpdateOneWithoutInParentRelationshipsNestedInput rows?: Prisma.RowRelationshipUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateWithoutChildInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rows?: Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateManyWithoutChildInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityRelationshipUpdateWithoutParentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean child?: Prisma.EntityUpdateOneRequiredWithoutParentEntitiesNestedInput childEntityView?: Prisma.EntityViewUpdateOneWithoutInChildRelationshipsNestedInput parentEntityView?: Prisma.EntityViewUpdateOneWithoutInParentRelationshipsNestedInput rows?: Prisma.RowRelationshipUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateWithoutParentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rows?: Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateManyWithoutParentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityRelationshipCreateManyChildEntityViewInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean parentEntityViewId?: string | null } export type EntityRelationshipCreateManyParentEntityViewInput = { id?: string parentId: string childId: string order?: number | null title?: string | null type?: string required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: string | null } export type EntityRelationshipUpdateWithoutChildEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parent?: Prisma.EntityUpdateOneRequiredWithoutChildEntitiesNestedInput child?: Prisma.EntityUpdateOneRequiredWithoutParentEntitiesNestedInput parentEntityView?: Prisma.EntityViewUpdateOneWithoutInParentRelationshipsNestedInput rows?: Prisma.RowRelationshipUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateWithoutChildEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rows?: Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateManyWithoutChildEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parentEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityRelationshipUpdateWithoutParentEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean parent?: Prisma.EntityUpdateOneRequiredWithoutChildEntitiesNestedInput child?: Prisma.EntityUpdateOneRequiredWithoutParentEntitiesNestedInput childEntityView?: Prisma.EntityViewUpdateOneWithoutInChildRelationshipsNestedInput rows?: Prisma.RowRelationshipUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateWithoutParentEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rows?: Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput } export type EntityRelationshipUncheckedUpdateManyWithoutParentEntityViewInput = { id?: Prisma.StringFieldUpdateOperationsInput | string parentId?: Prisma.StringFieldUpdateOperationsInput | string childId?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean cascade?: Prisma.BoolFieldUpdateOperationsInput | boolean readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean hiddenIfEmpty?: Prisma.BoolFieldUpdateOperationsInput | boolean childEntityViewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type EntityRelationshipCountOutputType */ export type EntityRelationshipCountOutputType = { rows: number } export type EntityRelationshipCountOutputTypeSelect = { rows?: boolean | EntityRelationshipCountOutputTypeCountRowsArgs } /** * EntityRelationshipCountOutputType without action */ export type EntityRelationshipCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the EntityRelationshipCountOutputType */ select?: Prisma.EntityRelationshipCountOutputTypeSelect | null } /** * EntityRelationshipCountOutputType without action */ export type EntityRelationshipCountOutputTypeCountRowsArgs = { where?: Prisma.RowRelationshipWhereInput } export type EntityRelationshipSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean parentId?: boolean childId?: boolean order?: boolean title?: boolean type?: boolean required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: boolean parentEntityViewId?: boolean parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs rows?: boolean | Prisma.EntityRelationship$rowsArgs _count?: boolean | Prisma.EntityRelationshipCountOutputTypeDefaultArgs }, ExtArgs["result"]["entityRelationship"]> export type EntityRelationshipSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean parentId?: boolean childId?: boolean order?: boolean title?: boolean type?: boolean required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: boolean parentEntityViewId?: boolean parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs }, ExtArgs["result"]["entityRelationship"]> export type EntityRelationshipSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean parentId?: boolean childId?: boolean order?: boolean title?: boolean type?: boolean required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: boolean parentEntityViewId?: boolean parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs }, ExtArgs["result"]["entityRelationship"]> export type EntityRelationshipSelectScalar = { id?: boolean parentId?: boolean childId?: boolean order?: boolean title?: boolean type?: boolean required?: boolean cascade?: boolean readOnly?: boolean hiddenIfEmpty?: boolean childEntityViewId?: boolean parentEntityViewId?: boolean } export type EntityRelationshipOmit = runtime.Types.Extensions.GetOmit<"id" | "parentId" | "childId" | "order" | "title" | "type" | "required" | "cascade" | "readOnly" | "hiddenIfEmpty" | "childEntityViewId" | "parentEntityViewId", ExtArgs["result"]["entityRelationship"]> export type EntityRelationshipInclude = { parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs rows?: boolean | Prisma.EntityRelationship$rowsArgs _count?: boolean | Prisma.EntityRelationshipCountOutputTypeDefaultArgs } export type EntityRelationshipIncludeCreateManyAndReturn = { parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs } export type EntityRelationshipIncludeUpdateManyAndReturn = { parent?: boolean | Prisma.EntityDefaultArgs child?: boolean | Prisma.EntityDefaultArgs childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs } export type $EntityRelationshipPayload = { name: "EntityRelationship" objects: { parent: Prisma.$EntityPayload child: Prisma.$EntityPayload childEntityView: Prisma.$EntityViewPayload | null parentEntityView: Prisma.$EntityViewPayload | null rows: Prisma.$RowRelationshipPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string parentId: string childId: string order: number | null title: string | null type: string required: boolean cascade: boolean readOnly: boolean hiddenIfEmpty: boolean childEntityViewId: string | null parentEntityViewId: string | null }, ExtArgs["result"]["entityRelationship"]> composites: {} } export type EntityRelationshipGetPayload = runtime.Types.Result.GetResult export type EntityRelationshipCountArgs = Omit & { select?: EntityRelationshipCountAggregateInputType | true } export interface EntityRelationshipDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EntityRelationship'], meta: { name: 'EntityRelationship' } } /** * Find zero or one EntityRelationship that matches the filter. * @param {EntityRelationshipFindUniqueArgs} args - Arguments to find a EntityRelationship * @example * // Get one EntityRelationship * const entityRelationship = await prisma.entityRelationship.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EntityRelationship that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EntityRelationshipFindUniqueOrThrowArgs} args - Arguments to find a EntityRelationship * @example * // Get one EntityRelationship * const entityRelationship = await prisma.entityRelationship.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EntityRelationship 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 {EntityRelationshipFindFirstArgs} args - Arguments to find a EntityRelationship * @example * // Get one EntityRelationship * const entityRelationship = await prisma.entityRelationship.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EntityRelationship 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 {EntityRelationshipFindFirstOrThrowArgs} args - Arguments to find a EntityRelationship * @example * // Get one EntityRelationship * const entityRelationship = await prisma.entityRelationship.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EntityRelationships 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 {EntityRelationshipFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EntityRelationships * const entityRelationships = await prisma.entityRelationship.findMany() * * // Get first 10 EntityRelationships * const entityRelationships = await prisma.entityRelationship.findMany({ take: 10 }) * * // Only select the `id` * const entityRelationshipWithIdOnly = await prisma.entityRelationship.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a EntityRelationship. * @param {EntityRelationshipCreateArgs} args - Arguments to create a EntityRelationship. * @example * // Create one EntityRelationship * const EntityRelationship = await prisma.entityRelationship.create({ * data: { * // ... data to create a EntityRelationship * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EntityRelationships. * @param {EntityRelationshipCreateManyArgs} args - Arguments to create many EntityRelationships. * @example * // Create many EntityRelationships * const entityRelationship = await prisma.entityRelationship.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many EntityRelationships and returns the data saved in the database. * @param {EntityRelationshipCreateManyAndReturnArgs} args - Arguments to create many EntityRelationships. * @example * // Create many EntityRelationships * const entityRelationship = await prisma.entityRelationship.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EntityRelationships and only return the `id` * const entityRelationshipWithIdOnly = await prisma.entityRelationship.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 EntityRelationship. * @param {EntityRelationshipDeleteArgs} args - Arguments to delete one EntityRelationship. * @example * // Delete one EntityRelationship * const EntityRelationship = await prisma.entityRelationship.delete({ * where: { * // ... filter to delete one EntityRelationship * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EntityRelationship. * @param {EntityRelationshipUpdateArgs} args - Arguments to update one EntityRelationship. * @example * // Update one EntityRelationship * const entityRelationship = await prisma.entityRelationship.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EntityRelationships. * @param {EntityRelationshipDeleteManyArgs} args - Arguments to filter EntityRelationships to delete. * @example * // Delete a few EntityRelationships * const { count } = await prisma.entityRelationship.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EntityRelationships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityRelationshipUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EntityRelationships * const entityRelationship = await prisma.entityRelationship.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EntityRelationships and returns the data updated in the database. * @param {EntityRelationshipUpdateManyAndReturnArgs} args - Arguments to update many EntityRelationships. * @example * // Update many EntityRelationships * const entityRelationship = await prisma.entityRelationship.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EntityRelationships and only return the `id` * const entityRelationshipWithIdOnly = await prisma.entityRelationship.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 EntityRelationship. * @param {EntityRelationshipUpsertArgs} args - Arguments to update or create a EntityRelationship. * @example * // Update or create a EntityRelationship * const entityRelationship = await prisma.entityRelationship.upsert({ * create: { * // ... data to create a EntityRelationship * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EntityRelationship we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__EntityRelationshipClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EntityRelationships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityRelationshipCountArgs} args - Arguments to filter EntityRelationships to count. * @example * // Count the number of EntityRelationships * const count = await prisma.entityRelationship.count({ * where: { * // ... the filter for the EntityRelationships 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 EntityRelationship. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityRelationshipAggregateArgs} 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 EntityRelationship. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityRelationshipGroupByArgs} 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 EntityRelationshipGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: EntityRelationshipGroupByArgs['orderBy'] } : { orderBy?: EntityRelationshipGroupByArgs['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 ? GetEntityRelationshipGroupByPayload : Prisma.PrismaPromise /** * Fields of the EntityRelationship model */ readonly fields: EntityRelationshipFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EntityRelationship. * 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__EntityRelationshipClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" parent = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> child = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> childEntityView = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityViewClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> parentEntityView = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityViewClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> rows = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(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 EntityRelationship model */ export interface EntityRelationshipFieldRefs { readonly id: Prisma.FieldRef<"EntityRelationship", 'String'> readonly parentId: Prisma.FieldRef<"EntityRelationship", 'String'> readonly childId: Prisma.FieldRef<"EntityRelationship", 'String'> readonly order: Prisma.FieldRef<"EntityRelationship", 'Int'> readonly title: Prisma.FieldRef<"EntityRelationship", 'String'> readonly type: Prisma.FieldRef<"EntityRelationship", 'String'> readonly required: Prisma.FieldRef<"EntityRelationship", 'Boolean'> readonly cascade: Prisma.FieldRef<"EntityRelationship", 'Boolean'> readonly readOnly: Prisma.FieldRef<"EntityRelationship", 'Boolean'> readonly hiddenIfEmpty: Prisma.FieldRef<"EntityRelationship", 'Boolean'> readonly childEntityViewId: Prisma.FieldRef<"EntityRelationship", 'String'> readonly parentEntityViewId: Prisma.FieldRef<"EntityRelationship", 'String'> } // Custom InputTypes /** * EntityRelationship findUnique */ export type EntityRelationshipFindUniqueArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter, which EntityRelationship to fetch. */ where: Prisma.EntityRelationshipWhereUniqueInput } /** * EntityRelationship findUniqueOrThrow */ export type EntityRelationshipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter, which EntityRelationship to fetch. */ where: Prisma.EntityRelationshipWhereUniqueInput } /** * EntityRelationship findFirst */ export type EntityRelationshipFindFirstArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter, which EntityRelationship to fetch. */ where?: Prisma.EntityRelationshipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityRelationships to fetch. */ orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EntityRelationships. */ cursor?: Prisma.EntityRelationshipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityRelationships 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` EntityRelationships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityRelationships. */ distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[] } /** * EntityRelationship findFirstOrThrow */ export type EntityRelationshipFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter, which EntityRelationship to fetch. */ where?: Prisma.EntityRelationshipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityRelationships to fetch. */ orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EntityRelationships. */ cursor?: Prisma.EntityRelationshipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityRelationships 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` EntityRelationships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityRelationships. */ distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[] } /** * EntityRelationship findMany */ export type EntityRelationshipFindManyArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter, which EntityRelationships to fetch. */ where?: Prisma.EntityRelationshipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityRelationships to fetch. */ orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EntityRelationships. */ cursor?: Prisma.EntityRelationshipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityRelationships 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` EntityRelationships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityRelationships. */ distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[] } /** * EntityRelationship create */ export type EntityRelationshipCreateArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * The data needed to create a EntityRelationship. */ data: Prisma.XOR } /** * EntityRelationship createMany */ export type EntityRelationshipCreateManyArgs = { /** * The data used to create many EntityRelationships. */ data: Prisma.EntityRelationshipCreateManyInput | Prisma.EntityRelationshipCreateManyInput[] skipDuplicates?: boolean } /** * EntityRelationship createManyAndReturn */ export type EntityRelationshipCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelectCreateManyAndReturn | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * The data used to create many EntityRelationships. */ data: Prisma.EntityRelationshipCreateManyInput | Prisma.EntityRelationshipCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipIncludeCreateManyAndReturn | null } /** * EntityRelationship update */ export type EntityRelationshipUpdateArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * The data needed to update a EntityRelationship. */ data: Prisma.XOR /** * Choose, which EntityRelationship to update. */ where: Prisma.EntityRelationshipWhereUniqueInput } /** * EntityRelationship updateMany */ export type EntityRelationshipUpdateManyArgs = { /** * The data used to update EntityRelationships. */ data: Prisma.XOR /** * Filter which EntityRelationships to update */ where?: Prisma.EntityRelationshipWhereInput /** * Limit how many EntityRelationships to update. */ limit?: number } /** * EntityRelationship updateManyAndReturn */ export type EntityRelationshipUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelectUpdateManyAndReturn | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * The data used to update EntityRelationships. */ data: Prisma.XOR /** * Filter which EntityRelationships to update */ where?: Prisma.EntityRelationshipWhereInput /** * Limit how many EntityRelationships to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipIncludeUpdateManyAndReturn | null } /** * EntityRelationship upsert */ export type EntityRelationshipUpsertArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * The filter to search for the EntityRelationship to update in case it exists. */ where: Prisma.EntityRelationshipWhereUniqueInput /** * In case the EntityRelationship found by the `where` argument doesn't exist, create a new EntityRelationship with this data. */ create: Prisma.XOR /** * In case the EntityRelationship was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * EntityRelationship delete */ export type EntityRelationshipDeleteArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null /** * Filter which EntityRelationship to delete. */ where: Prisma.EntityRelationshipWhereUniqueInput } /** * EntityRelationship deleteMany */ export type EntityRelationshipDeleteManyArgs = { /** * Filter which EntityRelationships to delete */ where?: Prisma.EntityRelationshipWhereInput /** * Limit how many EntityRelationships to delete. */ limit?: number } /** * EntityRelationship.childEntityView */ export type EntityRelationship$childEntityViewArgs = { /** * Select specific fields to fetch from the EntityView */ select?: Prisma.EntityViewSelect | null /** * Omit specific fields from the EntityView */ omit?: Prisma.EntityViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityViewInclude | null where?: Prisma.EntityViewWhereInput } /** * EntityRelationship.parentEntityView */ export type EntityRelationship$parentEntityViewArgs = { /** * Select specific fields to fetch from the EntityView */ select?: Prisma.EntityViewSelect | null /** * Omit specific fields from the EntityView */ omit?: Prisma.EntityViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityViewInclude | null where?: Prisma.EntityViewWhereInput } /** * EntityRelationship.rows */ export type EntityRelationship$rowsArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null where?: Prisma.RowRelationshipWhereInput orderBy?: Prisma.RowRelationshipOrderByWithRelationInput | Prisma.RowRelationshipOrderByWithRelationInput[] cursor?: Prisma.RowRelationshipWhereUniqueInput take?: number skip?: number distinct?: Prisma.RowRelationshipScalarFieldEnum | Prisma.RowRelationshipScalarFieldEnum[] } /** * EntityRelationship without action */ export type EntityRelationshipDefaultArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null }