/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `User` 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 User * */ export type UserModel = runtime.Types.Result.DefaultSelection export type AggregateUser = { _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } export type UserMinAggregateOutputType = { nwkennung: string | null email: string | null arbeitsname: string | null firstName: string | null lastName: string | null passwordHash: string | null groupId: string | null createdAt: Date | null updatedAt: Date | null avatarUrl: string | null } export type UserMaxAggregateOutputType = { nwkennung: string | null email: string | null arbeitsname: string | null firstName: string | null lastName: string | null passwordHash: string | null groupId: string | null createdAt: Date | null updatedAt: Date | null avatarUrl: string | null } export type UserCountAggregateOutputType = { nwkennung: number email: number arbeitsname: number firstName: number lastName: number passwordHash: number groupId: number createdAt: number updatedAt: number avatarUrl: number _all: number } export type UserMinAggregateInputType = { nwkennung?: true email?: true arbeitsname?: true firstName?: true lastName?: true passwordHash?: true groupId?: true createdAt?: true updatedAt?: true avatarUrl?: true } export type UserMaxAggregateInputType = { nwkennung?: true email?: true arbeitsname?: true firstName?: true lastName?: true passwordHash?: true groupId?: true createdAt?: true updatedAt?: true avatarUrl?: true } export type UserCountAggregateInputType = { nwkennung?: true email?: true arbeitsname?: true firstName?: true lastName?: true passwordHash?: true groupId?: true createdAt?: true updatedAt?: true avatarUrl?: true _all?: true } export type UserAggregateArgs = { /** * Filter which User to aggregate. */ where?: Prisma.UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Users **/ _count?: true | UserCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserMaxAggregateInputType } export type GetUserAggregateType = { [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type UserGroupByArgs = { where?: Prisma.UserWhereInput orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum having?: Prisma.UserScalarWhereWithAggregatesInput take?: number skip?: number _count?: UserCountAggregateInputType | true _min?: UserMinAggregateInputType _max?: UserMaxAggregateInputType } export type UserGroupByOutputType = { nwkennung: string email: string | null arbeitsname: string | null firstName: string | null lastName: string | null passwordHash: string | null groupId: string | null createdAt: Date updatedAt: Date avatarUrl: string | null _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } type GetUserGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type UserWhereInput = { AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] OR?: Prisma.UserWhereInput[] NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] nwkennung?: Prisma.StringFilter<"User"> | string email?: Prisma.StringNullableFilter<"User"> | string | null arbeitsname?: Prisma.StringNullableFilter<"User"> | string | null firstName?: Prisma.StringNullableFilter<"User"> | string | null lastName?: Prisma.StringNullableFilter<"User"> | string | null passwordHash?: Prisma.StringNullableFilter<"User"> | string | null groupId?: Prisma.StringNullableFilter<"User"> | string | null createdAt?: Prisma.DateTimeFilter<"User"> | Date | string updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string avatarUrl?: Prisma.StringNullableFilter<"User"> | string | null devicesCreated?: Prisma.DeviceListRelationFilter devicesUpdated?: Prisma.DeviceListRelationFilter historyEntries?: Prisma.DeviceHistoryListRelationFilter group?: Prisma.XOR | null roles?: Prisma.UserRoleListRelationFilter } export type UserOrderByWithRelationInput = { nwkennung?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder arbeitsname?: Prisma.SortOrderInput | Prisma.SortOrder firstName?: Prisma.SortOrderInput | Prisma.SortOrder lastName?: Prisma.SortOrderInput | Prisma.SortOrder passwordHash?: Prisma.SortOrderInput | Prisma.SortOrder groupId?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder devicesCreated?: Prisma.DeviceOrderByRelationAggregateInput devicesUpdated?: Prisma.DeviceOrderByRelationAggregateInput historyEntries?: Prisma.DeviceHistoryOrderByRelationAggregateInput group?: Prisma.UserGroupOrderByWithRelationInput roles?: Prisma.UserRoleOrderByRelationAggregateInput } export type UserWhereUniqueInput = Prisma.AtLeast<{ nwkennung?: string email?: string AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] OR?: Prisma.UserWhereInput[] NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] arbeitsname?: Prisma.StringNullableFilter<"User"> | string | null firstName?: Prisma.StringNullableFilter<"User"> | string | null lastName?: Prisma.StringNullableFilter<"User"> | string | null passwordHash?: Prisma.StringNullableFilter<"User"> | string | null groupId?: Prisma.StringNullableFilter<"User"> | string | null createdAt?: Prisma.DateTimeFilter<"User"> | Date | string updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string avatarUrl?: Prisma.StringNullableFilter<"User"> | string | null devicesCreated?: Prisma.DeviceListRelationFilter devicesUpdated?: Prisma.DeviceListRelationFilter historyEntries?: Prisma.DeviceHistoryListRelationFilter group?: Prisma.XOR | null roles?: Prisma.UserRoleListRelationFilter }, "nwkennung" | "email"> export type UserOrderByWithAggregationInput = { nwkennung?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder arbeitsname?: Prisma.SortOrderInput | Prisma.SortOrder firstName?: Prisma.SortOrderInput | Prisma.SortOrder lastName?: Prisma.SortOrderInput | Prisma.SortOrder passwordHash?: Prisma.SortOrderInput | Prisma.SortOrder groupId?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.UserCountOrderByAggregateInput _max?: Prisma.UserMaxOrderByAggregateInput _min?: Prisma.UserMinOrderByAggregateInput } export type UserScalarWhereWithAggregatesInput = { AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] OR?: Prisma.UserScalarWhereWithAggregatesInput[] NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] nwkennung?: Prisma.StringWithAggregatesFilter<"User"> | string email?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null arbeitsname?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null firstName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null lastName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null passwordHash?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null groupId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string avatarUrl?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null } export type UserCreateInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryCreateNestedManyWithoutChangedByInput group?: Prisma.UserGroupCreateNestedOneWithoutUsersInput roles?: Prisma.UserRoleCreateNestedManyWithoutUserInput } export type UserUncheckedCreateInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceUncheckedCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceUncheckedCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryUncheckedCreateNestedManyWithoutChangedByInput roles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput } export type UserUpdateInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUpdateManyWithoutChangedByNestedInput group?: Prisma.UserGroupUpdateOneWithoutUsersNestedInput roles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUncheckedUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUncheckedUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUncheckedUpdateManyWithoutChangedByNestedInput roles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null } export type UserUpdateManyMutationInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type UserUncheckedUpdateManyInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type UserCountOrderByAggregateInput = { nwkennung?: Prisma.SortOrder email?: Prisma.SortOrder arbeitsname?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder passwordHash?: Prisma.SortOrder groupId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder } export type UserMaxOrderByAggregateInput = { nwkennung?: Prisma.SortOrder email?: Prisma.SortOrder arbeitsname?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder passwordHash?: Prisma.SortOrder groupId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder } export type UserMinOrderByAggregateInput = { nwkennung?: Prisma.SortOrder email?: Prisma.SortOrder arbeitsname?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder passwordHash?: Prisma.SortOrder groupId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder } export type UserScalarRelationFilter = { is?: Prisma.UserWhereInput isNot?: Prisma.UserWhereInput } export type UserListRelationFilter = { every?: Prisma.UserWhereInput some?: Prisma.UserWhereInput none?: Prisma.UserWhereInput } export type UserOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type UserNullableScalarRelationFilter = { is?: Prisma.UserWhereInput | null isNot?: Prisma.UserWhereInput | null } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type UserCreateNestedOneWithoutRolesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutRolesInput connect?: Prisma.UserWhereUniqueInput } export type UserUpdateOneRequiredWithoutRolesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutRolesInput upsert?: Prisma.UserUpsertWithoutRolesInput connect?: Prisma.UserWhereUniqueInput update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutRolesInput> } export type UserCreateNestedManyWithoutGroupInput = { create?: Prisma.XOR | Prisma.UserCreateWithoutGroupInput[] | Prisma.UserUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.UserCreateOrConnectWithoutGroupInput | Prisma.UserCreateOrConnectWithoutGroupInput[] createMany?: Prisma.UserCreateManyGroupInputEnvelope connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] } export type UserUncheckedCreateNestedManyWithoutGroupInput = { create?: Prisma.XOR | Prisma.UserCreateWithoutGroupInput[] | Prisma.UserUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.UserCreateOrConnectWithoutGroupInput | Prisma.UserCreateOrConnectWithoutGroupInput[] createMany?: Prisma.UserCreateManyGroupInputEnvelope connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] } export type UserUpdateManyWithoutGroupNestedInput = { create?: Prisma.XOR | Prisma.UserCreateWithoutGroupInput[] | Prisma.UserUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.UserCreateOrConnectWithoutGroupInput | Prisma.UserCreateOrConnectWithoutGroupInput[] upsert?: Prisma.UserUpsertWithWhereUniqueWithoutGroupInput | Prisma.UserUpsertWithWhereUniqueWithoutGroupInput[] createMany?: Prisma.UserCreateManyGroupInputEnvelope set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] update?: Prisma.UserUpdateWithWhereUniqueWithoutGroupInput | Prisma.UserUpdateWithWhereUniqueWithoutGroupInput[] updateMany?: Prisma.UserUpdateManyWithWhereWithoutGroupInput | Prisma.UserUpdateManyWithWhereWithoutGroupInput[] deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] } export type UserUncheckedUpdateManyWithoutGroupNestedInput = { create?: Prisma.XOR | Prisma.UserCreateWithoutGroupInput[] | Prisma.UserUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.UserCreateOrConnectWithoutGroupInput | Prisma.UserCreateOrConnectWithoutGroupInput[] upsert?: Prisma.UserUpsertWithWhereUniqueWithoutGroupInput | Prisma.UserUpsertWithWhereUniqueWithoutGroupInput[] createMany?: Prisma.UserCreateManyGroupInputEnvelope set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] update?: Prisma.UserUpdateWithWhereUniqueWithoutGroupInput | Prisma.UserUpdateWithWhereUniqueWithoutGroupInput[] updateMany?: Prisma.UserUpdateManyWithWhereWithoutGroupInput | Prisma.UserUpdateManyWithWhereWithoutGroupInput[] deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] } export type UserCreateNestedOneWithoutDevicesCreatedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutDevicesCreatedInput connect?: Prisma.UserWhereUniqueInput } export type UserCreateNestedOneWithoutDevicesUpdatedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutDevicesUpdatedInput connect?: Prisma.UserWhereUniqueInput } export type UserUpdateOneWithoutDevicesCreatedNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutDevicesCreatedInput upsert?: Prisma.UserUpsertWithoutDevicesCreatedInput disconnect?: Prisma.UserWhereInput | boolean delete?: Prisma.UserWhereInput | boolean connect?: Prisma.UserWhereUniqueInput update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutDevicesCreatedInput> } export type UserUpdateOneWithoutDevicesUpdatedNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutDevicesUpdatedInput upsert?: Prisma.UserUpsertWithoutDevicesUpdatedInput disconnect?: Prisma.UserWhereInput | boolean delete?: Prisma.UserWhereInput | boolean connect?: Prisma.UserWhereUniqueInput update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutDevicesUpdatedInput> } export type UserCreateNestedOneWithoutHistoryEntriesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutHistoryEntriesInput connect?: Prisma.UserWhereUniqueInput } export type UserUpdateOneWithoutHistoryEntriesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.UserCreateOrConnectWithoutHistoryEntriesInput upsert?: Prisma.UserUpsertWithoutHistoryEntriesInput disconnect?: Prisma.UserWhereInput | boolean delete?: Prisma.UserWhereInput | boolean connect?: Prisma.UserWhereUniqueInput update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutHistoryEntriesInput> } export type UserCreateWithoutRolesInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryCreateNestedManyWithoutChangedByInput group?: Prisma.UserGroupCreateNestedOneWithoutUsersInput } export type UserUncheckedCreateWithoutRolesInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceUncheckedCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceUncheckedCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryUncheckedCreateNestedManyWithoutChangedByInput } export type UserCreateOrConnectWithoutRolesInput = { where: Prisma.UserWhereUniqueInput create: Prisma.XOR } export type UserUpsertWithoutRolesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.UserWhereInput } export type UserUpdateToOneWithWhereWithoutRolesInput = { where?: Prisma.UserWhereInput data: Prisma.XOR } export type UserUpdateWithoutRolesInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUpdateManyWithoutChangedByNestedInput group?: Prisma.UserGroupUpdateOneWithoutUsersNestedInput } export type UserUncheckedUpdateWithoutRolesInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUncheckedUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUncheckedUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUncheckedUpdateManyWithoutChangedByNestedInput } export type UserCreateWithoutGroupInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryCreateNestedManyWithoutChangedByInput roles?: Prisma.UserRoleCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutGroupInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceUncheckedCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceUncheckedCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryUncheckedCreateNestedManyWithoutChangedByInput roles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutGroupInput = { where: Prisma.UserWhereUniqueInput create: Prisma.XOR } export type UserCreateManyGroupInputEnvelope = { data: Prisma.UserCreateManyGroupInput | Prisma.UserCreateManyGroupInput[] skipDuplicates?: boolean } export type UserUpsertWithWhereUniqueWithoutGroupInput = { where: Prisma.UserWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type UserUpdateWithWhereUniqueWithoutGroupInput = { where: Prisma.UserWhereUniqueInput data: Prisma.XOR } export type UserUpdateManyWithWhereWithoutGroupInput = { where: Prisma.UserScalarWhereInput data: Prisma.XOR } export type UserScalarWhereInput = { AND?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] OR?: Prisma.UserScalarWhereInput[] NOT?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] nwkennung?: Prisma.StringFilter<"User"> | string email?: Prisma.StringNullableFilter<"User"> | string | null arbeitsname?: Prisma.StringNullableFilter<"User"> | string | null firstName?: Prisma.StringNullableFilter<"User"> | string | null lastName?: Prisma.StringNullableFilter<"User"> | string | null passwordHash?: Prisma.StringNullableFilter<"User"> | string | null groupId?: Prisma.StringNullableFilter<"User"> | string | null createdAt?: Prisma.DateTimeFilter<"User"> | Date | string updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string avatarUrl?: Prisma.StringNullableFilter<"User"> | string | null } export type UserCreateWithoutDevicesCreatedInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesUpdated?: Prisma.DeviceCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryCreateNestedManyWithoutChangedByInput group?: Prisma.UserGroupCreateNestedOneWithoutUsersInput roles?: Prisma.UserRoleCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDevicesCreatedInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesUpdated?: Prisma.DeviceUncheckedCreateNestedManyWithoutUpdatedByInput historyEntries?: Prisma.DeviceHistoryUncheckedCreateNestedManyWithoutChangedByInput roles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDevicesCreatedInput = { where: Prisma.UserWhereUniqueInput create: Prisma.XOR } export type UserCreateWithoutDevicesUpdatedInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceCreateNestedManyWithoutCreatedByInput historyEntries?: Prisma.DeviceHistoryCreateNestedManyWithoutChangedByInput group?: Prisma.UserGroupCreateNestedOneWithoutUsersInput roles?: Prisma.UserRoleCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDevicesUpdatedInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceUncheckedCreateNestedManyWithoutCreatedByInput historyEntries?: Prisma.DeviceHistoryUncheckedCreateNestedManyWithoutChangedByInput roles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDevicesUpdatedInput = { where: Prisma.UserWhereUniqueInput create: Prisma.XOR } export type UserUpsertWithoutDevicesCreatedInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.UserWhereInput } export type UserUpdateToOneWithWhereWithoutDevicesCreatedInput = { where?: Prisma.UserWhereInput data: Prisma.XOR } export type UserUpdateWithoutDevicesCreatedInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesUpdated?: Prisma.DeviceUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUpdateManyWithoutChangedByNestedInput group?: Prisma.UserGroupUpdateOneWithoutUsersNestedInput roles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDevicesCreatedInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesUpdated?: Prisma.DeviceUncheckedUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUncheckedUpdateManyWithoutChangedByNestedInput roles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutDevicesUpdatedInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.UserWhereInput } export type UserUpdateToOneWithWhereWithoutDevicesUpdatedInput = { where?: Prisma.UserWhereInput data: Prisma.XOR } export type UserUpdateWithoutDevicesUpdatedInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUpdateManyWithoutCreatedByNestedInput historyEntries?: Prisma.DeviceHistoryUpdateManyWithoutChangedByNestedInput group?: Prisma.UserGroupUpdateOneWithoutUsersNestedInput roles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDevicesUpdatedInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUncheckedUpdateManyWithoutCreatedByNestedInput historyEntries?: Prisma.DeviceHistoryUncheckedUpdateManyWithoutChangedByNestedInput roles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutHistoryEntriesInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceCreateNestedManyWithoutUpdatedByInput group?: Prisma.UserGroupCreateNestedOneWithoutUsersInput roles?: Prisma.UserRoleCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutHistoryEntriesInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null groupId?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null devicesCreated?: Prisma.DeviceUncheckedCreateNestedManyWithoutCreatedByInput devicesUpdated?: Prisma.DeviceUncheckedCreateNestedManyWithoutUpdatedByInput roles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutHistoryEntriesInput = { where: Prisma.UserWhereUniqueInput create: Prisma.XOR } export type UserUpsertWithoutHistoryEntriesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.UserWhereInput } export type UserUpdateToOneWithWhereWithoutHistoryEntriesInput = { where?: Prisma.UserWhereInput data: Prisma.XOR } export type UserUpdateWithoutHistoryEntriesInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUpdateManyWithoutUpdatedByNestedInput group?: Prisma.UserGroupUpdateOneWithoutUsersNestedInput roles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutHistoryEntriesInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUncheckedUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUncheckedUpdateManyWithoutUpdatedByNestedInput roles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyGroupInput = { nwkennung: string email?: string | null arbeitsname?: string | null firstName?: string | null lastName?: string | null passwordHash?: string | null createdAt?: Date | string updatedAt?: Date | string avatarUrl?: string | null } export type UserUpdateWithoutGroupInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUpdateManyWithoutChangedByNestedInput roles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutGroupInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null devicesCreated?: Prisma.DeviceUncheckedUpdateManyWithoutCreatedByNestedInput devicesUpdated?: Prisma.DeviceUncheckedUpdateManyWithoutUpdatedByNestedInput historyEntries?: Prisma.DeviceHistoryUncheckedUpdateManyWithoutChangedByNestedInput roles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateManyWithoutGroupInput = { nwkennung?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null arbeitsname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type UserCountOutputType */ export type UserCountOutputType = { devicesCreated: number devicesUpdated: number historyEntries: number roles: number } export type UserCountOutputTypeSelect = { devicesCreated?: boolean | UserCountOutputTypeCountDevicesCreatedArgs devicesUpdated?: boolean | UserCountOutputTypeCountDevicesUpdatedArgs historyEntries?: boolean | UserCountOutputTypeCountHistoryEntriesArgs roles?: boolean | UserCountOutputTypeCountRolesArgs } /** * UserCountOutputType without action */ export type UserCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UserCountOutputType */ select?: Prisma.UserCountOutputTypeSelect | null } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDevicesCreatedArgs = { where?: Prisma.DeviceWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDevicesUpdatedArgs = { where?: Prisma.DeviceWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountHistoryEntriesArgs = { where?: Prisma.DeviceHistoryWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountRolesArgs = { where?: Prisma.UserRoleWhereInput } export type UserSelect = runtime.Types.Extensions.GetSelect<{ nwkennung?: boolean email?: boolean arbeitsname?: boolean firstName?: boolean lastName?: boolean passwordHash?: boolean groupId?: boolean createdAt?: boolean updatedAt?: boolean avatarUrl?: boolean devicesCreated?: boolean | Prisma.User$devicesCreatedArgs devicesUpdated?: boolean | Prisma.User$devicesUpdatedArgs historyEntries?: boolean | Prisma.User$historyEntriesArgs group?: boolean | Prisma.User$groupArgs roles?: boolean | Prisma.User$rolesArgs _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> export type UserSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ nwkennung?: boolean email?: boolean arbeitsname?: boolean firstName?: boolean lastName?: boolean passwordHash?: boolean groupId?: boolean createdAt?: boolean updatedAt?: boolean avatarUrl?: boolean group?: boolean | Prisma.User$groupArgs }, ExtArgs["result"]["user"]> export type UserSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ nwkennung?: boolean email?: boolean arbeitsname?: boolean firstName?: boolean lastName?: boolean passwordHash?: boolean groupId?: boolean createdAt?: boolean updatedAt?: boolean avatarUrl?: boolean group?: boolean | Prisma.User$groupArgs }, ExtArgs["result"]["user"]> export type UserSelectScalar = { nwkennung?: boolean email?: boolean arbeitsname?: boolean firstName?: boolean lastName?: boolean passwordHash?: boolean groupId?: boolean createdAt?: boolean updatedAt?: boolean avatarUrl?: boolean } export type UserOmit = runtime.Types.Extensions.GetOmit<"nwkennung" | "email" | "arbeitsname" | "firstName" | "lastName" | "passwordHash" | "groupId" | "createdAt" | "updatedAt" | "avatarUrl", ExtArgs["result"]["user"]> export type UserInclude = { devicesCreated?: boolean | Prisma.User$devicesCreatedArgs devicesUpdated?: boolean | Prisma.User$devicesUpdatedArgs historyEntries?: boolean | Prisma.User$historyEntriesArgs group?: boolean | Prisma.User$groupArgs roles?: boolean | Prisma.User$rolesArgs _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = { group?: boolean | Prisma.User$groupArgs } export type UserIncludeUpdateManyAndReturn = { group?: boolean | Prisma.User$groupArgs } export type $UserPayload = { name: "User" objects: { devicesCreated: Prisma.$DevicePayload[] devicesUpdated: Prisma.$DevicePayload[] historyEntries: Prisma.$DeviceHistoryPayload[] group: Prisma.$UserGroupPayload | null roles: Prisma.$UserRolePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ nwkennung: string email: string | null arbeitsname: string | null firstName: string | null lastName: string | null passwordHash: string | null groupId: string | null createdAt: Date updatedAt: Date avatarUrl: string | null }, ExtArgs["result"]["user"]> composites: {} } export type UserGetPayload = runtime.Types.Result.GetResult export type UserCountArgs = Omit & { select?: UserCountAggregateInputType | true } export interface UserDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } /** * Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one User that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first User 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 {UserFindFirstArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first User 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 {UserFindFirstOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Users 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 {UserFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Users * const users = await prisma.user.findMany() * * // Get first 10 Users * const users = await prisma.user.findMany({ take: 10 }) * * // Only select the `nwkennung` * const userWithNwkennungOnly = await prisma.user.findMany({ select: { nwkennung: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a User. * @param {UserCreateArgs} args - Arguments to create a User. * @example * // Create one User * const User = await prisma.user.create({ * data: { * // ... data to create a User * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Users. * @param {UserCreateManyArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Users and returns the data saved in the database. * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Users and only return the `nwkennung` * const userWithNwkennungOnly = await prisma.user.createManyAndReturn({ * select: { nwkennung: 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a User. * @param {UserDeleteArgs} args - Arguments to delete one User. * @example * // Delete one User * const User = await prisma.user.delete({ * where: { * // ... filter to delete one User * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one User. * @param {UserUpdateArgs} args - Arguments to update one User. * @example * // Update one User * const user = await prisma.user.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Users. * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. * @example * // Delete a few Users * const { count } = await prisma.user.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Users * const user = await prisma.user.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users and returns the data updated in the database. * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. * @example * // Update many Users * const user = await prisma.user.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Users and only return the `nwkennung` * const userWithNwkennungOnly = await prisma.user.updateManyAndReturn({ * select: { nwkennung: 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one User. * @param {UserUpsertArgs} args - Arguments to update or create a User. * @example * // Update or create a User * const user = await prisma.user.upsert({ * create: { * // ... data to create a User * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the User we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserCountArgs} args - Arguments to filter Users to count. * @example * // Count the number of Users * const count = await prisma.user.count({ * where: { * // ... the filter for the Users we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserGroupByArgs} 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 UserGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: UserGroupByArgs['orderBy'] } : { orderBy?: UserGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise /** * Fields of the User model */ readonly fields: UserFieldRefs; } /** * The delegate class that acts as a "Promise-like" for User. * 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__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" devicesCreated = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> devicesUpdated = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> historyEntries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> group = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserGroupClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> roles = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the User model */ export interface UserFieldRefs { readonly nwkennung: Prisma.FieldRef<"User", 'String'> readonly email: Prisma.FieldRef<"User", 'String'> readonly arbeitsname: Prisma.FieldRef<"User", 'String'> readonly firstName: Prisma.FieldRef<"User", 'String'> readonly lastName: Prisma.FieldRef<"User", 'String'> readonly passwordHash: Prisma.FieldRef<"User", 'String'> readonly groupId: Prisma.FieldRef<"User", 'String'> readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> readonly avatarUrl: Prisma.FieldRef<"User", 'String'> } // Custom InputTypes /** * User findUnique */ export type UserFindUniqueArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter, which User to fetch. */ where: Prisma.UserWhereUniqueInput } /** * User findUniqueOrThrow */ export type UserFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter, which User to fetch. */ where: Prisma.UserWhereUniqueInput } /** * User findFirst */ export type UserFindFirstArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter, which User to fetch. */ where?: Prisma.UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: Prisma.UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] } /** * User findFirstOrThrow */ export type UserFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter, which User to fetch. */ where?: Prisma.UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: Prisma.UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] } /** * User findMany */ export type UserFindManyArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter, which Users to fetch. */ where?: Prisma.UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Users. */ cursor?: Prisma.UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] } /** * User create */ export type UserCreateArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * The data needed to create a User. */ data: Prisma.XOR } /** * User createMany */ export type UserCreateManyArgs = { /** * The data used to create many Users. */ data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] skipDuplicates?: boolean } /** * User createManyAndReturn */ export type UserCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelectCreateManyAndReturn | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * The data used to create many Users. */ data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserIncludeCreateManyAndReturn | null } /** * User update */ export type UserUpdateArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * The data needed to update a User. */ data: Prisma.XOR /** * Choose, which User to update. */ where: Prisma.UserWhereUniqueInput } /** * User updateMany */ export type UserUpdateManyArgs = { /** * The data used to update Users. */ data: Prisma.XOR /** * Filter which Users to update */ where?: Prisma.UserWhereInput /** * Limit how many Users to update. */ limit?: number } /** * User updateManyAndReturn */ export type UserUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelectUpdateManyAndReturn | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * The data used to update Users. */ data: Prisma.XOR /** * Filter which Users to update */ where?: Prisma.UserWhereInput /** * Limit how many Users to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserIncludeUpdateManyAndReturn | null } /** * User upsert */ export type UserUpsertArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * The filter to search for the User to update in case it exists. */ where: Prisma.UserWhereUniqueInput /** * In case the User found by the `where` argument doesn't exist, create a new User with this data. */ create: Prisma.XOR /** * In case the User was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * User delete */ export type UserDeleteArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null /** * Filter which User to delete. */ where: Prisma.UserWhereUniqueInput } /** * User deleteMany */ export type UserDeleteManyArgs = { /** * Filter which Users to delete */ where?: Prisma.UserWhereInput /** * Limit how many Users to delete. */ limit?: number } /** * User.devicesCreated */ export type User$devicesCreatedArgs = { /** * Select specific fields to fetch from the Device */ select?: Prisma.DeviceSelect | null /** * Omit specific fields from the Device */ omit?: Prisma.DeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceInclude | null where?: Prisma.DeviceWhereInput orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[] cursor?: Prisma.DeviceWhereUniqueInput take?: number skip?: number distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[] } /** * User.devicesUpdated */ export type User$devicesUpdatedArgs = { /** * Select specific fields to fetch from the Device */ select?: Prisma.DeviceSelect | null /** * Omit specific fields from the Device */ omit?: Prisma.DeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceInclude | null where?: Prisma.DeviceWhereInput orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[] cursor?: Prisma.DeviceWhereUniqueInput take?: number skip?: number distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[] } /** * User.historyEntries */ export type User$historyEntriesArgs = { /** * Select specific fields to fetch from the DeviceHistory */ select?: Prisma.DeviceHistorySelect | null /** * Omit specific fields from the DeviceHistory */ omit?: Prisma.DeviceHistoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceHistoryInclude | null where?: Prisma.DeviceHistoryWhereInput orderBy?: Prisma.DeviceHistoryOrderByWithRelationInput | Prisma.DeviceHistoryOrderByWithRelationInput[] cursor?: Prisma.DeviceHistoryWhereUniqueInput take?: number skip?: number distinct?: Prisma.DeviceHistoryScalarFieldEnum | Prisma.DeviceHistoryScalarFieldEnum[] } /** * User.group */ export type User$groupArgs = { /** * Select specific fields to fetch from the UserGroup */ select?: Prisma.UserGroupSelect | null /** * Omit specific fields from the UserGroup */ omit?: Prisma.UserGroupOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserGroupInclude | null where?: Prisma.UserGroupWhereInput } /** * User.roles */ export type User$rolesArgs = { /** * Select specific fields to fetch from the UserRole */ select?: Prisma.UserRoleSelect | null /** * Omit specific fields from the UserRole */ omit?: Prisma.UserRoleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserRoleInclude | null where?: Prisma.UserRoleWhereInput orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] cursor?: Prisma.UserRoleWhereUniqueInput take?: number skip?: number distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[] } /** * User without action */ export type UserDefaultArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null }