1594 lines
58 KiB
TypeScript
1594 lines
58 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 `EntityGroup` 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 EntityGroup
|
|
*
|
|
*/
|
|
export type EntityGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$EntityGroupPayload>
|
|
|
|
export type AggregateEntityGroup = {
|
|
_count: EntityGroupCountAggregateOutputType | null
|
|
_avg: EntityGroupAvgAggregateOutputType | null
|
|
_sum: EntityGroupSumAggregateOutputType | null
|
|
_min: EntityGroupMinAggregateOutputType | null
|
|
_max: EntityGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type EntityGroupAvgAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type EntityGroupSumAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type EntityGroupMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
order: number | null
|
|
slug: string | null
|
|
title: string | null
|
|
icon: string | null
|
|
collapsible: boolean | null
|
|
section: string | null
|
|
}
|
|
|
|
export type EntityGroupMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
order: number | null
|
|
slug: string | null
|
|
title: string | null
|
|
icon: string | null
|
|
collapsible: boolean | null
|
|
section: string | null
|
|
}
|
|
|
|
export type EntityGroupCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
order: number
|
|
slug: number
|
|
title: number
|
|
icon: number
|
|
collapsible: number
|
|
section: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type EntityGroupAvgAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type EntityGroupSumAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type EntityGroupMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
order?: true
|
|
slug?: true
|
|
title?: true
|
|
icon?: true
|
|
collapsible?: true
|
|
section?: true
|
|
}
|
|
|
|
export type EntityGroupMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
order?: true
|
|
slug?: true
|
|
title?: true
|
|
icon?: true
|
|
collapsible?: true
|
|
section?: true
|
|
}
|
|
|
|
export type EntityGroupCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
order?: true
|
|
slug?: true
|
|
title?: true
|
|
icon?: true
|
|
collapsible?: true
|
|
section?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type EntityGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityGroup to aggregate.
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityGroupOrderByWithRelationInput | Prisma.EntityGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.EntityGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityGroups 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` EntityGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned EntityGroups
|
|
**/
|
|
_count?: true | EntityGroupCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: EntityGroupAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: EntityGroupSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: EntityGroupMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: EntityGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type GetEntityGroupAggregateType<T extends EntityGroupAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEntityGroup]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEntityGroup[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEntityGroup[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EntityGroupGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityGroupWhereInput
|
|
orderBy?: Prisma.EntityGroupOrderByWithAggregationInput | Prisma.EntityGroupOrderByWithAggregationInput[]
|
|
by: Prisma.EntityGroupScalarFieldEnum[] | Prisma.EntityGroupScalarFieldEnum
|
|
having?: Prisma.EntityGroupScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: EntityGroupCountAggregateInputType | true
|
|
_avg?: EntityGroupAvgAggregateInputType
|
|
_sum?: EntityGroupSumAggregateInputType
|
|
_min?: EntityGroupMinAggregateInputType
|
|
_max?: EntityGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type EntityGroupGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section: string | null
|
|
_count: EntityGroupCountAggregateOutputType | null
|
|
_avg: EntityGroupAvgAggregateOutputType | null
|
|
_sum: EntityGroupSumAggregateOutputType | null
|
|
_min: EntityGroupMinAggregateOutputType | null
|
|
_max: EntityGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetEntityGroupGroupByPayload<T extends EntityGroupGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EntityGroupGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EntityGroupGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EntityGroupGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EntityGroupGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type EntityGroupWhereInput = {
|
|
AND?: Prisma.EntityGroupWhereInput | Prisma.EntityGroupWhereInput[]
|
|
OR?: Prisma.EntityGroupWhereInput[]
|
|
NOT?: Prisma.EntityGroupWhereInput | Prisma.EntityGroupWhereInput[]
|
|
id?: Prisma.StringFilter<"EntityGroup"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"EntityGroup"> | Date | string
|
|
order?: Prisma.IntFilter<"EntityGroup"> | number
|
|
slug?: Prisma.StringFilter<"EntityGroup"> | string
|
|
title?: Prisma.StringFilter<"EntityGroup"> | string
|
|
icon?: Prisma.StringFilter<"EntityGroup"> | string
|
|
collapsible?: Prisma.BoolFilter<"EntityGroup"> | boolean
|
|
section?: Prisma.StringNullableFilter<"EntityGroup"> | string | null
|
|
entities?: Prisma.EntityGroupEntityListRelationFilter
|
|
configurationRows?: Prisma.EntityGroupConfigurationListRelationFilter
|
|
}
|
|
|
|
export type EntityGroupOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
collapsible?: Prisma.SortOrder
|
|
section?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
entities?: Prisma.EntityGroupEntityOrderByRelationAggregateInput
|
|
configurationRows?: Prisma.EntityGroupConfigurationOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type EntityGroupWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
slug?: string
|
|
AND?: Prisma.EntityGroupWhereInput | Prisma.EntityGroupWhereInput[]
|
|
OR?: Prisma.EntityGroupWhereInput[]
|
|
NOT?: Prisma.EntityGroupWhereInput | Prisma.EntityGroupWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"EntityGroup"> | Date | string
|
|
order?: Prisma.IntFilter<"EntityGroup"> | number
|
|
title?: Prisma.StringFilter<"EntityGroup"> | string
|
|
icon?: Prisma.StringFilter<"EntityGroup"> | string
|
|
collapsible?: Prisma.BoolFilter<"EntityGroup"> | boolean
|
|
section?: Prisma.StringNullableFilter<"EntityGroup"> | string | null
|
|
entities?: Prisma.EntityGroupEntityListRelationFilter
|
|
configurationRows?: Prisma.EntityGroupConfigurationListRelationFilter
|
|
}, "id" | "slug">
|
|
|
|
export type EntityGroupOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
collapsible?: Prisma.SortOrder
|
|
section?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.EntityGroupCountOrderByAggregateInput
|
|
_avg?: Prisma.EntityGroupAvgOrderByAggregateInput
|
|
_max?: Prisma.EntityGroupMaxOrderByAggregateInput
|
|
_min?: Prisma.EntityGroupMinOrderByAggregateInput
|
|
_sum?: Prisma.EntityGroupSumOrderByAggregateInput
|
|
}
|
|
|
|
export type EntityGroupScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.EntityGroupScalarWhereWithAggregatesInput | Prisma.EntityGroupScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.EntityGroupScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.EntityGroupScalarWhereWithAggregatesInput | Prisma.EntityGroupScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"EntityGroup"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EntityGroup"> | Date | string
|
|
order?: Prisma.IntWithAggregatesFilter<"EntityGroup"> | number
|
|
slug?: Prisma.StringWithAggregatesFilter<"EntityGroup"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"EntityGroup"> | string
|
|
icon?: Prisma.StringWithAggregatesFilter<"EntityGroup"> | string
|
|
collapsible?: Prisma.BoolWithAggregatesFilter<"EntityGroup"> | boolean
|
|
section?: Prisma.StringNullableWithAggregatesFilter<"EntityGroup"> | string | null
|
|
}
|
|
|
|
export type EntityGroupCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
entities?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityGroupInput
|
|
configurationRows?: Prisma.EntityGroupConfigurationCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
entities?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityGroupInput
|
|
configurationRows?: Prisma.EntityGroupConfigurationUncheckedCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entities?: Prisma.EntityGroupEntityUpdateManyWithoutEntityGroupNestedInput
|
|
configurationRows?: Prisma.EntityGroupConfigurationUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entities?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityGroupNestedInput
|
|
configurationRows?: Prisma.EntityGroupConfigurationUncheckedUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
export type EntityGroupCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
}
|
|
|
|
export type EntityGroupUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityGroupUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityGroupCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
collapsible?: Prisma.SortOrder
|
|
section?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityGroupAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityGroupMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
collapsible?: Prisma.SortOrder
|
|
section?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityGroupMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
collapsible?: Prisma.SortOrder
|
|
section?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityGroupSumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityGroupScalarRelationFilter = {
|
|
is?: Prisma.EntityGroupWhereInput
|
|
isNot?: Prisma.EntityGroupWhereInput
|
|
}
|
|
|
|
export type EntityGroupCreateNestedOneWithoutEntitiesInput = {
|
|
create?: Prisma.XOR<Prisma.EntityGroupCreateWithoutEntitiesInput, Prisma.EntityGroupUncheckedCreateWithoutEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityGroupCreateOrConnectWithoutEntitiesInput
|
|
connect?: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
export type EntityGroupUpdateOneRequiredWithoutEntitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityGroupCreateWithoutEntitiesInput, Prisma.EntityGroupUncheckedCreateWithoutEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityGroupCreateOrConnectWithoutEntitiesInput
|
|
upsert?: Prisma.EntityGroupUpsertWithoutEntitiesInput
|
|
connect?: Prisma.EntityGroupWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityGroupUpdateToOneWithWhereWithoutEntitiesInput, Prisma.EntityGroupUpdateWithoutEntitiesInput>, Prisma.EntityGroupUncheckedUpdateWithoutEntitiesInput>
|
|
}
|
|
|
|
export type EntityGroupCreateNestedOneWithoutConfigurationRowsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityGroupCreateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedCreateWithoutConfigurationRowsInput>
|
|
connectOrCreate?: Prisma.EntityGroupCreateOrConnectWithoutConfigurationRowsInput
|
|
connect?: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
export type EntityGroupUpdateOneRequiredWithoutConfigurationRowsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityGroupCreateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedCreateWithoutConfigurationRowsInput>
|
|
connectOrCreate?: Prisma.EntityGroupCreateOrConnectWithoutConfigurationRowsInput
|
|
upsert?: Prisma.EntityGroupUpsertWithoutConfigurationRowsInput
|
|
connect?: Prisma.EntityGroupWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityGroupUpdateToOneWithWhereWithoutConfigurationRowsInput, Prisma.EntityGroupUpdateWithoutConfigurationRowsInput>, Prisma.EntityGroupUncheckedUpdateWithoutConfigurationRowsInput>
|
|
}
|
|
|
|
export type EntityGroupCreateWithoutEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
configurationRows?: Prisma.EntityGroupConfigurationCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedCreateWithoutEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
configurationRows?: Prisma.EntityGroupConfigurationUncheckedCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupCreateOrConnectWithoutEntitiesInput = {
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityGroupCreateWithoutEntitiesInput, Prisma.EntityGroupUncheckedCreateWithoutEntitiesInput>
|
|
}
|
|
|
|
export type EntityGroupUpsertWithoutEntitiesInput = {
|
|
update: Prisma.XOR<Prisma.EntityGroupUpdateWithoutEntitiesInput, Prisma.EntityGroupUncheckedUpdateWithoutEntitiesInput>
|
|
create: Prisma.XOR<Prisma.EntityGroupCreateWithoutEntitiesInput, Prisma.EntityGroupUncheckedCreateWithoutEntitiesInput>
|
|
where?: Prisma.EntityGroupWhereInput
|
|
}
|
|
|
|
export type EntityGroupUpdateToOneWithWhereWithoutEntitiesInput = {
|
|
where?: Prisma.EntityGroupWhereInput
|
|
data: Prisma.XOR<Prisma.EntityGroupUpdateWithoutEntitiesInput, Prisma.EntityGroupUncheckedUpdateWithoutEntitiesInput>
|
|
}
|
|
|
|
export type EntityGroupUpdateWithoutEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
configurationRows?: Prisma.EntityGroupConfigurationUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedUpdateWithoutEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
configurationRows?: Prisma.EntityGroupConfigurationUncheckedUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
export type EntityGroupCreateWithoutConfigurationRowsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
entities?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedCreateWithoutConfigurationRowsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section?: string | null
|
|
entities?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityGroupInput
|
|
}
|
|
|
|
export type EntityGroupCreateOrConnectWithoutConfigurationRowsInput = {
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityGroupCreateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedCreateWithoutConfigurationRowsInput>
|
|
}
|
|
|
|
export type EntityGroupUpsertWithoutConfigurationRowsInput = {
|
|
update: Prisma.XOR<Prisma.EntityGroupUpdateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedUpdateWithoutConfigurationRowsInput>
|
|
create: Prisma.XOR<Prisma.EntityGroupCreateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedCreateWithoutConfigurationRowsInput>
|
|
where?: Prisma.EntityGroupWhereInput
|
|
}
|
|
|
|
export type EntityGroupUpdateToOneWithWhereWithoutConfigurationRowsInput = {
|
|
where?: Prisma.EntityGroupWhereInput
|
|
data: Prisma.XOR<Prisma.EntityGroupUpdateWithoutConfigurationRowsInput, Prisma.EntityGroupUncheckedUpdateWithoutConfigurationRowsInput>
|
|
}
|
|
|
|
export type EntityGroupUpdateWithoutConfigurationRowsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entities?: Prisma.EntityGroupEntityUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
export type EntityGroupUncheckedUpdateWithoutConfigurationRowsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
collapsible?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
section?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entities?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityGroupNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type EntityGroupCountOutputType
|
|
*/
|
|
|
|
export type EntityGroupCountOutputType = {
|
|
entities: number
|
|
configurationRows: number
|
|
}
|
|
|
|
export type EntityGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
entities?: boolean | EntityGroupCountOutputTypeCountEntitiesArgs
|
|
configurationRows?: boolean | EntityGroupCountOutputTypeCountConfigurationRowsArgs
|
|
}
|
|
|
|
/**
|
|
* EntityGroupCountOutputType without action
|
|
*/
|
|
export type EntityGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroupCountOutputType
|
|
*/
|
|
select?: Prisma.EntityGroupCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityGroupCountOutputType without action
|
|
*/
|
|
export type EntityGroupCountOutputTypeCountEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityGroupEntityWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityGroupCountOutputType without action
|
|
*/
|
|
export type EntityGroupCountOutputTypeCountConfigurationRowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityGroupConfigurationWhereInput
|
|
}
|
|
|
|
|
|
export type EntityGroupSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
order?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
icon?: boolean
|
|
collapsible?: boolean
|
|
section?: boolean
|
|
entities?: boolean | Prisma.EntityGroup$entitiesArgs<ExtArgs>
|
|
configurationRows?: boolean | Prisma.EntityGroup$configurationRowsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entityGroup"]>
|
|
|
|
export type EntityGroupSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
order?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
icon?: boolean
|
|
collapsible?: boolean
|
|
section?: boolean
|
|
}, ExtArgs["result"]["entityGroup"]>
|
|
|
|
export type EntityGroupSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
order?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
icon?: boolean
|
|
collapsible?: boolean
|
|
section?: boolean
|
|
}, ExtArgs["result"]["entityGroup"]>
|
|
|
|
export type EntityGroupSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
order?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
icon?: boolean
|
|
collapsible?: boolean
|
|
section?: boolean
|
|
}
|
|
|
|
export type EntityGroupOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "order" | "slug" | "title" | "icon" | "collapsible" | "section", ExtArgs["result"]["entityGroup"]>
|
|
export type EntityGroupInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
entities?: boolean | Prisma.EntityGroup$entitiesArgs<ExtArgs>
|
|
configurationRows?: boolean | Prisma.EntityGroup$configurationRowsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityGroupIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type EntityGroupIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $EntityGroupPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EntityGroup"
|
|
objects: {
|
|
entities: Prisma.$EntityGroupEntityPayload<ExtArgs>[]
|
|
configurationRows: Prisma.$EntityGroupConfigurationPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
order: number
|
|
slug: string
|
|
title: string
|
|
icon: string
|
|
collapsible: boolean
|
|
section: string | null
|
|
}, ExtArgs["result"]["entityGroup"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type EntityGroupGetPayload<S extends boolean | null | undefined | EntityGroupDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload, S>
|
|
|
|
export type EntityGroupCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EntityGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EntityGroupCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EntityGroupDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntityGroup'], meta: { name: 'EntityGroup' } }
|
|
/**
|
|
* Find zero or one EntityGroup that matches the filter.
|
|
* @param {EntityGroupFindUniqueArgs} args - Arguments to find a EntityGroup
|
|
* @example
|
|
* // Get one EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends EntityGroupFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityGroupFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one EntityGroup that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {EntityGroupFindUniqueOrThrowArgs} args - Arguments to find a EntityGroup
|
|
* @example
|
|
* // Get one EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends EntityGroupFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityGroup 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 {EntityGroupFindFirstArgs} args - Arguments to find a EntityGroup
|
|
* @example
|
|
* // Get one EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends EntityGroupFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityGroupFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first EntityGroup 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 {EntityGroupFindFirstOrThrowArgs} args - Arguments to find a EntityGroup
|
|
* @example
|
|
* // Get one EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends EntityGroupFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more EntityGroups 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 {EntityGroupFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all EntityGroups
|
|
* const entityGroups = await prisma.entityGroup.findMany()
|
|
*
|
|
* // Get first 10 EntityGroups
|
|
* const entityGroups = await prisma.entityGroup.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const entityGroupWithIdOnly = await prisma.entityGroup.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends EntityGroupFindManyArgs>(args?: Prisma.SelectSubset<T, EntityGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a EntityGroup.
|
|
* @param {EntityGroupCreateArgs} args - Arguments to create a EntityGroup.
|
|
* @example
|
|
* // Create one EntityGroup
|
|
* const EntityGroup = await prisma.entityGroup.create({
|
|
* data: {
|
|
* // ... data to create a EntityGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends EntityGroupCreateArgs>(args: Prisma.SelectSubset<T, EntityGroupCreateArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many EntityGroups.
|
|
* @param {EntityGroupCreateManyArgs} args - Arguments to create many EntityGroups.
|
|
* @example
|
|
* // Create many EntityGroups
|
|
* const entityGroup = await prisma.entityGroup.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends EntityGroupCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many EntityGroups and returns the data saved in the database.
|
|
* @param {EntityGroupCreateManyAndReturnArgs} args - Arguments to create many EntityGroups.
|
|
* @example
|
|
* // Create many EntityGroups
|
|
* const entityGroup = await prisma.entityGroup.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many EntityGroups and only return the `id`
|
|
* const entityGroupWithIdOnly = await prisma.entityGroup.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 EntityGroupCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a EntityGroup.
|
|
* @param {EntityGroupDeleteArgs} args - Arguments to delete one EntityGroup.
|
|
* @example
|
|
* // Delete one EntityGroup
|
|
* const EntityGroup = await prisma.entityGroup.delete({
|
|
* where: {
|
|
* // ... filter to delete one EntityGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends EntityGroupDeleteArgs>(args: Prisma.SelectSubset<T, EntityGroupDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one EntityGroup.
|
|
* @param {EntityGroupUpdateArgs} args - Arguments to update one EntityGroup.
|
|
* @example
|
|
* // Update one EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends EntityGroupUpdateArgs>(args: Prisma.SelectSubset<T, EntityGroupUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more EntityGroups.
|
|
* @param {EntityGroupDeleteManyArgs} args - Arguments to filter EntityGroups to delete.
|
|
* @example
|
|
* // Delete a few EntityGroups
|
|
* const { count } = await prisma.entityGroup.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends EntityGroupDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityGroupUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many EntityGroups
|
|
* const entityGroup = await prisma.entityGroup.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends EntityGroupUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more EntityGroups and returns the data updated in the database.
|
|
* @param {EntityGroupUpdateManyAndReturnArgs} args - Arguments to update many EntityGroups.
|
|
* @example
|
|
* // Update many EntityGroups
|
|
* const entityGroup = await prisma.entityGroup.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more EntityGroups and only return the `id`
|
|
* const entityGroupWithIdOnly = await prisma.entityGroup.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 EntityGroupUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one EntityGroup.
|
|
* @param {EntityGroupUpsertArgs} args - Arguments to update or create a EntityGroup.
|
|
* @example
|
|
* // Update or create a EntityGroup
|
|
* const entityGroup = await prisma.entityGroup.upsert({
|
|
* create: {
|
|
* // ... data to create a EntityGroup
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the EntityGroup we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends EntityGroupUpsertArgs>(args: Prisma.SelectSubset<T, EntityGroupUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityGroupClient<runtime.Types.Result.GetResult<Prisma.$EntityGroupPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of EntityGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityGroupCountArgs} args - Arguments to filter EntityGroups to count.
|
|
* @example
|
|
* // Count the number of EntityGroups
|
|
* const count = await prisma.entityGroup.count({
|
|
* where: {
|
|
* // ... the filter for the EntityGroups we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends EntityGroupCountArgs>(
|
|
args?: Prisma.Subset<T, EntityGroupCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EntityGroupCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a EntityGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityGroupAggregateArgs} 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 EntityGroupAggregateArgs>(args: Prisma.Subset<T, EntityGroupAggregateArgs>): Prisma.PrismaPromise<GetEntityGroupAggregateType<T>>
|
|
|
|
/**
|
|
* Group by EntityGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityGroupGroupByArgs} 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 EntityGroupGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EntityGroupGroupByArgs['orderBy'] }
|
|
: { orderBy?: EntityGroupGroupByArgs['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, EntityGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the EntityGroup model
|
|
*/
|
|
readonly fields: EntityGroupFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for EntityGroup.
|
|
* 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__EntityGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
entities<T extends Prisma.EntityGroup$entitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityGroup$entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
configurationRows<T extends Prisma.EntityGroup$configurationRowsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityGroup$configurationRowsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupConfigurationPayload<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 EntityGroup model
|
|
*/
|
|
export interface EntityGroupFieldRefs {
|
|
readonly id: Prisma.FieldRef<"EntityGroup", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"EntityGroup", 'DateTime'>
|
|
readonly order: Prisma.FieldRef<"EntityGroup", 'Int'>
|
|
readonly slug: Prisma.FieldRef<"EntityGroup", 'String'>
|
|
readonly title: Prisma.FieldRef<"EntityGroup", 'String'>
|
|
readonly icon: Prisma.FieldRef<"EntityGroup", 'String'>
|
|
readonly collapsible: Prisma.FieldRef<"EntityGroup", 'Boolean'>
|
|
readonly section: Prisma.FieldRef<"EntityGroup", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* EntityGroup findUnique
|
|
*/
|
|
export type EntityGroupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityGroup to fetch.
|
|
*/
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityGroup findUniqueOrThrow
|
|
*/
|
|
export type EntityGroupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityGroup to fetch.
|
|
*/
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityGroup findFirst
|
|
*/
|
|
export type EntityGroupFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityGroup to fetch.
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityGroupOrderByWithRelationInput | Prisma.EntityGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityGroups.
|
|
*/
|
|
cursor?: Prisma.EntityGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityGroups 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` EntityGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityGroups.
|
|
*/
|
|
distinct?: Prisma.EntityGroupScalarFieldEnum | Prisma.EntityGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityGroup findFirstOrThrow
|
|
*/
|
|
export type EntityGroupFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityGroup to fetch.
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityGroupOrderByWithRelationInput | Prisma.EntityGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for EntityGroups.
|
|
*/
|
|
cursor?: Prisma.EntityGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityGroups 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` EntityGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityGroups.
|
|
*/
|
|
distinct?: Prisma.EntityGroupScalarFieldEnum | Prisma.EntityGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityGroup findMany
|
|
*/
|
|
export type EntityGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EntityGroups to fetch.
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of EntityGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityGroupOrderByWithRelationInput | Prisma.EntityGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing EntityGroups.
|
|
*/
|
|
cursor?: Prisma.EntityGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` EntityGroups 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` EntityGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of EntityGroups.
|
|
*/
|
|
distinct?: Prisma.EntityGroupScalarFieldEnum | Prisma.EntityGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityGroup create
|
|
*/
|
|
export type EntityGroupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EntityGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityGroupCreateInput, Prisma.EntityGroupUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityGroup createMany
|
|
*/
|
|
export type EntityGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EntityGroups.
|
|
*/
|
|
data: Prisma.EntityGroupCreateManyInput | Prisma.EntityGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EntityGroup createManyAndReturn
|
|
*/
|
|
export type EntityGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many EntityGroups.
|
|
*/
|
|
data: Prisma.EntityGroupCreateManyInput | Prisma.EntityGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EntityGroup update
|
|
*/
|
|
export type EntityGroupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EntityGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityGroupUpdateInput, Prisma.EntityGroupUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EntityGroup to update.
|
|
*/
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityGroup updateMany
|
|
*/
|
|
export type EntityGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EntityGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityGroupUpdateManyMutationInput, Prisma.EntityGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityGroups to update
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* Limit how many EntityGroups to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityGroup updateManyAndReturn
|
|
*/
|
|
export type EntityGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EntityGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityGroupUpdateManyMutationInput, Prisma.EntityGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EntityGroups to update
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* Limit how many EntityGroups to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityGroup upsert
|
|
*/
|
|
export type EntityGroupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the EntityGroup to update in case it exists.
|
|
*/
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
/**
|
|
* In case the EntityGroup found by the `where` argument doesn't exist, create a new EntityGroup with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.EntityGroupCreateInput, Prisma.EntityGroupUncheckedCreateInput>
|
|
/**
|
|
* In case the EntityGroup was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EntityGroupUpdateInput, Prisma.EntityGroupUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EntityGroup delete
|
|
*/
|
|
export type EntityGroupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EntityGroup to delete.
|
|
*/
|
|
where: Prisma.EntityGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EntityGroup deleteMany
|
|
*/
|
|
export type EntityGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EntityGroups to delete
|
|
*/
|
|
where?: Prisma.EntityGroupWhereInput
|
|
/**
|
|
* Limit how many EntityGroups to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EntityGroup.entities
|
|
*/
|
|
export type EntityGroup$entitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroupEntity
|
|
*/
|
|
select?: Prisma.EntityGroupEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroupEntity
|
|
*/
|
|
omit?: Prisma.EntityGroupEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupEntityInclude<ExtArgs> | null
|
|
where?: Prisma.EntityGroupEntityWhereInput
|
|
orderBy?: Prisma.EntityGroupEntityOrderByWithRelationInput | Prisma.EntityGroupEntityOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityGroupEntityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityGroupEntityScalarFieldEnum | Prisma.EntityGroupEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityGroup.configurationRows
|
|
*/
|
|
export type EntityGroup$configurationRowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroupConfiguration
|
|
*/
|
|
select?: Prisma.EntityGroupConfigurationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroupConfiguration
|
|
*/
|
|
omit?: Prisma.EntityGroupConfigurationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupConfigurationInclude<ExtArgs> | null
|
|
where?: Prisma.EntityGroupConfigurationWhereInput
|
|
orderBy?: Prisma.EntityGroupConfigurationOrderByWithRelationInput | Prisma.EntityGroupConfigurationOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityGroupConfigurationWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityGroupConfigurationScalarFieldEnum | Prisma.EntityGroupConfigurationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* EntityGroup without action
|
|
*/
|
|
export type EntityGroupDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroup
|
|
*/
|
|
select?: Prisma.EntityGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroup
|
|
*/
|
|
omit?: Prisma.EntityGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupInclude<ExtArgs> | null
|
|
}
|