Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/AppSyncItem.ts
T

1696 lines
65 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 `AppSyncItem` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model AppSyncItem
*
*/
export type AppSyncItemModel = runtime.Types.Result.DefaultSelection<Prisma.$AppSyncItemPayload>
export type AggregateAppSyncItem = {
_count: AppSyncItemCountAggregateOutputType | null
_min: AppSyncItemMinAggregateOutputType | null
_max: AppSyncItemMaxAggregateOutputType | null
}
export type AppSyncItemMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
syncRunId: string | null
objectType: string | null
sourceId: string | null
destinationId: string | null
description: string | null
status: string | null
action: string | null
sourceData: string | null
destinationData: string | null
error: string | null
rolledBackData: string | null
rolledBackAt: Date | null
}
export type AppSyncItemMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
syncRunId: string | null
objectType: string | null
sourceId: string | null
destinationId: string | null
description: string | null
status: string | null
action: string | null
sourceData: string | null
destinationData: string | null
error: string | null
rolledBackData: string | null
rolledBackAt: Date | null
}
export type AppSyncItemCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
syncRunId: number
objectType: number
sourceId: number
destinationId: number
description: number
status: number
action: number
sourceData: number
destinationData: number
error: number
rolledBackData: number
rolledBackAt: number
_all: number
}
export type AppSyncItemMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
syncRunId?: true
objectType?: true
sourceId?: true
destinationId?: true
description?: true
status?: true
action?: true
sourceData?: true
destinationData?: true
error?: true
rolledBackData?: true
rolledBackAt?: true
}
export type AppSyncItemMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
syncRunId?: true
objectType?: true
sourceId?: true
destinationId?: true
description?: true
status?: true
action?: true
sourceData?: true
destinationData?: true
error?: true
rolledBackData?: true
rolledBackAt?: true
}
export type AppSyncItemCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
syncRunId?: true
objectType?: true
sourceId?: true
destinationId?: true
description?: true
status?: true
action?: true
sourceData?: true
destinationData?: true
error?: true
rolledBackData?: true
rolledBackAt?: true
_all?: true
}
export type AppSyncItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AppSyncItem to aggregate.
*/
where?: Prisma.AppSyncItemWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppSyncItems to fetch.
*/
orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AppSyncItemWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppSyncItems 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` AppSyncItems.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AppSyncItems
**/
_count?: true | AppSyncItemCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AppSyncItemMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AppSyncItemMaxAggregateInputType
}
export type GetAppSyncItemAggregateType<T extends AppSyncItemAggregateArgs> = {
[P in keyof T & keyof AggregateAppSyncItem]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAppSyncItem[P]>
: Prisma.GetScalarType<T[P], AggregateAppSyncItem[P]>
}
export type AppSyncItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppSyncItemWhereInput
orderBy?: Prisma.AppSyncItemOrderByWithAggregationInput | Prisma.AppSyncItemOrderByWithAggregationInput[]
by: Prisma.AppSyncItemScalarFieldEnum[] | Prisma.AppSyncItemScalarFieldEnum
having?: Prisma.AppSyncItemScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AppSyncItemCountAggregateInputType | true
_min?: AppSyncItemMinAggregateInputType
_max?: AppSyncItemMaxAggregateInputType
}
export type AppSyncItemGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
syncRunId: string
objectType: string
sourceId: string
destinationId: string | null
description: string | null
status: string
action: string | null
sourceData: string
destinationData: string | null
error: string | null
rolledBackData: string | null
rolledBackAt: Date | null
_count: AppSyncItemCountAggregateOutputType | null
_min: AppSyncItemMinAggregateOutputType | null
_max: AppSyncItemMaxAggregateOutputType | null
}
export type GetAppSyncItemGroupByPayload<T extends AppSyncItemGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AppSyncItemGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AppSyncItemGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AppSyncItemGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AppSyncItemGroupByOutputType[P]>
}
>
>
export type AppSyncItemWhereInput = {
AND?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[]
OR?: Prisma.AppSyncItemWhereInput[]
NOT?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[]
id?: Prisma.StringFilter<"AppSyncItem"> | string
createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string
objectType?: Prisma.StringFilter<"AppSyncItem"> | string
sourceId?: Prisma.StringFilter<"AppSyncItem"> | string
destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
status?: Prisma.StringFilter<"AppSyncItem"> | string
action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
sourceData?: Prisma.StringFilter<"AppSyncItem"> | string
destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null
syncRun?: Prisma.XOR<Prisma.AppSyncRunScalarRelationFilter, Prisma.AppSyncRunWhereInput>
}
export type AppSyncItemOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
syncRunId?: Prisma.SortOrder
objectType?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
destinationId?: Prisma.SortOrderInput | Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
action?: Prisma.SortOrderInput | Prisma.SortOrder
sourceData?: Prisma.SortOrder
destinationData?: Prisma.SortOrderInput | Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
rolledBackData?: Prisma.SortOrderInput | Prisma.SortOrder
rolledBackAt?: Prisma.SortOrderInput | Prisma.SortOrder
syncRun?: Prisma.AppSyncRunOrderByWithRelationInput
}
export type AppSyncItemWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[]
OR?: Prisma.AppSyncItemWhereInput[]
NOT?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string
objectType?: Prisma.StringFilter<"AppSyncItem"> | string
sourceId?: Prisma.StringFilter<"AppSyncItem"> | string
destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
status?: Prisma.StringFilter<"AppSyncItem"> | string
action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
sourceData?: Prisma.StringFilter<"AppSyncItem"> | string
destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null
syncRun?: Prisma.XOR<Prisma.AppSyncRunScalarRelationFilter, Prisma.AppSyncRunWhereInput>
}, "id">
export type AppSyncItemOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
syncRunId?: Prisma.SortOrder
objectType?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
destinationId?: Prisma.SortOrderInput | Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
action?: Prisma.SortOrderInput | Prisma.SortOrder
sourceData?: Prisma.SortOrder
destinationData?: Prisma.SortOrderInput | Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
rolledBackData?: Prisma.SortOrderInput | Prisma.SortOrder
rolledBackAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AppSyncItemCountOrderByAggregateInput
_max?: Prisma.AppSyncItemMaxOrderByAggregateInput
_min?: Prisma.AppSyncItemMinOrderByAggregateInput
}
export type AppSyncItemScalarWhereWithAggregatesInput = {
AND?: Prisma.AppSyncItemScalarWhereWithAggregatesInput | Prisma.AppSyncItemScalarWhereWithAggregatesInput[]
OR?: Prisma.AppSyncItemScalarWhereWithAggregatesInput[]
NOT?: Prisma.AppSyncItemScalarWhereWithAggregatesInput | Prisma.AppSyncItemScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncItem"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncItem"> | Date | string
syncRunId?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
objectType?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
sourceId?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
destinationId?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
description?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
status?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
action?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
sourceData?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string
destinationData?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
error?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
rolledBackData?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null
rolledBackAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncItem"> | Date | string | null
}
export type AppSyncItemCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
syncRun: Prisma.AppSyncRunCreateNestedOneWithoutSyncItemsInput
}
export type AppSyncItemUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
syncRunId: string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
}
export type AppSyncItemUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
syncRun?: Prisma.AppSyncRunUpdateOneRequiredWithoutSyncItemsNestedInput
}
export type AppSyncItemUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
syncRunId?: Prisma.StringFieldUpdateOperationsInput | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
syncRunId: string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
}
export type AppSyncItemUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
syncRunId?: Prisma.StringFieldUpdateOperationsInput | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemListRelationFilter = {
every?: Prisma.AppSyncItemWhereInput
some?: Prisma.AppSyncItemWhereInput
none?: Prisma.AppSyncItemWhereInput
}
export type AppSyncItemOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AppSyncItemCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
syncRunId?: Prisma.SortOrder
objectType?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
destinationId?: Prisma.SortOrder
description?: Prisma.SortOrder
status?: Prisma.SortOrder
action?: Prisma.SortOrder
sourceData?: Prisma.SortOrder
destinationData?: Prisma.SortOrder
error?: Prisma.SortOrder
rolledBackData?: Prisma.SortOrder
rolledBackAt?: Prisma.SortOrder
}
export type AppSyncItemMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
syncRunId?: Prisma.SortOrder
objectType?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
destinationId?: Prisma.SortOrder
description?: Prisma.SortOrder
status?: Prisma.SortOrder
action?: Prisma.SortOrder
sourceData?: Prisma.SortOrder
destinationData?: Prisma.SortOrder
error?: Prisma.SortOrder
rolledBackData?: Prisma.SortOrder
rolledBackAt?: Prisma.SortOrder
}
export type AppSyncItemMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
syncRunId?: Prisma.SortOrder
objectType?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
destinationId?: Prisma.SortOrder
description?: Prisma.SortOrder
status?: Prisma.SortOrder
action?: Prisma.SortOrder
sourceData?: Prisma.SortOrder
destinationData?: Prisma.SortOrder
error?: Prisma.SortOrder
rolledBackData?: Prisma.SortOrder
rolledBackAt?: Prisma.SortOrder
}
export type AppSyncItemCreateNestedManyWithoutSyncRunInput = {
create?: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput> | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[]
connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[]
createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope
connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
}
export type AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput = {
create?: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput> | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[]
connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[]
createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope
connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
}
export type AppSyncItemUpdateManyWithoutSyncRunNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput> | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[]
connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[]
upsert?: Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput[]
createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope
set?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
disconnect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
delete?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
update?: Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput[]
updateMany?: Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput[]
deleteMany?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[]
}
export type AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput> | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[]
connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[]
upsert?: Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput[]
createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope
set?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
disconnect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
delete?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[]
update?: Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput[]
updateMany?: Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput[]
deleteMany?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[]
}
export type AppSyncItemCreateWithoutSyncRunInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
}
export type AppSyncItemUncheckedCreateWithoutSyncRunInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
}
export type AppSyncItemCreateOrConnectWithoutSyncRunInput = {
where: Prisma.AppSyncItemWhereUniqueInput
create: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput>
}
export type AppSyncItemCreateManySyncRunInputEnvelope = {
data: Prisma.AppSyncItemCreateManySyncRunInput | Prisma.AppSyncItemCreateManySyncRunInput[]
skipDuplicates?: boolean
}
export type AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput = {
where: Prisma.AppSyncItemWhereUniqueInput
update: Prisma.XOR<Prisma.AppSyncItemUpdateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedUpdateWithoutSyncRunInput>
create: Prisma.XOR<Prisma.AppSyncItemCreateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput>
}
export type AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput = {
where: Prisma.AppSyncItemWhereUniqueInput
data: Prisma.XOR<Prisma.AppSyncItemUpdateWithoutSyncRunInput, Prisma.AppSyncItemUncheckedUpdateWithoutSyncRunInput>
}
export type AppSyncItemUpdateManyWithWhereWithoutSyncRunInput = {
where: Prisma.AppSyncItemScalarWhereInput
data: Prisma.XOR<Prisma.AppSyncItemUpdateManyMutationInput, Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunInput>
}
export type AppSyncItemScalarWhereInput = {
AND?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[]
OR?: Prisma.AppSyncItemScalarWhereInput[]
NOT?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[]
id?: Prisma.StringFilter<"AppSyncItem"> | string
createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string
syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string
objectType?: Prisma.StringFilter<"AppSyncItem"> | string
sourceId?: Prisma.StringFilter<"AppSyncItem"> | string
destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
status?: Prisma.StringFilter<"AppSyncItem"> | string
action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
sourceData?: Prisma.StringFilter<"AppSyncItem"> | string
destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null
rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null
}
export type AppSyncItemCreateManySyncRunInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
objectType: string
sourceId: string
destinationId?: string | null
description?: string | null
status?: string
action?: string | null
sourceData: string
destinationData?: string | null
error?: string | null
rolledBackData?: string | null
rolledBackAt?: Date | string | null
}
export type AppSyncItemUpdateWithoutSyncRunInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemUncheckedUpdateWithoutSyncRunInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemUncheckedUpdateManyWithoutSyncRunInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
objectType?: Prisma.StringFieldUpdateOperationsInput | string
sourceId?: Prisma.StringFieldUpdateOperationsInput | string
destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceData?: Prisma.StringFieldUpdateOperationsInput | string
destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type AppSyncItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
syncRunId?: boolean
objectType?: boolean
sourceId?: boolean
destinationId?: boolean
description?: boolean
status?: boolean
action?: boolean
sourceData?: boolean
destinationData?: boolean
error?: boolean
rolledBackData?: boolean
rolledBackAt?: boolean
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncItem"]>
export type AppSyncItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
syncRunId?: boolean
objectType?: boolean
sourceId?: boolean
destinationId?: boolean
description?: boolean
status?: boolean
action?: boolean
sourceData?: boolean
destinationData?: boolean
error?: boolean
rolledBackData?: boolean
rolledBackAt?: boolean
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncItem"]>
export type AppSyncItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
syncRunId?: boolean
objectType?: boolean
sourceId?: boolean
destinationId?: boolean
description?: boolean
status?: boolean
action?: boolean
sourceData?: boolean
destinationData?: boolean
error?: boolean
rolledBackData?: boolean
rolledBackAt?: boolean
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncItem"]>
export type AppSyncItemSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
syncRunId?: boolean
objectType?: boolean
sourceId?: boolean
destinationId?: boolean
description?: boolean
status?: boolean
action?: boolean
sourceData?: boolean
destinationData?: boolean
error?: boolean
rolledBackData?: boolean
rolledBackAt?: boolean
}
export type AppSyncItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "syncRunId" | "objectType" | "sourceId" | "destinationId" | "description" | "status" | "action" | "sourceData" | "destinationData" | "error" | "rolledBackData" | "rolledBackAt", ExtArgs["result"]["appSyncItem"]>
export type AppSyncItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}
export type AppSyncItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}
export type AppSyncItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRun?: boolean | Prisma.AppSyncRunDefaultArgs<ExtArgs>
}
export type $AppSyncItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AppSyncItem"
objects: {
syncRun: Prisma.$AppSyncRunPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
syncRunId: string
objectType: string
sourceId: string
destinationId: string | null
description: string | null
status: string
action: string | null
sourceData: string
destinationData: string | null
error: string | null
rolledBackData: string | null
rolledBackAt: Date | null
}, ExtArgs["result"]["appSyncItem"]>
composites: {}
}
export type AppSyncItemGetPayload<S extends boolean | null | undefined | AppSyncItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload, S>
export type AppSyncItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AppSyncItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AppSyncItemCountAggregateInputType | true
}
export interface AppSyncItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AppSyncItem'], meta: { name: 'AppSyncItem' } }
/**
* Find zero or one AppSyncItem that matches the filter.
* @param {AppSyncItemFindUniqueArgs} args - Arguments to find a AppSyncItem
* @example
* // Get one AppSyncItem
* const appSyncItem = await prisma.appSyncItem.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AppSyncItemFindUniqueArgs>(args: Prisma.SelectSubset<T, AppSyncItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AppSyncItem that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AppSyncItemFindUniqueOrThrowArgs} args - Arguments to find a AppSyncItem
* @example
* // Get one AppSyncItem
* const appSyncItem = await prisma.appSyncItem.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AppSyncItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AppSyncItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AppSyncItem 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 {AppSyncItemFindFirstArgs} args - Arguments to find a AppSyncItem
* @example
* // Get one AppSyncItem
* const appSyncItem = await prisma.appSyncItem.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AppSyncItemFindFirstArgs>(args?: Prisma.SelectSubset<T, AppSyncItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AppSyncItem 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 {AppSyncItemFindFirstOrThrowArgs} args - Arguments to find a AppSyncItem
* @example
* // Get one AppSyncItem
* const appSyncItem = await prisma.appSyncItem.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AppSyncItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AppSyncItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AppSyncItems 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 {AppSyncItemFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AppSyncItems
* const appSyncItems = await prisma.appSyncItem.findMany()
*
* // Get first 10 AppSyncItems
* const appSyncItems = await prisma.appSyncItem.findMany({ take: 10 })
*
* // Only select the `id`
* const appSyncItemWithIdOnly = await prisma.appSyncItem.findMany({ select: { id: true } })
*
*/
findMany<T extends AppSyncItemFindManyArgs>(args?: Prisma.SelectSubset<T, AppSyncItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AppSyncItem.
* @param {AppSyncItemCreateArgs} args - Arguments to create a AppSyncItem.
* @example
* // Create one AppSyncItem
* const AppSyncItem = await prisma.appSyncItem.create({
* data: {
* // ... data to create a AppSyncItem
* }
* })
*
*/
create<T extends AppSyncItemCreateArgs>(args: Prisma.SelectSubset<T, AppSyncItemCreateArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AppSyncItems.
* @param {AppSyncItemCreateManyArgs} args - Arguments to create many AppSyncItems.
* @example
* // Create many AppSyncItems
* const appSyncItem = await prisma.appSyncItem.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AppSyncItemCreateManyArgs>(args?: Prisma.SelectSubset<T, AppSyncItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AppSyncItems and returns the data saved in the database.
* @param {AppSyncItemCreateManyAndReturnArgs} args - Arguments to create many AppSyncItems.
* @example
* // Create many AppSyncItems
* const appSyncItem = await prisma.appSyncItem.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AppSyncItems and only return the `id`
* const appSyncItemWithIdOnly = await prisma.appSyncItem.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 AppSyncItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AppSyncItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AppSyncItem.
* @param {AppSyncItemDeleteArgs} args - Arguments to delete one AppSyncItem.
* @example
* // Delete one AppSyncItem
* const AppSyncItem = await prisma.appSyncItem.delete({
* where: {
* // ... filter to delete one AppSyncItem
* }
* })
*
*/
delete<T extends AppSyncItemDeleteArgs>(args: Prisma.SelectSubset<T, AppSyncItemDeleteArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AppSyncItem.
* @param {AppSyncItemUpdateArgs} args - Arguments to update one AppSyncItem.
* @example
* // Update one AppSyncItem
* const appSyncItem = await prisma.appSyncItem.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AppSyncItemUpdateArgs>(args: Prisma.SelectSubset<T, AppSyncItemUpdateArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AppSyncItems.
* @param {AppSyncItemDeleteManyArgs} args - Arguments to filter AppSyncItems to delete.
* @example
* // Delete a few AppSyncItems
* const { count } = await prisma.appSyncItem.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AppSyncItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, AppSyncItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AppSyncItems.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppSyncItemUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AppSyncItems
* const appSyncItem = await prisma.appSyncItem.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AppSyncItemUpdateManyArgs>(args: Prisma.SelectSubset<T, AppSyncItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AppSyncItems and returns the data updated in the database.
* @param {AppSyncItemUpdateManyAndReturnArgs} args - Arguments to update many AppSyncItems.
* @example
* // Update many AppSyncItems
* const appSyncItem = await prisma.appSyncItem.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AppSyncItems and only return the `id`
* const appSyncItemWithIdOnly = await prisma.appSyncItem.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 AppSyncItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AppSyncItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AppSyncItem.
* @param {AppSyncItemUpsertArgs} args - Arguments to update or create a AppSyncItem.
* @example
* // Update or create a AppSyncItem
* const appSyncItem = await prisma.appSyncItem.upsert({
* create: {
* // ... data to create a AppSyncItem
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AppSyncItem we want to update
* }
* })
*/
upsert<T extends AppSyncItemUpsertArgs>(args: Prisma.SelectSubset<T, AppSyncItemUpsertArgs<ExtArgs>>): Prisma.Prisma__AppSyncItemClient<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AppSyncItems.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppSyncItemCountArgs} args - Arguments to filter AppSyncItems to count.
* @example
* // Count the number of AppSyncItems
* const count = await prisma.appSyncItem.count({
* where: {
* // ... the filter for the AppSyncItems we want to count
* }
* })
**/
count<T extends AppSyncItemCountArgs>(
args?: Prisma.Subset<T, AppSyncItemCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AppSyncItemCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AppSyncItem.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppSyncItemAggregateArgs} 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 AppSyncItemAggregateArgs>(args: Prisma.Subset<T, AppSyncItemAggregateArgs>): Prisma.PrismaPromise<GetAppSyncItemAggregateType<T>>
/**
* Group by AppSyncItem.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppSyncItemGroupByArgs} 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 AppSyncItemGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AppSyncItemGroupByArgs['orderBy'] }
: { orderBy?: AppSyncItemGroupByArgs['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, AppSyncItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppSyncItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AppSyncItem model
*/
readonly fields: AppSyncItemFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AppSyncItem.
* 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__AppSyncItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
syncRun<T extends Prisma.AppSyncRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppSyncRunDefaultArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<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 AppSyncItem model
*/
export interface AppSyncItemFieldRefs {
readonly id: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly createdAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'>
readonly syncRunId: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly objectType: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly sourceId: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly destinationId: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly description: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly status: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly action: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly sourceData: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly destinationData: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly error: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly rolledBackData: Prisma.FieldRef<"AppSyncItem", 'String'>
readonly rolledBackAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'>
}
// Custom InputTypes
/**
* AppSyncItem findUnique
*/
export type AppSyncItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter, which AppSyncItem to fetch.
*/
where: Prisma.AppSyncItemWhereUniqueInput
}
/**
* AppSyncItem findUniqueOrThrow
*/
export type AppSyncItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter, which AppSyncItem to fetch.
*/
where: Prisma.AppSyncItemWhereUniqueInput
}
/**
* AppSyncItem findFirst
*/
export type AppSyncItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter, which AppSyncItem to fetch.
*/
where?: Prisma.AppSyncItemWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppSyncItems to fetch.
*/
orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AppSyncItems.
*/
cursor?: Prisma.AppSyncItemWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppSyncItems 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` AppSyncItems.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AppSyncItems.
*/
distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[]
}
/**
* AppSyncItem findFirstOrThrow
*/
export type AppSyncItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter, which AppSyncItem to fetch.
*/
where?: Prisma.AppSyncItemWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppSyncItems to fetch.
*/
orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AppSyncItems.
*/
cursor?: Prisma.AppSyncItemWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppSyncItems 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` AppSyncItems.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AppSyncItems.
*/
distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[]
}
/**
* AppSyncItem findMany
*/
export type AppSyncItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter, which AppSyncItems to fetch.
*/
where?: Prisma.AppSyncItemWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppSyncItems to fetch.
*/
orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AppSyncItems.
*/
cursor?: Prisma.AppSyncItemWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppSyncItems 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` AppSyncItems.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AppSyncItems.
*/
distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[]
}
/**
* AppSyncItem create
*/
export type AppSyncItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* The data needed to create a AppSyncItem.
*/
data: Prisma.XOR<Prisma.AppSyncItemCreateInput, Prisma.AppSyncItemUncheckedCreateInput>
}
/**
* AppSyncItem createMany
*/
export type AppSyncItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AppSyncItems.
*/
data: Prisma.AppSyncItemCreateManyInput | Prisma.AppSyncItemCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AppSyncItem createManyAndReturn
*/
export type AppSyncItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* The data used to create many AppSyncItems.
*/
data: Prisma.AppSyncItemCreateManyInput | Prisma.AppSyncItemCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AppSyncItem update
*/
export type AppSyncItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* The data needed to update a AppSyncItem.
*/
data: Prisma.XOR<Prisma.AppSyncItemUpdateInput, Prisma.AppSyncItemUncheckedUpdateInput>
/**
* Choose, which AppSyncItem to update.
*/
where: Prisma.AppSyncItemWhereUniqueInput
}
/**
* AppSyncItem updateMany
*/
export type AppSyncItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AppSyncItems.
*/
data: Prisma.XOR<Prisma.AppSyncItemUpdateManyMutationInput, Prisma.AppSyncItemUncheckedUpdateManyInput>
/**
* Filter which AppSyncItems to update
*/
where?: Prisma.AppSyncItemWhereInput
/**
* Limit how many AppSyncItems to update.
*/
limit?: number
}
/**
* AppSyncItem updateManyAndReturn
*/
export type AppSyncItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* The data used to update AppSyncItems.
*/
data: Prisma.XOR<Prisma.AppSyncItemUpdateManyMutationInput, Prisma.AppSyncItemUncheckedUpdateManyInput>
/**
* Filter which AppSyncItems to update
*/
where?: Prisma.AppSyncItemWhereInput
/**
* Limit how many AppSyncItems to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AppSyncItem upsert
*/
export type AppSyncItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* The filter to search for the AppSyncItem to update in case it exists.
*/
where: Prisma.AppSyncItemWhereUniqueInput
/**
* In case the AppSyncItem found by the `where` argument doesn't exist, create a new AppSyncItem with this data.
*/
create: Prisma.XOR<Prisma.AppSyncItemCreateInput, Prisma.AppSyncItemUncheckedCreateInput>
/**
* In case the AppSyncItem was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AppSyncItemUpdateInput, Prisma.AppSyncItemUncheckedUpdateInput>
}
/**
* AppSyncItem delete
*/
export type AppSyncItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
/**
* Filter which AppSyncItem to delete.
*/
where: Prisma.AppSyncItemWhereUniqueInput
}
/**
* AppSyncItem deleteMany
*/
export type AppSyncItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AppSyncItems to delete
*/
where?: Prisma.AppSyncItemWhereInput
/**
* Limit how many AppSyncItems to delete.
*/
limit?: number
}
/**
* AppSyncItem without action
*/
export type AppSyncItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | null
}