import type * as runtime from "@prisma/client/runtime/client"; import type * as Prisma from "../internal/prismaNamespace.js"; /** * Model UserStats * */ export type UserStatsModel = runtime.Types.Result.DefaultSelection; export type AggregateUserStats = { _count: UserStatsCountAggregateOutputType | null; _avg: UserStatsAvgAggregateOutputType | null; _sum: UserStatsSumAggregateOutputType | null; _min: UserStatsMinAggregateOutputType | null; _max: UserStatsMaxAggregateOutputType | null; }; export type UserStatsAvgAggregateOutputType = { likes: number | null; dislikes: number | null; views: number | null; }; export type UserStatsSumAggregateOutputType = { likes: number | null; dislikes: number | null; views: number | null; }; export type UserStatsMinAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; likes: number | null; dislikes: number | null; views: number | null; userSettingsId: string | null; }; export type UserStatsMaxAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; likes: number | null; dislikes: number | null; views: number | null; userSettingsId: string | null; }; export type UserStatsCountAggregateOutputType = { id: number; createdAt: number; updatedAt: number; likes: number; dislikes: number; views: number; userSettingsId: number; _all: number; }; export type UserStatsAvgAggregateInputType = { likes?: true | runtime.Types.Skip; dislikes?: true | runtime.Types.Skip; views?: true | runtime.Types.Skip; }; export type UserStatsSumAggregateInputType = { likes?: true | runtime.Types.Skip; dislikes?: true | runtime.Types.Skip; views?: true | runtime.Types.Skip; }; export type UserStatsMinAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; likes?: true | runtime.Types.Skip; dislikes?: true | runtime.Types.Skip; views?: true | runtime.Types.Skip; userSettingsId?: true | runtime.Types.Skip; }; export type UserStatsMaxAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; likes?: true | runtime.Types.Skip; dislikes?: true | runtime.Types.Skip; views?: true | runtime.Types.Skip; userSettingsId?: true | runtime.Types.Skip; }; export type UserStatsCountAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; likes?: true | runtime.Types.Skip; dislikes?: true | runtime.Types.Skip; views?: true | runtime.Types.Skip; userSettingsId?: true | runtime.Types.Skip; _all?: true | runtime.Types.Skip; }; export type UserStatsAggregateArgs = { /** * Filter which UserStats to aggregate. */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserStats to fetch. */ orderBy?: Prisma.UserStatsOrderByWithRelationInput | Prisma.UserStatsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserStats from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserStats. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UserStats **/ _count?: true | UserStatsCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: UserStatsAvgAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: UserStatsSumAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserStatsMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserStatsMaxAggregateInputType; }; export type GetUserStatsAggregateType = { [P in keyof T & keyof AggregateUserStats]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type UserStatsGroupByArgs = { where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; orderBy?: Prisma.UserStatsOrderByWithAggregationInput | Prisma.UserStatsOrderByWithAggregationInput[] | runtime.Types.Skip; by: Prisma.UserStatsScalarFieldEnum[] | Prisma.UserStatsScalarFieldEnum; having?: Prisma.UserStatsScalarWhereWithAggregatesInput | runtime.Types.Skip; take?: number | runtime.Types.Skip; skip?: number | runtime.Types.Skip; _count?: UserStatsCountAggregateInputType | true; _avg?: UserStatsAvgAggregateInputType; _sum?: UserStatsSumAggregateInputType; _min?: UserStatsMinAggregateInputType; _max?: UserStatsMaxAggregateInputType; }; export type UserStatsGroupByOutputType = { id: string; createdAt: Date; updatedAt: Date; likes: number; dislikes: number; views: number; userSettingsId: string; _count: UserStatsCountAggregateOutputType | null; _avg: UserStatsAvgAggregateOutputType | null; _sum: UserStatsSumAggregateOutputType | null; _min: UserStatsMinAggregateOutputType | null; _max: UserStatsMaxAggregateOutputType | null; }; export type GetUserStatsGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof UserStatsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type UserStatsWhereInput = { AND?: Prisma.UserStatsWhereInput | Prisma.UserStatsWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserStatsWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserStatsWhereInput | Prisma.UserStatsWhereInput[] | runtime.Types.Skip; id?: Prisma.StringFilter<"UserStats"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserStats"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserStats"> | Date | string | runtime.Types.Skip; likes?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; dislikes?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; views?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; userSettingsId?: Prisma.StringFilter<"UserStats"> | string | runtime.Types.Skip; settings?: Prisma.XOR | runtime.Types.Skip; }; export type UserStatsOrderByWithRelationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; userSettingsId?: Prisma.SortOrder | runtime.Types.Skip; settings?: Prisma.UserSettingsOrderByWithRelationInput | runtime.Types.Skip; }; export type UserStatsWhereUniqueInput = Prisma.AtLeast<{ id?: string | runtime.Types.Skip; userSettingsId?: string | runtime.Types.Skip; AND?: Prisma.UserStatsWhereInput | Prisma.UserStatsWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserStatsWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserStatsWhereInput | Prisma.UserStatsWhereInput[] | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserStats"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserStats"> | Date | string | runtime.Types.Skip; likes?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; dislikes?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; views?: Prisma.IntFilter<"UserStats"> | number | runtime.Types.Skip; settings?: Prisma.XOR | runtime.Types.Skip; }, "id" | "userSettingsId">; export type UserStatsOrderByWithAggregationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; userSettingsId?: Prisma.SortOrder | runtime.Types.Skip; _count?: Prisma.UserStatsCountOrderByAggregateInput | runtime.Types.Skip; _avg?: Prisma.UserStatsAvgOrderByAggregateInput | runtime.Types.Skip; _max?: Prisma.UserStatsMaxOrderByAggregateInput | runtime.Types.Skip; _min?: Prisma.UserStatsMinOrderByAggregateInput | runtime.Types.Skip; _sum?: Prisma.UserStatsSumOrderByAggregateInput | runtime.Types.Skip; }; export type UserStatsScalarWhereWithAggregatesInput = { AND?: Prisma.UserStatsScalarWhereWithAggregatesInput | Prisma.UserStatsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; OR?: Prisma.UserStatsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; NOT?: Prisma.UserStatsScalarWhereWithAggregatesInput | Prisma.UserStatsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; id?: Prisma.StringWithAggregatesFilter<"UserStats"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserStats"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserStats"> | Date | string | runtime.Types.Skip; likes?: Prisma.IntWithAggregatesFilter<"UserStats"> | number | runtime.Types.Skip; dislikes?: Prisma.IntWithAggregatesFilter<"UserStats"> | number | runtime.Types.Skip; views?: Prisma.IntWithAggregatesFilter<"UserStats"> | number | runtime.Types.Skip; userSettingsId?: Prisma.StringWithAggregatesFilter<"UserStats"> | string | runtime.Types.Skip; }; export type UserStatsCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; likes: number; dislikes: number; views: number; settings: Prisma.UserSettingsCreateNestedOneWithoutStatsInput; }; export type UserStatsUncheckedCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; likes: number; dislikes: number; views: number; userSettingsId: string; }; export type UserStatsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; settings?: Prisma.UserSettingsUpdateOneRequiredWithoutStatsNestedInput | runtime.Types.Skip; }; export type UserStatsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; userSettingsId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserStatsCreateManyInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; likes: number; dislikes: number; views: number; userSettingsId: string; }; export type UserStatsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; }; export type UserStatsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; userSettingsId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserStatsNullableScalarRelationFilter = { is?: Prisma.UserStatsWhereInput | null | runtime.Types.Skip; isNot?: Prisma.UserStatsWhereInput | null | runtime.Types.Skip; }; export type UserStatsCountOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; userSettingsId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserStatsAvgOrderByAggregateInput = { likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserStatsMaxOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; userSettingsId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserStatsMinOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; userSettingsId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserStatsSumOrderByAggregateInput = { likes?: Prisma.SortOrder | runtime.Types.Skip; dislikes?: Prisma.SortOrder | runtime.Types.Skip; views?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserStatsCreateNestedOneWithoutSettingsInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserStatsCreateOrConnectWithoutSettingsInput | runtime.Types.Skip; connect?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; }; export type UserStatsUncheckedCreateNestedOneWithoutSettingsInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserStatsCreateOrConnectWithoutSettingsInput | runtime.Types.Skip; connect?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; }; export type UserStatsUpdateOneWithoutSettingsNestedInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserStatsCreateOrConnectWithoutSettingsInput | runtime.Types.Skip; upsert?: Prisma.UserStatsUpsertWithoutSettingsInput | runtime.Types.Skip; disconnect?: Prisma.UserStatsWhereInput | boolean | runtime.Types.Skip; delete?: Prisma.UserStatsWhereInput | boolean | runtime.Types.Skip; connect?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; update?: Prisma.XOR, Prisma.UserStatsUncheckedUpdateWithoutSettingsInput> | runtime.Types.Skip; }; export type UserStatsUncheckedUpdateOneWithoutSettingsNestedInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserStatsCreateOrConnectWithoutSettingsInput | runtime.Types.Skip; upsert?: Prisma.UserStatsUpsertWithoutSettingsInput | runtime.Types.Skip; disconnect?: Prisma.UserStatsWhereInput | boolean | runtime.Types.Skip; delete?: Prisma.UserStatsWhereInput | boolean | runtime.Types.Skip; connect?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; update?: Prisma.XOR, Prisma.UserStatsUncheckedUpdateWithoutSettingsInput> | runtime.Types.Skip; }; export type IntFieldUpdateOperationsInput = { set?: number | runtime.Types.Skip; increment?: number | runtime.Types.Skip; decrement?: number | runtime.Types.Skip; multiply?: number | runtime.Types.Skip; divide?: number | runtime.Types.Skip; }; export type UserStatsCreateWithoutSettingsInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; likes: number; dislikes: number; views: number; }; export type UserStatsUncheckedCreateWithoutSettingsInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; likes: number; dislikes: number; views: number; }; export type UserStatsCreateOrConnectWithoutSettingsInput = { where: Prisma.UserStatsWhereUniqueInput; create: Prisma.XOR; }; export type UserStatsUpsertWithoutSettingsInput = { update: Prisma.XOR; create: Prisma.XOR; where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; }; export type UserStatsUpdateToOneWithWhereWithoutSettingsInput = { where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; data: Prisma.XOR; }; export type UserStatsUpdateWithoutSettingsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; }; export type UserStatsUncheckedUpdateWithoutSettingsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; likes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; dislikes?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; views?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; }; export type UserStatsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; likes?: boolean | runtime.Types.Skip; dislikes?: boolean | runtime.Types.Skip; views?: boolean | runtime.Types.Skip; userSettingsId?: boolean | runtime.Types.Skip; settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userStats"]>; export type UserStatsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; likes?: boolean | runtime.Types.Skip; dislikes?: boolean | runtime.Types.Skip; views?: boolean | runtime.Types.Skip; userSettingsId?: boolean | runtime.Types.Skip; settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userStats"]>; export type UserStatsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; likes?: boolean | runtime.Types.Skip; dislikes?: boolean | runtime.Types.Skip; views?: boolean | runtime.Types.Skip; userSettingsId?: boolean | runtime.Types.Skip; settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userStats"]>; export type UserStatsSelectScalar = { id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; likes?: boolean | runtime.Types.Skip; dislikes?: boolean | runtime.Types.Skip; views?: boolean | runtime.Types.Skip; userSettingsId?: boolean | runtime.Types.Skip; }; export type UserStatsOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "likes" | "dislikes" | "views" | "userSettingsId", ExtArgs["result"]["userStats"], runtime.Types.Skip>; export type UserStatsInclude = { settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }; export type UserStatsIncludeCreateManyAndReturn = { settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }; export type UserStatsIncludeUpdateManyAndReturn = { settings?: boolean | Prisma.UserSettingsDefaultArgs | runtime.Types.Skip; }; export type $UserStatsPayload = { name: "UserStats"; objects: { settings: Prisma.$UserSettingsPayload; }; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string; createdAt: Date; updatedAt: Date; likes: number; dislikes: number; views: number; userSettingsId: string; }, ExtArgs["result"]["userStats"]>; composites: {}; }; export type UserStatsGetPayload = runtime.Types.Result.GetResult; export type UserStatsCountArgs = Omit & { select?: UserStatsCountAggregateInputType | true; }; export interface UserStatsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UserStats']; meta: { name: 'UserStats'; }; }; /** * Find zero or one UserStats that matches the filter. * @param {UserStatsFindUniqueArgs} args - Arguments to find a UserStats * @example * // Get one UserStats * const userStats = await prisma.userStats.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one UserStats that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserStatsFindUniqueOrThrowArgs} args - Arguments to find a UserStats * @example * // Get one UserStats * const userStats = await prisma.userStats.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first UserStats 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 {UserStatsFindFirstArgs} args - Arguments to find a UserStats * @example * // Get one UserStats * const userStats = await prisma.userStats.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first UserStats 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 {UserStatsFindFirstOrThrowArgs} args - Arguments to find a UserStats * @example * // Get one UserStats * const userStats = await prisma.userStats.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more UserStats 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 {UserStatsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UserStats * const userStats = await prisma.userStats.findMany() * * // Get first 10 UserStats * const userStats = await prisma.userStats.findMany({ take: 10 }) * * // Only select the `id` * const userStatsWithIdOnly = await prisma.userStats.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a UserStats. * @param {UserStatsCreateArgs} args - Arguments to create a UserStats. * @example * // Create one UserStats * const UserStats = await prisma.userStats.create({ * data: { * // ... data to create a UserStats * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many UserStats. * @param {UserStatsCreateManyArgs} args - Arguments to create many UserStats. * @example * // Create many UserStats * const userStats = await prisma.userStats.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many UserStats and returns the data saved in the database. * @param {UserStatsCreateManyAndReturnArgs} args - Arguments to create many UserStats. * @example * // Create many UserStats * const userStats = await prisma.userStats.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many UserStats and only return the `id` * const userStatsWithIdOnly = await prisma.userStats.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 UserStats. * @param {UserStatsDeleteArgs} args - Arguments to delete one UserStats. * @example * // Delete one UserStats * const UserStats = await prisma.userStats.delete({ * where: { * // ... filter to delete one UserStats * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one UserStats. * @param {UserStatsUpdateArgs} args - Arguments to update one UserStats. * @example * // Update one UserStats * const userStats = await prisma.userStats.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more UserStats. * @param {UserStatsDeleteManyArgs} args - Arguments to filter UserStats to delete. * @example * // Delete a few UserStats * const { count } = await prisma.userStats.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserStatsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UserStats * const userStats = await prisma.userStats.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserStats and returns the data updated in the database. * @param {UserStatsUpdateManyAndReturnArgs} args - Arguments to update many UserStats. * @example * // Update many UserStats * const userStats = await prisma.userStats.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more UserStats and only return the `id` * const userStatsWithIdOnly = await prisma.userStats.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 UserStats. * @param {UserStatsUpsertArgs} args - Arguments to update or create a UserStats. * @example * // Update or create a UserStats * const userStats = await prisma.userStats.upsert({ * create: { * // ... data to create a UserStats * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UserStats we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserStatsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of UserStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserStatsCountArgs} args - Arguments to filter UserStats to count. * @example * // Count the number of UserStats * const count = await prisma.userStats.count({ * where: { * // ... the filter for the UserStats we want to count * } * }) **/ count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; /** * Allows you to perform aggregations operations on a UserStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserStatsAggregateArgs} 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 UserStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserStatsGroupByArgs} 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>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: UserStatsGroupByArgs['orderBy']; } : { orderBy?: UserStatsGroupByArgs['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 ? GetUserStatsGroupByPayload : Prisma.PrismaPromise; /** * Fields of the UserStats model */ readonly fields: UserStatsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UserStats. * 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__UserStatsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; settings = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserSettingsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>; /** * 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 UserStats model */ export interface UserStatsFieldRefs { readonly id: Prisma.FieldRef<"UserStats", 'String'>; readonly createdAt: Prisma.FieldRef<"UserStats", 'DateTime'>; readonly updatedAt: Prisma.FieldRef<"UserStats", 'DateTime'>; readonly likes: Prisma.FieldRef<"UserStats", 'Int'>; readonly dislikes: Prisma.FieldRef<"UserStats", 'Int'>; readonly views: Prisma.FieldRef<"UserStats", 'Int'>; readonly userSettingsId: Prisma.FieldRef<"UserStats", 'String'>; } /** * UserStats findUnique */ export type UserStatsFindUniqueArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter, which UserStats to fetch. */ where: Prisma.UserStatsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats findUniqueOrThrow */ export type UserStatsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter, which UserStats to fetch. */ where: Prisma.UserStatsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats findFirst */ export type UserStatsFindFirstArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter, which UserStats to fetch. */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserStats to fetch. */ orderBy?: Prisma.UserStatsOrderByWithRelationInput | Prisma.UserStatsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserStats. */ cursor?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserStats from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserStats. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserStats. */ distinct?: Prisma.UserStatsScalarFieldEnum | Prisma.UserStatsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats findFirstOrThrow */ export type UserStatsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter, which UserStats to fetch. */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserStats to fetch. */ orderBy?: Prisma.UserStatsOrderByWithRelationInput | Prisma.UserStatsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserStats. */ cursor?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserStats from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserStats. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserStats. */ distinct?: Prisma.UserStatsScalarFieldEnum | Prisma.UserStatsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats findMany */ export type UserStatsFindManyArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter, which UserStats to fetch. */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserStats to fetch. */ orderBy?: Prisma.UserStatsOrderByWithRelationInput | Prisma.UserStatsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserStats. */ cursor?: Prisma.UserStatsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserStats from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserStats. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserStats. */ distinct?: Prisma.UserStatsScalarFieldEnum | Prisma.UserStatsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats create */ export type UserStatsCreateArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * The data needed to create a UserStats. */ data: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats createMany */ export type UserStatsCreateManyArgs = { /** * The data used to create many UserStats. */ data: Prisma.UserStatsCreateManyInput | Prisma.UserStatsCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; /** * UserStats createManyAndReturn */ export type UserStatsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelectCreateManyAndReturn | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * The data used to create many UserStats. */ data: Prisma.UserStatsCreateManyInput | Prisma.UserStatsCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsIncludeCreateManyAndReturn | null; }; /** * UserStats update */ export type UserStatsUpdateArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * The data needed to update a UserStats. */ data: Prisma.XOR; /** * Choose, which UserStats to update. */ where: Prisma.UserStatsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats updateMany */ export type UserStatsUpdateManyArgs = { /** * The data used to update UserStats. */ data: Prisma.XOR; /** * Filter which UserStats to update */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * Limit how many UserStats to update. */ limit?: number | runtime.Types.Skip; }; /** * UserStats updateManyAndReturn */ export type UserStatsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelectUpdateManyAndReturn | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * The data used to update UserStats. */ data: Prisma.XOR; /** * Filter which UserStats to update */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * Limit how many UserStats to update. */ limit?: number | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsIncludeUpdateManyAndReturn | null; }; /** * UserStats upsert */ export type UserStatsUpsertArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * The filter to search for the UserStats to update in case it exists. */ where: Prisma.UserStatsWhereUniqueInput; /** * In case the UserStats found by the `where` argument doesn't exist, create a new UserStats with this data. */ create: Prisma.XOR; /** * In case the UserStats was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats delete */ export type UserStatsDeleteArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; /** * Filter which UserStats to delete. */ where: Prisma.UserStatsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserStats deleteMany */ export type UserStatsDeleteManyArgs = { /** * Filter which UserStats to delete */ where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; /** * Limit how many UserStats to delete. */ limit?: number | runtime.Types.Skip; }; /** * UserStats without action */ export type UserStatsDefaultArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; };