Files
shumai/packages/db/src/generated/prisma/models/MetadataField.ts
T

1671 lines
67 KiB
TypeScript
Generated

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `MetadataField` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as PJTG from '../pjtg';
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model MetadataField
*
*/
export type MetadataFieldModel = runtime.Types.Result.DefaultSelection<Prisma.$MetadataFieldPayload>
export type AggregateMetadataField = {
_count: MetadataFieldCountAggregateOutputType | null
_min: MetadataFieldMinAggregateOutputType | null
_max: MetadataFieldMaxAggregateOutputType | null
}
export type MetadataFieldMinAggregateOutputType = {
id: string | null
key: string | null
scope: $Enums.MetadataFieldScope | null
readOnly: boolean | null
aiAutofill: boolean | null
description: string | null
teamId: string | null
projectId: string | null
}
export type MetadataFieldMaxAggregateOutputType = {
id: string | null
key: string | null
scope: $Enums.MetadataFieldScope | null
readOnly: boolean | null
aiAutofill: boolean | null
description: string | null
teamId: string | null
projectId: string | null
}
export type MetadataFieldCountAggregateOutputType = {
id: number
key: number
scope: number
config:PrismaJson.FieldConfig
readOnly: number
aiAutofill: number
description: number
teamId: number
projectId: number
_all: number
}
export type MetadataFieldMinAggregateInputType = {
id?: true
key?: true
scope?: true
readOnly?: true
aiAutofill?: true
description?: true
teamId?: true
projectId?: true
}
export type MetadataFieldMaxAggregateInputType = {
id?: true
key?: true
scope?: true
readOnly?: true
aiAutofill?: true
description?: true
teamId?: true
projectId?: true
}
export type MetadataFieldCountAggregateInputType = {
id?: true
key?: true
scope?: true
config?: true
readOnly?: true
aiAutofill?: true
description?: true
teamId?: true
projectId?: true
_all?: true
}
export type MetadataFieldAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which MetadataField to aggregate.
*/
where?: Prisma.MetadataFieldWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of MetadataFields to fetch.
*/
orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.MetadataFieldWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` MetadataFields 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` MetadataFields.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned MetadataFields
**/
_count?: true | MetadataFieldCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: MetadataFieldMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: MetadataFieldMaxAggregateInputType
}
export type GetMetadataFieldAggregateType<T extends MetadataFieldAggregateArgs> = {
[P in keyof T & keyof AggregateMetadataField]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateMetadataField[P]>
: Prisma.GetScalarType<T[P], AggregateMetadataField[P]>
}
export type MetadataFieldGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.MetadataFieldWhereInput
orderBy?: Prisma.MetadataFieldOrderByWithAggregationInput | Prisma.MetadataFieldOrderByWithAggregationInput[]
by: Prisma.MetadataFieldScalarFieldEnum[] | Prisma.MetadataFieldScalarFieldEnum
having?: Prisma.MetadataFieldScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: MetadataFieldCountAggregateInputType | true
_min?: MetadataFieldMinAggregateInputType
_max?: MetadataFieldMaxAggregateInputType
}
export type MetadataFieldGroupByOutputType = {
id: string
key: string
scope: $Enums.MetadataFieldScope | null
config:PrismaJson.FieldConfig | null
readOnly: boolean
aiAutofill: boolean
description: string
teamId: string | null
projectId: string | null
_count: MetadataFieldCountAggregateOutputType | null
_min: MetadataFieldMinAggregateOutputType | null
_max: MetadataFieldMaxAggregateOutputType | null
}
export type GetMetadataFieldGroupByPayload<T extends MetadataFieldGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<MetadataFieldGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof MetadataFieldGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], MetadataFieldGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], MetadataFieldGroupByOutputType[P]>
}
>
>
export type MetadataFieldWhereInput = {
AND?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[]
OR?: Prisma.MetadataFieldWhereInput[]
NOT?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[]
id?: Prisma.StringFilter<"MetadataField"> | string
key?: Prisma.StringFilter<"MetadataField"> | string
scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null
config?: Prisma.JsonNullableFilter<"MetadataField">
readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean
aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean
description?: Prisma.StringFilter<"MetadataField"> | string
teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
team?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null
project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
}
export type MetadataFieldOrderByWithRelationInput = {
id?: Prisma.SortOrder
key?: Prisma.SortOrder
scope?: Prisma.SortOrderInput | Prisma.SortOrder
config?: Prisma.SortOrderInput | Prisma.SortOrder
readOnly?: Prisma.SortOrder
aiAutofill?: Prisma.SortOrder
description?: Prisma.SortOrder
teamId?: Prisma.SortOrderInput | Prisma.SortOrder
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
team?: Prisma.TeamOrderByWithRelationInput
project?: Prisma.ProjectOrderByWithRelationInput
}
export type MetadataFieldWhereUniqueInput = Prisma.AtLeast<{
id?: string
key?: string
AND?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[]
OR?: Prisma.MetadataFieldWhereInput[]
NOT?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[]
scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null
config?: Prisma.JsonNullableFilter<"MetadataField">
readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean
aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean
description?: Prisma.StringFilter<"MetadataField"> | string
teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
team?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null
project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
}, "id" | "key">
export type MetadataFieldOrderByWithAggregationInput = {
id?: Prisma.SortOrder
key?: Prisma.SortOrder
scope?: Prisma.SortOrderInput | Prisma.SortOrder
config?: Prisma.SortOrderInput | Prisma.SortOrder
readOnly?: Prisma.SortOrder
aiAutofill?: Prisma.SortOrder
description?: Prisma.SortOrder
teamId?: Prisma.SortOrderInput | Prisma.SortOrder
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.MetadataFieldCountOrderByAggregateInput
_max?: Prisma.MetadataFieldMaxOrderByAggregateInput
_min?: Prisma.MetadataFieldMinOrderByAggregateInput
}
export type MetadataFieldScalarWhereWithAggregatesInput = {
AND?: Prisma.MetadataFieldScalarWhereWithAggregatesInput | Prisma.MetadataFieldScalarWhereWithAggregatesInput[]
OR?: Prisma.MetadataFieldScalarWhereWithAggregatesInput[]
NOT?: Prisma.MetadataFieldScalarWhereWithAggregatesInput | Prisma.MetadataFieldScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string
key?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string
scope?: Prisma.EnumMetadataFieldScopeNullableWithAggregatesFilter<"MetadataField"> | $Enums.MetadataFieldScope | null
config?: Prisma.JsonNullableWithAggregatesFilter<"MetadataField">
readOnly?: Prisma.BoolWithAggregatesFilter<"MetadataField"> | boolean
aiAutofill?: Prisma.BoolWithAggregatesFilter<"MetadataField"> | boolean
description?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string
teamId?: Prisma.StringNullableWithAggregatesFilter<"MetadataField"> | string | null
projectId?: Prisma.StringNullableWithAggregatesFilter<"MetadataField"> | string | null
}
export type MetadataFieldCreateInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
team?: Prisma.TeamCreateNestedOneWithoutMetadataFieldsInput
project?: Prisma.ProjectCreateNestedOneWithoutMetadataFieldsInput
}
export type MetadataFieldUncheckedCreateInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
teamId?: string | null
projectId?: string | null
}
export type MetadataFieldUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
team?: Prisma.TeamUpdateOneWithoutMetadataFieldsNestedInput
project?: Prisma.ProjectUpdateOneWithoutMetadataFieldsNestedInput
}
export type MetadataFieldUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldCreateManyInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
teamId?: string | null
projectId?: string | null
}
export type MetadataFieldUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
}
export type MetadataFieldUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldListRelationFilter = {
every?: Prisma.MetadataFieldWhereInput
some?: Prisma.MetadataFieldWhereInput
none?: Prisma.MetadataFieldWhereInput
}
export type MetadataFieldOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type MetadataFieldCountOrderByAggregateInput = {
id?: Prisma.SortOrder
key?: Prisma.SortOrder
scope?: Prisma.SortOrder
config?: Prisma.SortOrder
readOnly?: Prisma.SortOrder
aiAutofill?: Prisma.SortOrder
description?: Prisma.SortOrder
teamId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type MetadataFieldMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
key?: Prisma.SortOrder
scope?: Prisma.SortOrder
readOnly?: Prisma.SortOrder
aiAutofill?: Prisma.SortOrder
description?: Prisma.SortOrder
teamId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type MetadataFieldMinOrderByAggregateInput = {
id?: Prisma.SortOrder
key?: Prisma.SortOrder
scope?: Prisma.SortOrder
readOnly?: Prisma.SortOrder
aiAutofill?: Prisma.SortOrder
description?: Prisma.SortOrder
teamId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type MetadataFieldCreateNestedManyWithoutTeamInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput> | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[]
createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
}
export type MetadataFieldUncheckedCreateNestedManyWithoutTeamInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput> | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[]
createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
}
export type MetadataFieldUpdateManyWithoutTeamNestedInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput> | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[]
upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput[]
createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope
set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput[]
updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput[]
deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
}
export type MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput> | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[]
upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput[]
createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope
set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput[]
updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput[]
deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
}
export type MetadataFieldCreateNestedManyWithoutProjectInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput> | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[]
createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
}
export type MetadataFieldUncheckedCreateNestedManyWithoutProjectInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput> | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[]
createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
}
export type MetadataFieldUpdateManyWithoutProjectNestedInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput> | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[]
upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput[]
createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope
set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput[]
updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput[]
deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
}
export type MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput = {
create?: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput> | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[]
connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[]
upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput[]
createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope
set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[]
update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput[]
updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput[]
deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
}
export type NullableEnumMetadataFieldScopeFieldUpdateOperationsInput = {
set?: $Enums.MetadataFieldScope | null
}
export type MetadataFieldCreateWithoutTeamInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
project?: Prisma.ProjectCreateNestedOneWithoutMetadataFieldsInput
}
export type MetadataFieldUncheckedCreateWithoutTeamInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
projectId?: string | null
}
export type MetadataFieldCreateOrConnectWithoutTeamInput = {
where: Prisma.MetadataFieldWhereUniqueInput
create: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput>
}
export type MetadataFieldCreateManyTeamInputEnvelope = {
data: Prisma.MetadataFieldCreateManyTeamInput | Prisma.MetadataFieldCreateManyTeamInput[]
skipDuplicates?: boolean
}
export type MetadataFieldUpsertWithWhereUniqueWithoutTeamInput = {
where: Prisma.MetadataFieldWhereUniqueInput
update: Prisma.XOR<Prisma.MetadataFieldUpdateWithoutTeamInput, Prisma.MetadataFieldUncheckedUpdateWithoutTeamInput>
create: Prisma.XOR<Prisma.MetadataFieldCreateWithoutTeamInput, Prisma.MetadataFieldUncheckedCreateWithoutTeamInput>
}
export type MetadataFieldUpdateWithWhereUniqueWithoutTeamInput = {
where: Prisma.MetadataFieldWhereUniqueInput
data: Prisma.XOR<Prisma.MetadataFieldUpdateWithoutTeamInput, Prisma.MetadataFieldUncheckedUpdateWithoutTeamInput>
}
export type MetadataFieldUpdateManyWithWhereWithoutTeamInput = {
where: Prisma.MetadataFieldScalarWhereInput
data: Prisma.XOR<Prisma.MetadataFieldUpdateManyMutationInput, Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamInput>
}
export type MetadataFieldScalarWhereInput = {
AND?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
OR?: Prisma.MetadataFieldScalarWhereInput[]
NOT?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[]
id?: Prisma.StringFilter<"MetadataField"> | string
key?: Prisma.StringFilter<"MetadataField"> | string
scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null
config?: Prisma.JsonNullableFilter<"MetadataField">
readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean
aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean
description?: Prisma.StringFilter<"MetadataField"> | string
teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null
}
export type MetadataFieldCreateWithoutProjectInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
team?: Prisma.TeamCreateNestedOneWithoutMetadataFieldsInput
}
export type MetadataFieldUncheckedCreateWithoutProjectInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
teamId?: string | null
}
export type MetadataFieldCreateOrConnectWithoutProjectInput = {
where: Prisma.MetadataFieldWhereUniqueInput
create: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput>
}
export type MetadataFieldCreateManyProjectInputEnvelope = {
data: Prisma.MetadataFieldCreateManyProjectInput | Prisma.MetadataFieldCreateManyProjectInput[]
skipDuplicates?: boolean
}
export type MetadataFieldUpsertWithWhereUniqueWithoutProjectInput = {
where: Prisma.MetadataFieldWhereUniqueInput
update: Prisma.XOR<Prisma.MetadataFieldUpdateWithoutProjectInput, Prisma.MetadataFieldUncheckedUpdateWithoutProjectInput>
create: Prisma.XOR<Prisma.MetadataFieldCreateWithoutProjectInput, Prisma.MetadataFieldUncheckedCreateWithoutProjectInput>
}
export type MetadataFieldUpdateWithWhereUniqueWithoutProjectInput = {
where: Prisma.MetadataFieldWhereUniqueInput
data: Prisma.XOR<Prisma.MetadataFieldUpdateWithoutProjectInput, Prisma.MetadataFieldUncheckedUpdateWithoutProjectInput>
}
export type MetadataFieldUpdateManyWithWhereWithoutProjectInput = {
where: Prisma.MetadataFieldScalarWhereInput
data: Prisma.XOR<Prisma.MetadataFieldUpdateManyMutationInput, Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectInput>
}
export type MetadataFieldCreateManyTeamInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
projectId?: string | null
}
export type MetadataFieldUpdateWithoutTeamInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
project?: Prisma.ProjectUpdateOneWithoutMetadataFieldsNestedInput
}
export type MetadataFieldUncheckedUpdateWithoutTeamInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldUncheckedUpdateManyWithoutTeamInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldCreateManyProjectInput = {
id?: string
key: string
scope?: $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: boolean
aiAutofill?: boolean
description?: string
teamId?: string | null
}
export type MetadataFieldUpdateWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
team?: Prisma.TeamUpdateOneWithoutMetadataFieldsNestedInput
}
export type MetadataFieldUncheckedUpdateWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldUncheckedUpdateManyWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
key?: Prisma.StringFieldUpdateOperationsInput | string
scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null
config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean
description?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type MetadataFieldSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
key?: boolean
scope?: boolean
config?: boolean
readOnly?: boolean
aiAutofill?: boolean
description?: boolean
teamId?: boolean
projectId?: boolean
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}, ExtArgs["result"]["metadataField"]>
export type MetadataFieldSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
key?: boolean
scope?: boolean
config?: boolean
readOnly?: boolean
aiAutofill?: boolean
description?: boolean
teamId?: boolean
projectId?: boolean
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}, ExtArgs["result"]["metadataField"]>
export type MetadataFieldSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
key?: boolean
scope?: boolean
config?: boolean
readOnly?: boolean
aiAutofill?: boolean
description?: boolean
teamId?: boolean
projectId?: boolean
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}, ExtArgs["result"]["metadataField"]>
export type MetadataFieldSelectScalar = {
id?: boolean
key?: boolean
scope?: boolean
config?: boolean
readOnly?: boolean
aiAutofill?: boolean
description?: boolean
teamId?: boolean
projectId?: boolean
}
export type MetadataFieldOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "scope" | "config" | "readOnly" | "aiAutofill" | "description" | "teamId" | "projectId", ExtArgs["result"]["metadataField"]>
export type MetadataFieldInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}
export type MetadataFieldIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}
export type MetadataFieldIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
team?: boolean | Prisma.MetadataField$teamArgs<ExtArgs>
project?: boolean | Prisma.MetadataField$projectArgs<ExtArgs>
}
export type $MetadataFieldPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "MetadataField"
objects: {
team: Prisma.$TeamPayload<ExtArgs> | null
project: Prisma.$ProjectPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
key: string
scope: $Enums.MetadataFieldScope | null
/**
* [FieldConfig]
*/
config:PrismaJson.FieldConfig | null
readOnly: boolean
aiAutofill: boolean
description: string
teamId: string | null
projectId: string | null
}, ExtArgs["result"]["metadataField"]>
composites: {}
}
export type MetadataFieldGetPayload<S extends boolean | null | undefined | MetadataFieldDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload, S>
export type MetadataFieldCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<MetadataFieldFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: MetadataFieldCountAggregateInputType | true
}
export interface MetadataFieldDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MetadataField'], meta: { name: 'MetadataField' } }
/**
* Find zero or one MetadataField that matches the filter.
* @param {MetadataFieldFindUniqueArgs} args - Arguments to find a MetadataField
* @example
* // Get one MetadataField
* const metadataField = await prisma.metadataField.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends MetadataFieldFindUniqueArgs>(args: Prisma.SelectSubset<T, MetadataFieldFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one MetadataField that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {MetadataFieldFindUniqueOrThrowArgs} args - Arguments to find a MetadataField
* @example
* // Get one MetadataField
* const metadataField = await prisma.metadataField.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends MetadataFieldFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MetadataFieldFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first MetadataField 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 {MetadataFieldFindFirstArgs} args - Arguments to find a MetadataField
* @example
* // Get one MetadataField
* const metadataField = await prisma.metadataField.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends MetadataFieldFindFirstArgs>(args?: Prisma.SelectSubset<T, MetadataFieldFindFirstArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first MetadataField 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 {MetadataFieldFindFirstOrThrowArgs} args - Arguments to find a MetadataField
* @example
* // Get one MetadataField
* const metadataField = await prisma.metadataField.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends MetadataFieldFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MetadataFieldFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more MetadataFields 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 {MetadataFieldFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all MetadataFields
* const metadataFields = await prisma.metadataField.findMany()
*
* // Get first 10 MetadataFields
* const metadataFields = await prisma.metadataField.findMany({ take: 10 })
*
* // Only select the `id`
* const metadataFieldWithIdOnly = await prisma.metadataField.findMany({ select: { id: true } })
*
*/
findMany<T extends MetadataFieldFindManyArgs>(args?: Prisma.SelectSubset<T, MetadataFieldFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a MetadataField.
* @param {MetadataFieldCreateArgs} args - Arguments to create a MetadataField.
* @example
* // Create one MetadataField
* const MetadataField = await prisma.metadataField.create({
* data: {
* // ... data to create a MetadataField
* }
* })
*
*/
create<T extends MetadataFieldCreateArgs>(args: Prisma.SelectSubset<T, MetadataFieldCreateArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many MetadataFields.
* @param {MetadataFieldCreateManyArgs} args - Arguments to create many MetadataFields.
* @example
* // Create many MetadataFields
* const metadataField = await prisma.metadataField.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends MetadataFieldCreateManyArgs>(args?: Prisma.SelectSubset<T, MetadataFieldCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many MetadataFields and returns the data saved in the database.
* @param {MetadataFieldCreateManyAndReturnArgs} args - Arguments to create many MetadataFields.
* @example
* // Create many MetadataFields
* const metadataField = await prisma.metadataField.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many MetadataFields and only return the `id`
* const metadataFieldWithIdOnly = await prisma.metadataField.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 MetadataFieldCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MetadataFieldCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a MetadataField.
* @param {MetadataFieldDeleteArgs} args - Arguments to delete one MetadataField.
* @example
* // Delete one MetadataField
* const MetadataField = await prisma.metadataField.delete({
* where: {
* // ... filter to delete one MetadataField
* }
* })
*
*/
delete<T extends MetadataFieldDeleteArgs>(args: Prisma.SelectSubset<T, MetadataFieldDeleteArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one MetadataField.
* @param {MetadataFieldUpdateArgs} args - Arguments to update one MetadataField.
* @example
* // Update one MetadataField
* const metadataField = await prisma.metadataField.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends MetadataFieldUpdateArgs>(args: Prisma.SelectSubset<T, MetadataFieldUpdateArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more MetadataFields.
* @param {MetadataFieldDeleteManyArgs} args - Arguments to filter MetadataFields to delete.
* @example
* // Delete a few MetadataFields
* const { count } = await prisma.metadataField.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends MetadataFieldDeleteManyArgs>(args?: Prisma.SelectSubset<T, MetadataFieldDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more MetadataFields.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {MetadataFieldUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many MetadataFields
* const metadataField = await prisma.metadataField.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends MetadataFieldUpdateManyArgs>(args: Prisma.SelectSubset<T, MetadataFieldUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more MetadataFields and returns the data updated in the database.
* @param {MetadataFieldUpdateManyAndReturnArgs} args - Arguments to update many MetadataFields.
* @example
* // Update many MetadataFields
* const metadataField = await prisma.metadataField.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more MetadataFields and only return the `id`
* const metadataFieldWithIdOnly = await prisma.metadataField.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 MetadataFieldUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MetadataFieldUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one MetadataField.
* @param {MetadataFieldUpsertArgs} args - Arguments to update or create a MetadataField.
* @example
* // Update or create a MetadataField
* const metadataField = await prisma.metadataField.upsert({
* create: {
* // ... data to create a MetadataField
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the MetadataField we want to update
* }
* })
*/
upsert<T extends MetadataFieldUpsertArgs>(args: Prisma.SelectSubset<T, MetadataFieldUpsertArgs<ExtArgs>>): Prisma.Prisma__MetadataFieldClient<runtime.Types.Result.GetResult<Prisma.$MetadataFieldPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of MetadataFields.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {MetadataFieldCountArgs} args - Arguments to filter MetadataFields to count.
* @example
* // Count the number of MetadataFields
* const count = await prisma.metadataField.count({
* where: {
* // ... the filter for the MetadataFields we want to count
* }
* })
**/
count<T extends MetadataFieldCountArgs>(
args?: Prisma.Subset<T, MetadataFieldCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], MetadataFieldCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a MetadataField.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {MetadataFieldAggregateArgs} 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 MetadataFieldAggregateArgs>(args: Prisma.Subset<T, MetadataFieldAggregateArgs>): Prisma.PrismaPromise<GetMetadataFieldAggregateType<T>>
/**
* Group by MetadataField.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {MetadataFieldGroupByArgs} 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 MetadataFieldGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: MetadataFieldGroupByArgs['orderBy'] }
: { orderBy?: MetadataFieldGroupByArgs['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, MetadataFieldGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMetadataFieldGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the MetadataField model
*/
readonly fields: MetadataFieldFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for MetadataField.
* 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__MetadataFieldClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
team<T extends Prisma.MetadataField$teamArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MetadataField$teamArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
project<T extends Prisma.MetadataField$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MetadataField$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<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 MetadataField model
*/
export interface MetadataFieldFieldRefs {
readonly id: Prisma.FieldRef<"MetadataField", 'String'>
readonly key: Prisma.FieldRef<"MetadataField", 'String'>
readonly scope: Prisma.FieldRef<"MetadataField", 'MetadataFieldScope'>
readonly config: Prisma.FieldRef<"MetadataField", 'Json'>
readonly readOnly: Prisma.FieldRef<"MetadataField", 'Boolean'>
readonly aiAutofill: Prisma.FieldRef<"MetadataField", 'Boolean'>
readonly description: Prisma.FieldRef<"MetadataField", 'String'>
readonly teamId: Prisma.FieldRef<"MetadataField", 'String'>
readonly projectId: Prisma.FieldRef<"MetadataField", 'String'>
}
// Custom InputTypes
/**
* MetadataField findUnique
*/
export type MetadataFieldFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter, which MetadataField to fetch.
*/
where: Prisma.MetadataFieldWhereUniqueInput
}
/**
* MetadataField findUniqueOrThrow
*/
export type MetadataFieldFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter, which MetadataField to fetch.
*/
where: Prisma.MetadataFieldWhereUniqueInput
}
/**
* MetadataField findFirst
*/
export type MetadataFieldFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter, which MetadataField to fetch.
*/
where?: Prisma.MetadataFieldWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of MetadataFields to fetch.
*/
orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for MetadataFields.
*/
cursor?: Prisma.MetadataFieldWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` MetadataFields 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` MetadataFields.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of MetadataFields.
*/
distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[]
}
/**
* MetadataField findFirstOrThrow
*/
export type MetadataFieldFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter, which MetadataField to fetch.
*/
where?: Prisma.MetadataFieldWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of MetadataFields to fetch.
*/
orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for MetadataFields.
*/
cursor?: Prisma.MetadataFieldWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` MetadataFields 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` MetadataFields.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of MetadataFields.
*/
distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[]
}
/**
* MetadataField findMany
*/
export type MetadataFieldFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter, which MetadataFields to fetch.
*/
where?: Prisma.MetadataFieldWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of MetadataFields to fetch.
*/
orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing MetadataFields.
*/
cursor?: Prisma.MetadataFieldWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` MetadataFields 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` MetadataFields.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of MetadataFields.
*/
distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[]
}
/**
* MetadataField create
*/
export type MetadataFieldCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* The data needed to create a MetadataField.
*/
data: Prisma.XOR<Prisma.MetadataFieldCreateInput, Prisma.MetadataFieldUncheckedCreateInput>
}
/**
* MetadataField createMany
*/
export type MetadataFieldCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many MetadataFields.
*/
data: Prisma.MetadataFieldCreateManyInput | Prisma.MetadataFieldCreateManyInput[]
skipDuplicates?: boolean
}
/**
* MetadataField createManyAndReturn
*/
export type MetadataFieldCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* The data used to create many MetadataFields.
*/
data: Prisma.MetadataFieldCreateManyInput | Prisma.MetadataFieldCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* MetadataField update
*/
export type MetadataFieldUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* The data needed to update a MetadataField.
*/
data: Prisma.XOR<Prisma.MetadataFieldUpdateInput, Prisma.MetadataFieldUncheckedUpdateInput>
/**
* Choose, which MetadataField to update.
*/
where: Prisma.MetadataFieldWhereUniqueInput
}
/**
* MetadataField updateMany
*/
export type MetadataFieldUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update MetadataFields.
*/
data: Prisma.XOR<Prisma.MetadataFieldUpdateManyMutationInput, Prisma.MetadataFieldUncheckedUpdateManyInput>
/**
* Filter which MetadataFields to update
*/
where?: Prisma.MetadataFieldWhereInput
/**
* Limit how many MetadataFields to update.
*/
limit?: number
}
/**
* MetadataField updateManyAndReturn
*/
export type MetadataFieldUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* The data used to update MetadataFields.
*/
data: Prisma.XOR<Prisma.MetadataFieldUpdateManyMutationInput, Prisma.MetadataFieldUncheckedUpdateManyInput>
/**
* Filter which MetadataFields to update
*/
where?: Prisma.MetadataFieldWhereInput
/**
* Limit how many MetadataFields to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* MetadataField upsert
*/
export type MetadataFieldUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* The filter to search for the MetadataField to update in case it exists.
*/
where: Prisma.MetadataFieldWhereUniqueInput
/**
* In case the MetadataField found by the `where` argument doesn't exist, create a new MetadataField with this data.
*/
create: Prisma.XOR<Prisma.MetadataFieldCreateInput, Prisma.MetadataFieldUncheckedCreateInput>
/**
* In case the MetadataField was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.MetadataFieldUpdateInput, Prisma.MetadataFieldUncheckedUpdateInput>
}
/**
* MetadataField delete
*/
export type MetadataFieldDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
/**
* Filter which MetadataField to delete.
*/
where: Prisma.MetadataFieldWhereUniqueInput
}
/**
* MetadataField deleteMany
*/
export type MetadataFieldDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which MetadataFields to delete
*/
where?: Prisma.MetadataFieldWhereInput
/**
* Limit how many MetadataFields to delete.
*/
limit?: number
}
/**
* MetadataField.team
*/
export type MetadataField$teamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Team
*/
select?: Prisma.TeamSelect<ExtArgs> | null
/**
* Omit specific fields from the Team
*/
omit?: Prisma.TeamOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TeamInclude<ExtArgs> | null
where?: Prisma.TeamWhereInput
}
/**
* MetadataField.project
*/
export type MetadataField$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelect<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectInclude<ExtArgs> | null
where?: Prisma.ProjectWhereInput
}
/**
* MetadataField without action
*/
export type MetadataFieldDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the MetadataField
*/
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
/**
* Omit specific fields from the MetadataField
*/
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
}