import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model articles_categories
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type articles_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$articles_categoriesPayload>;
export type AggregateArticles_categories = {
    _count: Articles_categoriesCountAggregateOutputType | null;
    _avg: Articles_categoriesAvgAggregateOutputType | null;
    _sum: Articles_categoriesSumAggregateOutputType | null;
    _min: Articles_categoriesMinAggregateOutputType | null;
    _max: Articles_categoriesMaxAggregateOutputType | null;
};
export type Articles_categoriesAvgAggregateOutputType = {
    id: number | null;
    articles_id: number | null;
    categories_id: number | null;
};
export type Articles_categoriesSumAggregateOutputType = {
    id: number | null;
    articles_id: number | null;
    categories_id: number | null;
};
export type Articles_categoriesMinAggregateOutputType = {
    id: number | null;
    articles_id: number | null;
    categories_id: number | null;
};
export type Articles_categoriesMaxAggregateOutputType = {
    id: number | null;
    articles_id: number | null;
    categories_id: number | null;
};
export type Articles_categoriesCountAggregateOutputType = {
    id: number;
    articles_id: number;
    categories_id: number;
    _all: number;
};
export type Articles_categoriesAvgAggregateInputType = {
    id?: true;
    articles_id?: true;
    categories_id?: true;
};
export type Articles_categoriesSumAggregateInputType = {
    id?: true;
    articles_id?: true;
    categories_id?: true;
};
export type Articles_categoriesMinAggregateInputType = {
    id?: true;
    articles_id?: true;
    categories_id?: true;
};
export type Articles_categoriesMaxAggregateInputType = {
    id?: true;
    articles_id?: true;
    categories_id?: true;
};
export type Articles_categoriesCountAggregateInputType = {
    id?: true;
    articles_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Articles_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which articles_categories to aggregate.
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of articles_categories to fetch.
     */
    orderBy?: Prisma.articles_categoriesOrderByWithRelationInput | Prisma.articles_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.articles_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` articles_categories 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` articles_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned articles_categories
    **/
    _count?: true | Articles_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Articles_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Articles_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Articles_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Articles_categoriesMaxAggregateInputType;
};
export type GetArticles_categoriesAggregateType<T extends Articles_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregateArticles_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateArticles_categories[P]> : Prisma.GetScalarType<T[P], AggregateArticles_categories[P]>;
};
export type articles_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.articles_categoriesWhereInput;
    orderBy?: Prisma.articles_categoriesOrderByWithAggregationInput | Prisma.articles_categoriesOrderByWithAggregationInput[];
    by: Prisma.Articles_categoriesScalarFieldEnum[] | Prisma.Articles_categoriesScalarFieldEnum;
    having?: Prisma.articles_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Articles_categoriesCountAggregateInputType | true;
    _avg?: Articles_categoriesAvgAggregateInputType;
    _sum?: Articles_categoriesSumAggregateInputType;
    _min?: Articles_categoriesMinAggregateInputType;
    _max?: Articles_categoriesMaxAggregateInputType;
};
export type Articles_categoriesGroupByOutputType = {
    id: number;
    articles_id: number | null;
    categories_id: number | null;
    _count: Articles_categoriesCountAggregateOutputType | null;
    _avg: Articles_categoriesAvgAggregateOutputType | null;
    _sum: Articles_categoriesSumAggregateOutputType | null;
    _min: Articles_categoriesMinAggregateOutputType | null;
    _max: Articles_categoriesMaxAggregateOutputType | null;
};
type GetArticles_categoriesGroupByPayload<T extends articles_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Articles_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Articles_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Articles_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Articles_categoriesGroupByOutputType[P]>;
}>>;
export type articles_categoriesWhereInput = {
    AND?: Prisma.articles_categoriesWhereInput | Prisma.articles_categoriesWhereInput[];
    OR?: Prisma.articles_categoriesWhereInput[];
    NOT?: Prisma.articles_categoriesWhereInput | Prisma.articles_categoriesWhereInput[];
    id?: Prisma.IntFilter<"articles_categories"> | number;
    articles_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
    articles?: Prisma.XOR<Prisma.ArticlesNullableScalarRelationFilter, Prisma.articlesWhereInput> | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
};
export type articles_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    articles?: Prisma.articlesOrderByWithRelationInput;
    categories?: Prisma.categoriesOrderByWithRelationInput;
};
export type articles_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.articles_categoriesWhereInput | Prisma.articles_categoriesWhereInput[];
    OR?: Prisma.articles_categoriesWhereInput[];
    NOT?: Prisma.articles_categoriesWhereInput | Prisma.articles_categoriesWhereInput[];
    articles_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
    articles?: Prisma.XOR<Prisma.ArticlesNullableScalarRelationFilter, Prisma.articlesWhereInput> | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
}, "id">;
export type articles_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.articles_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.articles_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.articles_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.articles_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.articles_categoriesSumOrderByAggregateInput;
};
export type articles_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.articles_categoriesScalarWhereWithAggregatesInput | Prisma.articles_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.articles_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.articles_categoriesScalarWhereWithAggregatesInput | Prisma.articles_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"articles_categories"> | number;
    articles_id?: Prisma.IntNullableWithAggregatesFilter<"articles_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"articles_categories"> | number | null;
};
export type articles_categoriesCreateInput = {
    articles?: Prisma.articlesCreateNestedOneWithoutArticles_categoriesInput;
    categories?: Prisma.categoriesCreateNestedOneWithoutArticles_categoriesInput;
};
export type articles_categoriesUncheckedCreateInput = {
    id?: number;
    articles_id?: number | null;
    categories_id?: number | null;
};
export type articles_categoriesUpdateInput = {
    articles?: Prisma.articlesUpdateOneWithoutArticles_categoriesNestedInput;
    categories?: Prisma.categoriesUpdateOneWithoutArticles_categoriesNestedInput;
};
export type articles_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    articles_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type articles_categoriesCreateManyInput = {
    id?: number;
    articles_id?: number | null;
    categories_id?: number | null;
};
export type articles_categoriesUpdateManyMutationInput = {};
export type articles_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    articles_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Articles_categoriesListRelationFilter = {
    every?: Prisma.articles_categoriesWhereInput;
    some?: Prisma.articles_categoriesWhereInput;
    none?: Prisma.articles_categoriesWhereInput;
};
export type articles_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type articles_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type articles_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type articles_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type articles_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type articles_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    articles_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type articles_categoriesCreateNestedManyWithoutArticlesInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput> | Prisma.articles_categoriesCreateWithoutArticlesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput | Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput[];
    createMany?: Prisma.articles_categoriesCreateManyArticlesInputEnvelope;
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
};
export type articles_categoriesUncheckedCreateNestedManyWithoutArticlesInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput> | Prisma.articles_categoriesCreateWithoutArticlesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput | Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput[];
    createMany?: Prisma.articles_categoriesCreateManyArticlesInputEnvelope;
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
};
export type articles_categoriesUpdateManyWithoutArticlesNestedInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput> | Prisma.articles_categoriesCreateWithoutArticlesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput | Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput[];
    upsert?: Prisma.articles_categoriesUpsertWithWhereUniqueWithoutArticlesInput | Prisma.articles_categoriesUpsertWithWhereUniqueWithoutArticlesInput[];
    createMany?: Prisma.articles_categoriesCreateManyArticlesInputEnvelope;
    set?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    disconnect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    delete?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    update?: Prisma.articles_categoriesUpdateWithWhereUniqueWithoutArticlesInput | Prisma.articles_categoriesUpdateWithWhereUniqueWithoutArticlesInput[];
    updateMany?: Prisma.articles_categoriesUpdateManyWithWhereWithoutArticlesInput | Prisma.articles_categoriesUpdateManyWithWhereWithoutArticlesInput[];
    deleteMany?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
};
export type articles_categoriesUncheckedUpdateManyWithoutArticlesNestedInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput> | Prisma.articles_categoriesCreateWithoutArticlesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput | Prisma.articles_categoriesCreateOrConnectWithoutArticlesInput[];
    upsert?: Prisma.articles_categoriesUpsertWithWhereUniqueWithoutArticlesInput | Prisma.articles_categoriesUpsertWithWhereUniqueWithoutArticlesInput[];
    createMany?: Prisma.articles_categoriesCreateManyArticlesInputEnvelope;
    set?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    disconnect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    delete?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    update?: Prisma.articles_categoriesUpdateWithWhereUniqueWithoutArticlesInput | Prisma.articles_categoriesUpdateWithWhereUniqueWithoutArticlesInput[];
    updateMany?: Prisma.articles_categoriesUpdateManyWithWhereWithoutArticlesInput | Prisma.articles_categoriesUpdateManyWithWhereWithoutArticlesInput[];
    deleteMany?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
};
export type articles_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.articles_categoriesCreateWithoutCategoriesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.articles_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
};
export type articles_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.articles_categoriesCreateWithoutCategoriesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.articles_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
};
export type articles_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.articles_categoriesCreateWithoutCategoriesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.articles_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.articles_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.articles_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    disconnect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    delete?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    update?: Prisma.articles_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.articles_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.articles_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.articles_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
};
export type articles_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.articles_categoriesCreateWithoutCategoriesInput[] | Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.articles_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.articles_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.articles_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.articles_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    disconnect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    delete?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    connect?: Prisma.articles_categoriesWhereUniqueInput | Prisma.articles_categoriesWhereUniqueInput[];
    update?: Prisma.articles_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.articles_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.articles_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.articles_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
};
export type articles_categoriesCreateWithoutArticlesInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutArticles_categoriesInput;
};
export type articles_categoriesUncheckedCreateWithoutArticlesInput = {
    id?: number;
    categories_id?: number | null;
};
export type articles_categoriesCreateOrConnectWithoutArticlesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput>;
};
export type articles_categoriesCreateManyArticlesInputEnvelope = {
    data: Prisma.articles_categoriesCreateManyArticlesInput | Prisma.articles_categoriesCreateManyArticlesInput[];
    skipDuplicates?: boolean;
};
export type articles_categoriesUpsertWithWhereUniqueWithoutArticlesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.articles_categoriesUpdateWithoutArticlesInput, Prisma.articles_categoriesUncheckedUpdateWithoutArticlesInput>;
    create: Prisma.XOR<Prisma.articles_categoriesCreateWithoutArticlesInput, Prisma.articles_categoriesUncheckedCreateWithoutArticlesInput>;
};
export type articles_categoriesUpdateWithWhereUniqueWithoutArticlesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.articles_categoriesUpdateWithoutArticlesInput, Prisma.articles_categoriesUncheckedUpdateWithoutArticlesInput>;
};
export type articles_categoriesUpdateManyWithWhereWithoutArticlesInput = {
    where: Prisma.articles_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.articles_categoriesUpdateManyMutationInput, Prisma.articles_categoriesUncheckedUpdateManyWithoutArticlesInput>;
};
export type articles_categoriesScalarWhereInput = {
    AND?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
    OR?: Prisma.articles_categoriesScalarWhereInput[];
    NOT?: Prisma.articles_categoriesScalarWhereInput | Prisma.articles_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"articles_categories"> | number;
    articles_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"articles_categories"> | number | null;
};
export type articles_categoriesCreateWithoutCategoriesInput = {
    articles?: Prisma.articlesCreateNestedOneWithoutArticles_categoriesInput;
};
export type articles_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    articles_id?: number | null;
};
export type articles_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type articles_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.articles_categoriesCreateManyCategoriesInput | Prisma.articles_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type articles_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.articles_categoriesUpdateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.articles_categoriesCreateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type articles_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.articles_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.articles_categoriesUpdateWithoutCategoriesInput, Prisma.articles_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type articles_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.articles_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.articles_categoriesUpdateManyMutationInput, Prisma.articles_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type articles_categoriesCreateManyArticlesInput = {
    id?: number;
    categories_id?: number | null;
};
export type articles_categoriesUpdateWithoutArticlesInput = {
    categories?: Prisma.categoriesUpdateOneWithoutArticles_categoriesNestedInput;
};
export type articles_categoriesUncheckedUpdateWithoutArticlesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type articles_categoriesUncheckedUpdateManyWithoutArticlesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type articles_categoriesCreateManyCategoriesInput = {
    id?: number;
    articles_id?: number | null;
};
export type articles_categoriesUpdateWithoutCategoriesInput = {
    articles?: Prisma.articlesUpdateOneWithoutArticles_categoriesNestedInput;
};
export type articles_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    articles_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type articles_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    articles_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type articles_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    articles_id?: boolean;
    categories_id?: boolean;
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
}, ExtArgs["result"]["articles_categories"]>;
export type articles_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    articles_id?: boolean;
    categories_id?: boolean;
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
}, ExtArgs["result"]["articles_categories"]>;
export type articles_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    articles_id?: boolean;
    categories_id?: boolean;
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
}, ExtArgs["result"]["articles_categories"]>;
export type articles_categoriesSelectScalar = {
    id?: boolean;
    articles_id?: boolean;
    categories_id?: boolean;
};
export type articles_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "articles_id" | "categories_id", ExtArgs["result"]["articles_categories"]>;
export type articles_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
};
export type articles_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
};
export type articles_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    articles?: boolean | Prisma.articles_categories$articlesArgs<ExtArgs>;
    categories?: boolean | Prisma.articles_categories$categoriesArgs<ExtArgs>;
};
export type $articles_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "articles_categories";
    objects: {
        articles: Prisma.$articlesPayload<ExtArgs> | null;
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        articles_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["articles_categories"]>;
    composites: {};
};
export type articles_categoriesGetPayload<S extends boolean | null | undefined | articles_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload, S>;
export type articles_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<articles_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Articles_categoriesCountAggregateInputType | true;
};
export interface articles_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['articles_categories'];
        meta: {
            name: 'articles_categories';
        };
    };
    /**
     * Find zero or one Articles_categories that matches the filter.
     * @param {articles_categoriesFindUniqueArgs} args - Arguments to find a Articles_categories
     * @example
     * // Get one Articles_categories
     * const articles_categories = await prisma.articles_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends articles_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, articles_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Articles_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {articles_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Articles_categories
     * @example
     * // Get one Articles_categories
     * const articles_categories = await prisma.articles_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends articles_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, articles_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Articles_categories 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 {articles_categoriesFindFirstArgs} args - Arguments to find a Articles_categories
     * @example
     * // Get one Articles_categories
     * const articles_categories = await prisma.articles_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends articles_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, articles_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Articles_categories 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 {articles_categoriesFindFirstOrThrowArgs} args - Arguments to find a Articles_categories
     * @example
     * // Get one Articles_categories
     * const articles_categories = await prisma.articles_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends articles_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, articles_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Articles_categories 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 {articles_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Articles_categories
     * const articles_categories = await prisma.articles_categories.findMany()
     *
     * // Get first 10 Articles_categories
     * const articles_categories = await prisma.articles_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const articles_categoriesWithIdOnly = await prisma.articles_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends articles_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, articles_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Articles_categories.
     * @param {articles_categoriesCreateArgs} args - Arguments to create a Articles_categories.
     * @example
     * // Create one Articles_categories
     * const Articles_categories = await prisma.articles_categories.create({
     *   data: {
     *     // ... data to create a Articles_categories
     *   }
     * })
     *
     */
    create<T extends articles_categoriesCreateArgs>(args: Prisma.SelectSubset<T, articles_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Articles_categories.
     * @param {articles_categoriesCreateManyArgs} args - Arguments to create many Articles_categories.
     * @example
     * // Create many Articles_categories
     * const articles_categories = await prisma.articles_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends articles_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, articles_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Articles_categories and returns the data saved in the database.
     * @param {articles_categoriesCreateManyAndReturnArgs} args - Arguments to create many Articles_categories.
     * @example
     * // Create many Articles_categories
     * const articles_categories = await prisma.articles_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Articles_categories and only return the `id`
     * const articles_categoriesWithIdOnly = await prisma.articles_categories.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends articles_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, articles_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Articles_categories.
     * @param {articles_categoriesDeleteArgs} args - Arguments to delete one Articles_categories.
     * @example
     * // Delete one Articles_categories
     * const Articles_categories = await prisma.articles_categories.delete({
     *   where: {
     *     // ... filter to delete one Articles_categories
     *   }
     * })
     *
     */
    delete<T extends articles_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, articles_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Articles_categories.
     * @param {articles_categoriesUpdateArgs} args - Arguments to update one Articles_categories.
     * @example
     * // Update one Articles_categories
     * const articles_categories = await prisma.articles_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends articles_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, articles_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Articles_categories.
     * @param {articles_categoriesDeleteManyArgs} args - Arguments to filter Articles_categories to delete.
     * @example
     * // Delete a few Articles_categories
     * const { count } = await prisma.articles_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends articles_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, articles_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Articles_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {articles_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Articles_categories
     * const articles_categories = await prisma.articles_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends articles_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, articles_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Articles_categories and returns the data updated in the database.
     * @param {articles_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Articles_categories.
     * @example
     * // Update many Articles_categories
     * const articles_categories = await prisma.articles_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Articles_categories and only return the `id`
     * const articles_categoriesWithIdOnly = await prisma.articles_categories.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends articles_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, articles_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Articles_categories.
     * @param {articles_categoriesUpsertArgs} args - Arguments to update or create a Articles_categories.
     * @example
     * // Update or create a Articles_categories
     * const articles_categories = await prisma.articles_categories.upsert({
     *   create: {
     *     // ... data to create a Articles_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Articles_categories we want to update
     *   }
     * })
     */
    upsert<T extends articles_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, articles_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__articles_categoriesClient<runtime.Types.Result.GetResult<Prisma.$articles_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Articles_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {articles_categoriesCountArgs} args - Arguments to filter Articles_categories to count.
     * @example
     * // Count the number of Articles_categories
     * const count = await prisma.articles_categories.count({
     *   where: {
     *     // ... the filter for the Articles_categories we want to count
     *   }
     * })
    **/
    count<T extends articles_categoriesCountArgs>(args?: Prisma.Subset<T, articles_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Articles_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Articles_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Articles_categoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Articles_categoriesAggregateArgs>(args: Prisma.Subset<T, Articles_categoriesAggregateArgs>): Prisma.PrismaPromise<GetArticles_categoriesAggregateType<T>>;
    /**
     * Group by Articles_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {articles_categoriesGroupByArgs} 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 articles_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: articles_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: articles_categoriesGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, articles_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetArticles_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the articles_categories model
     */
    readonly fields: articles_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for articles_categories.
 * 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__articles_categoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    articles<T extends Prisma.articles_categories$articlesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.articles_categories$articlesArgs<ExtArgs>>): Prisma.Prisma__articlesClient<runtime.Types.Result.GetResult<Prisma.$articlesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    categories<T extends Prisma.articles_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.articles_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the articles_categories model
 */
export interface articles_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"articles_categories", 'Int'>;
    readonly articles_id: Prisma.FieldRef<"articles_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"articles_categories", 'Int'>;
}
/**
 * articles_categories findUnique
 */
export type articles_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which articles_categories to fetch.
     */
    where: Prisma.articles_categoriesWhereUniqueInput;
};
/**
 * articles_categories findUniqueOrThrow
 */
export type articles_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which articles_categories to fetch.
     */
    where: Prisma.articles_categoriesWhereUniqueInput;
};
/**
 * articles_categories findFirst
 */
export type articles_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which articles_categories to fetch.
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of articles_categories to fetch.
     */
    orderBy?: Prisma.articles_categoriesOrderByWithRelationInput | Prisma.articles_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for articles_categories.
     */
    cursor?: Prisma.articles_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` articles_categories 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` articles_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of articles_categories.
     */
    distinct?: Prisma.Articles_categoriesScalarFieldEnum | Prisma.Articles_categoriesScalarFieldEnum[];
};
/**
 * articles_categories findFirstOrThrow
 */
export type articles_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which articles_categories to fetch.
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of articles_categories to fetch.
     */
    orderBy?: Prisma.articles_categoriesOrderByWithRelationInput | Prisma.articles_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for articles_categories.
     */
    cursor?: Prisma.articles_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` articles_categories 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` articles_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of articles_categories.
     */
    distinct?: Prisma.Articles_categoriesScalarFieldEnum | Prisma.Articles_categoriesScalarFieldEnum[];
};
/**
 * articles_categories findMany
 */
export type articles_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which articles_categories to fetch.
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of articles_categories to fetch.
     */
    orderBy?: Prisma.articles_categoriesOrderByWithRelationInput | Prisma.articles_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing articles_categories.
     */
    cursor?: Prisma.articles_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` articles_categories 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` articles_categories.
     */
    skip?: number;
    distinct?: Prisma.Articles_categoriesScalarFieldEnum | Prisma.Articles_categoriesScalarFieldEnum[];
};
/**
 * articles_categories create
 */
export type articles_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a articles_categories.
     */
    data?: Prisma.XOR<Prisma.articles_categoriesCreateInput, Prisma.articles_categoriesUncheckedCreateInput>;
};
/**
 * articles_categories createMany
 */
export type articles_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many articles_categories.
     */
    data: Prisma.articles_categoriesCreateManyInput | Prisma.articles_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * articles_categories createManyAndReturn
 */
export type articles_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many articles_categories.
     */
    data: Prisma.articles_categoriesCreateManyInput | Prisma.articles_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * articles_categories update
 */
export type articles_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a articles_categories.
     */
    data: Prisma.XOR<Prisma.articles_categoriesUpdateInput, Prisma.articles_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which articles_categories to update.
     */
    where: Prisma.articles_categoriesWhereUniqueInput;
};
/**
 * articles_categories updateMany
 */
export type articles_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update articles_categories.
     */
    data: Prisma.XOR<Prisma.articles_categoriesUpdateManyMutationInput, Prisma.articles_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which articles_categories to update
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * Limit how many articles_categories to update.
     */
    limit?: number;
};
/**
 * articles_categories updateManyAndReturn
 */
export type articles_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update articles_categories.
     */
    data: Prisma.XOR<Prisma.articles_categoriesUpdateManyMutationInput, Prisma.articles_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which articles_categories to update
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * Limit how many articles_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * articles_categories upsert
 */
export type articles_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the articles_categories to update in case it exists.
     */
    where: Prisma.articles_categoriesWhereUniqueInput;
    /**
     * In case the articles_categories found by the `where` argument doesn't exist, create a new articles_categories with this data.
     */
    create: Prisma.XOR<Prisma.articles_categoriesCreateInput, Prisma.articles_categoriesUncheckedCreateInput>;
    /**
     * In case the articles_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.articles_categoriesUpdateInput, Prisma.articles_categoriesUncheckedUpdateInput>;
};
/**
 * articles_categories delete
 */
export type articles_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which articles_categories to delete.
     */
    where: Prisma.articles_categoriesWhereUniqueInput;
};
/**
 * articles_categories deleteMany
 */
export type articles_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which articles_categories to delete
     */
    where?: Prisma.articles_categoriesWhereInput;
    /**
     * Limit how many articles_categories to delete.
     */
    limit?: number;
};
/**
 * articles_categories.articles
 */
export type articles_categories$articlesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles
     */
    select?: Prisma.articlesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles
     */
    omit?: Prisma.articlesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articlesInclude<ExtArgs> | null;
    where?: Prisma.articlesWhereInput;
};
/**
 * articles_categories.categories
 */
export type articles_categories$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories
     */
    select?: Prisma.categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories
     */
    omit?: Prisma.categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categoriesInclude<ExtArgs> | null;
    where?: Prisma.categoriesWhereInput;
};
/**
 * articles_categories without action
 */
export type articles_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the articles_categories
     */
    select?: Prisma.articles_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the articles_categories
     */
    omit?: Prisma.articles_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.articles_categoriesInclude<ExtArgs> | null;
};
export {};
