/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `KnowledgeBaseArticleUpvotes` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model KnowledgeBaseArticleUpvotes * */ export type KnowledgeBaseArticleUpvotesModel = runtime.Types.Result.DefaultSelection export type AggregateKnowledgeBaseArticleUpvotes = { _count: KnowledgeBaseArticleUpvotesCountAggregateOutputType | null _min: KnowledgeBaseArticleUpvotesMinAggregateOutputType | null _max: KnowledgeBaseArticleUpvotesMaxAggregateOutputType | null } export type KnowledgeBaseArticleUpvotesMinAggregateOutputType = { createdAt: Date | null knowledgeBaseArticleId: string | null userAnalyticsId: string | null } export type KnowledgeBaseArticleUpvotesMaxAggregateOutputType = { createdAt: Date | null knowledgeBaseArticleId: string | null userAnalyticsId: string | null } export type KnowledgeBaseArticleUpvotesCountAggregateOutputType = { createdAt: number knowledgeBaseArticleId: number userAnalyticsId: number _all: number } export type KnowledgeBaseArticleUpvotesMinAggregateInputType = { createdAt?: true knowledgeBaseArticleId?: true userAnalyticsId?: true } export type KnowledgeBaseArticleUpvotesMaxAggregateInputType = { createdAt?: true knowledgeBaseArticleId?: true userAnalyticsId?: true } export type KnowledgeBaseArticleUpvotesCountAggregateInputType = { createdAt?: true knowledgeBaseArticleId?: true userAnalyticsId?: true _all?: true } export type KnowledgeBaseArticleUpvotesAggregateArgs = { /** * Filter which KnowledgeBaseArticleUpvotes to aggregate. */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseArticleUpvotes to fetch. */ orderBy?: Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput | Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseArticleUpvotes 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` KnowledgeBaseArticleUpvotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned KnowledgeBaseArticleUpvotes **/ _count?: true | KnowledgeBaseArticleUpvotesCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: KnowledgeBaseArticleUpvotesMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: KnowledgeBaseArticleUpvotesMaxAggregateInputType } export type GetKnowledgeBaseArticleUpvotesAggregateType = { [P in keyof T & keyof AggregateKnowledgeBaseArticleUpvotes]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type KnowledgeBaseArticleUpvotesGroupByArgs = { where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput orderBy?: Prisma.KnowledgeBaseArticleUpvotesOrderByWithAggregationInput | Prisma.KnowledgeBaseArticleUpvotesOrderByWithAggregationInput[] by: Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum[] | Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum having?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput take?: number skip?: number _count?: KnowledgeBaseArticleUpvotesCountAggregateInputType | true _min?: KnowledgeBaseArticleUpvotesMinAggregateInputType _max?: KnowledgeBaseArticleUpvotesMaxAggregateInputType } export type KnowledgeBaseArticleUpvotesGroupByOutputType = { createdAt: Date knowledgeBaseArticleId: string userAnalyticsId: string _count: KnowledgeBaseArticleUpvotesCountAggregateOutputType | null _min: KnowledgeBaseArticleUpvotesMinAggregateOutputType | null _max: KnowledgeBaseArticleUpvotesMaxAggregateOutputType | null } export type GetKnowledgeBaseArticleUpvotesGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof KnowledgeBaseArticleUpvotesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type KnowledgeBaseArticleUpvotesWhereInput = { AND?: Prisma.KnowledgeBaseArticleUpvotesWhereInput | Prisma.KnowledgeBaseArticleUpvotesWhereInput[] OR?: Prisma.KnowledgeBaseArticleUpvotesWhereInput[] NOT?: Prisma.KnowledgeBaseArticleUpvotesWhereInput | Prisma.KnowledgeBaseArticleUpvotesWhereInput[] createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseArticleUpvotes"> | Date | string knowledgeBaseArticleId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string knowledgeBaseArticle?: Prisma.XOR } export type KnowledgeBaseArticleUpvotesOrderByWithRelationInput = { createdAt?: Prisma.SortOrder knowledgeBaseArticleId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder knowledgeBaseArticle?: Prisma.KnowledgeBaseArticleOrderByWithRelationInput } export type KnowledgeBaseArticleUpvotesWhereUniqueInput = Prisma.AtLeast<{ knowledgeBaseArticleId_userAnalyticsId?: Prisma.KnowledgeBaseArticleUpvotesKnowledgeBaseArticleIdUserAnalyticsIdCompoundUniqueInput AND?: Prisma.KnowledgeBaseArticleUpvotesWhereInput | Prisma.KnowledgeBaseArticleUpvotesWhereInput[] OR?: Prisma.KnowledgeBaseArticleUpvotesWhereInput[] NOT?: Prisma.KnowledgeBaseArticleUpvotesWhereInput | Prisma.KnowledgeBaseArticleUpvotesWhereInput[] createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseArticleUpvotes"> | Date | string knowledgeBaseArticleId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string knowledgeBaseArticle?: Prisma.XOR }, "knowledgeBaseArticleId_userAnalyticsId"> export type KnowledgeBaseArticleUpvotesOrderByWithAggregationInput = { createdAt?: Prisma.SortOrder knowledgeBaseArticleId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder _count?: Prisma.KnowledgeBaseArticleUpvotesCountOrderByAggregateInput _max?: Prisma.KnowledgeBaseArticleUpvotesMaxOrderByAggregateInput _min?: Prisma.KnowledgeBaseArticleUpvotesMinOrderByAggregateInput } export type KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput = { AND?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput[] OR?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput[] NOT?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereWithAggregatesInput[] createdAt?: Prisma.DateTimeWithAggregatesFilter<"KnowledgeBaseArticleUpvotes"> | Date | string knowledgeBaseArticleId?: Prisma.StringWithAggregatesFilter<"KnowledgeBaseArticleUpvotes"> | string userAnalyticsId?: Prisma.StringWithAggregatesFilter<"KnowledgeBaseArticleUpvotes"> | string } export type KnowledgeBaseArticleUpvotesCreateInput = { createdAt?: Date | string userAnalyticsId: string knowledgeBaseArticle: Prisma.KnowledgeBaseArticleCreateNestedOneWithoutUpvotesInput } export type KnowledgeBaseArticleUpvotesUncheckedCreateInput = { createdAt?: Date | string knowledgeBaseArticleId: string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesUpdateInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string knowledgeBaseArticle?: Prisma.KnowledgeBaseArticleUpdateOneRequiredWithoutUpvotesNestedInput } export type KnowledgeBaseArticleUpvotesUncheckedUpdateInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string knowledgeBaseArticleId?: Prisma.StringFieldUpdateOperationsInput | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesCreateManyInput = { createdAt?: Date | string knowledgeBaseArticleId: string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesUpdateManyMutationInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesUncheckedUpdateManyInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string knowledgeBaseArticleId?: Prisma.StringFieldUpdateOperationsInput | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesListRelationFilter = { every?: Prisma.KnowledgeBaseArticleUpvotesWhereInput some?: Prisma.KnowledgeBaseArticleUpvotesWhereInput none?: Prisma.KnowledgeBaseArticleUpvotesWhereInput } export type KnowledgeBaseArticleUpvotesOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type KnowledgeBaseArticleUpvotesKnowledgeBaseArticleIdUserAnalyticsIdCompoundUniqueInput = { knowledgeBaseArticleId: string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesCountOrderByAggregateInput = { createdAt?: Prisma.SortOrder knowledgeBaseArticleId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseArticleUpvotesMaxOrderByAggregateInput = { createdAt?: Prisma.SortOrder knowledgeBaseArticleId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseArticleUpvotesMinOrderByAggregateInput = { createdAt?: Prisma.SortOrder knowledgeBaseArticleId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseArticleUpvotesCreateNestedManyWithoutKnowledgeBaseArticleInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseArticleUpvotesCreateWithoutKnowledgeBaseArticleInput[] | Prisma.KnowledgeBaseArticleUpvotesUncheckedCreateWithoutKnowledgeBaseArticleInput[] connectOrCreate?: Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput[] createMany?: Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInputEnvelope connect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] } export type KnowledgeBaseArticleUpvotesUncheckedCreateNestedManyWithoutKnowledgeBaseArticleInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseArticleUpvotesCreateWithoutKnowledgeBaseArticleInput[] | Prisma.KnowledgeBaseArticleUpvotesUncheckedCreateWithoutKnowledgeBaseArticleInput[] connectOrCreate?: Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput[] createMany?: Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInputEnvelope connect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] } export type KnowledgeBaseArticleUpvotesUpdateManyWithoutKnowledgeBaseArticleNestedInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseArticleUpvotesCreateWithoutKnowledgeBaseArticleInput[] | Prisma.KnowledgeBaseArticleUpvotesUncheckedCreateWithoutKnowledgeBaseArticleInput[] connectOrCreate?: Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput[] upsert?: Prisma.KnowledgeBaseArticleUpvotesUpsertWithWhereUniqueWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpsertWithWhereUniqueWithoutKnowledgeBaseArticleInput[] createMany?: Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInputEnvelope set?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] disconnect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] delete?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] connect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] update?: Prisma.KnowledgeBaseArticleUpvotesUpdateWithWhereUniqueWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpdateWithWhereUniqueWithoutKnowledgeBaseArticleInput[] updateMany?: Prisma.KnowledgeBaseArticleUpvotesUpdateManyWithWhereWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpdateManyWithWhereWithoutKnowledgeBaseArticleInput[] deleteMany?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput[] } export type KnowledgeBaseArticleUpvotesUncheckedUpdateManyWithoutKnowledgeBaseArticleNestedInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseArticleUpvotesCreateWithoutKnowledgeBaseArticleInput[] | Prisma.KnowledgeBaseArticleUpvotesUncheckedCreateWithoutKnowledgeBaseArticleInput[] connectOrCreate?: Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput[] upsert?: Prisma.KnowledgeBaseArticleUpvotesUpsertWithWhereUniqueWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpsertWithWhereUniqueWithoutKnowledgeBaseArticleInput[] createMany?: Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInputEnvelope set?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] disconnect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] delete?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] connect?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput | Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput[] update?: Prisma.KnowledgeBaseArticleUpvotesUpdateWithWhereUniqueWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpdateWithWhereUniqueWithoutKnowledgeBaseArticleInput[] updateMany?: Prisma.KnowledgeBaseArticleUpvotesUpdateManyWithWhereWithoutKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesUpdateManyWithWhereWithoutKnowledgeBaseArticleInput[] deleteMany?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput[] } export type KnowledgeBaseArticleUpvotesCreateWithoutKnowledgeBaseArticleInput = { createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesUncheckedCreateWithoutKnowledgeBaseArticleInput = { createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesCreateOrConnectWithoutKnowledgeBaseArticleInput = { where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput create: Prisma.XOR } export type KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInputEnvelope = { data: Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInput | Prisma.KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInput[] skipDuplicates?: boolean } export type KnowledgeBaseArticleUpvotesUpsertWithWhereUniqueWithoutKnowledgeBaseArticleInput = { where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type KnowledgeBaseArticleUpvotesUpdateWithWhereUniqueWithoutKnowledgeBaseArticleInput = { where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput data: Prisma.XOR } export type KnowledgeBaseArticleUpvotesUpdateManyWithWhereWithoutKnowledgeBaseArticleInput = { where: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput data: Prisma.XOR } export type KnowledgeBaseArticleUpvotesScalarWhereInput = { AND?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput[] OR?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput[] NOT?: Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput | Prisma.KnowledgeBaseArticleUpvotesScalarWhereInput[] createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseArticleUpvotes"> | Date | string knowledgeBaseArticleId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseArticleUpvotes"> | string } export type KnowledgeBaseArticleUpvotesCreateManyKnowledgeBaseArticleInput = { createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseArticleUpvotesUpdateWithoutKnowledgeBaseArticleInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesUncheckedUpdateWithoutKnowledgeBaseArticleInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesUncheckedUpdateManyWithoutKnowledgeBaseArticleInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseArticleUpvotesSelect = runtime.Types.Extensions.GetSelect<{ createdAt?: boolean knowledgeBaseArticleId?: boolean userAnalyticsId?: boolean knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs }, ExtArgs["result"]["knowledgeBaseArticleUpvotes"]> export type KnowledgeBaseArticleUpvotesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ createdAt?: boolean knowledgeBaseArticleId?: boolean userAnalyticsId?: boolean knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs }, ExtArgs["result"]["knowledgeBaseArticleUpvotes"]> export type KnowledgeBaseArticleUpvotesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ createdAt?: boolean knowledgeBaseArticleId?: boolean userAnalyticsId?: boolean knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs }, ExtArgs["result"]["knowledgeBaseArticleUpvotes"]> export type KnowledgeBaseArticleUpvotesSelectScalar = { createdAt?: boolean knowledgeBaseArticleId?: boolean userAnalyticsId?: boolean } export type KnowledgeBaseArticleUpvotesOmit = runtime.Types.Extensions.GetOmit<"createdAt" | "knowledgeBaseArticleId" | "userAnalyticsId", ExtArgs["result"]["knowledgeBaseArticleUpvotes"]> export type KnowledgeBaseArticleUpvotesInclude = { knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs } export type KnowledgeBaseArticleUpvotesIncludeCreateManyAndReturn = { knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs } export type KnowledgeBaseArticleUpvotesIncludeUpdateManyAndReturn = { knowledgeBaseArticle?: boolean | Prisma.KnowledgeBaseArticleDefaultArgs } export type $KnowledgeBaseArticleUpvotesPayload = { name: "KnowledgeBaseArticleUpvotes" objects: { knowledgeBaseArticle: Prisma.$KnowledgeBaseArticlePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ createdAt: Date knowledgeBaseArticleId: string userAnalyticsId: string }, ExtArgs["result"]["knowledgeBaseArticleUpvotes"]> composites: {} } export type KnowledgeBaseArticleUpvotesGetPayload = runtime.Types.Result.GetResult export type KnowledgeBaseArticleUpvotesCountArgs = Omit & { select?: KnowledgeBaseArticleUpvotesCountAggregateInputType | true } export interface KnowledgeBaseArticleUpvotesDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['KnowledgeBaseArticleUpvotes'], meta: { name: 'KnowledgeBaseArticleUpvotes' } } /** * Find zero or one KnowledgeBaseArticleUpvotes that matches the filter. * @param {KnowledgeBaseArticleUpvotesFindUniqueArgs} args - Arguments to find a KnowledgeBaseArticleUpvotes * @example * // Get one KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one KnowledgeBaseArticleUpvotes that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {KnowledgeBaseArticleUpvotesFindUniqueOrThrowArgs} args - Arguments to find a KnowledgeBaseArticleUpvotes * @example * // Get one KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first KnowledgeBaseArticleUpvotes 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 {KnowledgeBaseArticleUpvotesFindFirstArgs} args - Arguments to find a KnowledgeBaseArticleUpvotes * @example * // Get one KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first KnowledgeBaseArticleUpvotes 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 {KnowledgeBaseArticleUpvotesFindFirstOrThrowArgs} args - Arguments to find a KnowledgeBaseArticleUpvotes * @example * // Get one KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more KnowledgeBaseArticleUpvotes 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 {KnowledgeBaseArticleUpvotesFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findMany() * * // Get first 10 KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.findMany({ take: 10 }) * * // Only select the `createdAt` * const knowledgeBaseArticleUpvotesWithCreatedAtOnly = await prisma.knowledgeBaseArticleUpvotes.findMany({ select: { createdAt: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesCreateArgs} args - Arguments to create a KnowledgeBaseArticleUpvotes. * @example * // Create one KnowledgeBaseArticleUpvotes * const KnowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.create({ * data: { * // ... data to create a KnowledgeBaseArticleUpvotes * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesCreateManyArgs} args - Arguments to create many KnowledgeBaseArticleUpvotes. * @example * // Create many KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many KnowledgeBaseArticleUpvotes and returns the data saved in the database. * @param {KnowledgeBaseArticleUpvotesCreateManyAndReturnArgs} args - Arguments to create many KnowledgeBaseArticleUpvotes. * @example * // Create many KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many KnowledgeBaseArticleUpvotes and only return the `createdAt` * const knowledgeBaseArticleUpvotesWithCreatedAtOnly = await prisma.knowledgeBaseArticleUpvotes.createManyAndReturn({ * select: { createdAt: 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 KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesDeleteArgs} args - Arguments to delete one KnowledgeBaseArticleUpvotes. * @example * // Delete one KnowledgeBaseArticleUpvotes * const KnowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.delete({ * where: { * // ... filter to delete one KnowledgeBaseArticleUpvotes * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesUpdateArgs} args - Arguments to update one KnowledgeBaseArticleUpvotes. * @example * // Update one KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesDeleteManyArgs} args - Arguments to filter KnowledgeBaseArticleUpvotes to delete. * @example * // Delete a few KnowledgeBaseArticleUpvotes * const { count } = await prisma.knowledgeBaseArticleUpvotes.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more KnowledgeBaseArticleUpvotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseArticleUpvotesUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more KnowledgeBaseArticleUpvotes and returns the data updated in the database. * @param {KnowledgeBaseArticleUpvotesUpdateManyAndReturnArgs} args - Arguments to update many KnowledgeBaseArticleUpvotes. * @example * // Update many KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more KnowledgeBaseArticleUpvotes and only return the `createdAt` * const knowledgeBaseArticleUpvotesWithCreatedAtOnly = await prisma.knowledgeBaseArticleUpvotes.updateManyAndReturn({ * select: { createdAt: 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 KnowledgeBaseArticleUpvotes. * @param {KnowledgeBaseArticleUpvotesUpsertArgs} args - Arguments to update or create a KnowledgeBaseArticleUpvotes. * @example * // Update or create a KnowledgeBaseArticleUpvotes * const knowledgeBaseArticleUpvotes = await prisma.knowledgeBaseArticleUpvotes.upsert({ * create: { * // ... data to create a KnowledgeBaseArticleUpvotes * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the KnowledgeBaseArticleUpvotes we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseArticleUpvotesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of KnowledgeBaseArticleUpvotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseArticleUpvotesCountArgs} args - Arguments to filter KnowledgeBaseArticleUpvotes to count. * @example * // Count the number of KnowledgeBaseArticleUpvotes * const count = await prisma.knowledgeBaseArticleUpvotes.count({ * where: { * // ... the filter for the KnowledgeBaseArticleUpvotes we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a KnowledgeBaseArticleUpvotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseArticleUpvotesAggregateArgs} 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 KnowledgeBaseArticleUpvotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseArticleUpvotesGroupByArgs} 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 KnowledgeBaseArticleUpvotesGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: KnowledgeBaseArticleUpvotesGroupByArgs['orderBy'] } : { orderBy?: KnowledgeBaseArticleUpvotesGroupByArgs['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 ? GetKnowledgeBaseArticleUpvotesGroupByPayload : Prisma.PrismaPromise /** * Fields of the KnowledgeBaseArticleUpvotes model */ readonly fields: KnowledgeBaseArticleUpvotesFieldRefs; } /** * The delegate class that acts as a "Promise-like" for KnowledgeBaseArticleUpvotes. * 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__KnowledgeBaseArticleUpvotesClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" knowledgeBaseArticle = {}>(args?: Prisma.Subset>): Prisma.Prisma__KnowledgeBaseArticleClient, 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 KnowledgeBaseArticleUpvotes model */ export interface KnowledgeBaseArticleUpvotesFieldRefs { readonly createdAt: Prisma.FieldRef<"KnowledgeBaseArticleUpvotes", 'DateTime'> readonly knowledgeBaseArticleId: Prisma.FieldRef<"KnowledgeBaseArticleUpvotes", 'String'> readonly userAnalyticsId: Prisma.FieldRef<"KnowledgeBaseArticleUpvotes", 'String'> } // Custom InputTypes /** * KnowledgeBaseArticleUpvotes findUnique */ export type KnowledgeBaseArticleUpvotesFindUniqueArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter, which KnowledgeBaseArticleUpvotes to fetch. */ where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput } /** * KnowledgeBaseArticleUpvotes findUniqueOrThrow */ export type KnowledgeBaseArticleUpvotesFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter, which KnowledgeBaseArticleUpvotes to fetch. */ where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput } /** * KnowledgeBaseArticleUpvotes findFirst */ export type KnowledgeBaseArticleUpvotesFindFirstArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter, which KnowledgeBaseArticleUpvotes to fetch. */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseArticleUpvotes to fetch. */ orderBy?: Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput | Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for KnowledgeBaseArticleUpvotes. */ cursor?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseArticleUpvotes 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` KnowledgeBaseArticleUpvotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseArticleUpvotes. */ distinct?: Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum | Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum[] } /** * KnowledgeBaseArticleUpvotes findFirstOrThrow */ export type KnowledgeBaseArticleUpvotesFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter, which KnowledgeBaseArticleUpvotes to fetch. */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseArticleUpvotes to fetch. */ orderBy?: Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput | Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for KnowledgeBaseArticleUpvotes. */ cursor?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseArticleUpvotes 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` KnowledgeBaseArticleUpvotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseArticleUpvotes. */ distinct?: Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum | Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum[] } /** * KnowledgeBaseArticleUpvotes findMany */ export type KnowledgeBaseArticleUpvotesFindManyArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter, which KnowledgeBaseArticleUpvotes to fetch. */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseArticleUpvotes to fetch. */ orderBy?: Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput | Prisma.KnowledgeBaseArticleUpvotesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing KnowledgeBaseArticleUpvotes. */ cursor?: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseArticleUpvotes 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` KnowledgeBaseArticleUpvotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseArticleUpvotes. */ distinct?: Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum | Prisma.KnowledgeBaseArticleUpvotesScalarFieldEnum[] } /** * KnowledgeBaseArticleUpvotes create */ export type KnowledgeBaseArticleUpvotesCreateArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * The data needed to create a KnowledgeBaseArticleUpvotes. */ data: Prisma.XOR } /** * KnowledgeBaseArticleUpvotes createMany */ export type KnowledgeBaseArticleUpvotesCreateManyArgs = { /** * The data used to create many KnowledgeBaseArticleUpvotes. */ data: Prisma.KnowledgeBaseArticleUpvotesCreateManyInput | Prisma.KnowledgeBaseArticleUpvotesCreateManyInput[] skipDuplicates?: boolean } /** * KnowledgeBaseArticleUpvotes createManyAndReturn */ export type KnowledgeBaseArticleUpvotesCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelectCreateManyAndReturn | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * The data used to create many KnowledgeBaseArticleUpvotes. */ data: Prisma.KnowledgeBaseArticleUpvotesCreateManyInput | Prisma.KnowledgeBaseArticleUpvotesCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesIncludeCreateManyAndReturn | null } /** * KnowledgeBaseArticleUpvotes update */ export type KnowledgeBaseArticleUpvotesUpdateArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * The data needed to update a KnowledgeBaseArticleUpvotes. */ data: Prisma.XOR /** * Choose, which KnowledgeBaseArticleUpvotes to update. */ where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput } /** * KnowledgeBaseArticleUpvotes updateMany */ export type KnowledgeBaseArticleUpvotesUpdateManyArgs = { /** * The data used to update KnowledgeBaseArticleUpvotes. */ data: Prisma.XOR /** * Filter which KnowledgeBaseArticleUpvotes to update */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * Limit how many KnowledgeBaseArticleUpvotes to update. */ limit?: number } /** * KnowledgeBaseArticleUpvotes updateManyAndReturn */ export type KnowledgeBaseArticleUpvotesUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelectUpdateManyAndReturn | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * The data used to update KnowledgeBaseArticleUpvotes. */ data: Prisma.XOR /** * Filter which KnowledgeBaseArticleUpvotes to update */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * Limit how many KnowledgeBaseArticleUpvotes to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesIncludeUpdateManyAndReturn | null } /** * KnowledgeBaseArticleUpvotes upsert */ export type KnowledgeBaseArticleUpvotesUpsertArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * The filter to search for the KnowledgeBaseArticleUpvotes to update in case it exists. */ where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput /** * In case the KnowledgeBaseArticleUpvotes found by the `where` argument doesn't exist, create a new KnowledgeBaseArticleUpvotes with this data. */ create: Prisma.XOR /** * In case the KnowledgeBaseArticleUpvotes was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * KnowledgeBaseArticleUpvotes delete */ export type KnowledgeBaseArticleUpvotesDeleteArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null /** * Filter which KnowledgeBaseArticleUpvotes to delete. */ where: Prisma.KnowledgeBaseArticleUpvotesWhereUniqueInput } /** * KnowledgeBaseArticleUpvotes deleteMany */ export type KnowledgeBaseArticleUpvotesDeleteManyArgs = { /** * Filter which KnowledgeBaseArticleUpvotes to delete */ where?: Prisma.KnowledgeBaseArticleUpvotesWhereInput /** * Limit how many KnowledgeBaseArticleUpvotes to delete. */ limit?: number } /** * KnowledgeBaseArticleUpvotes without action */ export type KnowledgeBaseArticleUpvotesDefaultArgs = { /** * Select specific fields to fetch from the KnowledgeBaseArticleUpvotes */ select?: Prisma.KnowledgeBaseArticleUpvotesSelect | null /** * Omit specific fields from the KnowledgeBaseArticleUpvotes */ omit?: Prisma.KnowledgeBaseArticleUpvotesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseArticleUpvotesInclude | null }