All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m4s
1802 lines
67 KiB
TypeScript
1802 lines
67 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$ArcadePackPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends ArcadePackAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateArcadePack]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateArcadePack[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateArcadePack[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ArcadePackGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends ArcadePackGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ArcadePackGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ArcadePackGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ArcadePackGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ArcadePackGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.ClassScalarRelationFilter, Prisma.ClassWhereInput>
|
|
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<Prisma.ClassScalarRelationFilter, Prisma.ClassWhereInput>
|
|
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> | 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> | 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> | 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> | 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<Prisma.ArcadePackCreateWithoutAttemptsInput, Prisma.ArcadePackUncheckedCreateWithoutAttemptsInput>
|
|
connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutAttemptsInput
|
|
connect?: Prisma.ArcadePackWhereUniqueInput
|
|
}
|
|
|
|
export type ArcadePackUpdateOneRequiredWithoutAttemptsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ArcadePackCreateWithoutAttemptsInput, Prisma.ArcadePackUncheckedCreateWithoutAttemptsInput>
|
|
connectOrCreate?: Prisma.ArcadePackCreateOrConnectWithoutAttemptsInput
|
|
upsert?: Prisma.ArcadePackUpsertWithoutAttemptsInput
|
|
connect?: Prisma.ArcadePackWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ArcadePackUpdateToOneWithWhereWithoutAttemptsInput, Prisma.ArcadePackUpdateWithoutAttemptsInput>, 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<Prisma.ArcadePackCreateWithoutClassInput, Prisma.ArcadePackUncheckedCreateWithoutClassInput>
|
|
}
|
|
|
|
export type ArcadePackCreateManyClassInputEnvelope = {
|
|
data: Prisma.ArcadePackCreateManyClassInput | Prisma.ArcadePackCreateManyClassInput[]
|
|
}
|
|
|
|
export type ArcadePackUpsertWithWhereUniqueWithoutClassInput = {
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ArcadePackUpdateWithoutClassInput, Prisma.ArcadePackUncheckedUpdateWithoutClassInput>
|
|
create: Prisma.XOR<Prisma.ArcadePackCreateWithoutClassInput, Prisma.ArcadePackUncheckedCreateWithoutClassInput>
|
|
}
|
|
|
|
export type ArcadePackUpdateWithWhereUniqueWithoutClassInput = {
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateWithoutClassInput, Prisma.ArcadePackUncheckedUpdateWithoutClassInput>
|
|
}
|
|
|
|
export type ArcadePackUpdateManyWithWhereWithoutClassInput = {
|
|
where: Prisma.ArcadePackScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateManyMutationInput, Prisma.ArcadePackUncheckedUpdateManyWithoutClassInput>
|
|
}
|
|
|
|
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<Prisma.ArcadePackCreateWithoutAttemptsInput, Prisma.ArcadePackUncheckedCreateWithoutAttemptsInput>
|
|
}
|
|
|
|
export type ArcadePackUpsertWithoutAttemptsInput = {
|
|
update: Prisma.XOR<Prisma.ArcadePackUpdateWithoutAttemptsInput, Prisma.ArcadePackUncheckedUpdateWithoutAttemptsInput>
|
|
create: Prisma.XOR<Prisma.ArcadePackCreateWithoutAttemptsInput, Prisma.ArcadePackUncheckedCreateWithoutAttemptsInput>
|
|
where?: Prisma.ArcadePackWhereInput
|
|
}
|
|
|
|
export type ArcadePackUpdateToOneWithWhereWithoutAttemptsInput = {
|
|
where?: Prisma.ArcadePackWhereInput
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateWithoutAttemptsInput, Prisma.ArcadePackUncheckedUpdateWithoutAttemptsInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
attempts?: boolean | ArcadePackCountOutputTypeCountAttemptsArgs
|
|
}
|
|
|
|
/**
|
|
* ArcadePackCountOutputType without action
|
|
*/
|
|
export type ArcadePackCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePackCountOutputType
|
|
*/
|
|
select?: Prisma.ArcadePackCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ArcadePackCountOutputType without action
|
|
*/
|
|
export type ArcadePackCountOutputTypeCountAttemptsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ArcadeAttemptWhereInput
|
|
}
|
|
|
|
|
|
export type ArcadePackSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
attempts?: boolean | Prisma.ArcadePack$attemptsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ArcadePackCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["arcadePack"]>
|
|
|
|
export type ArcadePackSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["arcadePack"]>
|
|
|
|
export type ArcadePackSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "classId" | "gameType" | "name" | "description" | "schemaVersion" | "sourceJson" | "normalizedJson" | "validationReportJson" | "sortOrder" | "createdAt" | "updatedAt", ExtArgs["result"]["arcadePack"]>
|
|
export type ArcadePackInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
class?: boolean | Prisma.ClassDefaultArgs<ExtArgs>
|
|
attempts?: boolean | Prisma.ArcadePack$attemptsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ArcadePackCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type ArcadePackIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
class?: boolean | Prisma.ClassDefaultArgs<ExtArgs>
|
|
}
|
|
export type ArcadePackIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
class?: boolean | Prisma.ClassDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $ArcadePackPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ArcadePack"
|
|
objects: {
|
|
class: Prisma.$ClassPayload<ExtArgs>
|
|
attempts: Prisma.$ArcadeAttemptPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | ArcadePackDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload, S>
|
|
|
|
export type ArcadePackCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ArcadePackFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ArcadePackCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ArcadePackDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ArcadePackFindUniqueArgs>(args: Prisma.SelectSubset<T, ArcadePackFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ArcadePackFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackFindFirstArgs>(args?: Prisma.SelectSubset<T, ArcadePackFindFirstArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ArcadePackFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackFindManyArgs>(args?: Prisma.SelectSubset<T, ArcadePackFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackCreateArgs>(args: Prisma.SelectSubset<T, ArcadePackCreateArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackCreateManyArgs>(args?: Prisma.SelectSubset<T, ArcadePackCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ArcadePackCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ArcadePackCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackDeleteArgs>(args: Prisma.SelectSubset<T, ArcadePackDeleteArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackUpdateArgs>(args: Prisma.SelectSubset<T, ArcadePackUpdateArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackDeleteManyArgs>(args?: Prisma.SelectSubset<T, ArcadePackDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ArcadePackUpdateManyArgs>(args: Prisma.SelectSubset<T, ArcadePackUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ArcadePackUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ArcadePackUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackUpsertArgs>(args: Prisma.SelectSubset<T, ArcadePackUpsertArgs<ExtArgs>>): Prisma.Prisma__ArcadePackClient<runtime.Types.Result.GetResult<Prisma.$ArcadePackPayload<ExtArgs>, 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<T extends ArcadePackCountArgs>(
|
|
args?: Prisma.Subset<T, ArcadePackCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ArcadePackCountAggregateOutputType>
|
|
: 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<T extends ArcadePackAggregateArgs>(args: Prisma.Subset<T, ArcadePackAggregateArgs>): Prisma.PrismaPromise<GetArcadePackAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ArcadePackGroupByArgs['orderBy'] }
|
|
: { orderBy?: ArcadePackGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, ArcadePackGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetArcadePackGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
class<T extends Prisma.ClassDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ClassDefaultArgs<ExtArgs>>): Prisma.Prisma__ClassClient<runtime.Types.Result.GetResult<Prisma.$ClassPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
attempts<T extends Prisma.ArcadePack$attemptsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ArcadePack$attemptsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArcadeAttemptPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ArcadePack to fetch.
|
|
*/
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ArcadePack findUniqueOrThrow
|
|
*/
|
|
export type ArcadePackFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ArcadePack to fetch.
|
|
*/
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ArcadePack findFirst
|
|
*/
|
|
export type ArcadePackFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ArcadePack.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ArcadePackCreateInput, Prisma.ArcadePackUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ArcadePack createMany
|
|
*/
|
|
export type ArcadePackCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ArcadePacks.
|
|
*/
|
|
data: Prisma.ArcadePackCreateManyInput | Prisma.ArcadePackCreateManyInput[]
|
|
}
|
|
|
|
/**
|
|
* ArcadePack createManyAndReturn
|
|
*/
|
|
export type ArcadePackCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ArcadePacks.
|
|
*/
|
|
data: Prisma.ArcadePackCreateManyInput | Prisma.ArcadePackCreateManyInput[]
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ArcadePack update
|
|
*/
|
|
export type ArcadePackUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ArcadePack.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateInput, Prisma.ArcadePackUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ArcadePack to update.
|
|
*/
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ArcadePack updateMany
|
|
*/
|
|
export type ArcadePackUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ArcadePacks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateManyMutationInput, Prisma.ArcadePackUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ArcadePacks to update
|
|
*/
|
|
where?: Prisma.ArcadePackWhereInput
|
|
/**
|
|
* Limit how many ArcadePacks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ArcadePack updateManyAndReturn
|
|
*/
|
|
export type ArcadePackUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ArcadePacks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ArcadePackUpdateManyMutationInput, Prisma.ArcadePackUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ArcadePack upsert
|
|
*/
|
|
export type ArcadePackUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | 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<Prisma.ArcadePackCreateInput, Prisma.ArcadePackUncheckedCreateInput>
|
|
/**
|
|
* In case the ArcadePack was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ArcadePackUpdateInput, Prisma.ArcadePackUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ArcadePack delete
|
|
*/
|
|
export type ArcadePackDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which ArcadePack to delete.
|
|
*/
|
|
where: Prisma.ArcadePackWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ArcadePack deleteMany
|
|
*/
|
|
export type ArcadePackDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ArcadePacks to delete
|
|
*/
|
|
where?: Prisma.ArcadePackWhereInput
|
|
/**
|
|
* Limit how many ArcadePacks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ArcadePack.attempts
|
|
*/
|
|
export type ArcadePack$attemptsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadeAttempt
|
|
*/
|
|
select?: Prisma.ArcadeAttemptSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadeAttempt
|
|
*/
|
|
omit?: Prisma.ArcadeAttemptOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadeAttemptInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ArcadePack
|
|
*/
|
|
select?: Prisma.ArcadePackSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ArcadePack
|
|
*/
|
|
omit?: Prisma.ArcadePackOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ArcadePackInclude<ExtArgs> | null
|
|
}
|