mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 03:58:27 +00:00
1509 lines
61 KiB
TypeScript
Generated
1509 lines
61 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 `AssetMetadataValue` 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 AssetMetadataValue
|
|
*
|
|
*/
|
|
export type AssetMetadataValueModel = runtime.Types.Result.DefaultSelection<Prisma.$AssetMetadataValuePayload>
|
|
|
|
export type AggregateAssetMetadataValue = {
|
|
_count: AssetMetadataValueCountAggregateOutputType | null
|
|
_avg: AssetMetadataValueAvgAggregateOutputType | null
|
|
_sum: AssetMetadataValueSumAggregateOutputType | null
|
|
_min: AssetMetadataValueMinAggregateOutputType | null
|
|
_max: AssetMetadataValueMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AssetMetadataValueAvgAggregateOutputType = {
|
|
numberValue: number | null
|
|
}
|
|
|
|
export type AssetMetadataValueSumAggregateOutputType = {
|
|
numberValue: number | null
|
|
}
|
|
|
|
export type AssetMetadataValueMinAggregateOutputType = {
|
|
id: string | null
|
|
assetId: string | null
|
|
fieldKey: string | null
|
|
stringValue: string | null
|
|
numberValue: number | null
|
|
booleanValue: boolean | null
|
|
dateValue: Date | null
|
|
}
|
|
|
|
export type AssetMetadataValueMaxAggregateOutputType = {
|
|
id: string | null
|
|
assetId: string | null
|
|
fieldKey: string | null
|
|
stringValue: string | null
|
|
numberValue: number | null
|
|
booleanValue: boolean | null
|
|
dateValue: Date | null
|
|
}
|
|
|
|
export type AssetMetadataValueCountAggregateOutputType = {
|
|
id: number
|
|
assetId: number
|
|
fieldKey: number
|
|
stringValue: number
|
|
numberValue: number
|
|
booleanValue: number
|
|
jsonValue: number
|
|
dateValue: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AssetMetadataValueAvgAggregateInputType = {
|
|
numberValue?: true
|
|
}
|
|
|
|
export type AssetMetadataValueSumAggregateInputType = {
|
|
numberValue?: true
|
|
}
|
|
|
|
export type AssetMetadataValueMinAggregateInputType = {
|
|
id?: true
|
|
assetId?: true
|
|
fieldKey?: true
|
|
stringValue?: true
|
|
numberValue?: true
|
|
booleanValue?: true
|
|
dateValue?: true
|
|
}
|
|
|
|
export type AssetMetadataValueMaxAggregateInputType = {
|
|
id?: true
|
|
assetId?: true
|
|
fieldKey?: true
|
|
stringValue?: true
|
|
numberValue?: true
|
|
booleanValue?: true
|
|
dateValue?: true
|
|
}
|
|
|
|
export type AssetMetadataValueCountAggregateInputType = {
|
|
id?: true
|
|
assetId?: true
|
|
fieldKey?: true
|
|
stringValue?: true
|
|
numberValue?: true
|
|
booleanValue?: true
|
|
jsonValue?: true
|
|
dateValue?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AssetMetadataValueAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AssetMetadataValue to aggregate.
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetMetadataValues to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AssetMetadataValueWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetMetadataValues 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` AssetMetadataValues.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AssetMetadataValues
|
|
**/
|
|
_count?: true | AssetMetadataValueCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AssetMetadataValueAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AssetMetadataValueSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AssetMetadataValueMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AssetMetadataValueMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAssetMetadataValueAggregateType<T extends AssetMetadataValueAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAssetMetadataValue]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAssetMetadataValue[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAssetMetadataValue[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AssetMetadataValueGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
orderBy?: Prisma.AssetMetadataValueOrderByWithAggregationInput | Prisma.AssetMetadataValueOrderByWithAggregationInput[]
|
|
by: Prisma.AssetMetadataValueScalarFieldEnum[] | Prisma.AssetMetadataValueScalarFieldEnum
|
|
having?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AssetMetadataValueCountAggregateInputType | true
|
|
_avg?: AssetMetadataValueAvgAggregateInputType
|
|
_sum?: AssetMetadataValueSumAggregateInputType
|
|
_min?: AssetMetadataValueMinAggregateInputType
|
|
_max?: AssetMetadataValueMaxAggregateInputType
|
|
}
|
|
|
|
export type AssetMetadataValueGroupByOutputType = {
|
|
id: string
|
|
assetId: string
|
|
fieldKey: string
|
|
stringValue: string | null
|
|
numberValue: number | null
|
|
booleanValue: boolean | null
|
|
jsonValue:unknown | null
|
|
dateValue: Date | null
|
|
_count: AssetMetadataValueCountAggregateOutputType | null
|
|
_avg: AssetMetadataValueAvgAggregateOutputType | null
|
|
_sum: AssetMetadataValueSumAggregateOutputType | null
|
|
_min: AssetMetadataValueMinAggregateOutputType | null
|
|
_max: AssetMetadataValueMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAssetMetadataValueGroupByPayload<T extends AssetMetadataValueGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AssetMetadataValueGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AssetMetadataValueGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AssetMetadataValueGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AssetMetadataValueGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AssetMetadataValueWhereInput = {
|
|
AND?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[]
|
|
OR?: Prisma.AssetMetadataValueWhereInput[]
|
|
NOT?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[]
|
|
id?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null
|
|
numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null
|
|
booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null
|
|
jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue">
|
|
dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
}
|
|
|
|
export type AssetMetadataValueOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
fieldKey?: Prisma.SortOrder
|
|
stringValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
numberValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
booleanValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
jsonValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dateValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
asset?: Prisma.AssetOrderByWithRelationInput
|
|
}
|
|
|
|
export type AssetMetadataValueWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
assetId_fieldKey?: Prisma.AssetMetadataValueAssetIdFieldKeyCompoundUniqueInput
|
|
AND?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[]
|
|
OR?: Prisma.AssetMetadataValueWhereInput[]
|
|
NOT?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[]
|
|
assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null
|
|
numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null
|
|
booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null
|
|
jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue">
|
|
dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
}, "id" | "assetId_fieldKey">
|
|
|
|
export type AssetMetadataValueOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
fieldKey?: Prisma.SortOrder
|
|
stringValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
numberValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
booleanValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
jsonValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dateValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AssetMetadataValueCountOrderByAggregateInput
|
|
_avg?: Prisma.AssetMetadataValueAvgOrderByAggregateInput
|
|
_max?: Prisma.AssetMetadataValueMaxOrderByAggregateInput
|
|
_min?: Prisma.AssetMetadataValueMinOrderByAggregateInput
|
|
_sum?: Prisma.AssetMetadataValueSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AssetMetadataValueScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput | Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput | Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string
|
|
assetId?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string
|
|
fieldKey?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string
|
|
stringValue?: Prisma.StringNullableWithAggregatesFilter<"AssetMetadataValue"> | string | null
|
|
numberValue?: Prisma.FloatNullableWithAggregatesFilter<"AssetMetadataValue"> | number | null
|
|
booleanValue?: Prisma.BoolNullableWithAggregatesFilter<"AssetMetadataValue"> | boolean | null
|
|
jsonValue?: Prisma.JsonNullableWithAggregatesFilter<"AssetMetadataValue">
|
|
dateValue?: Prisma.DateTimeNullableWithAggregatesFilter<"AssetMetadataValue"> | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueCreateInput = {
|
|
id?: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
asset: Prisma.AssetCreateNestedOneWithoutMetadataValuesInput
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedCreateInput = {
|
|
id?: string
|
|
assetId: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
asset?: Prisma.AssetUpdateOneRequiredWithoutMetadataValuesNestedInput
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueCreateManyInput = {
|
|
id?: string
|
|
assetId: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueListRelationFilter = {
|
|
every?: Prisma.AssetMetadataValueWhereInput
|
|
some?: Prisma.AssetMetadataValueWhereInput
|
|
none?: Prisma.AssetMetadataValueWhereInput
|
|
}
|
|
|
|
export type AssetMetadataValueOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueAssetIdFieldKeyCompoundUniqueInput = {
|
|
assetId: string
|
|
fieldKey: string
|
|
}
|
|
|
|
export type AssetMetadataValueCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
fieldKey?: Prisma.SortOrder
|
|
stringValue?: Prisma.SortOrder
|
|
numberValue?: Prisma.SortOrder
|
|
booleanValue?: Prisma.SortOrder
|
|
jsonValue?: Prisma.SortOrder
|
|
dateValue?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueAvgOrderByAggregateInput = {
|
|
numberValue?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
fieldKey?: Prisma.SortOrder
|
|
stringValue?: Prisma.SortOrder
|
|
numberValue?: Prisma.SortOrder
|
|
booleanValue?: Prisma.SortOrder
|
|
dateValue?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
fieldKey?: Prisma.SortOrder
|
|
stringValue?: Prisma.SortOrder
|
|
numberValue?: Prisma.SortOrder
|
|
booleanValue?: Prisma.SortOrder
|
|
dateValue?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueSumOrderByAggregateInput = {
|
|
numberValue?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetMetadataValueCreateNestedManyWithoutAssetInput = {
|
|
create?: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput> | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput = {
|
|
create?: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput> | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateManyWithoutAssetNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput> | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[]
|
|
upsert?: Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
delete?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
update?: Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?: Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput | Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput> | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[]
|
|
upsert?: Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
delete?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[]
|
|
update?: Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?: Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput | Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[]
|
|
}
|
|
|
|
export type NullableFloatFieldUpdateOperationsInput = {
|
|
set?: number | null
|
|
increment?: number
|
|
decrement?: number
|
|
multiply?: number
|
|
divide?: number
|
|
}
|
|
|
|
export type NullableBoolFieldUpdateOperationsInput = {
|
|
set?: boolean | null
|
|
}
|
|
|
|
export type AssetMetadataValueCreateWithoutAssetInput = {
|
|
id?: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedCreateWithoutAssetInput = {
|
|
id?: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueCreateOrConnectWithoutAssetInput = {
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetMetadataValueCreateManyAssetInputEnvelope = {
|
|
data: Prisma.AssetMetadataValueCreateManyAssetInput | Prisma.AssetMetadataValueCreateManyAssetInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AssetMetadataValueUpdateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedUpdateWithoutAssetInput>
|
|
create: Prisma.XOR<Prisma.AssetMetadataValueCreateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueUpdateWithoutAssetInput, Prisma.AssetMetadataValueUncheckedUpdateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateManyWithWhereWithoutAssetInput = {
|
|
where: Prisma.AssetMetadataValueScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueUpdateManyMutationInput, Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetMetadataValueScalarWhereInput = {
|
|
AND?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[]
|
|
OR?: Prisma.AssetMetadataValueScalarWhereInput[]
|
|
NOT?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string
|
|
stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null
|
|
numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null
|
|
booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null
|
|
jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue">
|
|
dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueCreateManyAssetInput = {
|
|
id?: string
|
|
fieldKey: string
|
|
stringValue?: string | null
|
|
numberValue?: number | null
|
|
booleanValue?: boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AssetMetadataValueUncheckedUpdateManyWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
jsonValue?:unknown | Prisma.NullableJsonNullValueInput
|
|
dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type AssetMetadataValueSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
assetId?: boolean
|
|
fieldKey?: boolean
|
|
stringValue?: boolean
|
|
numberValue?: boolean
|
|
booleanValue?: boolean
|
|
jsonValue?: boolean
|
|
dateValue?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetMetadataValue"]>
|
|
|
|
export type AssetMetadataValueSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
assetId?: boolean
|
|
fieldKey?: boolean
|
|
stringValue?: boolean
|
|
numberValue?: boolean
|
|
booleanValue?: boolean
|
|
jsonValue?: boolean
|
|
dateValue?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetMetadataValue"]>
|
|
|
|
export type AssetMetadataValueSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
assetId?: boolean
|
|
fieldKey?: boolean
|
|
stringValue?: boolean
|
|
numberValue?: boolean
|
|
booleanValue?: boolean
|
|
jsonValue?: boolean
|
|
dateValue?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetMetadataValue"]>
|
|
|
|
export type AssetMetadataValueSelectScalar = {
|
|
id?: boolean
|
|
assetId?: boolean
|
|
fieldKey?: boolean
|
|
stringValue?: boolean
|
|
numberValue?: boolean
|
|
booleanValue?: boolean
|
|
jsonValue?: boolean
|
|
dateValue?: boolean
|
|
}
|
|
|
|
export type AssetMetadataValueOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "assetId" | "fieldKey" | "stringValue" | "numberValue" | "booleanValue" | "jsonValue" | "dateValue", ExtArgs["result"]["assetMetadataValue"]>
|
|
export type AssetMetadataValueInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetMetadataValueIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetMetadataValueIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AssetMetadataValuePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AssetMetadataValue"
|
|
objects: {
|
|
asset: Prisma.$AssetPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
assetId: string
|
|
fieldKey: string
|
|
stringValue: string | null
|
|
numberValue: number | null
|
|
booleanValue: boolean | null
|
|
jsonValue:unknown | null
|
|
dateValue: Date | null
|
|
}, ExtArgs["result"]["assetMetadataValue"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AssetMetadataValueGetPayload<S extends boolean | null | undefined | AssetMetadataValueDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload, S>
|
|
|
|
export type AssetMetadataValueCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AssetMetadataValueFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AssetMetadataValueCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AssetMetadataValueDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AssetMetadataValue'], meta: { name: 'AssetMetadataValue' } }
|
|
/**
|
|
* Find zero or one AssetMetadataValue that matches the filter.
|
|
* @param {AssetMetadataValueFindUniqueArgs} args - Arguments to find a AssetMetadataValue
|
|
* @example
|
|
* // Get one AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AssetMetadataValueFindUniqueArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AssetMetadataValue that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AssetMetadataValueFindUniqueOrThrowArgs} args - Arguments to find a AssetMetadataValue
|
|
* @example
|
|
* // Get one AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AssetMetadataValueFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AssetMetadataValue 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 {AssetMetadataValueFindFirstArgs} args - Arguments to find a AssetMetadataValue
|
|
* @example
|
|
* // Get one AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AssetMetadataValueFindFirstArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueFindFirstArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AssetMetadataValue 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 {AssetMetadataValueFindFirstOrThrowArgs} args - Arguments to find a AssetMetadataValue
|
|
* @example
|
|
* // Get one AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AssetMetadataValueFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AssetMetadataValues 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 {AssetMetadataValueFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AssetMetadataValues
|
|
* const assetMetadataValues = await prisma.assetMetadataValue.findMany()
|
|
*
|
|
* // Get first 10 AssetMetadataValues
|
|
* const assetMetadataValues = await prisma.assetMetadataValue.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AssetMetadataValueFindManyArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AssetMetadataValue.
|
|
* @param {AssetMetadataValueCreateArgs} args - Arguments to create a AssetMetadataValue.
|
|
* @example
|
|
* // Create one AssetMetadataValue
|
|
* const AssetMetadataValue = await prisma.assetMetadataValue.create({
|
|
* data: {
|
|
* // ... data to create a AssetMetadataValue
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AssetMetadataValueCreateArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueCreateArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AssetMetadataValues.
|
|
* @param {AssetMetadataValueCreateManyArgs} args - Arguments to create many AssetMetadataValues.
|
|
* @example
|
|
* // Create many AssetMetadataValues
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AssetMetadataValueCreateManyArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AssetMetadataValues and returns the data saved in the database.
|
|
* @param {AssetMetadataValueCreateManyAndReturnArgs} args - Arguments to create many AssetMetadataValues.
|
|
* @example
|
|
* // Create many AssetMetadataValues
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AssetMetadataValues and only return the `id`
|
|
* const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.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 AssetMetadataValueCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AssetMetadataValue.
|
|
* @param {AssetMetadataValueDeleteArgs} args - Arguments to delete one AssetMetadataValue.
|
|
* @example
|
|
* // Delete one AssetMetadataValue
|
|
* const AssetMetadataValue = await prisma.assetMetadataValue.delete({
|
|
* where: {
|
|
* // ... filter to delete one AssetMetadataValue
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AssetMetadataValueDeleteArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueDeleteArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AssetMetadataValue.
|
|
* @param {AssetMetadataValueUpdateArgs} args - Arguments to update one AssetMetadataValue.
|
|
* @example
|
|
* // Update one AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AssetMetadataValueUpdateArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueUpdateArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AssetMetadataValues.
|
|
* @param {AssetMetadataValueDeleteManyArgs} args - Arguments to filter AssetMetadataValues to delete.
|
|
* @example
|
|
* // Delete a few AssetMetadataValues
|
|
* const { count } = await prisma.assetMetadataValue.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AssetMetadataValueDeleteManyArgs>(args?: Prisma.SelectSubset<T, AssetMetadataValueDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetMetadataValues.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetMetadataValueUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AssetMetadataValues
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AssetMetadataValueUpdateManyArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetMetadataValues and returns the data updated in the database.
|
|
* @param {AssetMetadataValueUpdateManyAndReturnArgs} args - Arguments to update many AssetMetadataValues.
|
|
* @example
|
|
* // Update many AssetMetadataValues
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AssetMetadataValues and only return the `id`
|
|
* const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.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 AssetMetadataValueUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AssetMetadataValue.
|
|
* @param {AssetMetadataValueUpsertArgs} args - Arguments to update or create a AssetMetadataValue.
|
|
* @example
|
|
* // Update or create a AssetMetadataValue
|
|
* const assetMetadataValue = await prisma.assetMetadataValue.upsert({
|
|
* create: {
|
|
* // ... data to create a AssetMetadataValue
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AssetMetadataValue we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AssetMetadataValueUpsertArgs>(args: Prisma.SelectSubset<T, AssetMetadataValueUpsertArgs<ExtArgs>>): Prisma.Prisma__AssetMetadataValueClient<runtime.Types.Result.GetResult<Prisma.$AssetMetadataValuePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AssetMetadataValues.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetMetadataValueCountArgs} args - Arguments to filter AssetMetadataValues to count.
|
|
* @example
|
|
* // Count the number of AssetMetadataValues
|
|
* const count = await prisma.assetMetadataValue.count({
|
|
* where: {
|
|
* // ... the filter for the AssetMetadataValues we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AssetMetadataValueCountArgs>(
|
|
args?: Prisma.Subset<T, AssetMetadataValueCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AssetMetadataValueCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AssetMetadataValue.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetMetadataValueAggregateArgs} 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 AssetMetadataValueAggregateArgs>(args: Prisma.Subset<T, AssetMetadataValueAggregateArgs>): Prisma.PrismaPromise<GetAssetMetadataValueAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AssetMetadataValue.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetMetadataValueGroupByArgs} 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 AssetMetadataValueGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AssetMetadataValueGroupByArgs['orderBy'] }
|
|
: { orderBy?: AssetMetadataValueGroupByArgs['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, AssetMetadataValueGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAssetMetadataValueGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AssetMetadataValue model
|
|
*/
|
|
readonly fields: AssetMetadataValueFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AssetMetadataValue.
|
|
* 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__AssetMetadataValueClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
asset<T extends Prisma.AssetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetDefaultArgs<ExtArgs>>): Prisma.Prisma__AssetClient<runtime.Types.Result.GetResult<Prisma.$AssetPayload<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 AssetMetadataValue model
|
|
*/
|
|
export interface AssetMetadataValueFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AssetMetadataValue", 'String'>
|
|
readonly assetId: Prisma.FieldRef<"AssetMetadataValue", 'String'>
|
|
readonly fieldKey: Prisma.FieldRef<"AssetMetadataValue", 'String'>
|
|
readonly stringValue: Prisma.FieldRef<"AssetMetadataValue", 'String'>
|
|
readonly numberValue: Prisma.FieldRef<"AssetMetadataValue", 'Float'>
|
|
readonly booleanValue: Prisma.FieldRef<"AssetMetadataValue", 'Boolean'>
|
|
readonly jsonValue: Prisma.FieldRef<"AssetMetadataValue", 'Json'>
|
|
readonly dateValue: Prisma.FieldRef<"AssetMetadataValue", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AssetMetadataValue findUnique
|
|
*/
|
|
export type AssetMetadataValueFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetMetadataValue to fetch.
|
|
*/
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue findUniqueOrThrow
|
|
*/
|
|
export type AssetMetadataValueFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetMetadataValue to fetch.
|
|
*/
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue findFirst
|
|
*/
|
|
export type AssetMetadataValueFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetMetadataValue to fetch.
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetMetadataValues to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetMetadataValues.
|
|
*/
|
|
cursor?: Prisma.AssetMetadataValueWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetMetadataValues 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` AssetMetadataValues.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetMetadataValues.
|
|
*/
|
|
distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue findFirstOrThrow
|
|
*/
|
|
export type AssetMetadataValueFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetMetadataValue to fetch.
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetMetadataValues to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetMetadataValues.
|
|
*/
|
|
cursor?: Prisma.AssetMetadataValueWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetMetadataValues 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` AssetMetadataValues.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetMetadataValues.
|
|
*/
|
|
distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue findMany
|
|
*/
|
|
export type AssetMetadataValueFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetMetadataValues to fetch.
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetMetadataValues to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AssetMetadataValues.
|
|
*/
|
|
cursor?: Prisma.AssetMetadataValueWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetMetadataValues 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` AssetMetadataValues.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetMetadataValues.
|
|
*/
|
|
distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue create
|
|
*/
|
|
export type AssetMetadataValueCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AssetMetadataValue.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueCreateInput, Prisma.AssetMetadataValueUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue createMany
|
|
*/
|
|
export type AssetMetadataValueCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AssetMetadataValues.
|
|
*/
|
|
data: Prisma.AssetMetadataValueCreateManyInput | Prisma.AssetMetadataValueCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue createManyAndReturn
|
|
*/
|
|
export type AssetMetadataValueCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AssetMetadataValues.
|
|
*/
|
|
data: Prisma.AssetMetadataValueCreateManyInput | Prisma.AssetMetadataValueCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue update
|
|
*/
|
|
export type AssetMetadataValueUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AssetMetadataValue.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueUpdateInput, Prisma.AssetMetadataValueUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AssetMetadataValue to update.
|
|
*/
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue updateMany
|
|
*/
|
|
export type AssetMetadataValueUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AssetMetadataValues.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueUpdateManyMutationInput, Prisma.AssetMetadataValueUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AssetMetadataValues to update
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* Limit how many AssetMetadataValues to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue updateManyAndReturn
|
|
*/
|
|
export type AssetMetadataValueUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AssetMetadataValues.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetMetadataValueUpdateManyMutationInput, Prisma.AssetMetadataValueUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AssetMetadataValues to update
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* Limit how many AssetMetadataValues to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue upsert
|
|
*/
|
|
export type AssetMetadataValueUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AssetMetadataValue to update in case it exists.
|
|
*/
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
/**
|
|
* In case the AssetMetadataValue found by the `where` argument doesn't exist, create a new AssetMetadataValue with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AssetMetadataValueCreateInput, Prisma.AssetMetadataValueUncheckedCreateInput>
|
|
/**
|
|
* In case the AssetMetadataValue was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AssetMetadataValueUpdateInput, Prisma.AssetMetadataValueUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue delete
|
|
*/
|
|
export type AssetMetadataValueDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AssetMetadataValue to delete.
|
|
*/
|
|
where: Prisma.AssetMetadataValueWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue deleteMany
|
|
*/
|
|
export type AssetMetadataValueDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AssetMetadataValues to delete
|
|
*/
|
|
where?: Prisma.AssetMetadataValueWhereInput
|
|
/**
|
|
* Limit how many AssetMetadataValues to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetMetadataValue without action
|
|
*/
|
|
export type AssetMetadataValueDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetMetadataValue
|
|
*/
|
|
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetMetadataValue
|
|
*/
|
|
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
|
|
}
|