refactor user accounts structure

This commit is contained in:
2026-03-16 00:33:40 +03:30
parent d2215b9f04
commit 0ad6a3200e
118 changed files with 18774 additions and 8764 deletions
+61 -68
View File
@@ -234,7 +234,7 @@ export type PosWhereInput = {
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
licenses?: Prisma.LicenseListRelationFilter
accounts?: Prisma.AccountListRelationFilter
permissionPos?: Prisma.PermissionPosListRelationFilter
}
export type PosOrderByWithRelationInput = {
@@ -253,7 +253,7 @@ export type PosOrderByWithRelationInput = {
device?: Prisma.DeviceOrderByWithRelationInput
provider?: Prisma.ProviderOrderByWithRelationInput
licenses?: Prisma.LicenseOrderByRelationAggregateInput
accounts?: Prisma.AccountOrderByRelationAggregateInput
permissionPos?: Prisma.PermissionPosOrderByRelationAggregateInput
_relevance?: Prisma.PosOrderByRelevanceInput
}
@@ -276,7 +276,7 @@ export type PosWhereUniqueInput = Prisma.AtLeast<{
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
licenses?: Prisma.LicenseListRelationFilter
accounts?: Prisma.AccountListRelationFilter
permissionPos?: Prisma.PermissionPosListRelationFilter
}, "id" | "serial">
export type PosOrderByWithAggregationInput = {
@@ -326,7 +326,7 @@ export type PosCreateInput = {
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateInput = {
@@ -342,7 +342,7 @@ export type PosUncheckedCreateInput = {
device_id?: string | null
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosUpdateInput = {
@@ -358,7 +358,7 @@ export type PosUpdateInput = {
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateInput = {
@@ -374,7 +374,7 @@ export type PosUncheckedUpdateInput = {
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateManyInput = {
@@ -479,11 +479,6 @@ export type PosScalarRelationFilter = {
isNot?: Prisma.PosWhereInput
}
export type PosNullableScalarRelationFilter = {
is?: Prisma.PosWhereInput | null
isNot?: Prisma.PosWhereInput | null
}
export type PosCreateNestedManyWithoutComplexInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
@@ -590,20 +585,18 @@ export type PosUpdateOneRequiredWithoutLicensesNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutLicensesInput, Prisma.PosUpdateWithoutLicensesInput>, Prisma.PosUncheckedUpdateWithoutLicensesInput>
}
export type PosCreateNestedOneWithoutAccountsInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
export type PosCreateNestedOneWithoutPermissionPosInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput
connect?: Prisma.PosWhereUniqueInput
}
export type PosUpdateOneWithoutAccountsNestedInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
upsert?: Prisma.PosUpsertWithoutAccountsInput
disconnect?: Prisma.PosWhereInput | boolean
delete?: Prisma.PosWhereInput | boolean
export type PosUpdateOneRequiredWithoutPermissionPosNestedInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput
upsert?: Prisma.PosUpsertWithoutPermissionPosInput
connect?: Prisma.PosWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountsInput, Prisma.PosUpdateWithoutAccountsInput>, Prisma.PosUncheckedUpdateWithoutAccountsInput>
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutPermissionPosInput, Prisma.PosUpdateWithoutPermissionPosInput>, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
}
export type PosCreateNestedManyWithoutProviderInput = {
@@ -660,7 +653,7 @@ export type PosCreateWithoutComplexInput = {
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutComplexInput = {
@@ -675,7 +668,7 @@ export type PosUncheckedCreateWithoutComplexInput = {
device_id?: string | null
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutComplexInput = {
@@ -733,7 +726,7 @@ export type PosCreateWithoutDeviceInput = {
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutDeviceInput = {
@@ -748,7 +741,7 @@ export type PosUncheckedCreateWithoutDeviceInput = {
complex_id: string
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutDeviceInput = {
@@ -789,7 +782,7 @@ export type PosCreateWithoutLicensesInput = {
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutLicensesInput = {
@@ -804,7 +797,7 @@ export type PosUncheckedCreateWithoutLicensesInput = {
complex_id: string
device_id?: string | null
provider_id?: string | null
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutLicensesInput = {
@@ -835,7 +828,7 @@ export type PosUpdateWithoutLicensesInput = {
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutLicensesInput = {
@@ -850,10 +843,10 @@ export type PosUncheckedUpdateWithoutLicensesInput = {
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateWithoutAccountsInput = {
export type PosCreateWithoutPermissionPosInput = {
id?: string
name: string
serial: string
@@ -868,7 +861,7 @@ export type PosCreateWithoutAccountsInput = {
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutAccountsInput = {
export type PosUncheckedCreateWithoutPermissionPosInput = {
id?: string
name: string
serial: string
@@ -883,23 +876,23 @@ export type PosUncheckedCreateWithoutAccountsInput = {
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutAccountsInput = {
export type PosCreateOrConnectWithoutPermissionPosInput = {
where: Prisma.PosWhereUniqueInput
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
create: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
}
export type PosUpsertWithoutAccountsInput = {
update: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
export type PosUpsertWithoutPermissionPosInput = {
update: Prisma.XOR<Prisma.PosUpdateWithoutPermissionPosInput, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
create: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
where?: Prisma.PosWhereInput
}
export type PosUpdateToOneWithWhereWithoutAccountsInput = {
export type PosUpdateToOneWithWhereWithoutPermissionPosInput = {
where?: Prisma.PosWhereInput
data: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
data: Prisma.XOR<Prisma.PosUpdateWithoutPermissionPosInput, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
}
export type PosUpdateWithoutAccountsInput = {
export type PosUpdateWithoutPermissionPosInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
serial?: Prisma.StringFieldUpdateOperationsInput | string
@@ -914,7 +907,7 @@ export type PosUpdateWithoutAccountsInput = {
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutAccountsInput = {
export type PosUncheckedUpdateWithoutPermissionPosInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
serial?: Prisma.StringFieldUpdateOperationsInput | string
@@ -941,7 +934,7 @@ export type PosCreateWithoutProviderInput = {
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutProviderInput = {
@@ -956,7 +949,7 @@ export type PosUncheckedCreateWithoutProviderInput = {
complex_id: string
device_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutProviderInput = {
@@ -1010,7 +1003,7 @@ export type PosUpdateWithoutComplexInput = {
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutComplexInput = {
@@ -1025,7 +1018,7 @@ export type PosUncheckedUpdateWithoutComplexInput = {
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutComplexInput = {
@@ -1066,7 +1059,7 @@ export type PosUpdateWithoutDeviceInput = {
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutDeviceInput = {
@@ -1081,7 +1074,7 @@ export type PosUncheckedUpdateWithoutDeviceInput = {
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutDeviceInput = {
@@ -1122,7 +1115,7 @@ export type PosUpdateWithoutProviderInput = {
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutProviderInput = {
@@ -1137,7 +1130,7 @@ export type PosUncheckedUpdateWithoutProviderInput = {
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutProviderInput = {
@@ -1160,12 +1153,12 @@ export type PosUncheckedUpdateManyWithoutProviderInput = {
export type PosCountOutputType = {
licenses: number
accounts: number
permissionPos: number
}
export type PosCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
licenses?: boolean | PosCountOutputTypeCountLicensesArgs
accounts?: boolean | PosCountOutputTypeCountAccountsArgs
permissionPos?: boolean | PosCountOutputTypeCountPermissionPosArgs
}
/**
@@ -1188,8 +1181,8 @@ export type PosCountOutputTypeCountLicensesArgs<ExtArgs extends runtime.Types.Ex
/**
* PosCountOutputType without action
*/
export type PosCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AccountWhereInput
export type PosCountOutputTypeCountPermissionPosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PermissionPosWhereInput
}
@@ -1209,7 +1202,7 @@ export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pos"]>
@@ -1235,7 +1228,7 @@ export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
}
@@ -1246,7 +1239,7 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
device: Prisma.$DevicePayload<ExtArgs> | null
provider: Prisma.$ProviderPayload<ExtArgs> | null
licenses: Prisma.$LicensePayload<ExtArgs>[]
accounts: Prisma.$AccountPayload<ExtArgs>[]
permissionPos: Prisma.$PermissionPosPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -1604,7 +1597,7 @@ export interface Prisma__PosClient<T, Null = never, ExtArgs extends runtime.Type
device<T extends Prisma.Pos$deviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$deviceArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
provider<T extends Prisma.Pos$providerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$providerArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
licenses<T extends Prisma.Pos$licensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$licensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
accounts<T extends Prisma.Pos$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
permissionPos<T extends Prisma.Pos$permissionPosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$permissionPosArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPosPayload<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.
@@ -2050,27 +2043,27 @@ export type Pos$licensesArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
}
/**
* Pos.accounts
* Pos.permissionPos
*/
export type Pos$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
export type Pos$permissionPosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Account
* Select specific fields to fetch from the PermissionPos
*/
select?: Prisma.AccountSelect<ExtArgs> | null
select?: Prisma.PermissionPosSelect<ExtArgs> | null
/**
* Omit specific fields from the Account
* Omit specific fields from the PermissionPos
*/
omit?: Prisma.AccountOmit<ExtArgs> | null
omit?: Prisma.PermissionPosOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AccountInclude<ExtArgs> | null
where?: Prisma.AccountWhereInput
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
cursor?: Prisma.AccountWhereUniqueInput
include?: Prisma.PermissionPosInclude<ExtArgs> | null
where?: Prisma.PermissionPosWhereInput
orderBy?: Prisma.PermissionPosOrderByWithRelationInput | Prisma.PermissionPosOrderByWithRelationInput[]
cursor?: Prisma.PermissionPosWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
distinct?: Prisma.PermissionPosScalarFieldEnum | Prisma.PermissionPosScalarFieldEnum[]
}
/**