mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-19 14:16:29 +00:00
1729 lines
56 KiB
TypeScript
1729 lines
56 KiB
TypeScript
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `AssetEmbedding` 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 AssetEmbedding
|
|
*
|
|
*/
|
|
export type AssetEmbeddingModel =
|
|
runtime.Types.Result.DefaultSelection<Prisma.$AssetEmbeddingPayload>
|
|
|
|
export type AggregateAssetEmbedding = {
|
|
_count: AssetEmbeddingCountAggregateOutputType | null
|
|
_avg: AssetEmbeddingAvgAggregateOutputType | null
|
|
_sum: AssetEmbeddingSumAggregateOutputType | null
|
|
_min: AssetEmbeddingMinAggregateOutputType | null
|
|
_max: AssetEmbeddingMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AssetEmbeddingAvgAggregateOutputType = {
|
|
startTime: number | null
|
|
endTime: number | null
|
|
}
|
|
|
|
export type AssetEmbeddingSumAggregateOutputType = {
|
|
startTime: number | null
|
|
endTime: number | null
|
|
}
|
|
|
|
export type AssetEmbeddingMinAggregateOutputType = {
|
|
id: string | null
|
|
startTime: number | null
|
|
endTime: number | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
assetId: string | null
|
|
}
|
|
|
|
export type AssetEmbeddingMaxAggregateOutputType = {
|
|
id: string | null
|
|
startTime: number | null
|
|
endTime: number | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
assetId: string | null
|
|
}
|
|
|
|
export type AssetEmbeddingCountAggregateOutputType = {
|
|
id: number
|
|
startTime: number
|
|
endTime: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
assetId: number
|
|
_all: number
|
|
}
|
|
|
|
export type AssetEmbeddingAvgAggregateInputType = {
|
|
startTime?: true
|
|
endTime?: true
|
|
}
|
|
|
|
export type AssetEmbeddingSumAggregateInputType = {
|
|
startTime?: true
|
|
endTime?: true
|
|
}
|
|
|
|
export type AssetEmbeddingMinAggregateInputType = {
|
|
id?: true
|
|
startTime?: true
|
|
endTime?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
assetId?: true
|
|
}
|
|
|
|
export type AssetEmbeddingMaxAggregateInputType = {
|
|
id?: true
|
|
startTime?: true
|
|
endTime?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
assetId?: true
|
|
}
|
|
|
|
export type AssetEmbeddingCountAggregateInputType = {
|
|
id?: true
|
|
startTime?: true
|
|
endTime?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
assetId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AssetEmbeddingAggregateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Filter which AssetEmbedding to aggregate.
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetEmbeddings to fetch.
|
|
*/
|
|
orderBy?:
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AssetEmbeddingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetEmbeddings 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` AssetEmbeddings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AssetEmbeddings
|
|
**/
|
|
_count?: true | AssetEmbeddingCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AssetEmbeddingAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AssetEmbeddingSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AssetEmbeddingMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AssetEmbeddingMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAssetEmbeddingAggregateType<T extends AssetEmbeddingAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAssetEmbedding]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAssetEmbedding[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAssetEmbedding[P]>
|
|
}
|
|
|
|
export type AssetEmbeddingGroupByArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
orderBy?:
|
|
| Prisma.AssetEmbeddingOrderByWithAggregationInput
|
|
| Prisma.AssetEmbeddingOrderByWithAggregationInput[]
|
|
by: Prisma.AssetEmbeddingScalarFieldEnum[] | Prisma.AssetEmbeddingScalarFieldEnum
|
|
having?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AssetEmbeddingCountAggregateInputType | true
|
|
_avg?: AssetEmbeddingAvgAggregateInputType
|
|
_sum?: AssetEmbeddingSumAggregateInputType
|
|
_min?: AssetEmbeddingMinAggregateInputType
|
|
_max?: AssetEmbeddingMaxAggregateInputType
|
|
}
|
|
|
|
export type AssetEmbeddingGroupByOutputType = {
|
|
id: string
|
|
startTime: number | null
|
|
endTime: number | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
assetId: string
|
|
_count: AssetEmbeddingCountAggregateOutputType | null
|
|
_avg: AssetEmbeddingAvgAggregateOutputType | null
|
|
_sum: AssetEmbeddingSumAggregateOutputType | null
|
|
_min: AssetEmbeddingMinAggregateOutputType | null
|
|
_max: AssetEmbeddingMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAssetEmbeddingGroupByPayload<T extends AssetEmbeddingGroupByArgs> =
|
|
Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AssetEmbeddingGroupByOutputType, T['by']> & {
|
|
[P in keyof T & keyof AssetEmbeddingGroupByOutputType]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AssetEmbeddingGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AssetEmbeddingGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
export type AssetEmbeddingWhereInput = {
|
|
AND?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[]
|
|
OR?: Prisma.AssetEmbeddingWhereInput[]
|
|
NOT?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[]
|
|
id?: Prisma.StringFilter<'AssetEmbedding'> | string
|
|
startTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
endTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
createdAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
assetId?: Prisma.StringFilter<'AssetEmbedding'> | string
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
}
|
|
|
|
export type AssetEmbeddingOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
startTime?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endTime?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
asset?: Prisma.AssetOrderByWithRelationInput
|
|
}
|
|
|
|
export type AssetEmbeddingWhereUniqueInput = Prisma.AtLeast<
|
|
{
|
|
id?: string
|
|
AND?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[]
|
|
OR?: Prisma.AssetEmbeddingWhereInput[]
|
|
NOT?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[]
|
|
startTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
endTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
createdAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
assetId?: Prisma.StringFilter<'AssetEmbedding'> | string
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
},
|
|
'id'
|
|
>
|
|
|
|
export type AssetEmbeddingOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
startTime?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endTime?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
_count?: Prisma.AssetEmbeddingCountOrderByAggregateInput
|
|
_avg?: Prisma.AssetEmbeddingAvgOrderByAggregateInput
|
|
_max?: Prisma.AssetEmbeddingMaxOrderByAggregateInput
|
|
_min?: Prisma.AssetEmbeddingMinOrderByAggregateInput
|
|
_sum?: Prisma.AssetEmbeddingSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AssetEmbeddingScalarWhereWithAggregatesInput = {
|
|
AND?:
|
|
| Prisma.AssetEmbeddingScalarWhereWithAggregatesInput
|
|
| Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[]
|
|
NOT?:
|
|
| Prisma.AssetEmbeddingScalarWhereWithAggregatesInput
|
|
| Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<'AssetEmbedding'> | string
|
|
startTime?: Prisma.FloatNullableWithAggregatesFilter<'AssetEmbedding'> | number | null
|
|
endTime?: Prisma.FloatNullableWithAggregatesFilter<'AssetEmbedding'> | number | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<'AssetEmbedding'> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<'AssetEmbedding'> | Date | string
|
|
assetId?: Prisma.StringWithAggregatesFilter<'AssetEmbedding'> | string
|
|
}
|
|
|
|
export type AssetEmbeddingCreateInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
asset: Prisma.AssetCreateNestedOneWithoutEmbeddingsInput
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedCreateInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
asset?: Prisma.AssetUpdateOneRequiredWithoutEmbeddingsNestedInput
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetEmbeddingCreateManyInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetEmbeddingListRelationFilter = {
|
|
every?: Prisma.AssetEmbeddingWhereInput
|
|
some?: Prisma.AssetEmbeddingWhereInput
|
|
none?: Prisma.AssetEmbeddingWhereInput
|
|
}
|
|
|
|
export type AssetEmbeddingOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
startTime?: Prisma.SortOrder
|
|
endTime?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingAvgOrderByAggregateInput = {
|
|
startTime?: Prisma.SortOrder
|
|
endTime?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
startTime?: Prisma.SortOrder
|
|
endTime?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
startTime?: Prisma.SortOrder
|
|
endTime?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingSumOrderByAggregateInput = {
|
|
startTime?: Prisma.SortOrder
|
|
endTime?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetEmbeddingCreateNestedManyWithoutAssetInput = {
|
|
create?:
|
|
| Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
| Prisma.AssetEmbeddingCreateWithoutAssetInput[]
|
|
| Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?:
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput = {
|
|
create?:
|
|
| Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
| Prisma.AssetEmbeddingCreateWithoutAssetInput[]
|
|
| Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?:
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateManyWithoutAssetNestedInput = {
|
|
create?:
|
|
| Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
| Prisma.AssetEmbeddingCreateWithoutAssetInput[]
|
|
| Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?:
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[]
|
|
upsert?:
|
|
| Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
delete?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
update?:
|
|
| Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?:
|
|
| Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput = {
|
|
create?:
|
|
| Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
| Prisma.AssetEmbeddingCreateWithoutAssetInput[]
|
|
| Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?:
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput
|
|
| Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[]
|
|
upsert?:
|
|
| Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
delete?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[]
|
|
update?:
|
|
| Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?:
|
|
| Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput
|
|
| Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetEmbeddingCreateWithoutAssetInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedCreateWithoutAssetInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingCreateOrConnectWithoutAssetInput = {
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
}
|
|
|
|
export type AssetEmbeddingCreateManyAssetInputEnvelope = {
|
|
data: Prisma.AssetEmbeddingCreateManyAssetInput | Prisma.AssetEmbeddingCreateManyAssetInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
update: Prisma.XOR<
|
|
Prisma.AssetEmbeddingUpdateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedUpdateWithoutAssetInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.AssetEmbeddingCreateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput
|
|
>
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
data: Prisma.XOR<
|
|
Prisma.AssetEmbeddingUpdateWithoutAssetInput,
|
|
Prisma.AssetEmbeddingUncheckedUpdateWithoutAssetInput
|
|
>
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateManyWithWhereWithoutAssetInput = {
|
|
where: Prisma.AssetEmbeddingScalarWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.AssetEmbeddingUpdateManyMutationInput,
|
|
Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetInput
|
|
>
|
|
}
|
|
|
|
export type AssetEmbeddingScalarWhereInput = {
|
|
AND?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[]
|
|
OR?: Prisma.AssetEmbeddingScalarWhereInput[]
|
|
NOT?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[]
|
|
id?: Prisma.StringFilter<'AssetEmbedding'> | string
|
|
startTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
endTime?: Prisma.FloatNullableFilter<'AssetEmbedding'> | number | null
|
|
createdAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<'AssetEmbedding'> | Date | string
|
|
assetId?: Prisma.StringFilter<'AssetEmbedding'> | string
|
|
}
|
|
|
|
export type AssetEmbeddingCreateManyAssetInput = {
|
|
id?: string
|
|
startTime?: number | null
|
|
endTime?: number | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingUncheckedUpdateManyWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AssetEmbeddingSelect<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
startTime?: boolean
|
|
endTime?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
assetId?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['assetEmbedding']
|
|
>
|
|
|
|
export type AssetEmbeddingSelectCreateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
startTime?: boolean
|
|
endTime?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
assetId?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['assetEmbedding']
|
|
>
|
|
|
|
export type AssetEmbeddingSelectUpdateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
startTime?: boolean
|
|
endTime?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
assetId?: boolean
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['assetEmbedding']
|
|
>
|
|
|
|
export type AssetEmbeddingSelectScalar = {
|
|
id?: boolean
|
|
startTime?: boolean
|
|
endTime?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
assetId?: boolean
|
|
}
|
|
|
|
export type AssetEmbeddingOmit<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetOmit<
|
|
'id' | 'startTime' | 'endTime' | 'createdAt' | 'updatedAt' | 'assetId',
|
|
ExtArgs['result']['assetEmbedding']
|
|
>
|
|
export type AssetEmbeddingInclude<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetEmbeddingIncludeCreateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetEmbeddingIncludeUpdateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AssetEmbeddingPayload<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
name: 'AssetEmbedding'
|
|
objects: {
|
|
asset: Prisma.$AssetPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<
|
|
{
|
|
id: string
|
|
startTime: number | null
|
|
endTime: number | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
assetId: string
|
|
},
|
|
ExtArgs['result']['assetEmbedding']
|
|
>
|
|
composites: {}
|
|
}
|
|
|
|
export type AssetEmbeddingGetPayload<
|
|
S extends boolean | null | undefined | AssetEmbeddingDefaultArgs,
|
|
> = runtime.Types.Result.GetResult<Prisma.$AssetEmbeddingPayload, S>
|
|
|
|
export type AssetEmbeddingCountArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = Omit<AssetEmbeddingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AssetEmbeddingCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AssetEmbeddingDelegate<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
GlobalOmitOptions = {},
|
|
> {
|
|
[K: symbol]: {
|
|
types: Prisma.TypeMap<ExtArgs>['model']['AssetEmbedding']
|
|
meta: { name: 'AssetEmbedding' }
|
|
}
|
|
/**
|
|
* Find zero or one AssetEmbedding that matches the filter.
|
|
* @param {AssetEmbeddingFindUniqueArgs} args - Arguments to find a AssetEmbedding
|
|
* @example
|
|
* // Get one AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AssetEmbeddingFindUniqueArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingFindUniqueArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'findUnique',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find one AssetEmbedding that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AssetEmbeddingFindUniqueOrThrowArgs} args - Arguments to find a AssetEmbedding
|
|
* @example
|
|
* // Get one AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AssetEmbeddingFindUniqueOrThrowArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingFindUniqueOrThrowArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'findUniqueOrThrow',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find the first AssetEmbedding 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 {AssetEmbeddingFindFirstArgs} args - Arguments to find a AssetEmbedding
|
|
* @example
|
|
* // Get one AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AssetEmbeddingFindFirstArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingFindFirstArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'findFirst',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find the first AssetEmbedding 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 {AssetEmbeddingFindFirstOrThrowArgs} args - Arguments to find a AssetEmbedding
|
|
* @example
|
|
* // Get one AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AssetEmbeddingFindFirstOrThrowArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingFindFirstOrThrowArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'findFirstOrThrow',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find zero or more AssetEmbeddings 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 {AssetEmbeddingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AssetEmbeddings
|
|
* const assetEmbeddings = await prisma.assetEmbedding.findMany()
|
|
*
|
|
* // Get first 10 AssetEmbeddings
|
|
* const assetEmbeddings = await prisma.assetEmbedding.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AssetEmbeddingFindManyArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingFindManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
>
|
|
|
|
/**
|
|
* Create a AssetEmbedding.
|
|
* @param {AssetEmbeddingCreateArgs} args - Arguments to create a AssetEmbedding.
|
|
* @example
|
|
* // Create one AssetEmbedding
|
|
* const AssetEmbedding = await prisma.assetEmbedding.create({
|
|
* data: {
|
|
* // ... data to create a AssetEmbedding
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AssetEmbeddingCreateArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingCreateArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'create',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Create many AssetEmbeddings.
|
|
* @param {AssetEmbeddingCreateManyArgs} args - Arguments to create many AssetEmbeddings.
|
|
* @example
|
|
* // Create many AssetEmbeddings
|
|
* const assetEmbedding = await prisma.assetEmbedding.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AssetEmbeddingCreateManyArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingCreateManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AssetEmbeddings and returns the data saved in the database.
|
|
* @param {AssetEmbeddingCreateManyAndReturnArgs} args - Arguments to create many AssetEmbeddings.
|
|
* @example
|
|
* // Create many AssetEmbeddings
|
|
* const assetEmbedding = await prisma.assetEmbedding.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AssetEmbeddings and only return the `id`
|
|
* const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.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 AssetEmbeddingCreateManyAndReturnArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingCreateManyAndReturnArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'createManyAndReturn',
|
|
GlobalOmitOptions
|
|
>
|
|
>
|
|
|
|
/**
|
|
* Delete a AssetEmbedding.
|
|
* @param {AssetEmbeddingDeleteArgs} args - Arguments to delete one AssetEmbedding.
|
|
* @example
|
|
* // Delete one AssetEmbedding
|
|
* const AssetEmbedding = await prisma.assetEmbedding.delete({
|
|
* where: {
|
|
* // ... filter to delete one AssetEmbedding
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AssetEmbeddingDeleteArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingDeleteArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'delete',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Update one AssetEmbedding.
|
|
* @param {AssetEmbeddingUpdateArgs} args - Arguments to update one AssetEmbedding.
|
|
* @example
|
|
* // Update one AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AssetEmbeddingUpdateArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingUpdateArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'update',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Delete zero or more AssetEmbeddings.
|
|
* @param {AssetEmbeddingDeleteManyArgs} args - Arguments to filter AssetEmbeddings to delete.
|
|
* @example
|
|
* // Delete a few AssetEmbeddings
|
|
* const { count } = await prisma.assetEmbedding.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AssetEmbeddingDeleteManyArgs>(
|
|
args?: Prisma.SelectSubset<T, AssetEmbeddingDeleteManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetEmbeddings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetEmbeddingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AssetEmbeddings
|
|
* const assetEmbedding = await prisma.assetEmbedding.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AssetEmbeddingUpdateManyArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingUpdateManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetEmbeddings and returns the data updated in the database.
|
|
* @param {AssetEmbeddingUpdateManyAndReturnArgs} args - Arguments to update many AssetEmbeddings.
|
|
* @example
|
|
* // Update many AssetEmbeddings
|
|
* const assetEmbedding = await prisma.assetEmbedding.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AssetEmbeddings and only return the `id`
|
|
* const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.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 AssetEmbeddingUpdateManyAndReturnArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingUpdateManyAndReturnArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'updateManyAndReturn',
|
|
GlobalOmitOptions
|
|
>
|
|
>
|
|
|
|
/**
|
|
* Create or update one AssetEmbedding.
|
|
* @param {AssetEmbeddingUpsertArgs} args - Arguments to update or create a AssetEmbedding.
|
|
* @example
|
|
* // Update or create a AssetEmbedding
|
|
* const assetEmbedding = await prisma.assetEmbedding.upsert({
|
|
* create: {
|
|
* // ... data to create a AssetEmbedding
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AssetEmbedding we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AssetEmbeddingUpsertArgs>(
|
|
args: Prisma.SelectSubset<T, AssetEmbeddingUpsertArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetEmbeddingClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetEmbeddingPayload<ExtArgs>,
|
|
T,
|
|
'upsert',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Count the number of AssetEmbeddings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetEmbeddingCountArgs} args - Arguments to filter AssetEmbeddings to count.
|
|
* @example
|
|
* // Count the number of AssetEmbeddings
|
|
* const count = await prisma.assetEmbedding.count({
|
|
* where: {
|
|
* // ... the filter for the AssetEmbeddings we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AssetEmbeddingCountArgs>(
|
|
args?: Prisma.Subset<T, AssetEmbeddingCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AssetEmbeddingCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AssetEmbedding.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetEmbeddingAggregateArgs} 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 AssetEmbeddingAggregateArgs>(
|
|
args: Prisma.Subset<T, AssetEmbeddingAggregateArgs>,
|
|
): Prisma.PrismaPromise<GetAssetEmbeddingAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AssetEmbedding.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetEmbeddingGroupByArgs} 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 AssetEmbeddingGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AssetEmbeddingGroupByArgs['orderBy'] }
|
|
: { orderBy?: AssetEmbeddingGroupByArgs['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, AssetEmbeddingGroupByArgs, OrderByArg> & InputErrors,
|
|
): {} extends InputErrors ? GetAssetEmbeddingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AssetEmbedding model
|
|
*/
|
|
readonly fields: AssetEmbeddingFieldRefs
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AssetEmbedding.
|
|
* 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__AssetEmbeddingClient<
|
|
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 AssetEmbedding model
|
|
*/
|
|
export interface AssetEmbeddingFieldRefs {
|
|
readonly id: Prisma.FieldRef<'AssetEmbedding', 'String'>
|
|
readonly startTime: Prisma.FieldRef<'AssetEmbedding', 'Float'>
|
|
readonly endTime: Prisma.FieldRef<'AssetEmbedding', 'Float'>
|
|
readonly createdAt: Prisma.FieldRef<'AssetEmbedding', 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<'AssetEmbedding', 'DateTime'>
|
|
readonly assetId: Prisma.FieldRef<'AssetEmbedding', 'String'>
|
|
}
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AssetEmbedding findUnique
|
|
*/
|
|
export type AssetEmbeddingFindUniqueArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetEmbedding to fetch.
|
|
*/
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding findUniqueOrThrow
|
|
*/
|
|
export type AssetEmbeddingFindUniqueOrThrowArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetEmbedding to fetch.
|
|
*/
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding findFirst
|
|
*/
|
|
export type AssetEmbeddingFindFirstArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetEmbedding to fetch.
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetEmbeddings to fetch.
|
|
*/
|
|
orderBy?:
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetEmbeddings.
|
|
*/
|
|
cursor?: Prisma.AssetEmbeddingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetEmbeddings 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` AssetEmbeddings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetEmbeddings.
|
|
*/
|
|
distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding findFirstOrThrow
|
|
*/
|
|
export type AssetEmbeddingFindFirstOrThrowArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetEmbedding to fetch.
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetEmbeddings to fetch.
|
|
*/
|
|
orderBy?:
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetEmbeddings.
|
|
*/
|
|
cursor?: Prisma.AssetEmbeddingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetEmbeddings 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` AssetEmbeddings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetEmbeddings.
|
|
*/
|
|
distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding findMany
|
|
*/
|
|
export type AssetEmbeddingFindManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetEmbeddings to fetch.
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetEmbeddings to fetch.
|
|
*/
|
|
orderBy?:
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput
|
|
| Prisma.AssetEmbeddingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AssetEmbeddings.
|
|
*/
|
|
cursor?: Prisma.AssetEmbeddingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetEmbeddings 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` AssetEmbeddings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetEmbeddings.
|
|
*/
|
|
distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding create
|
|
*/
|
|
export type AssetEmbeddingCreateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AssetEmbedding.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetEmbeddingCreateInput, Prisma.AssetEmbeddingUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding createMany
|
|
*/
|
|
export type AssetEmbeddingCreateManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* The data used to create many AssetEmbeddings.
|
|
*/
|
|
data: Prisma.AssetEmbeddingCreateManyInput | Prisma.AssetEmbeddingCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding createManyAndReturn
|
|
*/
|
|
export type AssetEmbeddingCreateManyAndReturnArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AssetEmbeddings.
|
|
*/
|
|
data: Prisma.AssetEmbeddingCreateManyInput | Prisma.AssetEmbeddingCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding update
|
|
*/
|
|
export type AssetEmbeddingUpdateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AssetEmbedding.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetEmbeddingUpdateInput, Prisma.AssetEmbeddingUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AssetEmbedding to update.
|
|
*/
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding updateMany
|
|
*/
|
|
export type AssetEmbeddingUpdateManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* The data used to update AssetEmbeddings.
|
|
*/
|
|
data: Prisma.XOR<
|
|
Prisma.AssetEmbeddingUpdateManyMutationInput,
|
|
Prisma.AssetEmbeddingUncheckedUpdateManyInput
|
|
>
|
|
/**
|
|
* Filter which AssetEmbeddings to update
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* Limit how many AssetEmbeddings to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding updateManyAndReturn
|
|
*/
|
|
export type AssetEmbeddingUpdateManyAndReturnArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AssetEmbeddings.
|
|
*/
|
|
data: Prisma.XOR<
|
|
Prisma.AssetEmbeddingUpdateManyMutationInput,
|
|
Prisma.AssetEmbeddingUncheckedUpdateManyInput
|
|
>
|
|
/**
|
|
* Filter which AssetEmbeddings to update
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* Limit how many AssetEmbeddings to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding upsert
|
|
*/
|
|
export type AssetEmbeddingUpsertArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AssetEmbedding to update in case it exists.
|
|
*/
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
/**
|
|
* In case the AssetEmbedding found by the `where` argument doesn't exist, create a new AssetEmbedding with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AssetEmbeddingCreateInput, Prisma.AssetEmbeddingUncheckedCreateInput>
|
|
/**
|
|
* In case the AssetEmbedding was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AssetEmbeddingUpdateInput, Prisma.AssetEmbeddingUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding delete
|
|
*/
|
|
export type AssetEmbeddingDeleteArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AssetEmbedding to delete.
|
|
*/
|
|
where: Prisma.AssetEmbeddingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding deleteMany
|
|
*/
|
|
export type AssetEmbeddingDeleteManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Filter which AssetEmbeddings to delete
|
|
*/
|
|
where?: Prisma.AssetEmbeddingWhereInput
|
|
/**
|
|
* Limit how many AssetEmbeddings to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetEmbedding without action
|
|
*/
|
|
export type AssetEmbeddingDefaultArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetEmbedding
|
|
*/
|
|
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetEmbedding
|
|
*/
|
|
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
|
|
}
|