import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model shorts_spaces
 * 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 shorts_spacesModel = runtime.Types.Result.DefaultSelection<Prisma.$shorts_spacesPayload>;
export type AggregateShorts_spaces = {
    _count: Shorts_spacesCountAggregateOutputType | null;
    _avg: Shorts_spacesAvgAggregateOutputType | null;
    _sum: Shorts_spacesSumAggregateOutputType | null;
    _min: Shorts_spacesMinAggregateOutputType | null;
    _max: Shorts_spacesMaxAggregateOutputType | null;
};
export type Shorts_spacesAvgAggregateOutputType = {
    id: number | null;
    shorts_id: number | null;
    spaces_id: number | null;
};
export type Shorts_spacesSumAggregateOutputType = {
    id: number | null;
    shorts_id: number | null;
    spaces_id: number | null;
};
export type Shorts_spacesMinAggregateOutputType = {
    id: number | null;
    shorts_id: number | null;
    spaces_id: number | null;
};
export type Shorts_spacesMaxAggregateOutputType = {
    id: number | null;
    shorts_id: number | null;
    spaces_id: number | null;
};
export type Shorts_spacesCountAggregateOutputType = {
    id: number;
    shorts_id: number;
    spaces_id: number;
    _all: number;
};
export type Shorts_spacesAvgAggregateInputType = {
    id?: true;
    shorts_id?: true;
    spaces_id?: true;
};
export type Shorts_spacesSumAggregateInputType = {
    id?: true;
    shorts_id?: true;
    spaces_id?: true;
};
export type Shorts_spacesMinAggregateInputType = {
    id?: true;
    shorts_id?: true;
    spaces_id?: true;
};
export type Shorts_spacesMaxAggregateInputType = {
    id?: true;
    shorts_id?: true;
    spaces_id?: true;
};
export type Shorts_spacesCountAggregateInputType = {
    id?: true;
    shorts_id?: true;
    spaces_id?: true;
    _all?: true;
};
export type Shorts_spacesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shorts_spaces to aggregate.
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shorts_spaces to fetch.
     */
    orderBy?: Prisma.shorts_spacesOrderByWithRelationInput | Prisma.shorts_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.shorts_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shorts_spaces 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` shorts_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned shorts_spaces
    **/
    _count?: true | Shorts_spacesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Shorts_spacesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Shorts_spacesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Shorts_spacesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Shorts_spacesMaxAggregateInputType;
};
export type GetShorts_spacesAggregateType<T extends Shorts_spacesAggregateArgs> = {
    [P in keyof T & keyof AggregateShorts_spaces]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShorts_spaces[P]> : Prisma.GetScalarType<T[P], AggregateShorts_spaces[P]>;
};
export type shorts_spacesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.shorts_spacesWhereInput;
    orderBy?: Prisma.shorts_spacesOrderByWithAggregationInput | Prisma.shorts_spacesOrderByWithAggregationInput[];
    by: Prisma.Shorts_spacesScalarFieldEnum[] | Prisma.Shorts_spacesScalarFieldEnum;
    having?: Prisma.shorts_spacesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Shorts_spacesCountAggregateInputType | true;
    _avg?: Shorts_spacesAvgAggregateInputType;
    _sum?: Shorts_spacesSumAggregateInputType;
    _min?: Shorts_spacesMinAggregateInputType;
    _max?: Shorts_spacesMaxAggregateInputType;
};
export type Shorts_spacesGroupByOutputType = {
    id: number;
    shorts_id: number | null;
    spaces_id: number | null;
    _count: Shorts_spacesCountAggregateOutputType | null;
    _avg: Shorts_spacesAvgAggregateOutputType | null;
    _sum: Shorts_spacesSumAggregateOutputType | null;
    _min: Shorts_spacesMinAggregateOutputType | null;
    _max: Shorts_spacesMaxAggregateOutputType | null;
};
type GetShorts_spacesGroupByPayload<T extends shorts_spacesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Shorts_spacesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Shorts_spacesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Shorts_spacesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Shorts_spacesGroupByOutputType[P]>;
}>>;
export type shorts_spacesWhereInput = {
    AND?: Prisma.shorts_spacesWhereInput | Prisma.shorts_spacesWhereInput[];
    OR?: Prisma.shorts_spacesWhereInput[];
    NOT?: Prisma.shorts_spacesWhereInput | Prisma.shorts_spacesWhereInput[];
    id?: Prisma.IntFilter<"shorts_spaces"> | number;
    shorts_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
};
export type shorts_spacesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shorts?: Prisma.shortsOrderByWithRelationInput;
    spaces?: Prisma.spacesOrderByWithRelationInput;
};
export type shorts_spacesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.shorts_spacesWhereInput | Prisma.shorts_spacesWhereInput[];
    OR?: Prisma.shorts_spacesWhereInput[];
    NOT?: Prisma.shorts_spacesWhereInput | Prisma.shorts_spacesWhereInput[];
    shorts_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
}, "id">;
export type shorts_spacesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.shorts_spacesCountOrderByAggregateInput;
    _avg?: Prisma.shorts_spacesAvgOrderByAggregateInput;
    _max?: Prisma.shorts_spacesMaxOrderByAggregateInput;
    _min?: Prisma.shorts_spacesMinOrderByAggregateInput;
    _sum?: Prisma.shorts_spacesSumOrderByAggregateInput;
};
export type shorts_spacesScalarWhereWithAggregatesInput = {
    AND?: Prisma.shorts_spacesScalarWhereWithAggregatesInput | Prisma.shorts_spacesScalarWhereWithAggregatesInput[];
    OR?: Prisma.shorts_spacesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.shorts_spacesScalarWhereWithAggregatesInput | Prisma.shorts_spacesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"shorts_spaces"> | number;
    shorts_id?: Prisma.IntNullableWithAggregatesFilter<"shorts_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableWithAggregatesFilter<"shorts_spaces"> | number | null;
};
export type shorts_spacesCreateInput = {
    shorts?: Prisma.shortsCreateNestedOneWithoutShorts_spacesInput;
    spaces?: Prisma.spacesCreateNestedOneWithoutShorts_spacesInput;
};
export type shorts_spacesUncheckedCreateInput = {
    id?: number;
    shorts_id?: number | null;
    spaces_id?: number | null;
};
export type shorts_spacesUpdateInput = {
    shorts?: Prisma.shortsUpdateOneWithoutShorts_spacesNestedInput;
    spaces?: Prisma.spacesUpdateOneWithoutShorts_spacesNestedInput;
};
export type shorts_spacesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shorts_spacesCreateManyInput = {
    id?: number;
    shorts_id?: number | null;
    spaces_id?: number | null;
};
export type shorts_spacesUpdateManyMutationInput = {};
export type shorts_spacesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Shorts_spacesListRelationFilter = {
    every?: Prisma.shorts_spacesWhereInput;
    some?: Prisma.shorts_spacesWhereInput;
    none?: Prisma.shorts_spacesWhereInput;
};
export type shorts_spacesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type shorts_spacesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type shorts_spacesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type shorts_spacesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type shorts_spacesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type shorts_spacesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type shorts_spacesCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput> | Prisma.shorts_spacesCreateWithoutShortsInput[] | Prisma.shorts_spacesUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutShortsInput | Prisma.shorts_spacesCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.shorts_spacesCreateManyShortsInputEnvelope;
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
};
export type shorts_spacesUncheckedCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput> | Prisma.shorts_spacesCreateWithoutShortsInput[] | Prisma.shorts_spacesUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutShortsInput | Prisma.shorts_spacesCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.shorts_spacesCreateManyShortsInputEnvelope;
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
};
export type shorts_spacesUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput> | Prisma.shorts_spacesCreateWithoutShortsInput[] | Prisma.shorts_spacesUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutShortsInput | Prisma.shorts_spacesCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.shorts_spacesUpsertWithWhereUniqueWithoutShortsInput | Prisma.shorts_spacesUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.shorts_spacesCreateManyShortsInputEnvelope;
    set?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    disconnect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    delete?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    update?: Prisma.shorts_spacesUpdateWithWhereUniqueWithoutShortsInput | Prisma.shorts_spacesUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.shorts_spacesUpdateManyWithWhereWithoutShortsInput | Prisma.shorts_spacesUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
};
export type shorts_spacesUncheckedUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput> | Prisma.shorts_spacesCreateWithoutShortsInput[] | Prisma.shorts_spacesUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutShortsInput | Prisma.shorts_spacesCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.shorts_spacesUpsertWithWhereUniqueWithoutShortsInput | Prisma.shorts_spacesUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.shorts_spacesCreateManyShortsInputEnvelope;
    set?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    disconnect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    delete?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    update?: Prisma.shorts_spacesUpdateWithWhereUniqueWithoutShortsInput | Prisma.shorts_spacesUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.shorts_spacesUpdateManyWithWhereWithoutShortsInput | Prisma.shorts_spacesUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
};
export type shorts_spacesCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput> | Prisma.shorts_spacesCreateWithoutSpacesInput[] | Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput | Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.shorts_spacesCreateManySpacesInputEnvelope;
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
};
export type shorts_spacesUncheckedCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput> | Prisma.shorts_spacesCreateWithoutSpacesInput[] | Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput | Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.shorts_spacesCreateManySpacesInputEnvelope;
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
};
export type shorts_spacesUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput> | Prisma.shorts_spacesCreateWithoutSpacesInput[] | Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput | Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.shorts_spacesUpsertWithWhereUniqueWithoutSpacesInput | Prisma.shorts_spacesUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.shorts_spacesCreateManySpacesInputEnvelope;
    set?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    disconnect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    delete?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    update?: Prisma.shorts_spacesUpdateWithWhereUniqueWithoutSpacesInput | Prisma.shorts_spacesUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.shorts_spacesUpdateManyWithWhereWithoutSpacesInput | Prisma.shorts_spacesUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
};
export type shorts_spacesUncheckedUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput> | Prisma.shorts_spacesCreateWithoutSpacesInput[] | Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput | Prisma.shorts_spacesCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.shorts_spacesUpsertWithWhereUniqueWithoutSpacesInput | Prisma.shorts_spacesUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.shorts_spacesCreateManySpacesInputEnvelope;
    set?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    disconnect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    delete?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    connect?: Prisma.shorts_spacesWhereUniqueInput | Prisma.shorts_spacesWhereUniqueInput[];
    update?: Prisma.shorts_spacesUpdateWithWhereUniqueWithoutSpacesInput | Prisma.shorts_spacesUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.shorts_spacesUpdateManyWithWhereWithoutSpacesInput | Prisma.shorts_spacesUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
};
export type shorts_spacesCreateWithoutShortsInput = {
    spaces?: Prisma.spacesCreateNestedOneWithoutShorts_spacesInput;
};
export type shorts_spacesUncheckedCreateWithoutShortsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type shorts_spacesCreateOrConnectWithoutShortsInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    create: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput>;
};
export type shorts_spacesCreateManyShortsInputEnvelope = {
    data: Prisma.shorts_spacesCreateManyShortsInput | Prisma.shorts_spacesCreateManyShortsInput[];
    skipDuplicates?: boolean;
};
export type shorts_spacesUpsertWithWhereUniqueWithoutShortsInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    update: Prisma.XOR<Prisma.shorts_spacesUpdateWithoutShortsInput, Prisma.shorts_spacesUncheckedUpdateWithoutShortsInput>;
    create: Prisma.XOR<Prisma.shorts_spacesCreateWithoutShortsInput, Prisma.shorts_spacesUncheckedCreateWithoutShortsInput>;
};
export type shorts_spacesUpdateWithWhereUniqueWithoutShortsInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    data: Prisma.XOR<Prisma.shorts_spacesUpdateWithoutShortsInput, Prisma.shorts_spacesUncheckedUpdateWithoutShortsInput>;
};
export type shorts_spacesUpdateManyWithWhereWithoutShortsInput = {
    where: Prisma.shorts_spacesScalarWhereInput;
    data: Prisma.XOR<Prisma.shorts_spacesUpdateManyMutationInput, Prisma.shorts_spacesUncheckedUpdateManyWithoutShortsInput>;
};
export type shorts_spacesScalarWhereInput = {
    AND?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
    OR?: Prisma.shorts_spacesScalarWhereInput[];
    NOT?: Prisma.shorts_spacesScalarWhereInput | Prisma.shorts_spacesScalarWhereInput[];
    id?: Prisma.IntFilter<"shorts_spaces"> | number;
    shorts_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"shorts_spaces"> | number | null;
};
export type shorts_spacesCreateWithoutSpacesInput = {
    shorts?: Prisma.shortsCreateNestedOneWithoutShorts_spacesInput;
};
export type shorts_spacesUncheckedCreateWithoutSpacesInput = {
    id?: number;
    shorts_id?: number | null;
};
export type shorts_spacesCreateOrConnectWithoutSpacesInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    create: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput>;
};
export type shorts_spacesCreateManySpacesInputEnvelope = {
    data: Prisma.shorts_spacesCreateManySpacesInput | Prisma.shorts_spacesCreateManySpacesInput[];
    skipDuplicates?: boolean;
};
export type shorts_spacesUpsertWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    update: Prisma.XOR<Prisma.shorts_spacesUpdateWithoutSpacesInput, Prisma.shorts_spacesUncheckedUpdateWithoutSpacesInput>;
    create: Prisma.XOR<Prisma.shorts_spacesCreateWithoutSpacesInput, Prisma.shorts_spacesUncheckedCreateWithoutSpacesInput>;
};
export type shorts_spacesUpdateWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.shorts_spacesWhereUniqueInput;
    data: Prisma.XOR<Prisma.shorts_spacesUpdateWithoutSpacesInput, Prisma.shorts_spacesUncheckedUpdateWithoutSpacesInput>;
};
export type shorts_spacesUpdateManyWithWhereWithoutSpacesInput = {
    where: Prisma.shorts_spacesScalarWhereInput;
    data: Prisma.XOR<Prisma.shorts_spacesUpdateManyMutationInput, Prisma.shorts_spacesUncheckedUpdateManyWithoutSpacesInput>;
};
export type shorts_spacesCreateManyShortsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type shorts_spacesUpdateWithoutShortsInput = {
    spaces?: Prisma.spacesUpdateOneWithoutShorts_spacesNestedInput;
};
export type shorts_spacesUncheckedUpdateWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shorts_spacesUncheckedUpdateManyWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shorts_spacesCreateManySpacesInput = {
    id?: number;
    shorts_id?: number | null;
};
export type shorts_spacesUpdateWithoutSpacesInput = {
    shorts?: Prisma.shortsUpdateOneWithoutShorts_spacesNestedInput;
};
export type shorts_spacesUncheckedUpdateWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shorts_spacesUncheckedUpdateManyWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shorts_spacesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shorts_id?: boolean;
    spaces_id?: boolean;
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["shorts_spaces"]>;
export type shorts_spacesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shorts_id?: boolean;
    spaces_id?: boolean;
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["shorts_spaces"]>;
export type shorts_spacesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shorts_id?: boolean;
    spaces_id?: boolean;
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["shorts_spaces"]>;
export type shorts_spacesSelectScalar = {
    id?: boolean;
    shorts_id?: boolean;
    spaces_id?: boolean;
};
export type shorts_spacesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shorts_id" | "spaces_id", ExtArgs["result"]["shorts_spaces"]>;
export type shorts_spacesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
};
export type shorts_spacesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
};
export type shorts_spacesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shorts?: boolean | Prisma.shorts_spaces$shortsArgs<ExtArgs>;
    spaces?: boolean | Prisma.shorts_spaces$spacesArgs<ExtArgs>;
};
export type $shorts_spacesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "shorts_spaces";
    objects: {
        shorts: Prisma.$shortsPayload<ExtArgs> | null;
        spaces: Prisma.$spacesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        shorts_id: number | null;
        spaces_id: number | null;
    }, ExtArgs["result"]["shorts_spaces"]>;
    composites: {};
};
export type shorts_spacesGetPayload<S extends boolean | null | undefined | shorts_spacesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload, S>;
export type shorts_spacesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<shorts_spacesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Shorts_spacesCountAggregateInputType | true;
};
export interface shorts_spacesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['shorts_spaces'];
        meta: {
            name: 'shorts_spaces';
        };
    };
    /**
     * Find zero or one Shorts_spaces that matches the filter.
     * @param {shorts_spacesFindUniqueArgs} args - Arguments to find a Shorts_spaces
     * @example
     * // Get one Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends shorts_spacesFindUniqueArgs>(args: Prisma.SelectSubset<T, shorts_spacesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Shorts_spaces that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {shorts_spacesFindUniqueOrThrowArgs} args - Arguments to find a Shorts_spaces
     * @example
     * // Get one Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends shorts_spacesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shorts_spacesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shorts_spaces 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 {shorts_spacesFindFirstArgs} args - Arguments to find a Shorts_spaces
     * @example
     * // Get one Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends shorts_spacesFindFirstArgs>(args?: Prisma.SelectSubset<T, shorts_spacesFindFirstArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shorts_spaces 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 {shorts_spacesFindFirstOrThrowArgs} args - Arguments to find a Shorts_spaces
     * @example
     * // Get one Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends shorts_spacesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shorts_spacesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Shorts_spaces 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 {shorts_spacesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findMany()
     *
     * // Get first 10 Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const shorts_spacesWithIdOnly = await prisma.shorts_spaces.findMany({ select: { id: true } })
     *
     */
    findMany<T extends shorts_spacesFindManyArgs>(args?: Prisma.SelectSubset<T, shorts_spacesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Shorts_spaces.
     * @param {shorts_spacesCreateArgs} args - Arguments to create a Shorts_spaces.
     * @example
     * // Create one Shorts_spaces
     * const Shorts_spaces = await prisma.shorts_spaces.create({
     *   data: {
     *     // ... data to create a Shorts_spaces
     *   }
     * })
     *
     */
    create<T extends shorts_spacesCreateArgs>(args: Prisma.SelectSubset<T, shorts_spacesCreateArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Shorts_spaces.
     * @param {shorts_spacesCreateManyArgs} args - Arguments to create many Shorts_spaces.
     * @example
     * // Create many Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends shorts_spacesCreateManyArgs>(args?: Prisma.SelectSubset<T, shorts_spacesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Shorts_spaces and returns the data saved in the database.
     * @param {shorts_spacesCreateManyAndReturnArgs} args - Arguments to create many Shorts_spaces.
     * @example
     * // Create many Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Shorts_spaces and only return the `id`
     * const shorts_spacesWithIdOnly = await prisma.shorts_spaces.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 shorts_spacesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shorts_spacesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Shorts_spaces.
     * @param {shorts_spacesDeleteArgs} args - Arguments to delete one Shorts_spaces.
     * @example
     * // Delete one Shorts_spaces
     * const Shorts_spaces = await prisma.shorts_spaces.delete({
     *   where: {
     *     // ... filter to delete one Shorts_spaces
     *   }
     * })
     *
     */
    delete<T extends shorts_spacesDeleteArgs>(args: Prisma.SelectSubset<T, shorts_spacesDeleteArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Shorts_spaces.
     * @param {shorts_spacesUpdateArgs} args - Arguments to update one Shorts_spaces.
     * @example
     * // Update one Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends shorts_spacesUpdateArgs>(args: Prisma.SelectSubset<T, shorts_spacesUpdateArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Shorts_spaces.
     * @param {shorts_spacesDeleteManyArgs} args - Arguments to filter Shorts_spaces to delete.
     * @example
     * // Delete a few Shorts_spaces
     * const { count } = await prisma.shorts_spaces.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends shorts_spacesDeleteManyArgs>(args?: Prisma.SelectSubset<T, shorts_spacesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shorts_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shorts_spacesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends shorts_spacesUpdateManyArgs>(args: Prisma.SelectSubset<T, shorts_spacesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shorts_spaces and returns the data updated in the database.
     * @param {shorts_spacesUpdateManyAndReturnArgs} args - Arguments to update many Shorts_spaces.
     * @example
     * // Update many Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Shorts_spaces and only return the `id`
     * const shorts_spacesWithIdOnly = await prisma.shorts_spaces.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 shorts_spacesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shorts_spacesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Shorts_spaces.
     * @param {shorts_spacesUpsertArgs} args - Arguments to update or create a Shorts_spaces.
     * @example
     * // Update or create a Shorts_spaces
     * const shorts_spaces = await prisma.shorts_spaces.upsert({
     *   create: {
     *     // ... data to create a Shorts_spaces
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shorts_spaces we want to update
     *   }
     * })
     */
    upsert<T extends shorts_spacesUpsertArgs>(args: Prisma.SelectSubset<T, shorts_spacesUpsertArgs<ExtArgs>>): Prisma.Prisma__shorts_spacesClient<runtime.Types.Result.GetResult<Prisma.$shorts_spacesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Shorts_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shorts_spacesCountArgs} args - Arguments to filter Shorts_spaces to count.
     * @example
     * // Count the number of Shorts_spaces
     * const count = await prisma.shorts_spaces.count({
     *   where: {
     *     // ... the filter for the Shorts_spaces we want to count
     *   }
     * })
    **/
    count<T extends shorts_spacesCountArgs>(args?: Prisma.Subset<T, shorts_spacesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Shorts_spacesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Shorts_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Shorts_spacesAggregateArgs} 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 Shorts_spacesAggregateArgs>(args: Prisma.Subset<T, Shorts_spacesAggregateArgs>): Prisma.PrismaPromise<GetShorts_spacesAggregateType<T>>;
    /**
     * Group by Shorts_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shorts_spacesGroupByArgs} 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 shorts_spacesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: shorts_spacesGroupByArgs['orderBy'];
    } : {
        orderBy?: shorts_spacesGroupByArgs['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, shorts_spacesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShorts_spacesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the shorts_spaces model
     */
    readonly fields: shorts_spacesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for shorts_spaces.
 * 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__shorts_spacesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    shorts<T extends Prisma.shorts_spaces$shortsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shorts_spaces$shortsArgs<ExtArgs>>): Prisma.Prisma__shortsClient<runtime.Types.Result.GetResult<Prisma.$shortsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    spaces<T extends Prisma.shorts_spaces$spacesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shorts_spaces$spacesArgs<ExtArgs>>): Prisma.Prisma__spacesClient<runtime.Types.Result.GetResult<Prisma.$spacesPayload<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 shorts_spaces model
 */
export interface shorts_spacesFieldRefs {
    readonly id: Prisma.FieldRef<"shorts_spaces", 'Int'>;
    readonly shorts_id: Prisma.FieldRef<"shorts_spaces", 'Int'>;
    readonly spaces_id: Prisma.FieldRef<"shorts_spaces", 'Int'>;
}
/**
 * shorts_spaces findUnique
 */
export type shorts_spacesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which shorts_spaces to fetch.
     */
    where: Prisma.shorts_spacesWhereUniqueInput;
};
/**
 * shorts_spaces findUniqueOrThrow
 */
export type shorts_spacesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which shorts_spaces to fetch.
     */
    where: Prisma.shorts_spacesWhereUniqueInput;
};
/**
 * shorts_spaces findFirst
 */
export type shorts_spacesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which shorts_spaces to fetch.
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shorts_spaces to fetch.
     */
    orderBy?: Prisma.shorts_spacesOrderByWithRelationInput | Prisma.shorts_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shorts_spaces.
     */
    cursor?: Prisma.shorts_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shorts_spaces 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` shorts_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shorts_spaces.
     */
    distinct?: Prisma.Shorts_spacesScalarFieldEnum | Prisma.Shorts_spacesScalarFieldEnum[];
};
/**
 * shorts_spaces findFirstOrThrow
 */
export type shorts_spacesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which shorts_spaces to fetch.
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shorts_spaces to fetch.
     */
    orderBy?: Prisma.shorts_spacesOrderByWithRelationInput | Prisma.shorts_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shorts_spaces.
     */
    cursor?: Prisma.shorts_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shorts_spaces 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` shorts_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shorts_spaces.
     */
    distinct?: Prisma.Shorts_spacesScalarFieldEnum | Prisma.Shorts_spacesScalarFieldEnum[];
};
/**
 * shorts_spaces findMany
 */
export type shorts_spacesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which shorts_spaces to fetch.
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shorts_spaces to fetch.
     */
    orderBy?: Prisma.shorts_spacesOrderByWithRelationInput | Prisma.shorts_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing shorts_spaces.
     */
    cursor?: Prisma.shorts_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shorts_spaces 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` shorts_spaces.
     */
    skip?: number;
    distinct?: Prisma.Shorts_spacesScalarFieldEnum | Prisma.Shorts_spacesScalarFieldEnum[];
};
/**
 * shorts_spaces create
 */
export type shorts_spacesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * The data needed to create a shorts_spaces.
     */
    data?: Prisma.XOR<Prisma.shorts_spacesCreateInput, Prisma.shorts_spacesUncheckedCreateInput>;
};
/**
 * shorts_spaces createMany
 */
export type shorts_spacesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many shorts_spaces.
     */
    data: Prisma.shorts_spacesCreateManyInput | Prisma.shorts_spacesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * shorts_spaces createManyAndReturn
 */
export type shorts_spacesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * The data used to create many shorts_spaces.
     */
    data: Prisma.shorts_spacesCreateManyInput | Prisma.shorts_spacesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * shorts_spaces update
 */
export type shorts_spacesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * The data needed to update a shorts_spaces.
     */
    data: Prisma.XOR<Prisma.shorts_spacesUpdateInput, Prisma.shorts_spacesUncheckedUpdateInput>;
    /**
     * Choose, which shorts_spaces to update.
     */
    where: Prisma.shorts_spacesWhereUniqueInput;
};
/**
 * shorts_spaces updateMany
 */
export type shorts_spacesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update shorts_spaces.
     */
    data: Prisma.XOR<Prisma.shorts_spacesUpdateManyMutationInput, Prisma.shorts_spacesUncheckedUpdateManyInput>;
    /**
     * Filter which shorts_spaces to update
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * Limit how many shorts_spaces to update.
     */
    limit?: number;
};
/**
 * shorts_spaces updateManyAndReturn
 */
export type shorts_spacesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * The data used to update shorts_spaces.
     */
    data: Prisma.XOR<Prisma.shorts_spacesUpdateManyMutationInput, Prisma.shorts_spacesUncheckedUpdateManyInput>;
    /**
     * Filter which shorts_spaces to update
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * Limit how many shorts_spaces to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * shorts_spaces upsert
 */
export type shorts_spacesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * The filter to search for the shorts_spaces to update in case it exists.
     */
    where: Prisma.shorts_spacesWhereUniqueInput;
    /**
     * In case the shorts_spaces found by the `where` argument doesn't exist, create a new shorts_spaces with this data.
     */
    create: Prisma.XOR<Prisma.shorts_spacesCreateInput, Prisma.shorts_spacesUncheckedCreateInput>;
    /**
     * In case the shorts_spaces was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.shorts_spacesUpdateInput, Prisma.shorts_spacesUncheckedUpdateInput>;
};
/**
 * shorts_spaces delete
 */
export type shorts_spacesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
    /**
     * Filter which shorts_spaces to delete.
     */
    where: Prisma.shorts_spacesWhereUniqueInput;
};
/**
 * shorts_spaces deleteMany
 */
export type shorts_spacesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shorts_spaces to delete
     */
    where?: Prisma.shorts_spacesWhereInput;
    /**
     * Limit how many shorts_spaces to delete.
     */
    limit?: number;
};
/**
 * shorts_spaces.shorts
 */
export type shorts_spaces$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;
};
/**
 * shorts_spaces.spaces
 */
export type shorts_spaces$spacesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces
     */
    select?: Prisma.spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces
     */
    omit?: Prisma.spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spacesInclude<ExtArgs> | null;
    where?: Prisma.spacesWhereInput;
};
/**
 * shorts_spaces without action
 */
export type shorts_spacesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts_spaces
     */
    select?: Prisma.shorts_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts_spaces
     */
    omit?: Prisma.shorts_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shorts_spacesInclude<ExtArgs> | null;
};
export {};
