/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ArcadePack` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model ArcadePack * */ export type ArcadePackModel = runtime.Types.Result.DefaultSelection export type AggregateArcadePack = { _count: ArcadePackCountAggregateOutputType | null _avg: ArcadePackAvgAggregateOutputType | null _sum: ArcadePackSumAggregateOutputType | null _min: ArcadePackMinAggregateOutputType | null _max: ArcadePackMaxAggregateOutputType | null } export type ArcadePackAvgAggregateOutputType = { schemaVersion: number | null sortOrder: number | null } export type ArcadePackSumAggregateOutputType = { schemaVersion: number | null sortOrder: number | null } export type ArcadePackMinAggregateOutputType = { id: string | null classId: string | null gameType: string | null name: string | null description: string | null schemaVersion: number | null sourceJson: string | null normalizedJson: string | null validationReportJson: string | null sortOrder: number | null createdAt: Date | null updatedAt: Date | null } export type ArcadePackMaxAggregateOutputType = { id: string | null classId: string | null gameType: string | null name: string | null description: string | null schemaVersion: number | null sourceJson: string | null normalizedJson: string | null validationReportJson: string | null sortOrder: number | null createdAt: Date | null updatedAt: Date | null } export type ArcadePackCountAggregateOutputType = { id: number classId: number gameType: number name: number description: number schemaVersion: number sourceJson: number normalizedJson: number validationReportJson: number sortOrder: number createdAt: number updatedAt: number _all: number } export type ArcadePackAvgAggregateInputType = { schemaVersion?: true sortOrder?: true } export type ArcadePackSumAggregateInputType = { schemaVersion?: true sortOrder?: true } export type ArcadePackMinAggregateInputType = { id?: true classId?: true gameType?: true name?: true description?: true schemaVersion?: true sourceJson?: true normalizedJson?: true validationReportJson?: true sortOrder?: true createdAt?: true updatedAt?: true } export type ArcadePackMaxAggregateInputType = { id?: true classId?: true gameType?: true name?: true description?: true schemaVersion?: true sourceJson?: true normalizedJson?: true validationReportJson?: true sortOrder?: true createdAt?: true updatedAt?: true } export type ArcadePackCountAggregateInputType = { id?: true classId?: true gameType?: true name?: true description?: true schemaVersion?: true sourceJson?: true normalizedJson?: true validationReportJson?: true sortOrder?: true createdAt?: true updatedAt?: true _all?: true } export type ArcadePackAggregateArgs = { /** * Filter which ArcadePack to aggregate. */ where?: Prisma.ArcadePackWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ArcadePacks to fetch. */ orderBy?: Prisma.ArcadePackOrderByWithRelationInput | Prisma.ArcadePackOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ArcadePackWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ArcadePacks 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` ArcadePacks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ArcadePacks **/ _count?: true | ArcadePackCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ArcadePackAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ArcadePackSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ArcadePackMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ArcadePackMaxAggregateInputType } export type GetArcadePackAggregateType = { [P in keyof T & keyof AggregateArcadePack]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ArcadePackGroupByArgs = { where?: Prisma.ArcadePackWhereInput orderBy?: Prisma.ArcadePackOrderByWithAggregationInput | Prisma.ArcadePackOrderByWithAggregationInput[] by: Prisma.ArcadePackScalarFieldEnum[] | Prisma.ArcadePackScalarFieldEnum having?: Prisma.ArcadePackScalarWhereWithAggregatesInput take?: number skip?: number _count?: ArcadePackCountAggregateInputType | true _avg?: ArcadePackAvgAggregateInputType _sum?: ArcadePackSumAggregateInputType _min?: ArcadePackMinAggregateInputType _max?: ArcadePackMaxAggregateInputType } export type ArcadePackGroupByOutputType = { id: string classId: string gameType: string name: string description: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder: number createdAt: Date updatedAt: Date _count: ArcadePackCountAggregateOutputType | null _avg: ArcadePackAvgAggregateOutputType | null _sum: ArcadePackSumAggregateOutputType | null _min: ArcadePackMinAggregateOutputType | null _max: ArcadePackMaxAggregateOutputType | null } export type GetArcadePackGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ArcadePackGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ArcadePackWhereInput = { AND?: Prisma.ArcadePackWhereInput | Prisma.ArcadePackWhereInput[] OR?: Prisma.ArcadePackWhereInput[] NOT?: Prisma.ArcadePackWhereInput | Prisma.ArcadePackWhereInput[] id?: Prisma.StringFilter<"ArcadePack"> | string classId?: Prisma.StringFilter<"ArcadePack"> | string gameType?: Prisma.StringFilter<"ArcadePack"> | string name?: Prisma.StringFilter<"ArcadePack"> | string description?: Prisma.StringNullableFilter<"ArcadePack"> | string | null schemaVersion?: Prisma.IntFilter<"ArcadePack"> | number sourceJson?: Prisma.StringFilter<"ArcadePack"> | string normalizedJson?: Prisma.StringFilter<"ArcadePack"> | string validationReportJson?: Prisma.StringFilter<"ArcadePack"> | string sortOrder?: Prisma.IntFilter<"ArcadePack"> | number createdAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string class?: Prisma.XOR attempts?: Prisma.ArcadeAttemptListRelationFilter } export type ArcadePackOrderByWithRelationInput = { id?: Prisma.SortOrder classId?: Prisma.SortOrder gameType?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder schemaVersion?: Prisma.SortOrder sourceJson?: Prisma.SortOrder normalizedJson?: Prisma.SortOrder validationReportJson?: Prisma.SortOrder sortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder class?: Prisma.ClassOrderByWithRelationInput attempts?: Prisma.ArcadeAttemptOrderByRelationAggregateInput } export type ArcadePackWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ArcadePackWhereInput | Prisma.ArcadePackWhereInput[] OR?: Prisma.ArcadePackWhereInput[] NOT?: Prisma.ArcadePackWhereInput | Prisma.ArcadePackWhereInput[] classId?: Prisma.StringFilter<"ArcadePack"> | string gameType?: Prisma.StringFilter<"ArcadePack"> | string name?: Prisma.StringFilter<"ArcadePack"> | string description?: Prisma.StringNullableFilter<"ArcadePack"> | string | null schemaVersion?: Prisma.IntFilter<"ArcadePack"> | number sourceJson?: Prisma.StringFilter<"ArcadePack"> | string normalizedJson?: Prisma.StringFilter<"ArcadePack"> | string validationReportJson?: Prisma.StringFilter<"ArcadePack"> | string sortOrder?: Prisma.IntFilter<"ArcadePack"> | number createdAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string class?: Prisma.XOR attempts?: Prisma.ArcadeAttemptListRelationFilter }, "id"> export type ArcadePackOrderByWithAggregationInput = { id?: Prisma.SortOrder classId?: Prisma.SortOrder gameType?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder schemaVersion?: Prisma.SortOrder sourceJson?: Prisma.SortOrder normalizedJson?: Prisma.SortOrder validationReportJson?: Prisma.SortOrder sortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.ArcadePackCountOrderByAggregateInput _avg?: Prisma.ArcadePackAvgOrderByAggregateInput _max?: Prisma.ArcadePackMaxOrderByAggregateInput _min?: Prisma.ArcadePackMinOrderByAggregateInput _sum?: Prisma.ArcadePackSumOrderByAggregateInput } export type ArcadePackScalarWhereWithAggregatesInput = { AND?: Prisma.ArcadePackScalarWhereWithAggregatesInput | Prisma.ArcadePackScalarWhereWithAggregatesInput[] OR?: Prisma.ArcadePackScalarWhereWithAggregatesInput[] NOT?: Prisma.ArcadePackScalarWhereWithAggregatesInput | Prisma.ArcadePackScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string classId?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string gameType?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string name?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string description?: Prisma.StringNullableWithAggregatesFilter<"ArcadePack"> | string | null schemaVersion?: Prisma.IntWithAggregatesFilter<"ArcadePack"> | number sourceJson?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string normalizedJson?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string validationReportJson?: Prisma.StringWithAggregatesFilter<"ArcadePack"> | string sortOrder?: Prisma.IntWithAggregatesFilter<"ArcadePack"> | number createdAt?: Prisma.DateTimeWithAggregatesFilter<"ArcadePack"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ArcadePack"> | Date | string } export type ArcadePackCreateInput = { id?: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string class: Prisma.ClassCreateNestedOneWithoutArcadePacksInput attempts?: Prisma.ArcadeAttemptCreateNestedManyWithoutArcadePackInput } export type ArcadePackUncheckedCreateInput = { id?: string classId: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string attempts?: Prisma.ArcadeAttemptUncheckedCreateNestedManyWithoutArcadePackInput } export type ArcadePackUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string class?: Prisma.ClassUpdateOneRequiredWithoutArcadePacksNestedInput attempts?: Prisma.ArcadeAttemptUpdateManyWithoutArcadePackNestedInput } export type ArcadePackUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string classId?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string attempts?: Prisma.ArcadeAttemptUncheckedUpdateManyWithoutArcadePackNestedInput } export type ArcadePackCreateManyInput = { id?: string classId: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string } export type ArcadePackUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ArcadePackUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string classId?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ArcadePackListRelationFilter = { every?: Prisma.ArcadePackWhereInput some?: Prisma.ArcadePackWhereInput none?: Prisma.ArcadePackWhereInput } export type ArcadePackOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ArcadePackCountOrderByAggregateInput = { id?: Prisma.SortOrder classId?: Prisma.SortOrder gameType?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder schemaVersion?: Prisma.SortOrder sourceJson?: Prisma.SortOrder normalizedJson?: Prisma.SortOrder validationReportJson?: Prisma.SortOrder sortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ArcadePackAvgOrderByAggregateInput = { schemaVersion?: Prisma.SortOrder sortOrder?: Prisma.SortOrder } export type ArcadePackMaxOrderByAggregateInput = { id?: Prisma.SortOrder classId?: Prisma.SortOrder gameType?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder schemaVersion?: Prisma.SortOrder sourceJson?: Prisma.SortOrder normalizedJson?: Prisma.SortOrder validationReportJson?: Prisma.SortOrder sortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ArcadePackMinOrderByAggregateInput = { id?: Prisma.SortOrder classId?: Prisma.SortOrder gameType?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder schemaVersion?: Prisma.SortOrder sourceJson?: Prisma.SortOrder normalizedJson?: Prisma.SortOrder validationReportJson?: Prisma.SortOrder sortOrder?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ArcadePackSumOrderByAggregateInput = { schemaVersion?: Prisma.SortOrder sortOrder?: Prisma.SortOrder } export type ArcadePackScalarRelationFilter = { is?: Prisma.ArcadePackWhereInput isNot?: Prisma.ArcadePackWhereInput } export type ArcadePackCreateNestedManyWithoutClassInput = { create?: Prisma.XOR | Prisma.ArcadePackCreateWithoutClassInput[] | Prisma.ArcadePackUncheckedCreateWithoutClassInput[] connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutClassInput | Prisma.ArcadePackCreateOrConnectWithoutClassInput[] createMany?: Prisma.ArcadePackCreateManyClassInputEnvelope connect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] } export type ArcadePackUncheckedCreateNestedManyWithoutClassInput = { create?: Prisma.XOR | Prisma.ArcadePackCreateWithoutClassInput[] | Prisma.ArcadePackUncheckedCreateWithoutClassInput[] connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutClassInput | Prisma.ArcadePackCreateOrConnectWithoutClassInput[] createMany?: Prisma.ArcadePackCreateManyClassInputEnvelope connect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] } export type ArcadePackUpdateManyWithoutClassNestedInput = { create?: Prisma.XOR | Prisma.ArcadePackCreateWithoutClassInput[] | Prisma.ArcadePackUncheckedCreateWithoutClassInput[] connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutClassInput | Prisma.ArcadePackCreateOrConnectWithoutClassInput[] upsert?: Prisma.ArcadePackUpsertWithWhereUniqueWithoutClassInput | Prisma.ArcadePackUpsertWithWhereUniqueWithoutClassInput[] createMany?: Prisma.ArcadePackCreateManyClassInputEnvelope set?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] disconnect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] delete?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] connect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] update?: Prisma.ArcadePackUpdateWithWhereUniqueWithoutClassInput | Prisma.ArcadePackUpdateWithWhereUniqueWithoutClassInput[] updateMany?: Prisma.ArcadePackUpdateManyWithWhereWithoutClassInput | Prisma.ArcadePackUpdateManyWithWhereWithoutClassInput[] deleteMany?: Prisma.ArcadePackScalarWhereInput | Prisma.ArcadePackScalarWhereInput[] } export type ArcadePackUncheckedUpdateManyWithoutClassNestedInput = { create?: Prisma.XOR | Prisma.ArcadePackCreateWithoutClassInput[] | Prisma.ArcadePackUncheckedCreateWithoutClassInput[] connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutClassInput | Prisma.ArcadePackCreateOrConnectWithoutClassInput[] upsert?: Prisma.ArcadePackUpsertWithWhereUniqueWithoutClassInput | Prisma.ArcadePackUpsertWithWhereUniqueWithoutClassInput[] createMany?: Prisma.ArcadePackCreateManyClassInputEnvelope set?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] disconnect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] delete?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] connect?: Prisma.ArcadePackWhereUniqueInput | Prisma.ArcadePackWhereUniqueInput[] update?: Prisma.ArcadePackUpdateWithWhereUniqueWithoutClassInput | Prisma.ArcadePackUpdateWithWhereUniqueWithoutClassInput[] updateMany?: Prisma.ArcadePackUpdateManyWithWhereWithoutClassInput | Prisma.ArcadePackUpdateManyWithWhereWithoutClassInput[] deleteMany?: Prisma.ArcadePackScalarWhereInput | Prisma.ArcadePackScalarWhereInput[] } export type ArcadePackCreateNestedOneWithoutAttemptsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutAttemptsInput connect?: Prisma.ArcadePackWhereUniqueInput } export type ArcadePackUpdateOneRequiredWithoutAttemptsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutAttemptsInput upsert?: Prisma.ArcadePackUpsertWithoutAttemptsInput connect?: Prisma.ArcadePackWhereUniqueInput update?: Prisma.XOR, Prisma.ArcadePackUncheckedUpdateWithoutAttemptsInput> } export type ArcadePackCreateWithoutClassInput = { id?: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string attempts?: Prisma.ArcadeAttemptCreateNestedManyWithoutArcadePackInput } export type ArcadePackUncheckedCreateWithoutClassInput = { id?: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string attempts?: Prisma.ArcadeAttemptUncheckedCreateNestedManyWithoutArcadePackInput } export type ArcadePackCreateOrConnectWithoutClassInput = { where: Prisma.ArcadePackWhereUniqueInput create: Prisma.XOR } export type ArcadePackCreateManyClassInputEnvelope = { data: Prisma.ArcadePackCreateManyClassInput | Prisma.ArcadePackCreateManyClassInput[] } export type ArcadePackUpsertWithWhereUniqueWithoutClassInput = { where: Prisma.ArcadePackWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ArcadePackUpdateWithWhereUniqueWithoutClassInput = { where: Prisma.ArcadePackWhereUniqueInput data: Prisma.XOR } export type ArcadePackUpdateManyWithWhereWithoutClassInput = { where: Prisma.ArcadePackScalarWhereInput data: Prisma.XOR } export type ArcadePackScalarWhereInput = { AND?: Prisma.ArcadePackScalarWhereInput | Prisma.ArcadePackScalarWhereInput[] OR?: Prisma.ArcadePackScalarWhereInput[] NOT?: Prisma.ArcadePackScalarWhereInput | Prisma.ArcadePackScalarWhereInput[] id?: Prisma.StringFilter<"ArcadePack"> | string classId?: Prisma.StringFilter<"ArcadePack"> | string gameType?: Prisma.StringFilter<"ArcadePack"> | string name?: Prisma.StringFilter<"ArcadePack"> | string description?: Prisma.StringNullableFilter<"ArcadePack"> | string | null schemaVersion?: Prisma.IntFilter<"ArcadePack"> | number sourceJson?: Prisma.StringFilter<"ArcadePack"> | string normalizedJson?: Prisma.StringFilter<"ArcadePack"> | string validationReportJson?: Prisma.StringFilter<"ArcadePack"> | string sortOrder?: Prisma.IntFilter<"ArcadePack"> | number createdAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ArcadePack"> | Date | string } export type ArcadePackCreateWithoutAttemptsInput = { id?: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string class: Prisma.ClassCreateNestedOneWithoutArcadePacksInput } export type ArcadePackUncheckedCreateWithoutAttemptsInput = { id?: string classId: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string } export type ArcadePackCreateOrConnectWithoutAttemptsInput = { where: Prisma.ArcadePackWhereUniqueInput create: Prisma.XOR } export type ArcadePackUpsertWithoutAttemptsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ArcadePackWhereInput } export type ArcadePackUpdateToOneWithWhereWithoutAttemptsInput = { where?: Prisma.ArcadePackWhereInput data: Prisma.XOR } export type ArcadePackUpdateWithoutAttemptsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string class?: Prisma.ClassUpdateOneRequiredWithoutArcadePacksNestedInput } export type ArcadePackUncheckedUpdateWithoutAttemptsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string classId?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ArcadePackCreateManyClassInput = { id?: string gameType: string name: string description?: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder?: number createdAt?: Date | string updatedAt?: Date | string } export type ArcadePackUpdateWithoutClassInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string attempts?: Prisma.ArcadeAttemptUpdateManyWithoutArcadePackNestedInput } export type ArcadePackUncheckedUpdateWithoutClassInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string attempts?: Prisma.ArcadeAttemptUncheckedUpdateManyWithoutArcadePackNestedInput } export type ArcadePackUncheckedUpdateManyWithoutClassInput = { id?: Prisma.StringFieldUpdateOperationsInput | string gameType?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null schemaVersion?: Prisma.IntFieldUpdateOperationsInput | number sourceJson?: Prisma.StringFieldUpdateOperationsInput | string normalizedJson?: Prisma.StringFieldUpdateOperationsInput | string validationReportJson?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type ArcadePackCountOutputType */ export type ArcadePackCountOutputType = { attempts: number } export type ArcadePackCountOutputTypeSelect = { attempts?: boolean | ArcadePackCountOutputTypeCountAttemptsArgs } /** * ArcadePackCountOutputType without action */ export type ArcadePackCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ArcadePackCountOutputType */ select?: Prisma.ArcadePackCountOutputTypeSelect | null } /** * ArcadePackCountOutputType without action */ export type ArcadePackCountOutputTypeCountAttemptsArgs = { where?: Prisma.ArcadeAttemptWhereInput } export type ArcadePackSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean classId?: boolean gameType?: boolean name?: boolean description?: boolean schemaVersion?: boolean sourceJson?: boolean normalizedJson?: boolean validationReportJson?: boolean sortOrder?: boolean createdAt?: boolean updatedAt?: boolean class?: boolean | Prisma.ClassDefaultArgs attempts?: boolean | Prisma.ArcadePack$attemptsArgs _count?: boolean | Prisma.ArcadePackCountOutputTypeDefaultArgs }, ExtArgs["result"]["arcadePack"]> export type ArcadePackSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean classId?: boolean gameType?: boolean name?: boolean description?: boolean schemaVersion?: boolean sourceJson?: boolean normalizedJson?: boolean validationReportJson?: boolean sortOrder?: boolean createdAt?: boolean updatedAt?: boolean class?: boolean | Prisma.ClassDefaultArgs }, ExtArgs["result"]["arcadePack"]> export type ArcadePackSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean classId?: boolean gameType?: boolean name?: boolean description?: boolean schemaVersion?: boolean sourceJson?: boolean normalizedJson?: boolean validationReportJson?: boolean sortOrder?: boolean createdAt?: boolean updatedAt?: boolean class?: boolean | Prisma.ClassDefaultArgs }, ExtArgs["result"]["arcadePack"]> export type ArcadePackSelectScalar = { id?: boolean classId?: boolean gameType?: boolean name?: boolean description?: boolean schemaVersion?: boolean sourceJson?: boolean normalizedJson?: boolean validationReportJson?: boolean sortOrder?: boolean createdAt?: boolean updatedAt?: boolean } export type ArcadePackOmit = runtime.Types.Extensions.GetOmit<"id" | "classId" | "gameType" | "name" | "description" | "schemaVersion" | "sourceJson" | "normalizedJson" | "validationReportJson" | "sortOrder" | "createdAt" | "updatedAt", ExtArgs["result"]["arcadePack"]> export type ArcadePackInclude = { class?: boolean | Prisma.ClassDefaultArgs attempts?: boolean | Prisma.ArcadePack$attemptsArgs _count?: boolean | Prisma.ArcadePackCountOutputTypeDefaultArgs } export type ArcadePackIncludeCreateManyAndReturn = { class?: boolean | Prisma.ClassDefaultArgs } export type ArcadePackIncludeUpdateManyAndReturn = { class?: boolean | Prisma.ClassDefaultArgs } export type $ArcadePackPayload = { name: "ArcadePack" objects: { class: Prisma.$ClassPayload attempts: Prisma.$ArcadeAttemptPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string classId: string gameType: string name: string description: string | null schemaVersion: number sourceJson: string normalizedJson: string validationReportJson: string sortOrder: number createdAt: Date updatedAt: Date }, ExtArgs["result"]["arcadePack"]> composites: {} } export type ArcadePackGetPayload = runtime.Types.Result.GetResult export type ArcadePackCountArgs = Omit & { select?: ArcadePackCountAggregateInputType | true } export interface ArcadePackDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ArcadePack'], meta: { name: 'ArcadePack' } } /** * Find zero or one ArcadePack that matches the filter. * @param {ArcadePackFindUniqueArgs} args - Arguments to find a ArcadePack * @example * // Get one ArcadePack * const arcadePack = await prisma.arcadePack.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ArcadePack that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ArcadePackFindUniqueOrThrowArgs} args - Arguments to find a ArcadePack * @example * // Get one ArcadePack * const arcadePack = await prisma.arcadePack.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ArcadePack 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 {ArcadePackFindFirstArgs} args - Arguments to find a ArcadePack * @example * // Get one ArcadePack * const arcadePack = await prisma.arcadePack.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ArcadePack 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 {ArcadePackFindFirstOrThrowArgs} args - Arguments to find a ArcadePack * @example * // Get one ArcadePack * const arcadePack = await prisma.arcadePack.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ArcadePacks 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 {ArcadePackFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ArcadePacks * const arcadePacks = await prisma.arcadePack.findMany() * * // Get first 10 ArcadePacks * const arcadePacks = await prisma.arcadePack.findMany({ take: 10 }) * * // Only select the `id` * const arcadePackWithIdOnly = await prisma.arcadePack.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ArcadePack. * @param {ArcadePackCreateArgs} args - Arguments to create a ArcadePack. * @example * // Create one ArcadePack * const ArcadePack = await prisma.arcadePack.create({ * data: { * // ... data to create a ArcadePack * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ArcadePacks. * @param {ArcadePackCreateManyArgs} args - Arguments to create many ArcadePacks. * @example * // Create many ArcadePacks * const arcadePack = await prisma.arcadePack.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ArcadePacks and returns the data saved in the database. * @param {ArcadePackCreateManyAndReturnArgs} args - Arguments to create many ArcadePacks. * @example * // Create many ArcadePacks * const arcadePack = await prisma.arcadePack.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ArcadePacks and only return the `id` * const arcadePackWithIdOnly = await prisma.arcadePack.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a ArcadePack. * @param {ArcadePackDeleteArgs} args - Arguments to delete one ArcadePack. * @example * // Delete one ArcadePack * const ArcadePack = await prisma.arcadePack.delete({ * where: { * // ... filter to delete one ArcadePack * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ArcadePack. * @param {ArcadePackUpdateArgs} args - Arguments to update one ArcadePack. * @example * // Update one ArcadePack * const arcadePack = await prisma.arcadePack.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ArcadePacks. * @param {ArcadePackDeleteManyArgs} args - Arguments to filter ArcadePacks to delete. * @example * // Delete a few ArcadePacks * const { count } = await prisma.arcadePack.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ArcadePacks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArcadePackUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ArcadePacks * const arcadePack = await prisma.arcadePack.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ArcadePacks and returns the data updated in the database. * @param {ArcadePackUpdateManyAndReturnArgs} args - Arguments to update many ArcadePacks. * @example * // Update many ArcadePacks * const arcadePack = await prisma.arcadePack.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ArcadePacks and only return the `id` * const arcadePackWithIdOnly = await prisma.arcadePack.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ArcadePack. * @param {ArcadePackUpsertArgs} args - Arguments to update or create a ArcadePack. * @example * // Update or create a ArcadePack * const arcadePack = await prisma.arcadePack.upsert({ * create: { * // ... data to create a ArcadePack * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ArcadePack we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ArcadePackClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ArcadePacks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArcadePackCountArgs} args - Arguments to filter ArcadePacks to count. * @example * // Count the number of ArcadePacks * const count = await prisma.arcadePack.count({ * where: { * // ... the filter for the ArcadePacks 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 ArcadePack. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArcadePackAggregateArgs} 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 ArcadePack. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArcadePackGroupByArgs} 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 ArcadePackGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ArcadePackGroupByArgs['orderBy'] } : { orderBy?: ArcadePackGroupByArgs['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 ? GetArcadePackGroupByPayload : Prisma.PrismaPromise /** * Fields of the ArcadePack model */ readonly fields: ArcadePackFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ArcadePack. * 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__ArcadePackClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" class = {}>(args?: Prisma.Subset>): Prisma.Prisma__ClassClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> attempts = {}>(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 ArcadePack model */ export interface ArcadePackFieldRefs { readonly id: Prisma.FieldRef<"ArcadePack", 'String'> readonly classId: Prisma.FieldRef<"ArcadePack", 'String'> readonly gameType: Prisma.FieldRef<"ArcadePack", 'String'> readonly name: Prisma.FieldRef<"ArcadePack", 'String'> readonly description: Prisma.FieldRef<"ArcadePack", 'String'> readonly schemaVersion: Prisma.FieldRef<"ArcadePack", 'Int'> readonly sourceJson: Prisma.FieldRef<"ArcadePack", 'String'> readonly normalizedJson: Prisma.FieldRef<"ArcadePack", 'String'> readonly validationReportJson: Prisma.FieldRef<"ArcadePack", 'String'> readonly sortOrder: Prisma.FieldRef<"ArcadePack", 'Int'> readonly createdAt: Prisma.FieldRef<"ArcadePack", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ArcadePack", 'DateTime'> } // Custom InputTypes /** * ArcadePack findUnique */ export type ArcadePackFindUniqueArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter, which ArcadePack to fetch. */ where: Prisma.ArcadePackWhereUniqueInput } /** * ArcadePack findUniqueOrThrow */ export type ArcadePackFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter, which ArcadePack to fetch. */ where: Prisma.ArcadePackWhereUniqueInput } /** * ArcadePack findFirst */ export type ArcadePackFindFirstArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter, which ArcadePack to fetch. */ where?: Prisma.ArcadePackWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ArcadePacks to fetch. */ orderBy?: Prisma.ArcadePackOrderByWithRelationInput | Prisma.ArcadePackOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ArcadePacks. */ cursor?: Prisma.ArcadePackWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ArcadePacks 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` ArcadePacks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ArcadePacks. */ distinct?: Prisma.ArcadePackScalarFieldEnum | Prisma.ArcadePackScalarFieldEnum[] } /** * ArcadePack findFirstOrThrow */ export type ArcadePackFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter, which ArcadePack to fetch. */ where?: Prisma.ArcadePackWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ArcadePacks to fetch. */ orderBy?: Prisma.ArcadePackOrderByWithRelationInput | Prisma.ArcadePackOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ArcadePacks. */ cursor?: Prisma.ArcadePackWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ArcadePacks 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` ArcadePacks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ArcadePacks. */ distinct?: Prisma.ArcadePackScalarFieldEnum | Prisma.ArcadePackScalarFieldEnum[] } /** * ArcadePack findMany */ export type ArcadePackFindManyArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter, which ArcadePacks to fetch. */ where?: Prisma.ArcadePackWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ArcadePacks to fetch. */ orderBy?: Prisma.ArcadePackOrderByWithRelationInput | Prisma.ArcadePackOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ArcadePacks. */ cursor?: Prisma.ArcadePackWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ArcadePacks 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` ArcadePacks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ArcadePacks. */ distinct?: Prisma.ArcadePackScalarFieldEnum | Prisma.ArcadePackScalarFieldEnum[] } /** * ArcadePack create */ export type ArcadePackCreateArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * The data needed to create a ArcadePack. */ data: Prisma.XOR } /** * ArcadePack createMany */ export type ArcadePackCreateManyArgs = { /** * The data used to create many ArcadePacks. */ data: Prisma.ArcadePackCreateManyInput | Prisma.ArcadePackCreateManyInput[] } /** * ArcadePack createManyAndReturn */ export type ArcadePackCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelectCreateManyAndReturn | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * The data used to create many ArcadePacks. */ data: Prisma.ArcadePackCreateManyInput | Prisma.ArcadePackCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackIncludeCreateManyAndReturn | null } /** * ArcadePack update */ export type ArcadePackUpdateArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * The data needed to update a ArcadePack. */ data: Prisma.XOR /** * Choose, which ArcadePack to update. */ where: Prisma.ArcadePackWhereUniqueInput } /** * ArcadePack updateMany */ export type ArcadePackUpdateManyArgs = { /** * The data used to update ArcadePacks. */ data: Prisma.XOR /** * Filter which ArcadePacks to update */ where?: Prisma.ArcadePackWhereInput /** * Limit how many ArcadePacks to update. */ limit?: number } /** * ArcadePack updateManyAndReturn */ export type ArcadePackUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelectUpdateManyAndReturn | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * The data used to update ArcadePacks. */ data: Prisma.XOR /** * Filter which ArcadePacks to update */ where?: Prisma.ArcadePackWhereInput /** * Limit how many ArcadePacks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackIncludeUpdateManyAndReturn | null } /** * ArcadePack upsert */ export type ArcadePackUpsertArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * The filter to search for the ArcadePack to update in case it exists. */ where: Prisma.ArcadePackWhereUniqueInput /** * In case the ArcadePack found by the `where` argument doesn't exist, create a new ArcadePack with this data. */ create: Prisma.XOR /** * In case the ArcadePack was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ArcadePack delete */ export type ArcadePackDeleteArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null /** * Filter which ArcadePack to delete. */ where: Prisma.ArcadePackWhereUniqueInput } /** * ArcadePack deleteMany */ export type ArcadePackDeleteManyArgs = { /** * Filter which ArcadePacks to delete */ where?: Prisma.ArcadePackWhereInput /** * Limit how many ArcadePacks to delete. */ limit?: number } /** * ArcadePack.attempts */ export type ArcadePack$attemptsArgs = { /** * Select specific fields to fetch from the ArcadeAttempt */ select?: Prisma.ArcadeAttemptSelect | null /** * Omit specific fields from the ArcadeAttempt */ omit?: Prisma.ArcadeAttemptOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadeAttemptInclude | null where?: Prisma.ArcadeAttemptWhereInput orderBy?: Prisma.ArcadeAttemptOrderByWithRelationInput | Prisma.ArcadeAttemptOrderByWithRelationInput[] cursor?: Prisma.ArcadeAttemptWhereUniqueInput take?: number skip?: number distinct?: Prisma.ArcadeAttemptScalarFieldEnum | Prisma.ArcadeAttemptScalarFieldEnum[] } /** * ArcadePack without action */ export type ArcadePackDefaultArgs = { /** * Select specific fields to fetch from the ArcadePack */ select?: Prisma.ArcadePackSelect | null /** * Omit specific fields from the ArcadePack */ omit?: Prisma.ArcadePackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ArcadePackInclude | null }