import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model platform_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 platform_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$platform_categoriesPayload>;
export type AggregatePlatform_categories = {
    _count: Platform_categoriesCountAggregateOutputType | null;
    _avg: Platform_categoriesAvgAggregateOutputType | null;
    _sum: Platform_categoriesSumAggregateOutputType | null;
    _min: Platform_categoriesMinAggregateOutputType | null;
    _max: Platform_categoriesMaxAggregateOutputType | null;
};
export type Platform_categoriesAvgAggregateOutputType = {
    id: number | null;
    platform_id: number | null;
    categories_id: number | null;
};
export type Platform_categoriesSumAggregateOutputType = {
    id: number | null;
    platform_id: number | null;
    categories_id: number | null;
};
export type Platform_categoriesMinAggregateOutputType = {
    id: number | null;
    platform_id: number | null;
    categories_id: number | null;
};
export type Platform_categoriesMaxAggregateOutputType = {
    id: number | null;
    platform_id: number | null;
    categories_id: number | null;
};
export type Platform_categoriesCountAggregateOutputType = {
    id: number;
    platform_id: number;
    categories_id: number;
    _all: number;
};
export type Platform_categoriesAvgAggregateInputType = {
    id?: true;
    platform_id?: true;
    categories_id?: true;
};
export type Platform_categoriesSumAggregateInputType = {
    id?: true;
    platform_id?: true;
    categories_id?: true;
};
export type Platform_categoriesMinAggregateInputType = {
    id?: true;
    platform_id?: true;
    categories_id?: true;
};
export type Platform_categoriesMaxAggregateInputType = {
    id?: true;
    platform_id?: true;
    categories_id?: true;
};
export type Platform_categoriesCountAggregateInputType = {
    id?: true;
    platform_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Platform_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which platform_categories to aggregate.
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of platform_categories to fetch.
     */
    orderBy?: Prisma.platform_categoriesOrderByWithRelationInput | Prisma.platform_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.platform_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` platform_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` platform_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned platform_categories
    **/
    _count?: true | Platform_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Platform_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Platform_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Platform_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Platform_categoriesMaxAggregateInputType;
};
export type GetPlatform_categoriesAggregateType<T extends Platform_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregatePlatform_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePlatform_categories[P]> : Prisma.GetScalarType<T[P], AggregatePlatform_categories[P]>;
};
export type platform_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.platform_categoriesWhereInput;
    orderBy?: Prisma.platform_categoriesOrderByWithAggregationInput | Prisma.platform_categoriesOrderByWithAggregationInput[];
    by: Prisma.Platform_categoriesScalarFieldEnum[] | Prisma.Platform_categoriesScalarFieldEnum;
    having?: Prisma.platform_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Platform_categoriesCountAggregateInputType | true;
    _avg?: Platform_categoriesAvgAggregateInputType;
    _sum?: Platform_categoriesSumAggregateInputType;
    _min?: Platform_categoriesMinAggregateInputType;
    _max?: Platform_categoriesMaxAggregateInputType;
};
export type Platform_categoriesGroupByOutputType = {
    id: number;
    platform_id: number | null;
    categories_id: number | null;
    _count: Platform_categoriesCountAggregateOutputType | null;
    _avg: Platform_categoriesAvgAggregateOutputType | null;
    _sum: Platform_categoriesSumAggregateOutputType | null;
    _min: Platform_categoriesMinAggregateOutputType | null;
    _max: Platform_categoriesMaxAggregateOutputType | null;
};
type GetPlatform_categoriesGroupByPayload<T extends platform_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Platform_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Platform_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Platform_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Platform_categoriesGroupByOutputType[P]>;
}>>;
export type platform_categoriesWhereInput = {
    AND?: Prisma.platform_categoriesWhereInput | Prisma.platform_categoriesWhereInput[];
    OR?: Prisma.platform_categoriesWhereInput[];
    NOT?: Prisma.platform_categoriesWhereInput | Prisma.platform_categoriesWhereInput[];
    id?: Prisma.IntFilter<"platform_categories"> | number;
    platform_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.platformWhereInput> | null;
};
export type platform_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    platform?: Prisma.platformOrderByWithRelationInput;
};
export type platform_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.platform_categoriesWhereInput | Prisma.platform_categoriesWhereInput[];
    OR?: Prisma.platform_categoriesWhereInput[];
    NOT?: Prisma.platform_categoriesWhereInput | Prisma.platform_categoriesWhereInput[];
    platform_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.platformWhereInput> | null;
}, "id">;
export type platform_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.platform_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.platform_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.platform_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.platform_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.platform_categoriesSumOrderByAggregateInput;
};
export type platform_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.platform_categoriesScalarWhereWithAggregatesInput | Prisma.platform_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.platform_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.platform_categoriesScalarWhereWithAggregatesInput | Prisma.platform_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"platform_categories"> | number;
    platform_id?: Prisma.IntNullableWithAggregatesFilter<"platform_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"platform_categories"> | number | null;
};
export type platform_categoriesCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutPlatform_categoriesInput;
    platform?: Prisma.platformCreateNestedOneWithoutPlatform_categoriesInput;
};
export type platform_categoriesUncheckedCreateInput = {
    id?: number;
    platform_id?: number | null;
    categories_id?: number | null;
};
export type platform_categoriesUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutPlatform_categoriesNestedInput;
    platform?: Prisma.platformUpdateOneWithoutPlatform_categoriesNestedInput;
};
export type platform_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    platform_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type platform_categoriesCreateManyInput = {
    id?: number;
    platform_id?: number | null;
    categories_id?: number | null;
};
export type platform_categoriesUpdateManyMutationInput = {};
export type platform_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    platform_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Platform_categoriesListRelationFilter = {
    every?: Prisma.platform_categoriesWhereInput;
    some?: Prisma.platform_categoriesWhereInput;
    none?: Prisma.platform_categoriesWhereInput;
};
export type platform_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type platform_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type platform_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type platform_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type platform_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type platform_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    platform_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type platform_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.platform_categoriesCreateWithoutCategoriesInput[] | Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.platform_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
};
export type platform_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.platform_categoriesCreateWithoutCategoriesInput[] | Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.platform_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
};
export type platform_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.platform_categoriesCreateWithoutCategoriesInput[] | Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.platform_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.platform_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.platform_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    disconnect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    delete?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    update?: Prisma.platform_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.platform_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.platform_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.platform_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
};
export type platform_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.platform_categoriesCreateWithoutCategoriesInput[] | Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.platform_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.platform_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.platform_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.platform_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    disconnect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    delete?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    update?: Prisma.platform_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.platform_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.platform_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.platform_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
};
export type platform_categoriesCreateNestedManyWithoutPlatformInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput> | Prisma.platform_categoriesCreateWithoutPlatformInput[] | Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput | Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput[];
    createMany?: Prisma.platform_categoriesCreateManyPlatformInputEnvelope;
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
};
export type platform_categoriesUncheckedCreateNestedManyWithoutPlatformInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput> | Prisma.platform_categoriesCreateWithoutPlatformInput[] | Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput | Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput[];
    createMany?: Prisma.platform_categoriesCreateManyPlatformInputEnvelope;
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
};
export type platform_categoriesUpdateManyWithoutPlatformNestedInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput> | Prisma.platform_categoriesCreateWithoutPlatformInput[] | Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput | Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput[];
    upsert?: Prisma.platform_categoriesUpsertWithWhereUniqueWithoutPlatformInput | Prisma.platform_categoriesUpsertWithWhereUniqueWithoutPlatformInput[];
    createMany?: Prisma.platform_categoriesCreateManyPlatformInputEnvelope;
    set?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    disconnect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    delete?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    update?: Prisma.platform_categoriesUpdateWithWhereUniqueWithoutPlatformInput | Prisma.platform_categoriesUpdateWithWhereUniqueWithoutPlatformInput[];
    updateMany?: Prisma.platform_categoriesUpdateManyWithWhereWithoutPlatformInput | Prisma.platform_categoriesUpdateManyWithWhereWithoutPlatformInput[];
    deleteMany?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
};
export type platform_categoriesUncheckedUpdateManyWithoutPlatformNestedInput = {
    create?: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput> | Prisma.platform_categoriesCreateWithoutPlatformInput[] | Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput[];
    connectOrCreate?: Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput | Prisma.platform_categoriesCreateOrConnectWithoutPlatformInput[];
    upsert?: Prisma.platform_categoriesUpsertWithWhereUniqueWithoutPlatformInput | Prisma.platform_categoriesUpsertWithWhereUniqueWithoutPlatformInput[];
    createMany?: Prisma.platform_categoriesCreateManyPlatformInputEnvelope;
    set?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    disconnect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    delete?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    connect?: Prisma.platform_categoriesWhereUniqueInput | Prisma.platform_categoriesWhereUniqueInput[];
    update?: Prisma.platform_categoriesUpdateWithWhereUniqueWithoutPlatformInput | Prisma.platform_categoriesUpdateWithWhereUniqueWithoutPlatformInput[];
    updateMany?: Prisma.platform_categoriesUpdateManyWithWhereWithoutPlatformInput | Prisma.platform_categoriesUpdateManyWithWhereWithoutPlatformInput[];
    deleteMany?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
};
export type platform_categoriesCreateWithoutCategoriesInput = {
    platform?: Prisma.platformCreateNestedOneWithoutPlatform_categoriesInput;
};
export type platform_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    platform_id?: number | null;
};
export type platform_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type platform_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.platform_categoriesCreateManyCategoriesInput | Prisma.platform_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type platform_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.platform_categoriesUpdateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.platform_categoriesCreateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type platform_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.platform_categoriesUpdateWithoutCategoriesInput, Prisma.platform_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type platform_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.platform_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.platform_categoriesUpdateManyMutationInput, Prisma.platform_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type platform_categoriesScalarWhereInput = {
    AND?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
    OR?: Prisma.platform_categoriesScalarWhereInput[];
    NOT?: Prisma.platform_categoriesScalarWhereInput | Prisma.platform_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"platform_categories"> | number;
    platform_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"platform_categories"> | number | null;
};
export type platform_categoriesCreateWithoutPlatformInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutPlatform_categoriesInput;
};
export type platform_categoriesUncheckedCreateWithoutPlatformInput = {
    id?: number;
    categories_id?: number | null;
};
export type platform_categoriesCreateOrConnectWithoutPlatformInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput>;
};
export type platform_categoriesCreateManyPlatformInputEnvelope = {
    data: Prisma.platform_categoriesCreateManyPlatformInput | Prisma.platform_categoriesCreateManyPlatformInput[];
    skipDuplicates?: boolean;
};
export type platform_categoriesUpsertWithWhereUniqueWithoutPlatformInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.platform_categoriesUpdateWithoutPlatformInput, Prisma.platform_categoriesUncheckedUpdateWithoutPlatformInput>;
    create: Prisma.XOR<Prisma.platform_categoriesCreateWithoutPlatformInput, Prisma.platform_categoriesUncheckedCreateWithoutPlatformInput>;
};
export type platform_categoriesUpdateWithWhereUniqueWithoutPlatformInput = {
    where: Prisma.platform_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.platform_categoriesUpdateWithoutPlatformInput, Prisma.platform_categoriesUncheckedUpdateWithoutPlatformInput>;
};
export type platform_categoriesUpdateManyWithWhereWithoutPlatformInput = {
    where: Prisma.platform_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.platform_categoriesUpdateManyMutationInput, Prisma.platform_categoriesUncheckedUpdateManyWithoutPlatformInput>;
};
export type platform_categoriesCreateManyCategoriesInput = {
    id?: number;
    platform_id?: number | null;
};
export type platform_categoriesUpdateWithoutCategoriesInput = {
    platform?: Prisma.platformUpdateOneWithoutPlatform_categoriesNestedInput;
};
export type platform_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    platform_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type platform_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    platform_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type platform_categoriesCreateManyPlatformInput = {
    id?: number;
    categories_id?: number | null;
};
export type platform_categoriesUpdateWithoutPlatformInput = {
    categories?: Prisma.categoriesUpdateOneWithoutPlatform_categoriesNestedInput;
};
export type platform_categoriesUncheckedUpdateWithoutPlatformInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type platform_categoriesUncheckedUpdateManyWithoutPlatformInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type platform_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    platform_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
}, ExtArgs["result"]["platform_categories"]>;
export type platform_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    platform_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
}, ExtArgs["result"]["platform_categories"]>;
export type platform_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    platform_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
}, ExtArgs["result"]["platform_categories"]>;
export type platform_categoriesSelectScalar = {
    id?: boolean;
    platform_id?: boolean;
    categories_id?: boolean;
};
export type platform_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "platform_id" | "categories_id", ExtArgs["result"]["platform_categories"]>;
export type platform_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
};
export type platform_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
};
export type platform_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.platform_categories$categoriesArgs<ExtArgs>;
    platform?: boolean | Prisma.platform_categories$platformArgs<ExtArgs>;
};
export type $platform_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "platform_categories";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        platform: Prisma.$platformPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        platform_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["platform_categories"]>;
    composites: {};
};
export type platform_categoriesGetPayload<S extends boolean | null | undefined | platform_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload, S>;
export type platform_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<platform_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Platform_categoriesCountAggregateInputType | true;
};
export interface platform_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['platform_categories'];
        meta: {
            name: 'platform_categories';
        };
    };
    /**
     * Find zero or one Platform_categories that matches the filter.
     * @param {platform_categoriesFindUniqueArgs} args - Arguments to find a Platform_categories
     * @example
     * // Get one Platform_categories
     * const platform_categories = await prisma.platform_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends platform_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, platform_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Platform_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {platform_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Platform_categories
     * @example
     * // Get one Platform_categories
     * const platform_categories = await prisma.platform_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends platform_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, platform_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Platform_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 {platform_categoriesFindFirstArgs} args - Arguments to find a Platform_categories
     * @example
     * // Get one Platform_categories
     * const platform_categories = await prisma.platform_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends platform_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, platform_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Platform_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 {platform_categoriesFindFirstOrThrowArgs} args - Arguments to find a Platform_categories
     * @example
     * // Get one Platform_categories
     * const platform_categories = await prisma.platform_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends platform_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, platform_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Platform_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 {platform_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Platform_categories
     * const platform_categories = await prisma.platform_categories.findMany()
     *
     * // Get first 10 Platform_categories
     * const platform_categories = await prisma.platform_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const platform_categoriesWithIdOnly = await prisma.platform_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends platform_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, platform_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Platform_categories.
     * @param {platform_categoriesCreateArgs} args - Arguments to create a Platform_categories.
     * @example
     * // Create one Platform_categories
     * const Platform_categories = await prisma.platform_categories.create({
     *   data: {
     *     // ... data to create a Platform_categories
     *   }
     * })
     *
     */
    create<T extends platform_categoriesCreateArgs>(args: Prisma.SelectSubset<T, platform_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Platform_categories.
     * @param {platform_categoriesCreateManyArgs} args - Arguments to create many Platform_categories.
     * @example
     * // Create many Platform_categories
     * const platform_categories = await prisma.platform_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends platform_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, platform_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Platform_categories and returns the data saved in the database.
     * @param {platform_categoriesCreateManyAndReturnArgs} args - Arguments to create many Platform_categories.
     * @example
     * // Create many Platform_categories
     * const platform_categories = await prisma.platform_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Platform_categories and only return the `id`
     * const platform_categoriesWithIdOnly = await prisma.platform_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 platform_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, platform_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Platform_categories.
     * @param {platform_categoriesDeleteArgs} args - Arguments to delete one Platform_categories.
     * @example
     * // Delete one Platform_categories
     * const Platform_categories = await prisma.platform_categories.delete({
     *   where: {
     *     // ... filter to delete one Platform_categories
     *   }
     * })
     *
     */
    delete<T extends platform_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, platform_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Platform_categories.
     * @param {platform_categoriesUpdateArgs} args - Arguments to update one Platform_categories.
     * @example
     * // Update one Platform_categories
     * const platform_categories = await prisma.platform_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends platform_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, platform_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Platform_categories.
     * @param {platform_categoriesDeleteManyArgs} args - Arguments to filter Platform_categories to delete.
     * @example
     * // Delete a few Platform_categories
     * const { count } = await prisma.platform_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends platform_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, platform_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Platform_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {platform_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Platform_categories
     * const platform_categories = await prisma.platform_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends platform_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, platform_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Platform_categories and returns the data updated in the database.
     * @param {platform_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Platform_categories.
     * @example
     * // Update many Platform_categories
     * const platform_categories = await prisma.platform_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Platform_categories and only return the `id`
     * const platform_categoriesWithIdOnly = await prisma.platform_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 platform_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, platform_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Platform_categories.
     * @param {platform_categoriesUpsertArgs} args - Arguments to update or create a Platform_categories.
     * @example
     * // Update or create a Platform_categories
     * const platform_categories = await prisma.platform_categories.upsert({
     *   create: {
     *     // ... data to create a Platform_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Platform_categories we want to update
     *   }
     * })
     */
    upsert<T extends platform_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, platform_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__platform_categoriesClient<runtime.Types.Result.GetResult<Prisma.$platform_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Platform_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {platform_categoriesCountArgs} args - Arguments to filter Platform_categories to count.
     * @example
     * // Count the number of Platform_categories
     * const count = await prisma.platform_categories.count({
     *   where: {
     *     // ... the filter for the Platform_categories we want to count
     *   }
     * })
    **/
    count<T extends platform_categoriesCountArgs>(args?: Prisma.Subset<T, platform_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Platform_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Platform_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Platform_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 Platform_categoriesAggregateArgs>(args: Prisma.Subset<T, Platform_categoriesAggregateArgs>): Prisma.PrismaPromise<GetPlatform_categoriesAggregateType<T>>;
    /**
     * Group by Platform_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {platform_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 platform_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: platform_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: platform_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, platform_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPlatform_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the platform_categories model
     */
    readonly fields: platform_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for platform_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__platform_categoriesClient<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.platform_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.platform_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    platform<T extends Prisma.platform_categories$platformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.platform_categories$platformArgs<ExtArgs>>): Prisma.Prisma__platformClient<runtime.Types.Result.GetResult<Prisma.$platformPayload<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 platform_categories model
 */
export interface platform_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"platform_categories", 'Int'>;
    readonly platform_id: Prisma.FieldRef<"platform_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"platform_categories", 'Int'>;
}
/**
 * platform_categories findUnique
 */
export type platform_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which platform_categories to fetch.
     */
    where: Prisma.platform_categoriesWhereUniqueInput;
};
/**
 * platform_categories findUniqueOrThrow
 */
export type platform_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which platform_categories to fetch.
     */
    where: Prisma.platform_categoriesWhereUniqueInput;
};
/**
 * platform_categories findFirst
 */
export type platform_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which platform_categories to fetch.
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of platform_categories to fetch.
     */
    orderBy?: Prisma.platform_categoriesOrderByWithRelationInput | Prisma.platform_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for platform_categories.
     */
    cursor?: Prisma.platform_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` platform_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` platform_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of platform_categories.
     */
    distinct?: Prisma.Platform_categoriesScalarFieldEnum | Prisma.Platform_categoriesScalarFieldEnum[];
};
/**
 * platform_categories findFirstOrThrow
 */
export type platform_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which platform_categories to fetch.
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of platform_categories to fetch.
     */
    orderBy?: Prisma.platform_categoriesOrderByWithRelationInput | Prisma.platform_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for platform_categories.
     */
    cursor?: Prisma.platform_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` platform_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` platform_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of platform_categories.
     */
    distinct?: Prisma.Platform_categoriesScalarFieldEnum | Prisma.Platform_categoriesScalarFieldEnum[];
};
/**
 * platform_categories findMany
 */
export type platform_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which platform_categories to fetch.
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of platform_categories to fetch.
     */
    orderBy?: Prisma.platform_categoriesOrderByWithRelationInput | Prisma.platform_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing platform_categories.
     */
    cursor?: Prisma.platform_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` platform_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` platform_categories.
     */
    skip?: number;
    distinct?: Prisma.Platform_categoriesScalarFieldEnum | Prisma.Platform_categoriesScalarFieldEnum[];
};
/**
 * platform_categories create
 */
export type platform_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a platform_categories.
     */
    data?: Prisma.XOR<Prisma.platform_categoriesCreateInput, Prisma.platform_categoriesUncheckedCreateInput>;
};
/**
 * platform_categories createMany
 */
export type platform_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many platform_categories.
     */
    data: Prisma.platform_categoriesCreateManyInput | Prisma.platform_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * platform_categories createManyAndReturn
 */
export type platform_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many platform_categories.
     */
    data: Prisma.platform_categoriesCreateManyInput | Prisma.platform_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * platform_categories update
 */
export type platform_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a platform_categories.
     */
    data: Prisma.XOR<Prisma.platform_categoriesUpdateInput, Prisma.platform_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which platform_categories to update.
     */
    where: Prisma.platform_categoriesWhereUniqueInput;
};
/**
 * platform_categories updateMany
 */
export type platform_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update platform_categories.
     */
    data: Prisma.XOR<Prisma.platform_categoriesUpdateManyMutationInput, Prisma.platform_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which platform_categories to update
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * Limit how many platform_categories to update.
     */
    limit?: number;
};
/**
 * platform_categories updateManyAndReturn
 */
export type platform_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update platform_categories.
     */
    data: Prisma.XOR<Prisma.platform_categoriesUpdateManyMutationInput, Prisma.platform_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which platform_categories to update
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * Limit how many platform_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * platform_categories upsert
 */
export type platform_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the platform_categories to update in case it exists.
     */
    where: Prisma.platform_categoriesWhereUniqueInput;
    /**
     * In case the platform_categories found by the `where` argument doesn't exist, create a new platform_categories with this data.
     */
    create: Prisma.XOR<Prisma.platform_categoriesCreateInput, Prisma.platform_categoriesUncheckedCreateInput>;
    /**
     * In case the platform_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.platform_categoriesUpdateInput, Prisma.platform_categoriesUncheckedUpdateInput>;
};
/**
 * platform_categories delete
 */
export type platform_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which platform_categories to delete.
     */
    where: Prisma.platform_categoriesWhereUniqueInput;
};
/**
 * platform_categories deleteMany
 */
export type platform_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which platform_categories to delete
     */
    where?: Prisma.platform_categoriesWhereInput;
    /**
     * Limit how many platform_categories to delete.
     */
    limit?: number;
};
/**
 * platform_categories.categories
 */
export type platform_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;
};
/**
 * platform_categories.platform
 */
export type platform_categories$platformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform
     */
    select?: Prisma.platformSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform
     */
    omit?: Prisma.platformOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platformInclude<ExtArgs> | null;
    where?: Prisma.platformWhereInput;
};
/**
 * platform_categories without action
 */
export type platform_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the platform_categories
     */
    select?: Prisma.platform_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the platform_categories
     */
    omit?: Prisma.platform_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.platform_categoriesInclude<ExtArgs> | null;
};
export {};
