1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2026-02-04 07:44:40 +00:00
2026-02-01 20:08:13 +08:00

1529 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 `AppInstall` 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 AppInstall
*
*/
export type AppInstallModel = runtime.Types.Result.DefaultSelection<Prisma.$AppInstallPayload>
export type AggregateAppInstall = {
_count: AppInstallCountAggregateOutputType | null
_avg: AppInstallAvgAggregateOutputType | null
_sum: AppInstallSumAggregateOutputType | null
_min: AppInstallMinAggregateOutputType | null
_max: AppInstallMaxAggregateOutputType | null
}
export type AppInstallAvgAggregateOutputType = {
deviceId: number | null
}
export type AppInstallSumAggregateOutputType = {
deviceId: number | null
}
export type AppInstallMinAggregateOutputType = {
id: string | null
deviceId: number | null
appId: string | null
token: string | null
note: string | null
installedAt: Date | null
updatedAt: Date | null
deviceType: string | null
isReadOnly: boolean | null
}
export type AppInstallMaxAggregateOutputType = {
id: string | null
deviceId: number | null
appId: string | null
token: string | null
note: string | null
installedAt: Date | null
updatedAt: Date | null
deviceType: string | null
isReadOnly: boolean | null
}
export type AppInstallCountAggregateOutputType = {
id: number
deviceId: number
appId: number
token: number
note: number
installedAt: number
updatedAt: number
deviceType: number
isReadOnly: number
_all: number
}
export type AppInstallAvgAggregateInputType = {
deviceId?: true
}
export type AppInstallSumAggregateInputType = {
deviceId?: true
}
export type AppInstallMinAggregateInputType = {
id?: true
deviceId?: true
appId?: true
token?: true
note?: true
installedAt?: true
updatedAt?: true
deviceType?: true
isReadOnly?: true
}
export type AppInstallMaxAggregateInputType = {
id?: true
deviceId?: true
appId?: true
token?: true
note?: true
installedAt?: true
updatedAt?: true
deviceType?: true
isReadOnly?: true
}
export type AppInstallCountAggregateInputType = {
id?: true
deviceId?: true
appId?: true
token?: true
note?: true
installedAt?: true
updatedAt?: true
deviceType?: true
isReadOnly?: true
_all?: true
}
export type AppInstallAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AppInstall to aggregate.
*/
where?: Prisma.AppInstallWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppInstalls to fetch.
*/
orderBy?: Prisma.AppInstallOrderByWithRelationInput | Prisma.AppInstallOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AppInstallWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppInstalls 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` AppInstalls.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AppInstalls
**/
_count?: true | AppInstallCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: AppInstallAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: AppInstallSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AppInstallMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AppInstallMaxAggregateInputType
}
export type GetAppInstallAggregateType<T extends AppInstallAggregateArgs> = {
[P in keyof T & keyof AggregateAppInstall]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAppInstall[P]>
: Prisma.GetScalarType<T[P], AggregateAppInstall[P]>
}
export type AppInstallGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppInstallWhereInput
orderBy?: Prisma.AppInstallOrderByWithAggregationInput | Prisma.AppInstallOrderByWithAggregationInput[]
by: Prisma.AppInstallScalarFieldEnum[] | Prisma.AppInstallScalarFieldEnum
having?: Prisma.AppInstallScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AppInstallCountAggregateInputType | true
_avg?: AppInstallAvgAggregateInputType
_sum?: AppInstallSumAggregateInputType
_min?: AppInstallMinAggregateInputType
_max?: AppInstallMaxAggregateInputType
}
export type AppInstallGroupByOutputType = {
id: string
deviceId: number
appId: string
token: string
note: string | null
installedAt: Date
updatedAt: Date
deviceType: string | null
isReadOnly: boolean
_count: AppInstallCountAggregateOutputType | null
_avg: AppInstallAvgAggregateOutputType | null
_sum: AppInstallSumAggregateOutputType | null
_min: AppInstallMinAggregateOutputType | null
_max: AppInstallMaxAggregateOutputType | null
}
type GetAppInstallGroupByPayload<T extends AppInstallGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AppInstallGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AppInstallGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AppInstallGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AppInstallGroupByOutputType[P]>
}
>
>
export type AppInstallWhereInput = {
AND?: Prisma.AppInstallWhereInput | Prisma.AppInstallWhereInput[]
OR?: Prisma.AppInstallWhereInput[]
NOT?: Prisma.AppInstallWhereInput | Prisma.AppInstallWhereInput[]
id?: Prisma.StringFilter<"AppInstall"> | string
deviceId?: Prisma.IntFilter<"AppInstall"> | number
appId?: Prisma.StringFilter<"AppInstall"> | string
token?: Prisma.StringFilter<"AppInstall"> | string
note?: Prisma.StringNullableFilter<"AppInstall"> | string | null
installedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
deviceType?: Prisma.StringNullableFilter<"AppInstall"> | string | null
isReadOnly?: Prisma.BoolFilter<"AppInstall"> | boolean
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
}
export type AppInstallOrderByWithRelationInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
appId?: Prisma.SortOrder
token?: Prisma.SortOrder
note?: Prisma.SortOrderInput | Prisma.SortOrder
installedAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
deviceType?: Prisma.SortOrderInput | Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
device?: Prisma.DeviceOrderByWithRelationInput
}
export type AppInstallWhereUniqueInput = Prisma.AtLeast<{
id?: string
token?: string
AND?: Prisma.AppInstallWhereInput | Prisma.AppInstallWhereInput[]
OR?: Prisma.AppInstallWhereInput[]
NOT?: Prisma.AppInstallWhereInput | Prisma.AppInstallWhereInput[]
deviceId?: Prisma.IntFilter<"AppInstall"> | number
appId?: Prisma.StringFilter<"AppInstall"> | string
note?: Prisma.StringNullableFilter<"AppInstall"> | string | null
installedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
deviceType?: Prisma.StringNullableFilter<"AppInstall"> | string | null
isReadOnly?: Prisma.BoolFilter<"AppInstall"> | boolean
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
}, "id" | "token">
export type AppInstallOrderByWithAggregationInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
appId?: Prisma.SortOrder
token?: Prisma.SortOrder
note?: Prisma.SortOrderInput | Prisma.SortOrder
installedAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
deviceType?: Prisma.SortOrderInput | Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
_count?: Prisma.AppInstallCountOrderByAggregateInput
_avg?: Prisma.AppInstallAvgOrderByAggregateInput
_max?: Prisma.AppInstallMaxOrderByAggregateInput
_min?: Prisma.AppInstallMinOrderByAggregateInput
_sum?: Prisma.AppInstallSumOrderByAggregateInput
}
export type AppInstallScalarWhereWithAggregatesInput = {
AND?: Prisma.AppInstallScalarWhereWithAggregatesInput | Prisma.AppInstallScalarWhereWithAggregatesInput[]
OR?: Prisma.AppInstallScalarWhereWithAggregatesInput[]
NOT?: Prisma.AppInstallScalarWhereWithAggregatesInput | Prisma.AppInstallScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AppInstall"> | string
deviceId?: Prisma.IntWithAggregatesFilter<"AppInstall"> | number
appId?: Prisma.StringWithAggregatesFilter<"AppInstall"> | string
token?: Prisma.StringWithAggregatesFilter<"AppInstall"> | string
note?: Prisma.StringNullableWithAggregatesFilter<"AppInstall"> | string | null
installedAt?: Prisma.DateTimeWithAggregatesFilter<"AppInstall"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AppInstall"> | Date | string
deviceType?: Prisma.StringNullableWithAggregatesFilter<"AppInstall"> | string | null
isReadOnly?: Prisma.BoolWithAggregatesFilter<"AppInstall"> | boolean
}
export type AppInstallCreateInput = {
id: string
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
device: Prisma.DeviceCreateNestedOneWithoutAppInstallsInput
}
export type AppInstallUncheckedCreateInput = {
id: string
deviceId: number
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
}
export type AppInstallUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
device?: Prisma.DeviceUpdateOneRequiredWithoutAppInstallsNestedInput
}
export type AppInstallUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
deviceId?: Prisma.IntFieldUpdateOperationsInput | number
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallCreateManyInput = {
id: string
deviceId: number
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
}
export type AppInstallUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
deviceId?: Prisma.IntFieldUpdateOperationsInput | number
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallCountOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
appId?: Prisma.SortOrder
token?: Prisma.SortOrder
note?: Prisma.SortOrder
installedAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
}
export type AppInstallAvgOrderByAggregateInput = {
deviceId?: Prisma.SortOrder
}
export type AppInstallMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
appId?: Prisma.SortOrder
token?: Prisma.SortOrder
note?: Prisma.SortOrder
installedAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
}
export type AppInstallMinOrderByAggregateInput = {
id?: Prisma.SortOrder
deviceId?: Prisma.SortOrder
appId?: Prisma.SortOrder
token?: Prisma.SortOrder
note?: Prisma.SortOrder
installedAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
deviceType?: Prisma.SortOrder
isReadOnly?: Prisma.SortOrder
}
export type AppInstallSumOrderByAggregateInput = {
deviceId?: Prisma.SortOrder
}
export type AppInstallListRelationFilter = {
every?: Prisma.AppInstallWhereInput
some?: Prisma.AppInstallWhereInput
none?: Prisma.AppInstallWhereInput
}
export type AppInstallOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type BoolFieldUpdateOperationsInput = {
set?: boolean
}
export type AppInstallCreateNestedManyWithoutDeviceInput = {
create?: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput> | Prisma.AppInstallCreateWithoutDeviceInput[] | Prisma.AppInstallUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AppInstallCreateOrConnectWithoutDeviceInput | Prisma.AppInstallCreateOrConnectWithoutDeviceInput[]
createMany?: Prisma.AppInstallCreateManyDeviceInputEnvelope
connect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
}
export type AppInstallUncheckedCreateNestedManyWithoutDeviceInput = {
create?: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput> | Prisma.AppInstallCreateWithoutDeviceInput[] | Prisma.AppInstallUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AppInstallCreateOrConnectWithoutDeviceInput | Prisma.AppInstallCreateOrConnectWithoutDeviceInput[]
createMany?: Prisma.AppInstallCreateManyDeviceInputEnvelope
connect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
}
export type AppInstallUpdateManyWithoutDeviceNestedInput = {
create?: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput> | Prisma.AppInstallCreateWithoutDeviceInput[] | Prisma.AppInstallUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AppInstallCreateOrConnectWithoutDeviceInput | Prisma.AppInstallCreateOrConnectWithoutDeviceInput[]
upsert?: Prisma.AppInstallUpsertWithWhereUniqueWithoutDeviceInput | Prisma.AppInstallUpsertWithWhereUniqueWithoutDeviceInput[]
createMany?: Prisma.AppInstallCreateManyDeviceInputEnvelope
set?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
disconnect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
delete?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
connect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
update?: Prisma.AppInstallUpdateWithWhereUniqueWithoutDeviceInput | Prisma.AppInstallUpdateWithWhereUniqueWithoutDeviceInput[]
updateMany?: Prisma.AppInstallUpdateManyWithWhereWithoutDeviceInput | Prisma.AppInstallUpdateManyWithWhereWithoutDeviceInput[]
deleteMany?: Prisma.AppInstallScalarWhereInput | Prisma.AppInstallScalarWhereInput[]
}
export type AppInstallUncheckedUpdateManyWithoutDeviceNestedInput = {
create?: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput> | Prisma.AppInstallCreateWithoutDeviceInput[] | Prisma.AppInstallUncheckedCreateWithoutDeviceInput[]
connectOrCreate?: Prisma.AppInstallCreateOrConnectWithoutDeviceInput | Prisma.AppInstallCreateOrConnectWithoutDeviceInput[]
upsert?: Prisma.AppInstallUpsertWithWhereUniqueWithoutDeviceInput | Prisma.AppInstallUpsertWithWhereUniqueWithoutDeviceInput[]
createMany?: Prisma.AppInstallCreateManyDeviceInputEnvelope
set?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
disconnect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
delete?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
connect?: Prisma.AppInstallWhereUniqueInput | Prisma.AppInstallWhereUniqueInput[]
update?: Prisma.AppInstallUpdateWithWhereUniqueWithoutDeviceInput | Prisma.AppInstallUpdateWithWhereUniqueWithoutDeviceInput[]
updateMany?: Prisma.AppInstallUpdateManyWithWhereWithoutDeviceInput | Prisma.AppInstallUpdateManyWithWhereWithoutDeviceInput[]
deleteMany?: Prisma.AppInstallScalarWhereInput | Prisma.AppInstallScalarWhereInput[]
}
export type AppInstallCreateWithoutDeviceInput = {
id: string
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
}
export type AppInstallUncheckedCreateWithoutDeviceInput = {
id: string
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
}
export type AppInstallCreateOrConnectWithoutDeviceInput = {
where: Prisma.AppInstallWhereUniqueInput
create: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput>
}
export type AppInstallCreateManyDeviceInputEnvelope = {
data: Prisma.AppInstallCreateManyDeviceInput | Prisma.AppInstallCreateManyDeviceInput[]
skipDuplicates?: boolean
}
export type AppInstallUpsertWithWhereUniqueWithoutDeviceInput = {
where: Prisma.AppInstallWhereUniqueInput
update: Prisma.XOR<Prisma.AppInstallUpdateWithoutDeviceInput, Prisma.AppInstallUncheckedUpdateWithoutDeviceInput>
create: Prisma.XOR<Prisma.AppInstallCreateWithoutDeviceInput, Prisma.AppInstallUncheckedCreateWithoutDeviceInput>
}
export type AppInstallUpdateWithWhereUniqueWithoutDeviceInput = {
where: Prisma.AppInstallWhereUniqueInput
data: Prisma.XOR<Prisma.AppInstallUpdateWithoutDeviceInput, Prisma.AppInstallUncheckedUpdateWithoutDeviceInput>
}
export type AppInstallUpdateManyWithWhereWithoutDeviceInput = {
where: Prisma.AppInstallScalarWhereInput
data: Prisma.XOR<Prisma.AppInstallUpdateManyMutationInput, Prisma.AppInstallUncheckedUpdateManyWithoutDeviceInput>
}
export type AppInstallScalarWhereInput = {
AND?: Prisma.AppInstallScalarWhereInput | Prisma.AppInstallScalarWhereInput[]
OR?: Prisma.AppInstallScalarWhereInput[]
NOT?: Prisma.AppInstallScalarWhereInput | Prisma.AppInstallScalarWhereInput[]
id?: Prisma.StringFilter<"AppInstall"> | string
deviceId?: Prisma.IntFilter<"AppInstall"> | number
appId?: Prisma.StringFilter<"AppInstall"> | string
token?: Prisma.StringFilter<"AppInstall"> | string
note?: Prisma.StringNullableFilter<"AppInstall"> | string | null
installedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AppInstall"> | Date | string
deviceType?: Prisma.StringNullableFilter<"AppInstall"> | string | null
isReadOnly?: Prisma.BoolFilter<"AppInstall"> | boolean
}
export type AppInstallCreateManyDeviceInput = {
id: string
appId: string
token: string
note?: string | null
installedAt?: Date | string
updatedAt?: Date | string
deviceType?: string | null
isReadOnly?: boolean
}
export type AppInstallUpdateWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallUncheckedUpdateWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallUncheckedUpdateManyWithoutDeviceInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
token?: Prisma.StringFieldUpdateOperationsInput | string
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deviceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppInstallSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
appId?: boolean
token?: boolean
note?: boolean
installedAt?: boolean
updatedAt?: boolean
deviceType?: boolean
isReadOnly?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appInstall"]>
export type AppInstallSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
appId?: boolean
token?: boolean
note?: boolean
installedAt?: boolean
updatedAt?: boolean
deviceType?: boolean
isReadOnly?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appInstall"]>
export type AppInstallSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
deviceId?: boolean
appId?: boolean
token?: boolean
note?: boolean
installedAt?: boolean
updatedAt?: boolean
deviceType?: boolean
isReadOnly?: boolean
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appInstall"]>
export type AppInstallSelectScalar = {
id?: boolean
deviceId?: boolean
appId?: boolean
token?: boolean
note?: boolean
installedAt?: boolean
updatedAt?: boolean
deviceType?: boolean
isReadOnly?: boolean
}
export type AppInstallOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "deviceId" | "appId" | "token" | "note" | "installedAt" | "updatedAt" | "deviceType" | "isReadOnly", ExtArgs["result"]["appInstall"]>
export type AppInstallInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type AppInstallIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type AppInstallIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
}
export type $AppInstallPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AppInstall"
objects: {
device: Prisma.$DevicePayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
deviceId: number
appId: string
token: string
note: string | null
installedAt: Date
updatedAt: Date
deviceType: string | null
isReadOnly: boolean
}, ExtArgs["result"]["appInstall"]>
composites: {}
}
export type AppInstallGetPayload<S extends boolean | null | undefined | AppInstallDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AppInstallPayload, S>
export type AppInstallCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AppInstallFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AppInstallCountAggregateInputType | true
}
export interface AppInstallDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AppInstall'], meta: { name: 'AppInstall' } }
/**
* Find zero or one AppInstall that matches the filter.
* @param {AppInstallFindUniqueArgs} args - Arguments to find a AppInstall
* @example
* // Get one AppInstall
* const appInstall = await prisma.appInstall.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AppInstallFindUniqueArgs>(args: Prisma.SelectSubset<T, AppInstallFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AppInstall that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AppInstallFindUniqueOrThrowArgs} args - Arguments to find a AppInstall
* @example
* // Get one AppInstall
* const appInstall = await prisma.appInstall.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AppInstallFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AppInstallFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AppInstall 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 {AppInstallFindFirstArgs} args - Arguments to find a AppInstall
* @example
* // Get one AppInstall
* const appInstall = await prisma.appInstall.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AppInstallFindFirstArgs>(args?: Prisma.SelectSubset<T, AppInstallFindFirstArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AppInstall 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 {AppInstallFindFirstOrThrowArgs} args - Arguments to find a AppInstall
* @example
* // Get one AppInstall
* const appInstall = await prisma.appInstall.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AppInstallFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AppInstallFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AppInstalls 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 {AppInstallFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AppInstalls
* const appInstalls = await prisma.appInstall.findMany()
*
* // Get first 10 AppInstalls
* const appInstalls = await prisma.appInstall.findMany({ take: 10 })
*
* // Only select the `id`
* const appInstallWithIdOnly = await prisma.appInstall.findMany({ select: { id: true } })
*
*/
findMany<T extends AppInstallFindManyArgs>(args?: Prisma.SelectSubset<T, AppInstallFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AppInstall.
* @param {AppInstallCreateArgs} args - Arguments to create a AppInstall.
* @example
* // Create one AppInstall
* const AppInstall = await prisma.appInstall.create({
* data: {
* // ... data to create a AppInstall
* }
* })
*
*/
create<T extends AppInstallCreateArgs>(args: Prisma.SelectSubset<T, AppInstallCreateArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AppInstalls.
* @param {AppInstallCreateManyArgs} args - Arguments to create many AppInstalls.
* @example
* // Create many AppInstalls
* const appInstall = await prisma.appInstall.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AppInstallCreateManyArgs>(args?: Prisma.SelectSubset<T, AppInstallCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AppInstalls and returns the data saved in the database.
* @param {AppInstallCreateManyAndReturnArgs} args - Arguments to create many AppInstalls.
* @example
* // Create many AppInstalls
* const appInstall = await prisma.appInstall.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AppInstalls and only return the `id`
* const appInstallWithIdOnly = await prisma.appInstall.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 AppInstallCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AppInstallCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AppInstall.
* @param {AppInstallDeleteArgs} args - Arguments to delete one AppInstall.
* @example
* // Delete one AppInstall
* const AppInstall = await prisma.appInstall.delete({
* where: {
* // ... filter to delete one AppInstall
* }
* })
*
*/
delete<T extends AppInstallDeleteArgs>(args: Prisma.SelectSubset<T, AppInstallDeleteArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AppInstall.
* @param {AppInstallUpdateArgs} args - Arguments to update one AppInstall.
* @example
* // Update one AppInstall
* const appInstall = await prisma.appInstall.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AppInstallUpdateArgs>(args: Prisma.SelectSubset<T, AppInstallUpdateArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AppInstalls.
* @param {AppInstallDeleteManyArgs} args - Arguments to filter AppInstalls to delete.
* @example
* // Delete a few AppInstalls
* const { count } = await prisma.appInstall.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AppInstallDeleteManyArgs>(args?: Prisma.SelectSubset<T, AppInstallDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AppInstalls.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppInstallUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AppInstalls
* const appInstall = await prisma.appInstall.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AppInstallUpdateManyArgs>(args: Prisma.SelectSubset<T, AppInstallUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AppInstalls and returns the data updated in the database.
* @param {AppInstallUpdateManyAndReturnArgs} args - Arguments to update many AppInstalls.
* @example
* // Update many AppInstalls
* const appInstall = await prisma.appInstall.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AppInstalls and only return the `id`
* const appInstallWithIdOnly = await prisma.appInstall.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 AppInstallUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AppInstallUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AppInstall.
* @param {AppInstallUpsertArgs} args - Arguments to update or create a AppInstall.
* @example
* // Update or create a AppInstall
* const appInstall = await prisma.appInstall.upsert({
* create: {
* // ... data to create a AppInstall
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AppInstall we want to update
* }
* })
*/
upsert<T extends AppInstallUpsertArgs>(args: Prisma.SelectSubset<T, AppInstallUpsertArgs<ExtArgs>>): Prisma.Prisma__AppInstallClient<runtime.Types.Result.GetResult<Prisma.$AppInstallPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AppInstalls.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppInstallCountArgs} args - Arguments to filter AppInstalls to count.
* @example
* // Count the number of AppInstalls
* const count = await prisma.appInstall.count({
* where: {
* // ... the filter for the AppInstalls we want to count
* }
* })
**/
count<T extends AppInstallCountArgs>(
args?: Prisma.Subset<T, AppInstallCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AppInstallCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AppInstall.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppInstallAggregateArgs} 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 AppInstallAggregateArgs>(args: Prisma.Subset<T, AppInstallAggregateArgs>): Prisma.PrismaPromise<GetAppInstallAggregateType<T>>
/**
* Group by AppInstall.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppInstallGroupByArgs} 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 AppInstallGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AppInstallGroupByArgs['orderBy'] }
: { orderBy?: AppInstallGroupByArgs['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, AppInstallGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppInstallGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AppInstall model
*/
readonly fields: AppInstallFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AppInstall.
* 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__AppInstallClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
device<T extends Prisma.DeviceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DeviceDefaultArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<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 AppInstall model
*/
export interface AppInstallFieldRefs {
readonly id: Prisma.FieldRef<"AppInstall", 'String'>
readonly deviceId: Prisma.FieldRef<"AppInstall", 'Int'>
readonly appId: Prisma.FieldRef<"AppInstall", 'String'>
readonly token: Prisma.FieldRef<"AppInstall", 'String'>
readonly note: Prisma.FieldRef<"AppInstall", 'String'>
readonly installedAt: Prisma.FieldRef<"AppInstall", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AppInstall", 'DateTime'>
readonly deviceType: Prisma.FieldRef<"AppInstall", 'String'>
readonly isReadOnly: Prisma.FieldRef<"AppInstall", 'Boolean'>
}
// Custom InputTypes
/**
* AppInstall findUnique
*/
export type AppInstallFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter, which AppInstall to fetch.
*/
where: Prisma.AppInstallWhereUniqueInput
}
/**
* AppInstall findUniqueOrThrow
*/
export type AppInstallFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter, which AppInstall to fetch.
*/
where: Prisma.AppInstallWhereUniqueInput
}
/**
* AppInstall findFirst
*/
export type AppInstallFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter, which AppInstall to fetch.
*/
where?: Prisma.AppInstallWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppInstalls to fetch.
*/
orderBy?: Prisma.AppInstallOrderByWithRelationInput | Prisma.AppInstallOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AppInstalls.
*/
cursor?: Prisma.AppInstallWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppInstalls 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` AppInstalls.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AppInstalls.
*/
distinct?: Prisma.AppInstallScalarFieldEnum | Prisma.AppInstallScalarFieldEnum[]
}
/**
* AppInstall findFirstOrThrow
*/
export type AppInstallFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter, which AppInstall to fetch.
*/
where?: Prisma.AppInstallWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppInstalls to fetch.
*/
orderBy?: Prisma.AppInstallOrderByWithRelationInput | Prisma.AppInstallOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AppInstalls.
*/
cursor?: Prisma.AppInstallWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppInstalls 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` AppInstalls.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AppInstalls.
*/
distinct?: Prisma.AppInstallScalarFieldEnum | Prisma.AppInstallScalarFieldEnum[]
}
/**
* AppInstall findMany
*/
export type AppInstallFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter, which AppInstalls to fetch.
*/
where?: Prisma.AppInstallWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AppInstalls to fetch.
*/
orderBy?: Prisma.AppInstallOrderByWithRelationInput | Prisma.AppInstallOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AppInstalls.
*/
cursor?: Prisma.AppInstallWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AppInstalls 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` AppInstalls.
*/
skip?: number
distinct?: Prisma.AppInstallScalarFieldEnum | Prisma.AppInstallScalarFieldEnum[]
}
/**
* AppInstall create
*/
export type AppInstallCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* The data needed to create a AppInstall.
*/
data: Prisma.XOR<Prisma.AppInstallCreateInput, Prisma.AppInstallUncheckedCreateInput>
}
/**
* AppInstall createMany
*/
export type AppInstallCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AppInstalls.
*/
data: Prisma.AppInstallCreateManyInput | Prisma.AppInstallCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AppInstall createManyAndReturn
*/
export type AppInstallCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* The data used to create many AppInstalls.
*/
data: Prisma.AppInstallCreateManyInput | Prisma.AppInstallCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AppInstall update
*/
export type AppInstallUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* The data needed to update a AppInstall.
*/
data: Prisma.XOR<Prisma.AppInstallUpdateInput, Prisma.AppInstallUncheckedUpdateInput>
/**
* Choose, which AppInstall to update.
*/
where: Prisma.AppInstallWhereUniqueInput
}
/**
* AppInstall updateMany
*/
export type AppInstallUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AppInstalls.
*/
data: Prisma.XOR<Prisma.AppInstallUpdateManyMutationInput, Prisma.AppInstallUncheckedUpdateManyInput>
/**
* Filter which AppInstalls to update
*/
where?: Prisma.AppInstallWhereInput
/**
* Limit how many AppInstalls to update.
*/
limit?: number
}
/**
* AppInstall updateManyAndReturn
*/
export type AppInstallUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* The data used to update AppInstalls.
*/
data: Prisma.XOR<Prisma.AppInstallUpdateManyMutationInput, Prisma.AppInstallUncheckedUpdateManyInput>
/**
* Filter which AppInstalls to update
*/
where?: Prisma.AppInstallWhereInput
/**
* Limit how many AppInstalls to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AppInstall upsert
*/
export type AppInstallUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* The filter to search for the AppInstall to update in case it exists.
*/
where: Prisma.AppInstallWhereUniqueInput
/**
* In case the AppInstall found by the `where` argument doesn't exist, create a new AppInstall with this data.
*/
create: Prisma.XOR<Prisma.AppInstallCreateInput, Prisma.AppInstallUncheckedCreateInput>
/**
* In case the AppInstall was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AppInstallUpdateInput, Prisma.AppInstallUncheckedUpdateInput>
}
/**
* AppInstall delete
*/
export type AppInstallDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
/**
* Filter which AppInstall to delete.
*/
where: Prisma.AppInstallWhereUniqueInput
}
/**
* AppInstall deleteMany
*/
export type AppInstallDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AppInstalls to delete
*/
where?: Prisma.AppInstallWhereInput
/**
* Limit how many AppInstalls to delete.
*/
limit?: number
}
/**
* AppInstall without action
*/
export type AppInstallDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppInstall
*/
select?: Prisma.AppInstallSelect<ExtArgs> | null
/**
* Omit specific fields from the AppInstall
*/
omit?: Prisma.AppInstallOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInstallInclude<ExtArgs> | null
}