import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model categories_shorts
 * 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 categories_shortsModel = runtime.Types.Result.DefaultSelection<Prisma.$categories_shortsPayload>;
export type AggregateCategories_shorts = {
    _count: Categories_shortsCountAggregateOutputType | null;
    _avg: Categories_shortsAvgAggregateOutputType | null;
    _sum: Categories_shortsSumAggregateOutputType | null;
    _min: Categories_shortsMinAggregateOutputType | null;
    _max: Categories_shortsMaxAggregateOutputType | null;
};
export type Categories_shortsAvgAggregateOutputType = {
    id: number | null;
    categories_id: number | null;
    shorts_id: number | null;
};
export type Categories_shortsSumAggregateOutputType = {
    id: number | null;
    categories_id: number | null;
    shorts_id: number | null;
};
export type Categories_shortsMinAggregateOutputType = {
    id: number | null;
    categories_id: number | null;
    shorts_id: number | null;
};
export type Categories_shortsMaxAggregateOutputType = {
    id: number | null;
    categories_id: number | null;
    shorts_id: number | null;
};
export type Categories_shortsCountAggregateOutputType = {
    id: number;
    categories_id: number;
    shorts_id: number;
    _all: number;
};
export type Categories_shortsAvgAggregateInputType = {
    id?: true;
    categories_id?: true;
    shorts_id?: true;
};
export type Categories_shortsSumAggregateInputType = {
    id?: true;
    categories_id?: true;
    shorts_id?: true;
};
export type Categories_shortsMinAggregateInputType = {
    id?: true;
    categories_id?: true;
    shorts_id?: true;
};
export type Categories_shortsMaxAggregateInputType = {
    id?: true;
    categories_id?: true;
    shorts_id?: true;
};
export type Categories_shortsCountAggregateInputType = {
    id?: true;
    categories_id?: true;
    shorts_id?: true;
    _all?: true;
};
export type Categories_shortsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which categories_shorts to aggregate.
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of categories_shorts to fetch.
     */
    orderBy?: Prisma.categories_shortsOrderByWithRelationInput | Prisma.categories_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.categories_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` categories_shorts 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` categories_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned categories_shorts
    **/
    _count?: true | Categories_shortsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Categories_shortsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Categories_shortsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Categories_shortsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Categories_shortsMaxAggregateInputType;
};
export type GetCategories_shortsAggregateType<T extends Categories_shortsAggregateArgs> = {
    [P in keyof T & keyof AggregateCategories_shorts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCategories_shorts[P]> : Prisma.GetScalarType<T[P], AggregateCategories_shorts[P]>;
};
export type categories_shortsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.categories_shortsWhereInput;
    orderBy?: Prisma.categories_shortsOrderByWithAggregationInput | Prisma.categories_shortsOrderByWithAggregationInput[];
    by: Prisma.Categories_shortsScalarFieldEnum[] | Prisma.Categories_shortsScalarFieldEnum;
    having?: Prisma.categories_shortsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Categories_shortsCountAggregateInputType | true;
    _avg?: Categories_shortsAvgAggregateInputType;
    _sum?: Categories_shortsSumAggregateInputType;
    _min?: Categories_shortsMinAggregateInputType;
    _max?: Categories_shortsMaxAggregateInputType;
};
export type Categories_shortsGroupByOutputType = {
    id: number;
    categories_id: number | null;
    shorts_id: number | null;
    _count: Categories_shortsCountAggregateOutputType | null;
    _avg: Categories_shortsAvgAggregateOutputType | null;
    _sum: Categories_shortsSumAggregateOutputType | null;
    _min: Categories_shortsMinAggregateOutputType | null;
    _max: Categories_shortsMaxAggregateOutputType | null;
};
type GetCategories_shortsGroupByPayload<T extends categories_shortsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Categories_shortsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Categories_shortsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Categories_shortsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Categories_shortsGroupByOutputType[P]>;
}>>;
export type categories_shortsWhereInput = {
    AND?: Prisma.categories_shortsWhereInput | Prisma.categories_shortsWhereInput[];
    OR?: Prisma.categories_shortsWhereInput[];
    NOT?: Prisma.categories_shortsWhereInput | Prisma.categories_shortsWhereInput[];
    id?: Prisma.IntFilter<"categories_shorts"> | number;
    categories_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
};
export type categories_shortsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    shorts?: Prisma.shortsOrderByWithRelationInput;
};
export type categories_shortsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.categories_shortsWhereInput | Prisma.categories_shortsWhereInput[];
    OR?: Prisma.categories_shortsWhereInput[];
    NOT?: Prisma.categories_shortsWhereInput | Prisma.categories_shortsWhereInput[];
    categories_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
}, "id">;
export type categories_shortsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.categories_shortsCountOrderByAggregateInput;
    _avg?: Prisma.categories_shortsAvgOrderByAggregateInput;
    _max?: Prisma.categories_shortsMaxOrderByAggregateInput;
    _min?: Prisma.categories_shortsMinOrderByAggregateInput;
    _sum?: Prisma.categories_shortsSumOrderByAggregateInput;
};
export type categories_shortsScalarWhereWithAggregatesInput = {
    AND?: Prisma.categories_shortsScalarWhereWithAggregatesInput | Prisma.categories_shortsScalarWhereWithAggregatesInput[];
    OR?: Prisma.categories_shortsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.categories_shortsScalarWhereWithAggregatesInput | Prisma.categories_shortsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"categories_shorts"> | number;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"categories_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableWithAggregatesFilter<"categories_shorts"> | number | null;
};
export type categories_shortsCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutCategories_shortsInput;
    shorts?: Prisma.shortsCreateNestedOneWithoutCategories_shortsInput;
};
export type categories_shortsUncheckedCreateInput = {
    id?: number;
    categories_id?: number | null;
    shorts_id?: number | null;
};
export type categories_shortsUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutCategories_shortsNestedInput;
    shorts?: Prisma.shortsUpdateOneWithoutCategories_shortsNestedInput;
};
export type categories_shortsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type categories_shortsCreateManyInput = {
    id?: number;
    categories_id?: number | null;
    shorts_id?: number | null;
};
export type categories_shortsUpdateManyMutationInput = {};
export type categories_shortsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Categories_shortsListRelationFilter = {
    every?: Prisma.categories_shortsWhereInput;
    some?: Prisma.categories_shortsWhereInput;
    none?: Prisma.categories_shortsWhereInput;
};
export type categories_shortsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type categories_shortsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type categories_shortsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type categories_shortsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type categories_shortsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type categories_shortsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type categories_shortsCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput> | Prisma.categories_shortsCreateWithoutCategoriesInput[] | Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput | Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.categories_shortsCreateManyCategoriesInputEnvelope;
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
};
export type categories_shortsUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput> | Prisma.categories_shortsCreateWithoutCategoriesInput[] | Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput | Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.categories_shortsCreateManyCategoriesInputEnvelope;
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
};
export type categories_shortsUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput> | Prisma.categories_shortsCreateWithoutCategoriesInput[] | Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput | Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.categories_shortsUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.categories_shortsUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.categories_shortsCreateManyCategoriesInputEnvelope;
    set?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    disconnect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    delete?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    update?: Prisma.categories_shortsUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.categories_shortsUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.categories_shortsUpdateManyWithWhereWithoutCategoriesInput | Prisma.categories_shortsUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
};
export type categories_shortsUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput> | Prisma.categories_shortsCreateWithoutCategoriesInput[] | Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput | Prisma.categories_shortsCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.categories_shortsUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.categories_shortsUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.categories_shortsCreateManyCategoriesInputEnvelope;
    set?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    disconnect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    delete?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    update?: Prisma.categories_shortsUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.categories_shortsUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.categories_shortsUpdateManyWithWhereWithoutCategoriesInput | Prisma.categories_shortsUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
};
export type categories_shortsCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput> | Prisma.categories_shortsCreateWithoutShortsInput[] | Prisma.categories_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutShortsInput | Prisma.categories_shortsCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.categories_shortsCreateManyShortsInputEnvelope;
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
};
export type categories_shortsUncheckedCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput> | Prisma.categories_shortsCreateWithoutShortsInput[] | Prisma.categories_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutShortsInput | Prisma.categories_shortsCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.categories_shortsCreateManyShortsInputEnvelope;
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
};
export type categories_shortsUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput> | Prisma.categories_shortsCreateWithoutShortsInput[] | Prisma.categories_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutShortsInput | Prisma.categories_shortsCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.categories_shortsUpsertWithWhereUniqueWithoutShortsInput | Prisma.categories_shortsUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.categories_shortsCreateManyShortsInputEnvelope;
    set?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    disconnect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    delete?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    update?: Prisma.categories_shortsUpdateWithWhereUniqueWithoutShortsInput | Prisma.categories_shortsUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.categories_shortsUpdateManyWithWhereWithoutShortsInput | Prisma.categories_shortsUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
};
export type categories_shortsUncheckedUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput> | Prisma.categories_shortsCreateWithoutShortsInput[] | Prisma.categories_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.categories_shortsCreateOrConnectWithoutShortsInput | Prisma.categories_shortsCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.categories_shortsUpsertWithWhereUniqueWithoutShortsInput | Prisma.categories_shortsUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.categories_shortsCreateManyShortsInputEnvelope;
    set?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    disconnect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    delete?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    connect?: Prisma.categories_shortsWhereUniqueInput | Prisma.categories_shortsWhereUniqueInput[];
    update?: Prisma.categories_shortsUpdateWithWhereUniqueWithoutShortsInput | Prisma.categories_shortsUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.categories_shortsUpdateManyWithWhereWithoutShortsInput | Prisma.categories_shortsUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
};
export type categories_shortsCreateWithoutCategoriesInput = {
    shorts?: Prisma.shortsCreateNestedOneWithoutCategories_shortsInput;
};
export type categories_shortsUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    shorts_id?: number | null;
};
export type categories_shortsCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    create: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput>;
};
export type categories_shortsCreateManyCategoriesInputEnvelope = {
    data: Prisma.categories_shortsCreateManyCategoriesInput | Prisma.categories_shortsCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type categories_shortsUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    update: Prisma.XOR<Prisma.categories_shortsUpdateWithoutCategoriesInput, Prisma.categories_shortsUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.categories_shortsCreateWithoutCategoriesInput, Prisma.categories_shortsUncheckedCreateWithoutCategoriesInput>;
};
export type categories_shortsUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    data: Prisma.XOR<Prisma.categories_shortsUpdateWithoutCategoriesInput, Prisma.categories_shortsUncheckedUpdateWithoutCategoriesInput>;
};
export type categories_shortsUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.categories_shortsScalarWhereInput;
    data: Prisma.XOR<Prisma.categories_shortsUpdateManyMutationInput, Prisma.categories_shortsUncheckedUpdateManyWithoutCategoriesInput>;
};
export type categories_shortsScalarWhereInput = {
    AND?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
    OR?: Prisma.categories_shortsScalarWhereInput[];
    NOT?: Prisma.categories_shortsScalarWhereInput | Prisma.categories_shortsScalarWhereInput[];
    id?: Prisma.IntFilter<"categories_shorts"> | number;
    categories_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"categories_shorts"> | number | null;
};
export type categories_shortsCreateWithoutShortsInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutCategories_shortsInput;
};
export type categories_shortsUncheckedCreateWithoutShortsInput = {
    id?: number;
    categories_id?: number | null;
};
export type categories_shortsCreateOrConnectWithoutShortsInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    create: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput>;
};
export type categories_shortsCreateManyShortsInputEnvelope = {
    data: Prisma.categories_shortsCreateManyShortsInput | Prisma.categories_shortsCreateManyShortsInput[];
    skipDuplicates?: boolean;
};
export type categories_shortsUpsertWithWhereUniqueWithoutShortsInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    update: Prisma.XOR<Prisma.categories_shortsUpdateWithoutShortsInput, Prisma.categories_shortsUncheckedUpdateWithoutShortsInput>;
    create: Prisma.XOR<Prisma.categories_shortsCreateWithoutShortsInput, Prisma.categories_shortsUncheckedCreateWithoutShortsInput>;
};
export type categories_shortsUpdateWithWhereUniqueWithoutShortsInput = {
    where: Prisma.categories_shortsWhereUniqueInput;
    data: Prisma.XOR<Prisma.categories_shortsUpdateWithoutShortsInput, Prisma.categories_shortsUncheckedUpdateWithoutShortsInput>;
};
export type categories_shortsUpdateManyWithWhereWithoutShortsInput = {
    where: Prisma.categories_shortsScalarWhereInput;
    data: Prisma.XOR<Prisma.categories_shortsUpdateManyMutationInput, Prisma.categories_shortsUncheckedUpdateManyWithoutShortsInput>;
};
export type categories_shortsCreateManyCategoriesInput = {
    id?: number;
    shorts_id?: number | null;
};
export type categories_shortsUpdateWithoutCategoriesInput = {
    shorts?: Prisma.shortsUpdateOneWithoutCategories_shortsNestedInput;
};
export type categories_shortsUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type categories_shortsUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type categories_shortsCreateManyShortsInput = {
    id?: number;
    categories_id?: number | null;
};
export type categories_shortsUpdateWithoutShortsInput = {
    categories?: Prisma.categoriesUpdateOneWithoutCategories_shortsNestedInput;
};
export type categories_shortsUncheckedUpdateWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type categories_shortsUncheckedUpdateManyWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type categories_shortsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    categories_id?: boolean;
    shorts_id?: boolean;
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["categories_shorts"]>;
export type categories_shortsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    categories_id?: boolean;
    shorts_id?: boolean;
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["categories_shorts"]>;
export type categories_shortsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    categories_id?: boolean;
    shorts_id?: boolean;
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["categories_shorts"]>;
export type categories_shortsSelectScalar = {
    id?: boolean;
    categories_id?: boolean;
    shorts_id?: boolean;
};
export type categories_shortsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "categories_id" | "shorts_id", ExtArgs["result"]["categories_shorts"]>;
export type categories_shortsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
};
export type categories_shortsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
};
export type categories_shortsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.categories_shorts$categoriesArgs<ExtArgs>;
    shorts?: boolean | Prisma.categories_shorts$shortsArgs<ExtArgs>;
};
export type $categories_shortsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "categories_shorts";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        shorts: Prisma.$shortsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        categories_id: number | null;
        shorts_id: number | null;
    }, ExtArgs["result"]["categories_shorts"]>;
    composites: {};
};
export type categories_shortsGetPayload<S extends boolean | null | undefined | categories_shortsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload, S>;
export type categories_shortsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<categories_shortsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Categories_shortsCountAggregateInputType | true;
};
export interface categories_shortsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['categories_shorts'];
        meta: {
            name: 'categories_shorts';
        };
    };
    /**
     * Find zero or one Categories_shorts that matches the filter.
     * @param {categories_shortsFindUniqueArgs} args - Arguments to find a Categories_shorts
     * @example
     * // Get one Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends categories_shortsFindUniqueArgs>(args: Prisma.SelectSubset<T, categories_shortsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Categories_shorts that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {categories_shortsFindUniqueOrThrowArgs} args - Arguments to find a Categories_shorts
     * @example
     * // Get one Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends categories_shortsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, categories_shortsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Categories_shorts 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 {categories_shortsFindFirstArgs} args - Arguments to find a Categories_shorts
     * @example
     * // Get one Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends categories_shortsFindFirstArgs>(args?: Prisma.SelectSubset<T, categories_shortsFindFirstArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Categories_shorts 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 {categories_shortsFindFirstOrThrowArgs} args - Arguments to find a Categories_shorts
     * @example
     * // Get one Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends categories_shortsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, categories_shortsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Categories_shorts 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 {categories_shortsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findMany()
     *
     * // Get first 10 Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const categories_shortsWithIdOnly = await prisma.categories_shorts.findMany({ select: { id: true } })
     *
     */
    findMany<T extends categories_shortsFindManyArgs>(args?: Prisma.SelectSubset<T, categories_shortsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Categories_shorts.
     * @param {categories_shortsCreateArgs} args - Arguments to create a Categories_shorts.
     * @example
     * // Create one Categories_shorts
     * const Categories_shorts = await prisma.categories_shorts.create({
     *   data: {
     *     // ... data to create a Categories_shorts
     *   }
     * })
     *
     */
    create<T extends categories_shortsCreateArgs>(args: Prisma.SelectSubset<T, categories_shortsCreateArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Categories_shorts.
     * @param {categories_shortsCreateManyArgs} args - Arguments to create many Categories_shorts.
     * @example
     * // Create many Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends categories_shortsCreateManyArgs>(args?: Prisma.SelectSubset<T, categories_shortsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Categories_shorts and returns the data saved in the database.
     * @param {categories_shortsCreateManyAndReturnArgs} args - Arguments to create many Categories_shorts.
     * @example
     * // Create many Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Categories_shorts and only return the `id`
     * const categories_shortsWithIdOnly = await prisma.categories_shorts.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 categories_shortsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, categories_shortsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Categories_shorts.
     * @param {categories_shortsDeleteArgs} args - Arguments to delete one Categories_shorts.
     * @example
     * // Delete one Categories_shorts
     * const Categories_shorts = await prisma.categories_shorts.delete({
     *   where: {
     *     // ... filter to delete one Categories_shorts
     *   }
     * })
     *
     */
    delete<T extends categories_shortsDeleteArgs>(args: Prisma.SelectSubset<T, categories_shortsDeleteArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Categories_shorts.
     * @param {categories_shortsUpdateArgs} args - Arguments to update one Categories_shorts.
     * @example
     * // Update one Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends categories_shortsUpdateArgs>(args: Prisma.SelectSubset<T, categories_shortsUpdateArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Categories_shorts.
     * @param {categories_shortsDeleteManyArgs} args - Arguments to filter Categories_shorts to delete.
     * @example
     * // Delete a few Categories_shorts
     * const { count } = await prisma.categories_shorts.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends categories_shortsDeleteManyArgs>(args?: Prisma.SelectSubset<T, categories_shortsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Categories_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {categories_shortsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends categories_shortsUpdateManyArgs>(args: Prisma.SelectSubset<T, categories_shortsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Categories_shorts and returns the data updated in the database.
     * @param {categories_shortsUpdateManyAndReturnArgs} args - Arguments to update many Categories_shorts.
     * @example
     * // Update many Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Categories_shorts and only return the `id`
     * const categories_shortsWithIdOnly = await prisma.categories_shorts.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 categories_shortsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, categories_shortsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Categories_shorts.
     * @param {categories_shortsUpsertArgs} args - Arguments to update or create a Categories_shorts.
     * @example
     * // Update or create a Categories_shorts
     * const categories_shorts = await prisma.categories_shorts.upsert({
     *   create: {
     *     // ... data to create a Categories_shorts
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Categories_shorts we want to update
     *   }
     * })
     */
    upsert<T extends categories_shortsUpsertArgs>(args: Prisma.SelectSubset<T, categories_shortsUpsertArgs<ExtArgs>>): Prisma.Prisma__categories_shortsClient<runtime.Types.Result.GetResult<Prisma.$categories_shortsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Categories_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {categories_shortsCountArgs} args - Arguments to filter Categories_shorts to count.
     * @example
     * // Count the number of Categories_shorts
     * const count = await prisma.categories_shorts.count({
     *   where: {
     *     // ... the filter for the Categories_shorts we want to count
     *   }
     * })
    **/
    count<T extends categories_shortsCountArgs>(args?: Prisma.Subset<T, categories_shortsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Categories_shortsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Categories_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Categories_shortsAggregateArgs} 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 Categories_shortsAggregateArgs>(args: Prisma.Subset<T, Categories_shortsAggregateArgs>): Prisma.PrismaPromise<GetCategories_shortsAggregateType<T>>;
    /**
     * Group by Categories_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {categories_shortsGroupByArgs} 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 categories_shortsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: categories_shortsGroupByArgs['orderBy'];
    } : {
        orderBy?: categories_shortsGroupByArgs['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, categories_shortsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCategories_shortsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the categories_shorts model
     */
    readonly fields: categories_shortsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for categories_shorts.
 * 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__categories_shortsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    categories<T extends Prisma.categories_shorts$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.categories_shorts$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shorts<T extends Prisma.categories_shorts$shortsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.categories_shorts$shortsArgs<ExtArgs>>): Prisma.Prisma__shortsClient<runtime.Types.Result.GetResult<Prisma.$shortsPayload<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 categories_shorts model
 */
export interface categories_shortsFieldRefs {
    readonly id: Prisma.FieldRef<"categories_shorts", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"categories_shorts", 'Int'>;
    readonly shorts_id: Prisma.FieldRef<"categories_shorts", 'Int'>;
}
/**
 * categories_shorts findUnique
 */
export type categories_shortsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which categories_shorts to fetch.
     */
    where: Prisma.categories_shortsWhereUniqueInput;
};
/**
 * categories_shorts findUniqueOrThrow
 */
export type categories_shortsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which categories_shorts to fetch.
     */
    where: Prisma.categories_shortsWhereUniqueInput;
};
/**
 * categories_shorts findFirst
 */
export type categories_shortsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which categories_shorts to fetch.
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of categories_shorts to fetch.
     */
    orderBy?: Prisma.categories_shortsOrderByWithRelationInput | Prisma.categories_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for categories_shorts.
     */
    cursor?: Prisma.categories_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` categories_shorts 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` categories_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of categories_shorts.
     */
    distinct?: Prisma.Categories_shortsScalarFieldEnum | Prisma.Categories_shortsScalarFieldEnum[];
};
/**
 * categories_shorts findFirstOrThrow
 */
export type categories_shortsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which categories_shorts to fetch.
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of categories_shorts to fetch.
     */
    orderBy?: Prisma.categories_shortsOrderByWithRelationInput | Prisma.categories_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for categories_shorts.
     */
    cursor?: Prisma.categories_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` categories_shorts 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` categories_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of categories_shorts.
     */
    distinct?: Prisma.Categories_shortsScalarFieldEnum | Prisma.Categories_shortsScalarFieldEnum[];
};
/**
 * categories_shorts findMany
 */
export type categories_shortsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which categories_shorts to fetch.
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of categories_shorts to fetch.
     */
    orderBy?: Prisma.categories_shortsOrderByWithRelationInput | Prisma.categories_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing categories_shorts.
     */
    cursor?: Prisma.categories_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` categories_shorts 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` categories_shorts.
     */
    skip?: number;
    distinct?: Prisma.Categories_shortsScalarFieldEnum | Prisma.Categories_shortsScalarFieldEnum[];
};
/**
 * categories_shorts create
 */
export type categories_shortsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * The data needed to create a categories_shorts.
     */
    data?: Prisma.XOR<Prisma.categories_shortsCreateInput, Prisma.categories_shortsUncheckedCreateInput>;
};
/**
 * categories_shorts createMany
 */
export type categories_shortsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many categories_shorts.
     */
    data: Prisma.categories_shortsCreateManyInput | Prisma.categories_shortsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * categories_shorts createManyAndReturn
 */
export type categories_shortsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * The data used to create many categories_shorts.
     */
    data: Prisma.categories_shortsCreateManyInput | Prisma.categories_shortsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * categories_shorts update
 */
export type categories_shortsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * The data needed to update a categories_shorts.
     */
    data: Prisma.XOR<Prisma.categories_shortsUpdateInput, Prisma.categories_shortsUncheckedUpdateInput>;
    /**
     * Choose, which categories_shorts to update.
     */
    where: Prisma.categories_shortsWhereUniqueInput;
};
/**
 * categories_shorts updateMany
 */
export type categories_shortsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update categories_shorts.
     */
    data: Prisma.XOR<Prisma.categories_shortsUpdateManyMutationInput, Prisma.categories_shortsUncheckedUpdateManyInput>;
    /**
     * Filter which categories_shorts to update
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * Limit how many categories_shorts to update.
     */
    limit?: number;
};
/**
 * categories_shorts updateManyAndReturn
 */
export type categories_shortsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * The data used to update categories_shorts.
     */
    data: Prisma.XOR<Prisma.categories_shortsUpdateManyMutationInput, Prisma.categories_shortsUncheckedUpdateManyInput>;
    /**
     * Filter which categories_shorts to update
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * Limit how many categories_shorts to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * categories_shorts upsert
 */
export type categories_shortsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * The filter to search for the categories_shorts to update in case it exists.
     */
    where: Prisma.categories_shortsWhereUniqueInput;
    /**
     * In case the categories_shorts found by the `where` argument doesn't exist, create a new categories_shorts with this data.
     */
    create: Prisma.XOR<Prisma.categories_shortsCreateInput, Prisma.categories_shortsUncheckedCreateInput>;
    /**
     * In case the categories_shorts was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.categories_shortsUpdateInput, Prisma.categories_shortsUncheckedUpdateInput>;
};
/**
 * categories_shorts delete
 */
export type categories_shortsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
    /**
     * Filter which categories_shorts to delete.
     */
    where: Prisma.categories_shortsWhereUniqueInput;
};
/**
 * categories_shorts deleteMany
 */
export type categories_shortsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which categories_shorts to delete
     */
    where?: Prisma.categories_shortsWhereInput;
    /**
     * Limit how many categories_shorts to delete.
     */
    limit?: number;
};
/**
 * categories_shorts.categories
 */
export type categories_shorts$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;
};
/**
 * categories_shorts.shorts
 */
export type categories_shorts$shortsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts
     */
    select?: Prisma.shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts
     */
    omit?: Prisma.shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shortsInclude<ExtArgs> | null;
    where?: Prisma.shortsWhereInput;
};
/**
 * categories_shorts without action
 */
export type categories_shortsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories_shorts
     */
    select?: Prisma.categories_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories_shorts
     */
    omit?: Prisma.categories_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categories_shortsInclude<ExtArgs> | null;
};
export {};
