import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model page_blocks_files
 * 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 page_blocks_filesModel = runtime.Types.Result.DefaultSelection<Prisma.$page_blocks_filesPayload>;
export type AggregatePage_blocks_files = {
    _count: Page_blocks_filesCountAggregateOutputType | null;
    _avg: Page_blocks_filesAvgAggregateOutputType | null;
    _sum: Page_blocks_filesSumAggregateOutputType | null;
    _min: Page_blocks_filesMinAggregateOutputType | null;
    _max: Page_blocks_filesMaxAggregateOutputType | null;
};
export type Page_blocks_filesAvgAggregateOutputType = {
    id: number | null;
    page_blocks_id: number | null;
};
export type Page_blocks_filesSumAggregateOutputType = {
    id: number | null;
    page_blocks_id: number | null;
};
export type Page_blocks_filesMinAggregateOutputType = {
    id: number | null;
    page_blocks_id: number | null;
    directus_files_id: string | null;
};
export type Page_blocks_filesMaxAggregateOutputType = {
    id: number | null;
    page_blocks_id: number | null;
    directus_files_id: string | null;
};
export type Page_blocks_filesCountAggregateOutputType = {
    id: number;
    page_blocks_id: number;
    directus_files_id: number;
    _all: number;
};
export type Page_blocks_filesAvgAggregateInputType = {
    id?: true;
    page_blocks_id?: true;
};
export type Page_blocks_filesSumAggregateInputType = {
    id?: true;
    page_blocks_id?: true;
};
export type Page_blocks_filesMinAggregateInputType = {
    id?: true;
    page_blocks_id?: true;
    directus_files_id?: true;
};
export type Page_blocks_filesMaxAggregateInputType = {
    id?: true;
    page_blocks_id?: true;
    directus_files_id?: true;
};
export type Page_blocks_filesCountAggregateInputType = {
    id?: true;
    page_blocks_id?: true;
    directus_files_id?: true;
    _all?: true;
};
export type Page_blocks_filesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which page_blocks_files to aggregate.
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of page_blocks_files to fetch.
     */
    orderBy?: Prisma.page_blocks_filesOrderByWithRelationInput | Prisma.page_blocks_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.page_blocks_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` page_blocks_files 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` page_blocks_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned page_blocks_files
    **/
    _count?: true | Page_blocks_filesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Page_blocks_filesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Page_blocks_filesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Page_blocks_filesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Page_blocks_filesMaxAggregateInputType;
};
export type GetPage_blocks_filesAggregateType<T extends Page_blocks_filesAggregateArgs> = {
    [P in keyof T & keyof AggregatePage_blocks_files]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePage_blocks_files[P]> : Prisma.GetScalarType<T[P], AggregatePage_blocks_files[P]>;
};
export type page_blocks_filesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.page_blocks_filesWhereInput;
    orderBy?: Prisma.page_blocks_filesOrderByWithAggregationInput | Prisma.page_blocks_filesOrderByWithAggregationInput[];
    by: Prisma.Page_blocks_filesScalarFieldEnum[] | Prisma.Page_blocks_filesScalarFieldEnum;
    having?: Prisma.page_blocks_filesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Page_blocks_filesCountAggregateInputType | true;
    _avg?: Page_blocks_filesAvgAggregateInputType;
    _sum?: Page_blocks_filesSumAggregateInputType;
    _min?: Page_blocks_filesMinAggregateInputType;
    _max?: Page_blocks_filesMaxAggregateInputType;
};
export type Page_blocks_filesGroupByOutputType = {
    id: number;
    page_blocks_id: number | null;
    directus_files_id: string | null;
    _count: Page_blocks_filesCountAggregateOutputType | null;
    _avg: Page_blocks_filesAvgAggregateOutputType | null;
    _sum: Page_blocks_filesSumAggregateOutputType | null;
    _min: Page_blocks_filesMinAggregateOutputType | null;
    _max: Page_blocks_filesMaxAggregateOutputType | null;
};
type GetPage_blocks_filesGroupByPayload<T extends page_blocks_filesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Page_blocks_filesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Page_blocks_filesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Page_blocks_filesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Page_blocks_filesGroupByOutputType[P]>;
}>>;
export type page_blocks_filesWhereInput = {
    AND?: Prisma.page_blocks_filesWhereInput | Prisma.page_blocks_filesWhereInput[];
    OR?: Prisma.page_blocks_filesWhereInput[];
    NOT?: Prisma.page_blocks_filesWhereInput | Prisma.page_blocks_filesWhereInput[];
    id?: Prisma.IntFilter<"page_blocks_files"> | number;
    page_blocks_id?: Prisma.IntNullableFilter<"page_blocks_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"page_blocks_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    page_blocks?: Prisma.XOR<Prisma.Page_blocksNullableScalarRelationFilter, Prisma.page_blocksWhereInput> | null;
};
export type page_blocks_filesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files?: Prisma.directus_filesOrderByWithRelationInput;
    page_blocks?: Prisma.page_blocksOrderByWithRelationInput;
};
export type page_blocks_filesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.page_blocks_filesWhereInput | Prisma.page_blocks_filesWhereInput[];
    OR?: Prisma.page_blocks_filesWhereInput[];
    NOT?: Prisma.page_blocks_filesWhereInput | Prisma.page_blocks_filesWhereInput[];
    page_blocks_id?: Prisma.IntNullableFilter<"page_blocks_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"page_blocks_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    page_blocks?: Prisma.XOR<Prisma.Page_blocksNullableScalarRelationFilter, Prisma.page_blocksWhereInput> | null;
}, "id">;
export type page_blocks_filesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.page_blocks_filesCountOrderByAggregateInput;
    _avg?: Prisma.page_blocks_filesAvgOrderByAggregateInput;
    _max?: Prisma.page_blocks_filesMaxOrderByAggregateInput;
    _min?: Prisma.page_blocks_filesMinOrderByAggregateInput;
    _sum?: Prisma.page_blocks_filesSumOrderByAggregateInput;
};
export type page_blocks_filesScalarWhereWithAggregatesInput = {
    AND?: Prisma.page_blocks_filesScalarWhereWithAggregatesInput | Prisma.page_blocks_filesScalarWhereWithAggregatesInput[];
    OR?: Prisma.page_blocks_filesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.page_blocks_filesScalarWhereWithAggregatesInput | Prisma.page_blocks_filesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"page_blocks_files"> | number;
    page_blocks_id?: Prisma.IntNullableWithAggregatesFilter<"page_blocks_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableWithAggregatesFilter<"page_blocks_files"> | string | null;
};
export type page_blocks_filesCreateInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutPage_blocks_filesInput;
    page_blocks?: Prisma.page_blocksCreateNestedOneWithoutPage_blocks_filesInput;
};
export type page_blocks_filesUncheckedCreateInput = {
    id?: number;
    page_blocks_id?: number | null;
    directus_files_id?: string | null;
};
export type page_blocks_filesUpdateInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutPage_blocks_filesNestedInput;
    page_blocks?: Prisma.page_blocksUpdateOneWithoutPage_blocks_filesNestedInput;
};
export type page_blocks_filesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    page_blocks_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type page_blocks_filesCreateManyInput = {
    id?: number;
    page_blocks_id?: number | null;
    directus_files_id?: string | null;
};
export type page_blocks_filesUpdateManyMutationInput = {};
export type page_blocks_filesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    page_blocks_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type Page_blocks_filesListRelationFilter = {
    every?: Prisma.page_blocks_filesWhereInput;
    some?: Prisma.page_blocks_filesWhereInput;
    none?: Prisma.page_blocks_filesWhereInput;
};
export type page_blocks_filesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type page_blocks_filesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type page_blocks_filesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrder;
};
export type page_blocks_filesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type page_blocks_filesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type page_blocks_filesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    page_blocks_id?: Prisma.SortOrder;
};
export type page_blocks_filesCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.page_blocks_filesCreateWithoutDirectus_filesInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.page_blocks_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
};
export type page_blocks_filesUncheckedCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.page_blocks_filesCreateWithoutDirectus_filesInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.page_blocks_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
};
export type page_blocks_filesUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.page_blocks_filesCreateWithoutDirectus_filesInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.page_blocks_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    disconnect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    delete?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    update?: Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.page_blocks_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.page_blocks_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
};
export type page_blocks_filesUncheckedUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.page_blocks_filesCreateWithoutDirectus_filesInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.page_blocks_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.page_blocks_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    disconnect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    delete?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    update?: Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.page_blocks_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.page_blocks_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
};
export type page_blocks_filesCreateNestedManyWithoutPage_blocksInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput> | Prisma.page_blocks_filesCreateWithoutPage_blocksInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput | Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput[];
    createMany?: Prisma.page_blocks_filesCreateManyPage_blocksInputEnvelope;
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
};
export type page_blocks_filesUncheckedCreateNestedManyWithoutPage_blocksInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput> | Prisma.page_blocks_filesCreateWithoutPage_blocksInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput | Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput[];
    createMany?: Prisma.page_blocks_filesCreateManyPage_blocksInputEnvelope;
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
};
export type page_blocks_filesUpdateManyWithoutPage_blocksNestedInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput> | Prisma.page_blocks_filesCreateWithoutPage_blocksInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput | Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput[];
    upsert?: Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutPage_blocksInput | Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutPage_blocksInput[];
    createMany?: Prisma.page_blocks_filesCreateManyPage_blocksInputEnvelope;
    set?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    disconnect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    delete?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    update?: Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutPage_blocksInput | Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutPage_blocksInput[];
    updateMany?: Prisma.page_blocks_filesUpdateManyWithWhereWithoutPage_blocksInput | Prisma.page_blocks_filesUpdateManyWithWhereWithoutPage_blocksInput[];
    deleteMany?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
};
export type page_blocks_filesUncheckedUpdateManyWithoutPage_blocksNestedInput = {
    create?: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput> | Prisma.page_blocks_filesCreateWithoutPage_blocksInput[] | Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput[];
    connectOrCreate?: Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput | Prisma.page_blocks_filesCreateOrConnectWithoutPage_blocksInput[];
    upsert?: Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutPage_blocksInput | Prisma.page_blocks_filesUpsertWithWhereUniqueWithoutPage_blocksInput[];
    createMany?: Prisma.page_blocks_filesCreateManyPage_blocksInputEnvelope;
    set?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    disconnect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    delete?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    connect?: Prisma.page_blocks_filesWhereUniqueInput | Prisma.page_blocks_filesWhereUniqueInput[];
    update?: Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutPage_blocksInput | Prisma.page_blocks_filesUpdateWithWhereUniqueWithoutPage_blocksInput[];
    updateMany?: Prisma.page_blocks_filesUpdateManyWithWhereWithoutPage_blocksInput | Prisma.page_blocks_filesUpdateManyWithWhereWithoutPage_blocksInput[];
    deleteMany?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
};
export type page_blocks_filesCreateWithoutDirectus_filesInput = {
    page_blocks?: Prisma.page_blocksCreateNestedOneWithoutPage_blocks_filesInput;
};
export type page_blocks_filesUncheckedCreateWithoutDirectus_filesInput = {
    id?: number;
    page_blocks_id?: number | null;
};
export type page_blocks_filesCreateOrConnectWithoutDirectus_filesInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type page_blocks_filesCreateManyDirectus_filesInputEnvelope = {
    data: Prisma.page_blocks_filesCreateManyDirectus_filesInput | Prisma.page_blocks_filesCreateManyDirectus_filesInput[];
    skipDuplicates?: boolean;
};
export type page_blocks_filesUpsertWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.page_blocks_filesUpdateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedUpdateWithoutDirectus_filesInput>;
    create: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type page_blocks_filesUpdateWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateWithoutDirectus_filesInput, Prisma.page_blocks_filesUncheckedUpdateWithoutDirectus_filesInput>;
};
export type page_blocks_filesUpdateManyWithWhereWithoutDirectus_filesInput = {
    where: Prisma.page_blocks_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateManyMutationInput, Prisma.page_blocks_filesUncheckedUpdateManyWithoutDirectus_filesInput>;
};
export type page_blocks_filesScalarWhereInput = {
    AND?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
    OR?: Prisma.page_blocks_filesScalarWhereInput[];
    NOT?: Prisma.page_blocks_filesScalarWhereInput | Prisma.page_blocks_filesScalarWhereInput[];
    id?: Prisma.IntFilter<"page_blocks_files"> | number;
    page_blocks_id?: Prisma.IntNullableFilter<"page_blocks_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"page_blocks_files"> | string | null;
};
export type page_blocks_filesCreateWithoutPage_blocksInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutPage_blocks_filesInput;
};
export type page_blocks_filesUncheckedCreateWithoutPage_blocksInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type page_blocks_filesCreateOrConnectWithoutPage_blocksInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput>;
};
export type page_blocks_filesCreateManyPage_blocksInputEnvelope = {
    data: Prisma.page_blocks_filesCreateManyPage_blocksInput | Prisma.page_blocks_filesCreateManyPage_blocksInput[];
    skipDuplicates?: boolean;
};
export type page_blocks_filesUpsertWithWhereUniqueWithoutPage_blocksInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.page_blocks_filesUpdateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedUpdateWithoutPage_blocksInput>;
    create: Prisma.XOR<Prisma.page_blocks_filesCreateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedCreateWithoutPage_blocksInput>;
};
export type page_blocks_filesUpdateWithWhereUniqueWithoutPage_blocksInput = {
    where: Prisma.page_blocks_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateWithoutPage_blocksInput, Prisma.page_blocks_filesUncheckedUpdateWithoutPage_blocksInput>;
};
export type page_blocks_filesUpdateManyWithWhereWithoutPage_blocksInput = {
    where: Prisma.page_blocks_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateManyMutationInput, Prisma.page_blocks_filesUncheckedUpdateManyWithoutPage_blocksInput>;
};
export type page_blocks_filesCreateManyDirectus_filesInput = {
    id?: number;
    page_blocks_id?: number | null;
};
export type page_blocks_filesUpdateWithoutDirectus_filesInput = {
    page_blocks?: Prisma.page_blocksUpdateOneWithoutPage_blocks_filesNestedInput;
};
export type page_blocks_filesUncheckedUpdateWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    page_blocks_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type page_blocks_filesUncheckedUpdateManyWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    page_blocks_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type page_blocks_filesCreateManyPage_blocksInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type page_blocks_filesUpdateWithoutPage_blocksInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutPage_blocks_filesNestedInput;
};
export type page_blocks_filesUncheckedUpdateWithoutPage_blocksInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type page_blocks_filesUncheckedUpdateManyWithoutPage_blocksInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type page_blocks_filesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    page_blocks_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
}, ExtArgs["result"]["page_blocks_files"]>;
export type page_blocks_filesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    page_blocks_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
}, ExtArgs["result"]["page_blocks_files"]>;
export type page_blocks_filesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    page_blocks_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
}, ExtArgs["result"]["page_blocks_files"]>;
export type page_blocks_filesSelectScalar = {
    id?: boolean;
    page_blocks_id?: boolean;
    directus_files_id?: boolean;
};
export type page_blocks_filesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "page_blocks_id" | "directus_files_id", ExtArgs["result"]["page_blocks_files"]>;
export type page_blocks_filesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
};
export type page_blocks_filesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
};
export type page_blocks_filesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.page_blocks_files$directus_filesArgs<ExtArgs>;
    page_blocks?: boolean | Prisma.page_blocks_files$page_blocksArgs<ExtArgs>;
};
export type $page_blocks_filesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "page_blocks_files";
    objects: {
        directus_files: Prisma.$directus_filesPayload<ExtArgs> | null;
        page_blocks: Prisma.$page_blocksPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        page_blocks_id: number | null;
        directus_files_id: string | null;
    }, ExtArgs["result"]["page_blocks_files"]>;
    composites: {};
};
export type page_blocks_filesGetPayload<S extends boolean | null | undefined | page_blocks_filesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload, S>;
export type page_blocks_filesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<page_blocks_filesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Page_blocks_filesCountAggregateInputType | true;
};
export interface page_blocks_filesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['page_blocks_files'];
        meta: {
            name: 'page_blocks_files';
        };
    };
    /**
     * Find zero or one Page_blocks_files that matches the filter.
     * @param {page_blocks_filesFindUniqueArgs} args - Arguments to find a Page_blocks_files
     * @example
     * // Get one Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends page_blocks_filesFindUniqueArgs>(args: Prisma.SelectSubset<T, page_blocks_filesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Page_blocks_files that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {page_blocks_filesFindUniqueOrThrowArgs} args - Arguments to find a Page_blocks_files
     * @example
     * // Get one Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends page_blocks_filesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, page_blocks_filesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Page_blocks_files 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 {page_blocks_filesFindFirstArgs} args - Arguments to find a Page_blocks_files
     * @example
     * // Get one Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends page_blocks_filesFindFirstArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesFindFirstArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Page_blocks_files 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 {page_blocks_filesFindFirstOrThrowArgs} args - Arguments to find a Page_blocks_files
     * @example
     * // Get one Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends page_blocks_filesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Page_blocks_files 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 {page_blocks_filesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findMany()
     *
     * // Get first 10 Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const page_blocks_filesWithIdOnly = await prisma.page_blocks_files.findMany({ select: { id: true } })
     *
     */
    findMany<T extends page_blocks_filesFindManyArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Page_blocks_files.
     * @param {page_blocks_filesCreateArgs} args - Arguments to create a Page_blocks_files.
     * @example
     * // Create one Page_blocks_files
     * const Page_blocks_files = await prisma.page_blocks_files.create({
     *   data: {
     *     // ... data to create a Page_blocks_files
     *   }
     * })
     *
     */
    create<T extends page_blocks_filesCreateArgs>(args: Prisma.SelectSubset<T, page_blocks_filesCreateArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Page_blocks_files.
     * @param {page_blocks_filesCreateManyArgs} args - Arguments to create many Page_blocks_files.
     * @example
     * // Create many Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends page_blocks_filesCreateManyArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Page_blocks_files and returns the data saved in the database.
     * @param {page_blocks_filesCreateManyAndReturnArgs} args - Arguments to create many Page_blocks_files.
     * @example
     * // Create many Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Page_blocks_files and only return the `id`
     * const page_blocks_filesWithIdOnly = await prisma.page_blocks_files.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 page_blocks_filesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Page_blocks_files.
     * @param {page_blocks_filesDeleteArgs} args - Arguments to delete one Page_blocks_files.
     * @example
     * // Delete one Page_blocks_files
     * const Page_blocks_files = await prisma.page_blocks_files.delete({
     *   where: {
     *     // ... filter to delete one Page_blocks_files
     *   }
     * })
     *
     */
    delete<T extends page_blocks_filesDeleteArgs>(args: Prisma.SelectSubset<T, page_blocks_filesDeleteArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Page_blocks_files.
     * @param {page_blocks_filesUpdateArgs} args - Arguments to update one Page_blocks_files.
     * @example
     * // Update one Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends page_blocks_filesUpdateArgs>(args: Prisma.SelectSubset<T, page_blocks_filesUpdateArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Page_blocks_files.
     * @param {page_blocks_filesDeleteManyArgs} args - Arguments to filter Page_blocks_files to delete.
     * @example
     * // Delete a few Page_blocks_files
     * const { count } = await prisma.page_blocks_files.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends page_blocks_filesDeleteManyArgs>(args?: Prisma.SelectSubset<T, page_blocks_filesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Page_blocks_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {page_blocks_filesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends page_blocks_filesUpdateManyArgs>(args: Prisma.SelectSubset<T, page_blocks_filesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Page_blocks_files and returns the data updated in the database.
     * @param {page_blocks_filesUpdateManyAndReturnArgs} args - Arguments to update many Page_blocks_files.
     * @example
     * // Update many Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Page_blocks_files and only return the `id`
     * const page_blocks_filesWithIdOnly = await prisma.page_blocks_files.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 page_blocks_filesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, page_blocks_filesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Page_blocks_files.
     * @param {page_blocks_filesUpsertArgs} args - Arguments to update or create a Page_blocks_files.
     * @example
     * // Update or create a Page_blocks_files
     * const page_blocks_files = await prisma.page_blocks_files.upsert({
     *   create: {
     *     // ... data to create a Page_blocks_files
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Page_blocks_files we want to update
     *   }
     * })
     */
    upsert<T extends page_blocks_filesUpsertArgs>(args: Prisma.SelectSubset<T, page_blocks_filesUpsertArgs<ExtArgs>>): Prisma.Prisma__page_blocks_filesClient<runtime.Types.Result.GetResult<Prisma.$page_blocks_filesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Page_blocks_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {page_blocks_filesCountArgs} args - Arguments to filter Page_blocks_files to count.
     * @example
     * // Count the number of Page_blocks_files
     * const count = await prisma.page_blocks_files.count({
     *   where: {
     *     // ... the filter for the Page_blocks_files we want to count
     *   }
     * })
    **/
    count<T extends page_blocks_filesCountArgs>(args?: Prisma.Subset<T, page_blocks_filesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Page_blocks_filesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Page_blocks_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Page_blocks_filesAggregateArgs} 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 Page_blocks_filesAggregateArgs>(args: Prisma.Subset<T, Page_blocks_filesAggregateArgs>): Prisma.PrismaPromise<GetPage_blocks_filesAggregateType<T>>;
    /**
     * Group by Page_blocks_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {page_blocks_filesGroupByArgs} 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 page_blocks_filesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: page_blocks_filesGroupByArgs['orderBy'];
    } : {
        orderBy?: page_blocks_filesGroupByArgs['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, page_blocks_filesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPage_blocks_filesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the page_blocks_files model
     */
    readonly fields: page_blocks_filesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for page_blocks_files.
 * 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__page_blocks_filesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_files<T extends Prisma.page_blocks_files$directus_filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.page_blocks_files$directus_filesArgs<ExtArgs>>): Prisma.Prisma__directus_filesClient<runtime.Types.Result.GetResult<Prisma.$directus_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    page_blocks<T extends Prisma.page_blocks_files$page_blocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.page_blocks_files$page_blocksArgs<ExtArgs>>): Prisma.Prisma__page_blocksClient<runtime.Types.Result.GetResult<Prisma.$page_blocksPayload<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 page_blocks_files model
 */
export interface page_blocks_filesFieldRefs {
    readonly id: Prisma.FieldRef<"page_blocks_files", 'Int'>;
    readonly page_blocks_id: Prisma.FieldRef<"page_blocks_files", 'Int'>;
    readonly directus_files_id: Prisma.FieldRef<"page_blocks_files", 'String'>;
}
/**
 * page_blocks_files findUnique
 */
export type page_blocks_filesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter, which page_blocks_files to fetch.
     */
    where: Prisma.page_blocks_filesWhereUniqueInput;
};
/**
 * page_blocks_files findUniqueOrThrow
 */
export type page_blocks_filesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter, which page_blocks_files to fetch.
     */
    where: Prisma.page_blocks_filesWhereUniqueInput;
};
/**
 * page_blocks_files findFirst
 */
export type page_blocks_filesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter, which page_blocks_files to fetch.
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of page_blocks_files to fetch.
     */
    orderBy?: Prisma.page_blocks_filesOrderByWithRelationInput | Prisma.page_blocks_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for page_blocks_files.
     */
    cursor?: Prisma.page_blocks_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` page_blocks_files 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` page_blocks_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of page_blocks_files.
     */
    distinct?: Prisma.Page_blocks_filesScalarFieldEnum | Prisma.Page_blocks_filesScalarFieldEnum[];
};
/**
 * page_blocks_files findFirstOrThrow
 */
export type page_blocks_filesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter, which page_blocks_files to fetch.
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of page_blocks_files to fetch.
     */
    orderBy?: Prisma.page_blocks_filesOrderByWithRelationInput | Prisma.page_blocks_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for page_blocks_files.
     */
    cursor?: Prisma.page_blocks_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` page_blocks_files 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` page_blocks_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of page_blocks_files.
     */
    distinct?: Prisma.Page_blocks_filesScalarFieldEnum | Prisma.Page_blocks_filesScalarFieldEnum[];
};
/**
 * page_blocks_files findMany
 */
export type page_blocks_filesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter, which page_blocks_files to fetch.
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of page_blocks_files to fetch.
     */
    orderBy?: Prisma.page_blocks_filesOrderByWithRelationInput | Prisma.page_blocks_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing page_blocks_files.
     */
    cursor?: Prisma.page_blocks_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` page_blocks_files 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` page_blocks_files.
     */
    skip?: number;
    distinct?: Prisma.Page_blocks_filesScalarFieldEnum | Prisma.Page_blocks_filesScalarFieldEnum[];
};
/**
 * page_blocks_files create
 */
export type page_blocks_filesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * The data needed to create a page_blocks_files.
     */
    data?: Prisma.XOR<Prisma.page_blocks_filesCreateInput, Prisma.page_blocks_filesUncheckedCreateInput>;
};
/**
 * page_blocks_files createMany
 */
export type page_blocks_filesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many page_blocks_files.
     */
    data: Prisma.page_blocks_filesCreateManyInput | Prisma.page_blocks_filesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * page_blocks_files createManyAndReturn
 */
export type page_blocks_filesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * The data used to create many page_blocks_files.
     */
    data: Prisma.page_blocks_filesCreateManyInput | Prisma.page_blocks_filesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * page_blocks_files update
 */
export type page_blocks_filesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * The data needed to update a page_blocks_files.
     */
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateInput, Prisma.page_blocks_filesUncheckedUpdateInput>;
    /**
     * Choose, which page_blocks_files to update.
     */
    where: Prisma.page_blocks_filesWhereUniqueInput;
};
/**
 * page_blocks_files updateMany
 */
export type page_blocks_filesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update page_blocks_files.
     */
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateManyMutationInput, Prisma.page_blocks_filesUncheckedUpdateManyInput>;
    /**
     * Filter which page_blocks_files to update
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * Limit how many page_blocks_files to update.
     */
    limit?: number;
};
/**
 * page_blocks_files updateManyAndReturn
 */
export type page_blocks_filesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * The data used to update page_blocks_files.
     */
    data: Prisma.XOR<Prisma.page_blocks_filesUpdateManyMutationInput, Prisma.page_blocks_filesUncheckedUpdateManyInput>;
    /**
     * Filter which page_blocks_files to update
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * Limit how many page_blocks_files to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * page_blocks_files upsert
 */
export type page_blocks_filesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * The filter to search for the page_blocks_files to update in case it exists.
     */
    where: Prisma.page_blocks_filesWhereUniqueInput;
    /**
     * In case the page_blocks_files found by the `where` argument doesn't exist, create a new page_blocks_files with this data.
     */
    create: Prisma.XOR<Prisma.page_blocks_filesCreateInput, Prisma.page_blocks_filesUncheckedCreateInput>;
    /**
     * In case the page_blocks_files was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.page_blocks_filesUpdateInput, Prisma.page_blocks_filesUncheckedUpdateInput>;
};
/**
 * page_blocks_files delete
 */
export type page_blocks_filesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
    /**
     * Filter which page_blocks_files to delete.
     */
    where: Prisma.page_blocks_filesWhereUniqueInput;
};
/**
 * page_blocks_files deleteMany
 */
export type page_blocks_filesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which page_blocks_files to delete
     */
    where?: Prisma.page_blocks_filesWhereInput;
    /**
     * Limit how many page_blocks_files to delete.
     */
    limit?: number;
};
/**
 * page_blocks_files.directus_files
 */
export type page_blocks_files$directus_filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_files
     */
    select?: Prisma.directus_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_files
     */
    omit?: Prisma.directus_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_filesInclude<ExtArgs> | null;
    where?: Prisma.directus_filesWhereInput;
};
/**
 * page_blocks_files.page_blocks
 */
export type page_blocks_files$page_blocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks
     */
    select?: Prisma.page_blocksSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks
     */
    omit?: Prisma.page_blocksOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocksInclude<ExtArgs> | null;
    where?: Prisma.page_blocksWhereInput;
};
/**
 * page_blocks_files without action
 */
export type page_blocks_filesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the page_blocks_files
     */
    select?: Prisma.page_blocks_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the page_blocks_files
     */
    omit?: Prisma.page_blocks_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.page_blocks_filesInclude<ExtArgs> | null;
};
export {};
