2343 lines
106 KiB
TypeScript
2343 lines
106 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$EntityRelationshipPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends EntityRelationshipAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEntityRelationship]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEntityRelationship[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEntityRelationship[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EntityRelationshipGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends EntityRelationshipGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EntityRelationshipGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EntityRelationshipGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EntityRelationshipGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EntityRelationshipGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
child?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
childEntityView?: Prisma.XOR<Prisma.EntityViewNullableScalarRelationFilter, Prisma.EntityViewWhereInput> | null
|
|
parentEntityView?: Prisma.XOR<Prisma.EntityViewNullableScalarRelationFilter, Prisma.EntityViewWhereInput> | 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<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
child?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
childEntityView?: Prisma.XOR<Prisma.EntityViewNullableScalarRelationFilter, Prisma.EntityViewWhereInput> | null
|
|
parentEntityView?: Prisma.XOR<Prisma.EntityViewNullableScalarRelationFilter, Prisma.EntityViewWhereInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<Prisma.EntityRelationshipCreateWithoutRowsInput, Prisma.EntityRelationshipUncheckedCreateWithoutRowsInput>
|
|
connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutRowsInput
|
|
connect?: Prisma.EntityRelationshipWhereUniqueInput
|
|
}
|
|
|
|
export type EntityRelationshipUpdateOneRequiredWithoutRowsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutRowsInput, Prisma.EntityRelationshipUncheckedCreateWithoutRowsInput>
|
|
connectOrCreate?: Prisma.EntityRelationshipCreateOrConnectWithoutRowsInput
|
|
upsert?: Prisma.EntityRelationshipUpsertWithoutRowsInput
|
|
connect?: Prisma.EntityRelationshipWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityRelationshipUpdateToOneWithWhereWithoutRowsInput, Prisma.EntityRelationshipUpdateWithoutRowsInput>, 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<Prisma.EntityRelationshipCreateWithoutChildInput, Prisma.EntityRelationshipUncheckedCreateWithoutChildInput>
|
|
}
|
|
|
|
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<Prisma.EntityRelationshipCreateWithoutParentInput, Prisma.EntityRelationshipUncheckedCreateWithoutParentInput>
|
|
}
|
|
|
|
export type EntityRelationshipCreateManyParentInputEnvelope = {
|
|
data: Prisma.EntityRelationshipCreateManyParentInput | Prisma.EntityRelationshipCreateManyParentInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EntityRelationshipUpsertWithWhereUniqueWithoutChildInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutChildInput, Prisma.EntityRelationshipUncheckedUpdateWithoutChildInput>
|
|
create: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutChildInput, Prisma.EntityRelationshipUncheckedCreateWithoutChildInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateWithWhereUniqueWithoutChildInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutChildInput, Prisma.EntityRelationshipUncheckedUpdateWithoutChildInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateManyWithWhereWithoutChildInput = {
|
|
where: Prisma.EntityRelationshipScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildInput>
|
|
}
|
|
|
|
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<Prisma.EntityRelationshipUpdateWithoutParentInput, Prisma.EntityRelationshipUncheckedUpdateWithoutParentInput>
|
|
create: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutParentInput, Prisma.EntityRelationshipUncheckedCreateWithoutParentInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateWithWhereUniqueWithoutParentInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutParentInput, Prisma.EntityRelationshipUncheckedUpdateWithoutParentInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateManyWithWhereWithoutParentInput = {
|
|
where: Prisma.EntityRelationshipScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentInput>
|
|
}
|
|
|
|
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<Prisma.EntityRelationshipCreateWithoutChildEntityViewInput, Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput>
|
|
}
|
|
|
|
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<Prisma.EntityRelationshipCreateWithoutParentEntityViewInput, Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipCreateManyParentEntityViewInputEnvelope = {
|
|
data: Prisma.EntityRelationshipCreateManyParentEntityViewInput | Prisma.EntityRelationshipCreateManyParentEntityViewInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EntityRelationshipUpsertWithWhereUniqueWithoutChildEntityViewInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutChildEntityViewInput, Prisma.EntityRelationshipUncheckedUpdateWithoutChildEntityViewInput>
|
|
create: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutChildEntityViewInput, Prisma.EntityRelationshipUncheckedCreateWithoutChildEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateWithWhereUniqueWithoutChildEntityViewInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutChildEntityViewInput, Prisma.EntityRelationshipUncheckedUpdateWithoutChildEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateManyWithWhereWithoutChildEntityViewInput = {
|
|
where: Prisma.EntityRelationshipScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpsertWithWhereUniqueWithoutParentEntityViewInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutParentEntityViewInput, Prisma.EntityRelationshipUncheckedUpdateWithoutParentEntityViewInput>
|
|
create: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutParentEntityViewInput, Prisma.EntityRelationshipUncheckedCreateWithoutParentEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateWithWhereUniqueWithoutParentEntityViewInput = {
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutParentEntityViewInput, Prisma.EntityRelationshipUncheckedUpdateWithoutParentEntityViewInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpdateManyWithWhereWithoutParentEntityViewInput = {
|
|
where: Prisma.EntityRelationshipScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentEntityViewInput>
|
|
}
|
|
|
|
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<Prisma.EntityRelationshipCreateWithoutRowsInput, Prisma.EntityRelationshipUncheckedCreateWithoutRowsInput>
|
|
}
|
|
|
|
export type EntityRelationshipUpsertWithoutRowsInput = {
|
|
update: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutRowsInput, Prisma.EntityRelationshipUncheckedUpdateWithoutRowsInput>
|
|
create: Prisma.XOR<Prisma.EntityRelationshipCreateWithoutRowsInput, Prisma.EntityRelationshipUncheckedCreateWithoutRowsInput>
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
}
|
|
|
|
export type EntityRelationshipUpdateToOneWithWhereWithoutRowsInput = {
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateWithoutRowsInput, Prisma.EntityRelationshipUncheckedUpdateWithoutRowsInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
rows?: boolean | EntityRelationshipCountOutputTypeCountRowsArgs
|
|
}
|
|
|
|
/**
|
|
* EntityRelationshipCountOutputType without action
|
|
*/
|
|
export type EntityRelationshipCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationshipCountOutputType
|
|
*/
|
|
select?: Prisma.EntityRelationshipCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityRelationshipCountOutputType without action
|
|
*/
|
|
export type EntityRelationshipCountOutputTypeCountRowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.RowRelationshipWhereInput
|
|
}
|
|
|
|
|
|
export type EntityRelationshipSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
rows?: boolean | Prisma.EntityRelationship$rowsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityRelationshipCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityRelationship"]>
|
|
|
|
export type EntityRelationshipSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityRelationship"]>
|
|
|
|
export type EntityRelationshipSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "parentId" | "childId" | "order" | "title" | "type" | "required" | "cascade" | "readOnly" | "hiddenIfEmpty" | "childEntityViewId" | "parentEntityViewId", ExtArgs["result"]["entityRelationship"]>
|
|
export type EntityRelationshipInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
parent?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
rows?: boolean | Prisma.EntityRelationship$rowsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityRelationshipCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityRelationshipIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
parent?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
}
|
|
export type EntityRelationshipIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
parent?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
child?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
childEntityView?: boolean | Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>
|
|
parentEntityView?: boolean | Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>
|
|
}
|
|
|
|
export type $EntityRelationshipPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EntityRelationship"
|
|
objects: {
|
|
parent: Prisma.$EntityPayload<ExtArgs>
|
|
child: Prisma.$EntityPayload<ExtArgs>
|
|
childEntityView: Prisma.$EntityViewPayload<ExtArgs> | null
|
|
parentEntityView: Prisma.$EntityViewPayload<ExtArgs> | null
|
|
rows: Prisma.$RowRelationshipPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | EntityRelationshipDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload, S>
|
|
|
|
export type EntityRelationshipCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EntityRelationshipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EntityRelationshipCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EntityRelationshipDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends EntityRelationshipFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityRelationshipFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityRelationshipFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipFindManyArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipCreateArgs>(args: Prisma.SelectSubset<T, EntityRelationshipCreateArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EntityRelationshipCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipDeleteArgs>(args: Prisma.SelectSubset<T, EntityRelationshipDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipUpdateArgs>(args: Prisma.SelectSubset<T, EntityRelationshipUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityRelationshipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EntityRelationshipUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityRelationshipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EntityRelationshipUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityRelationshipUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipUpsertArgs>(args: Prisma.SelectSubset<T, EntityRelationshipUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, 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<T extends EntityRelationshipCountArgs>(
|
|
args?: Prisma.Subset<T, EntityRelationshipCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EntityRelationshipCountAggregateOutputType>
|
|
: 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<T extends EntityRelationshipAggregateArgs>(args: Prisma.Subset<T, EntityRelationshipAggregateArgs>): Prisma.PrismaPromise<GetEntityRelationshipAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EntityRelationshipGroupByArgs['orderBy'] }
|
|
: { orderBy?: EntityRelationshipGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, EntityRelationshipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityRelationshipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
parent<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
child<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
childEntityView<T extends Prisma.EntityRelationship$childEntityViewArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityRelationship$childEntityViewArgs<ExtArgs>>): Prisma.Prisma__EntityViewClient<runtime.Types.Result.GetResult<Prisma.$EntityViewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
parentEntityView<T extends Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityRelationship$parentEntityViewArgs<ExtArgs>>): Prisma.Prisma__EntityViewClient<runtime.Types.Result.GetResult<Prisma.$EntityViewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
rows<T extends Prisma.EntityRelationship$rowsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityRelationship$rowsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityRelationship to fetch.
|
|
*/
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship findUniqueOrThrow
|
|
*/
|
|
export type EntityRelationshipFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityRelationship to fetch.
|
|
*/
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship findFirst
|
|
*/
|
|
export type EntityRelationshipFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EntityRelationship.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityRelationshipCreateInput, Prisma.EntityRelationshipUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship createMany
|
|
*/
|
|
export type EntityRelationshipCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EntityRelationships.
|
|
*/
|
|
data: Prisma.EntityRelationshipCreateManyInput | Prisma.EntityRelationshipCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship createManyAndReturn
|
|
*/
|
|
export type EntityRelationshipCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship update
|
|
*/
|
|
export type EntityRelationshipUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EntityRelationship.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateInput, Prisma.EntityRelationshipUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EntityRelationship to update.
|
|
*/
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship updateMany
|
|
*/
|
|
export type EntityRelationshipUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EntityRelationships.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityRelationships to update
|
|
*/
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
/**
|
|
* Limit how many EntityRelationships to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship updateManyAndReturn
|
|
*/
|
|
export type EntityRelationshipUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EntityRelationships.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityRelationshipUpdateManyMutationInput, Prisma.EntityRelationshipUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship upsert
|
|
*/
|
|
export type EntityRelationshipUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | 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<Prisma.EntityRelationshipCreateInput, Prisma.EntityRelationshipUncheckedCreateInput>
|
|
/**
|
|
* In case the EntityRelationship was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EntityRelationshipUpdateInput, Prisma.EntityRelationshipUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship delete
|
|
*/
|
|
export type EntityRelationshipDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EntityRelationship to delete.
|
|
*/
|
|
where: Prisma.EntityRelationshipWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship deleteMany
|
|
*/
|
|
export type EntityRelationshipDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityRelationships to delete
|
|
*/
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
/**
|
|
* Limit how many EntityRelationships to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship.childEntityView
|
|
*/
|
|
export type EntityRelationship$childEntityViewArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityView
|
|
*/
|
|
select?: Prisma.EntityViewSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityView
|
|
*/
|
|
omit?: Prisma.EntityViewOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityViewInclude<ExtArgs> | null
|
|
where?: Prisma.EntityViewWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship.parentEntityView
|
|
*/
|
|
export type EntityRelationship$parentEntityViewArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityView
|
|
*/
|
|
select?: Prisma.EntityViewSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityView
|
|
*/
|
|
omit?: Prisma.EntityViewOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityViewInclude<ExtArgs> | null
|
|
where?: Prisma.EntityViewWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityRelationship.rows
|
|
*/
|
|
export type EntityRelationship$rowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowRelationship
|
|
*/
|
|
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowRelationship
|
|
*/
|
|
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowRelationshipInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
}
|