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

1812 lines
66 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 `App` 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 App
*
*/
export type AppModel = runtime.Types.Result.DefaultSelection<Prisma.$AppPayload>
export type AggregateApp = {
_count: AppCountAggregateOutputType | null
_min: AppMinAggregateOutputType | null
_max: AppMaxAggregateOutputType | null
}
export type AppMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
type: string | null
config: string | null
icon: string | null
isActive: boolean | null
installedByUserId: string | null
}
export type AppMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
type: string | null
config: string | null
icon: string | null
isActive: boolean | null
installedByUserId: string | null
}
export type AppCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
type: number
config: number
icon: number
isActive: number
installedByUserId: number
_all: number
}
export type AppMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
type?: true
config?: true
icon?: true
isActive?: true
installedByUserId?: true
}
export type AppMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
type?: true
config?: true
icon?: true
isActive?: true
installedByUserId?: true
}
export type AppCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
type?: true
config?: true
icon?: true
isActive?: true
installedByUserId?: true
_all?: true
}
export type AppAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which App to aggregate.
*/
where?: Prisma.AppWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Apps to fetch.
*/
orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AppWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Apps 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` Apps.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Apps
**/
_count?: true | AppCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AppMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AppMaxAggregateInputType
}
export type GetAppAggregateType<T extends AppAggregateArgs> = {
[P in keyof T & keyof AggregateApp]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateApp[P]>
: Prisma.GetScalarType<T[P], AggregateApp[P]>
}
export type AppGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppWhereInput
orderBy?: Prisma.AppOrderByWithAggregationInput | Prisma.AppOrderByWithAggregationInput[]
by: Prisma.AppScalarFieldEnum[] | Prisma.AppScalarFieldEnum
having?: Prisma.AppScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AppCountAggregateInputType | true
_min?: AppMinAggregateInputType
_max?: AppMaxAggregateInputType
}
export type AppGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
type: string
config: string
icon: string | null
isActive: boolean
installedByUserId: string | null
_count: AppCountAggregateOutputType | null
_min: AppMinAggregateOutputType | null
_max: AppMaxAggregateOutputType | null
}
export type GetAppGroupByPayload<T extends AppGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AppGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AppGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AppGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AppGroupByOutputType[P]>
}
>
>
export type AppWhereInput = {
AND?: Prisma.AppWhereInput | Prisma.AppWhereInput[]
OR?: Prisma.AppWhereInput[]
NOT?: Prisma.AppWhereInput | Prisma.AppWhereInput[]
id?: Prisma.StringFilter<"App"> | string
createdAt?: Prisma.DateTimeFilter<"App"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string
tenantId?: Prisma.StringFilter<"App"> | string
type?: Prisma.StringFilter<"App"> | string
config?: Prisma.StringFilter<"App"> | string
icon?: Prisma.StringNullableFilter<"App"> | string | null
isActive?: Prisma.BoolFilter<"App"> | boolean
installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
installedByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
syncRuns?: Prisma.AppSyncRunListRelationFilter
}
export type AppOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
icon?: Prisma.SortOrderInput | Prisma.SortOrder
isActive?: Prisma.SortOrder
installedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
tenant?: Prisma.TenantOrderByWithRelationInput
installedByUser?: Prisma.UserOrderByWithRelationInput
syncRuns?: Prisma.AppSyncRunOrderByRelationAggregateInput
}
export type AppWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_type?: Prisma.AppTenantIdTypeCompoundUniqueInput
AND?: Prisma.AppWhereInput | Prisma.AppWhereInput[]
OR?: Prisma.AppWhereInput[]
NOT?: Prisma.AppWhereInput | Prisma.AppWhereInput[]
createdAt?: Prisma.DateTimeFilter<"App"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string
tenantId?: Prisma.StringFilter<"App"> | string
type?: Prisma.StringFilter<"App"> | string
config?: Prisma.StringFilter<"App"> | string
icon?: Prisma.StringNullableFilter<"App"> | string | null
isActive?: Prisma.BoolFilter<"App"> | boolean
installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
installedByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
syncRuns?: Prisma.AppSyncRunListRelationFilter
}, "id" | "tenantId_type">
export type AppOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
icon?: Prisma.SortOrderInput | Prisma.SortOrder
isActive?: Prisma.SortOrder
installedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AppCountOrderByAggregateInput
_max?: Prisma.AppMaxOrderByAggregateInput
_min?: Prisma.AppMinOrderByAggregateInput
}
export type AppScalarWhereWithAggregatesInput = {
AND?: Prisma.AppScalarWhereWithAggregatesInput | Prisma.AppScalarWhereWithAggregatesInput[]
OR?: Prisma.AppScalarWhereWithAggregatesInput[]
NOT?: Prisma.AppScalarWhereWithAggregatesInput | Prisma.AppScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"App"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"App"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"App"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"App"> | string
type?: Prisma.StringWithAggregatesFilter<"App"> | string
config?: Prisma.StringWithAggregatesFilter<"App"> | string
icon?: Prisma.StringNullableWithAggregatesFilter<"App"> | string | null
isActive?: Prisma.BoolWithAggregatesFilter<"App"> | boolean
installedByUserId?: Prisma.StringNullableWithAggregatesFilter<"App"> | string | null
}
export type AppCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
tenant: Prisma.TenantCreateNestedOneWithoutAppsInput
installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput
syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput
}
export type AppUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUserId?: string | null
syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput
}
export type AppUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput
installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput
syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput
}
export type AppUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput
}
export type AppCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUserId?: string | null
}
export type AppUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AppListRelationFilter = {
every?: Prisma.AppWhereInput
some?: Prisma.AppWhereInput
none?: Prisma.AppWhereInput
}
export type AppOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AppTenantIdTypeCompoundUniqueInput = {
tenantId: string
type: string
}
export type AppCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
icon?: Prisma.SortOrder
isActive?: Prisma.SortOrder
installedByUserId?: Prisma.SortOrder
}
export type AppMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
icon?: Prisma.SortOrder
isActive?: Prisma.SortOrder
installedByUserId?: Prisma.SortOrder
}
export type AppMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
icon?: Prisma.SortOrder
isActive?: Prisma.SortOrder
installedByUserId?: Prisma.SortOrder
}
export type AppScalarRelationFilter = {
is?: Prisma.AppWhereInput
isNot?: Prisma.AppWhereInput
}
export type AppCreateNestedManyWithoutInstalledByUserInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput> | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[]
createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
}
export type AppUncheckedCreateNestedManyWithoutInstalledByUserInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput> | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[]
createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
}
export type AppUpdateManyWithoutInstalledByUserNestedInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput> | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[]
upsert?: Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput[]
createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope
set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
update?: Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput[]
updateMany?: Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput | Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput[]
deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
}
export type AppUncheckedUpdateManyWithoutInstalledByUserNestedInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput> | Prisma.AppCreateWithoutInstalledByUserInput[] | Prisma.AppUncheckedCreateWithoutInstalledByUserInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutInstalledByUserInput | Prisma.AppCreateOrConnectWithoutInstalledByUserInput[]
upsert?: Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpsertWithWhereUniqueWithoutInstalledByUserInput[]
createMany?: Prisma.AppCreateManyInstalledByUserInputEnvelope
set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
update?: Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput | Prisma.AppUpdateWithWhereUniqueWithoutInstalledByUserInput[]
updateMany?: Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput | Prisma.AppUpdateManyWithWhereWithoutInstalledByUserInput[]
deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
}
export type AppCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput> | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AppCreateManyTenantInputEnvelope
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
}
export type AppUncheckedCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput> | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AppCreateManyTenantInputEnvelope
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
}
export type AppUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput> | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AppUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AppCreateManyTenantInputEnvelope
set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
update?: Prisma.AppUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AppUpdateManyWithWhereWithoutTenantInput | Prisma.AppUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
}
export type AppUncheckedUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput> | Prisma.AppCreateWithoutTenantInput[] | Prisma.AppUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AppCreateOrConnectWithoutTenantInput | Prisma.AppCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AppUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AppCreateManyTenantInputEnvelope
set?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
disconnect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
delete?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
connect?: Prisma.AppWhereUniqueInput | Prisma.AppWhereUniqueInput[]
update?: Prisma.AppUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AppUpdateManyWithWhereWithoutTenantInput | Prisma.AppUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
}
export type AppCreateNestedOneWithoutSyncRunsInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutSyncRunsInput, Prisma.AppUncheckedCreateWithoutSyncRunsInput>
connectOrCreate?: Prisma.AppCreateOrConnectWithoutSyncRunsInput
connect?: Prisma.AppWhereUniqueInput
}
export type AppUpdateOneRequiredWithoutSyncRunsNestedInput = {
create?: Prisma.XOR<Prisma.AppCreateWithoutSyncRunsInput, Prisma.AppUncheckedCreateWithoutSyncRunsInput>
connectOrCreate?: Prisma.AppCreateOrConnectWithoutSyncRunsInput
upsert?: Prisma.AppUpsertWithoutSyncRunsInput
connect?: Prisma.AppWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AppUpdateToOneWithWhereWithoutSyncRunsInput, Prisma.AppUpdateWithoutSyncRunsInput>, Prisma.AppUncheckedUpdateWithoutSyncRunsInput>
}
export type AppCreateWithoutInstalledByUserInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
tenant: Prisma.TenantCreateNestedOneWithoutAppsInput
syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput
}
export type AppUncheckedCreateWithoutInstalledByUserInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
type: string
config?: string
icon?: string | null
isActive?: boolean
syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput
}
export type AppCreateOrConnectWithoutInstalledByUserInput = {
where: Prisma.AppWhereUniqueInput
create: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput>
}
export type AppCreateManyInstalledByUserInputEnvelope = {
data: Prisma.AppCreateManyInstalledByUserInput | Prisma.AppCreateManyInstalledByUserInput[]
skipDuplicates?: boolean
}
export type AppUpsertWithWhereUniqueWithoutInstalledByUserInput = {
where: Prisma.AppWhereUniqueInput
update: Prisma.XOR<Prisma.AppUpdateWithoutInstalledByUserInput, Prisma.AppUncheckedUpdateWithoutInstalledByUserInput>
create: Prisma.XOR<Prisma.AppCreateWithoutInstalledByUserInput, Prisma.AppUncheckedCreateWithoutInstalledByUserInput>
}
export type AppUpdateWithWhereUniqueWithoutInstalledByUserInput = {
where: Prisma.AppWhereUniqueInput
data: Prisma.XOR<Prisma.AppUpdateWithoutInstalledByUserInput, Prisma.AppUncheckedUpdateWithoutInstalledByUserInput>
}
export type AppUpdateManyWithWhereWithoutInstalledByUserInput = {
where: Prisma.AppScalarWhereInput
data: Prisma.XOR<Prisma.AppUpdateManyMutationInput, Prisma.AppUncheckedUpdateManyWithoutInstalledByUserInput>
}
export type AppScalarWhereInput = {
AND?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
OR?: Prisma.AppScalarWhereInput[]
NOT?: Prisma.AppScalarWhereInput | Prisma.AppScalarWhereInput[]
id?: Prisma.StringFilter<"App"> | string
createdAt?: Prisma.DateTimeFilter<"App"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"App"> | Date | string
tenantId?: Prisma.StringFilter<"App"> | string
type?: Prisma.StringFilter<"App"> | string
config?: Prisma.StringFilter<"App"> | string
icon?: Prisma.StringNullableFilter<"App"> | string | null
isActive?: Prisma.BoolFilter<"App"> | boolean
installedByUserId?: Prisma.StringNullableFilter<"App"> | string | null
}
export type AppCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput
syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutAppInput
}
export type AppUncheckedCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUserId?: string | null
syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutAppInput
}
export type AppCreateOrConnectWithoutTenantInput = {
where: Prisma.AppWhereUniqueInput
create: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput>
}
export type AppCreateManyTenantInputEnvelope = {
data: Prisma.AppCreateManyTenantInput | Prisma.AppCreateManyTenantInput[]
skipDuplicates?: boolean
}
export type AppUpsertWithWhereUniqueWithoutTenantInput = {
where: Prisma.AppWhereUniqueInput
update: Prisma.XOR<Prisma.AppUpdateWithoutTenantInput, Prisma.AppUncheckedUpdateWithoutTenantInput>
create: Prisma.XOR<Prisma.AppCreateWithoutTenantInput, Prisma.AppUncheckedCreateWithoutTenantInput>
}
export type AppUpdateWithWhereUniqueWithoutTenantInput = {
where: Prisma.AppWhereUniqueInput
data: Prisma.XOR<Prisma.AppUpdateWithoutTenantInput, Prisma.AppUncheckedUpdateWithoutTenantInput>
}
export type AppUpdateManyWithWhereWithoutTenantInput = {
where: Prisma.AppScalarWhereInput
data: Prisma.XOR<Prisma.AppUpdateManyMutationInput, Prisma.AppUncheckedUpdateManyWithoutTenantInput>
}
export type AppCreateWithoutSyncRunsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
tenant: Prisma.TenantCreateNestedOneWithoutAppsInput
installedByUser?: Prisma.UserCreateNestedOneWithoutAppsInstalledInput
}
export type AppUncheckedCreateWithoutSyncRunsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUserId?: string | null
}
export type AppCreateOrConnectWithoutSyncRunsInput = {
where: Prisma.AppWhereUniqueInput
create: Prisma.XOR<Prisma.AppCreateWithoutSyncRunsInput, Prisma.AppUncheckedCreateWithoutSyncRunsInput>
}
export type AppUpsertWithoutSyncRunsInput = {
update: Prisma.XOR<Prisma.AppUpdateWithoutSyncRunsInput, Prisma.AppUncheckedUpdateWithoutSyncRunsInput>
create: Prisma.XOR<Prisma.AppCreateWithoutSyncRunsInput, Prisma.AppUncheckedCreateWithoutSyncRunsInput>
where?: Prisma.AppWhereInput
}
export type AppUpdateToOneWithWhereWithoutSyncRunsInput = {
where?: Prisma.AppWhereInput
data: Prisma.XOR<Prisma.AppUpdateWithoutSyncRunsInput, Prisma.AppUncheckedUpdateWithoutSyncRunsInput>
}
export type AppUpdateWithoutSyncRunsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput
installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput
}
export type AppUncheckedUpdateWithoutSyncRunsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AppCreateManyInstalledByUserInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
type: string
config?: string
icon?: string | null
isActive?: boolean
}
export type AppUpdateWithoutInstalledByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
tenant?: Prisma.TenantUpdateOneRequiredWithoutAppsNestedInput
syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput
}
export type AppUncheckedUpdateWithoutInstalledByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput
}
export type AppUncheckedUpdateManyWithoutInstalledByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AppCreateManyTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
config?: string
icon?: string | null
isActive?: boolean
installedByUserId?: string | null
}
export type AppUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUser?: Prisma.UserUpdateOneWithoutAppsInstalledNestedInput
syncRuns?: Prisma.AppSyncRunUpdateManyWithoutAppNestedInput
}
export type AppUncheckedUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutAppNestedInput
}
export type AppUncheckedUpdateManyWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
installedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type AppCountOutputType
*/
export type AppCountOutputType = {
syncRuns: number
}
export type AppCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRuns?: boolean | AppCountOutputTypeCountSyncRunsArgs
}
/**
* AppCountOutputType without action
*/
export type AppCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppCountOutputType
*/
select?: Prisma.AppCountOutputTypeSelect<ExtArgs> | null
}
/**
* AppCountOutputType without action
*/
export type AppCountOutputTypeCountSyncRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppSyncRunWhereInput
}
export type AppSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
type?: boolean
config?: boolean
icon?: boolean
isActive?: boolean
installedByUserId?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
syncRuns?: boolean | Prisma.App$syncRunsArgs<ExtArgs>
_count?: boolean | Prisma.AppCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["app"]>
export type AppSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
type?: boolean
config?: boolean
icon?: boolean
isActive?: boolean
installedByUserId?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
}, ExtArgs["result"]["app"]>
export type AppSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
type?: boolean
config?: boolean
icon?: boolean
isActive?: boolean
installedByUserId?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
}, ExtArgs["result"]["app"]>
export type AppSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
type?: boolean
config?: boolean
icon?: boolean
isActive?: boolean
installedByUserId?: boolean
}
export type AppOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "type" | "config" | "icon" | "isActive" | "installedByUserId", ExtArgs["result"]["app"]>
export type AppInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
syncRuns?: boolean | Prisma.App$syncRunsArgs<ExtArgs>
_count?: boolean | Prisma.AppCountOutputTypeDefaultArgs<ExtArgs>
}
export type AppIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
}
export type AppIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
installedByUser?: boolean | Prisma.App$installedByUserArgs<ExtArgs>
}
export type $AppPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "App"
objects: {
tenant: Prisma.$TenantPayload<ExtArgs>
installedByUser: Prisma.$UserPayload<ExtArgs> | null
syncRuns: Prisma.$AppSyncRunPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
type: string
config: string
icon: string | null
isActive: boolean
installedByUserId: string | null
}, ExtArgs["result"]["app"]>
composites: {}
}
export type AppGetPayload<S extends boolean | null | undefined | AppDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AppPayload, S>
export type AppCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AppFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AppCountAggregateInputType | true
}
export interface AppDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['App'], meta: { name: 'App' } }
/**
* Find zero or one App that matches the filter.
* @param {AppFindUniqueArgs} args - Arguments to find a App
* @example
* // Get one App
* const app = await prisma.app.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AppFindUniqueArgs>(args: Prisma.SelectSubset<T, AppFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one App that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AppFindUniqueOrThrowArgs} args - Arguments to find a App
* @example
* // Get one App
* const app = await prisma.app.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AppFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AppFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first App 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 {AppFindFirstArgs} args - Arguments to find a App
* @example
* // Get one App
* const app = await prisma.app.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AppFindFirstArgs>(args?: Prisma.SelectSubset<T, AppFindFirstArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first App 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 {AppFindFirstOrThrowArgs} args - Arguments to find a App
* @example
* // Get one App
* const app = await prisma.app.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AppFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AppFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Apps 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 {AppFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Apps
* const apps = await prisma.app.findMany()
*
* // Get first 10 Apps
* const apps = await prisma.app.findMany({ take: 10 })
*
* // Only select the `id`
* const appWithIdOnly = await prisma.app.findMany({ select: { id: true } })
*
*/
findMany<T extends AppFindManyArgs>(args?: Prisma.SelectSubset<T, AppFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a App.
* @param {AppCreateArgs} args - Arguments to create a App.
* @example
* // Create one App
* const App = await prisma.app.create({
* data: {
* // ... data to create a App
* }
* })
*
*/
create<T extends AppCreateArgs>(args: Prisma.SelectSubset<T, AppCreateArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Apps.
* @param {AppCreateManyArgs} args - Arguments to create many Apps.
* @example
* // Create many Apps
* const app = await prisma.app.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AppCreateManyArgs>(args?: Prisma.SelectSubset<T, AppCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Apps and returns the data saved in the database.
* @param {AppCreateManyAndReturnArgs} args - Arguments to create many Apps.
* @example
* // Create many Apps
* const app = await prisma.app.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Apps and only return the `id`
* const appWithIdOnly = await prisma.app.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 AppCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AppCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a App.
* @param {AppDeleteArgs} args - Arguments to delete one App.
* @example
* // Delete one App
* const App = await prisma.app.delete({
* where: {
* // ... filter to delete one App
* }
* })
*
*/
delete<T extends AppDeleteArgs>(args: Prisma.SelectSubset<T, AppDeleteArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one App.
* @param {AppUpdateArgs} args - Arguments to update one App.
* @example
* // Update one App
* const app = await prisma.app.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AppUpdateArgs>(args: Prisma.SelectSubset<T, AppUpdateArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Apps.
* @param {AppDeleteManyArgs} args - Arguments to filter Apps to delete.
* @example
* // Delete a few Apps
* const { count } = await prisma.app.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AppDeleteManyArgs>(args?: Prisma.SelectSubset<T, AppDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Apps.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Apps
* const app = await prisma.app.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AppUpdateManyArgs>(args: Prisma.SelectSubset<T, AppUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Apps and returns the data updated in the database.
* @param {AppUpdateManyAndReturnArgs} args - Arguments to update many Apps.
* @example
* // Update many Apps
* const app = await prisma.app.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Apps and only return the `id`
* const appWithIdOnly = await prisma.app.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 AppUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AppUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one App.
* @param {AppUpsertArgs} args - Arguments to update or create a App.
* @example
* // Update or create a App
* const app = await prisma.app.upsert({
* create: {
* // ... data to create a App
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the App we want to update
* }
* })
*/
upsert<T extends AppUpsertArgs>(args: Prisma.SelectSubset<T, AppUpsertArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Apps.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppCountArgs} args - Arguments to filter Apps to count.
* @example
* // Count the number of Apps
* const count = await prisma.app.count({
* where: {
* // ... the filter for the Apps we want to count
* }
* })
**/
count<T extends AppCountArgs>(
args?: Prisma.Subset<T, AppCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AppCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a App.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppAggregateArgs} 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 AppAggregateArgs>(args: Prisma.Subset<T, AppAggregateArgs>): Prisma.PrismaPromise<GetAppAggregateType<T>>
/**
* Group by App.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AppGroupByArgs} 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 AppGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AppGroupByArgs['orderBy'] }
: { orderBy?: AppGroupByArgs['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, AppGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the App model
*/
readonly fields: AppFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for App.
* 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__AppClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
installedByUser<T extends Prisma.App$installedByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.App$installedByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
syncRuns<T extends Prisma.App$syncRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.App$syncRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* 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 App model
*/
export interface AppFieldRefs {
readonly id: Prisma.FieldRef<"App", 'String'>
readonly createdAt: Prisma.FieldRef<"App", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"App", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"App", 'String'>
readonly type: Prisma.FieldRef<"App", 'String'>
readonly config: Prisma.FieldRef<"App", 'String'>
readonly icon: Prisma.FieldRef<"App", 'String'>
readonly isActive: Prisma.FieldRef<"App", 'Boolean'>
readonly installedByUserId: Prisma.FieldRef<"App", 'String'>
}
// Custom InputTypes
/**
* App findUnique
*/
export type AppFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter, which App to fetch.
*/
where: Prisma.AppWhereUniqueInput
}
/**
* App findUniqueOrThrow
*/
export type AppFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter, which App to fetch.
*/
where: Prisma.AppWhereUniqueInput
}
/**
* App findFirst
*/
export type AppFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter, which App to fetch.
*/
where?: Prisma.AppWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Apps to fetch.
*/
orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Apps.
*/
cursor?: Prisma.AppWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Apps 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` Apps.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Apps.
*/
distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[]
}
/**
* App findFirstOrThrow
*/
export type AppFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter, which App to fetch.
*/
where?: Prisma.AppWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Apps to fetch.
*/
orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Apps.
*/
cursor?: Prisma.AppWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Apps 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` Apps.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Apps.
*/
distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[]
}
/**
* App findMany
*/
export type AppFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter, which Apps to fetch.
*/
where?: Prisma.AppWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Apps to fetch.
*/
orderBy?: Prisma.AppOrderByWithRelationInput | Prisma.AppOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Apps.
*/
cursor?: Prisma.AppWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Apps 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` Apps.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Apps.
*/
distinct?: Prisma.AppScalarFieldEnum | Prisma.AppScalarFieldEnum[]
}
/**
* App create
*/
export type AppCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* The data needed to create a App.
*/
data: Prisma.XOR<Prisma.AppCreateInput, Prisma.AppUncheckedCreateInput>
}
/**
* App createMany
*/
export type AppCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many Apps.
*/
data: Prisma.AppCreateManyInput | Prisma.AppCreateManyInput[]
skipDuplicates?: boolean
}
/**
* App createManyAndReturn
*/
export type AppCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* The data used to create many Apps.
*/
data: Prisma.AppCreateManyInput | Prisma.AppCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* App update
*/
export type AppUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* The data needed to update a App.
*/
data: Prisma.XOR<Prisma.AppUpdateInput, Prisma.AppUncheckedUpdateInput>
/**
* Choose, which App to update.
*/
where: Prisma.AppWhereUniqueInput
}
/**
* App updateMany
*/
export type AppUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update Apps.
*/
data: Prisma.XOR<Prisma.AppUpdateManyMutationInput, Prisma.AppUncheckedUpdateManyInput>
/**
* Filter which Apps to update
*/
where?: Prisma.AppWhereInput
/**
* Limit how many Apps to update.
*/
limit?: number
}
/**
* App updateManyAndReturn
*/
export type AppUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* The data used to update Apps.
*/
data: Prisma.XOR<Prisma.AppUpdateManyMutationInput, Prisma.AppUncheckedUpdateManyInput>
/**
* Filter which Apps to update
*/
where?: Prisma.AppWhereInput
/**
* Limit how many Apps to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* App upsert
*/
export type AppUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* The filter to search for the App to update in case it exists.
*/
where: Prisma.AppWhereUniqueInput
/**
* In case the App found by the `where` argument doesn't exist, create a new App with this data.
*/
create: Prisma.XOR<Prisma.AppCreateInput, Prisma.AppUncheckedCreateInput>
/**
* In case the App was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AppUpdateInput, Prisma.AppUncheckedUpdateInput>
}
/**
* App delete
*/
export type AppDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
/**
* Filter which App to delete.
*/
where: Prisma.AppWhereUniqueInput
}
/**
* App deleteMany
*/
export type AppDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Apps to delete
*/
where?: Prisma.AppWhereInput
/**
* Limit how many Apps to delete.
*/
limit?: number
}
/**
* App.installedByUser
*/
export type App$installedByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: Prisma.UserSelect<ExtArgs> | null
/**
* Omit specific fields from the User
*/
omit?: Prisma.UserOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.UserInclude<ExtArgs> | null
where?: Prisma.UserWhereInput
}
/**
* App.syncRuns
*/
export type App$syncRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
where?: Prisma.AppSyncRunWhereInput
orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[]
cursor?: Prisma.AppSyncRunWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[]
}
/**
* App without action
*/
export type AppDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the App
*/
select?: Prisma.AppSelect<ExtArgs> | null
/**
* Omit specific fields from the App
*/
omit?: Prisma.AppOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppInclude<ExtArgs> | null
}