import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model space_types
 * 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 space_typesModel = runtime.Types.Result.DefaultSelection<Prisma.$space_typesPayload>;
export type AggregateSpace_types = {
    _count: Space_typesCountAggregateOutputType | null;
    _avg: Space_typesAvgAggregateOutputType | null;
    _sum: Space_typesSumAggregateOutputType | null;
    _min: Space_typesMinAggregateOutputType | null;
    _max: Space_typesMaxAggregateOutputType | null;
};
export type Space_typesAvgAggregateOutputType = {
    id: number | null;
};
export type Space_typesSumAggregateOutputType = {
    id: number | null;
};
export type Space_typesMinAggregateOutputType = {
    id: number | null;
    name: string | null;
    slug: string | null;
    description: string | null;
    icon: string | null;
    component_path: string | null;
    layout_name: string | null;
    remote_url: string | null;
    enabled: boolean | null;
};
export type Space_typesMaxAggregateOutputType = {
    id: number | null;
    name: string | null;
    slug: string | null;
    description: string | null;
    icon: string | null;
    component_path: string | null;
    layout_name: string | null;
    remote_url: string | null;
    enabled: boolean | null;
};
export type Space_typesCountAggregateOutputType = {
    id: number;
    name: number;
    slug: number;
    allowed_content_types: number;
    default_tabs: number;
    custom_tabs: number;
    description: number;
    icon: number;
    component_path: number;
    layout_name: number;
    remote_url: number;
    enabled: number;
    _all: number;
};
export type Space_typesAvgAggregateInputType = {
    id?: true;
};
export type Space_typesSumAggregateInputType = {
    id?: true;
};
export type Space_typesMinAggregateInputType = {
    id?: true;
    name?: true;
    slug?: true;
    description?: true;
    icon?: true;
    component_path?: true;
    layout_name?: true;
    remote_url?: true;
    enabled?: true;
};
export type Space_typesMaxAggregateInputType = {
    id?: true;
    name?: true;
    slug?: true;
    description?: true;
    icon?: true;
    component_path?: true;
    layout_name?: true;
    remote_url?: true;
    enabled?: true;
};
export type Space_typesCountAggregateInputType = {
    id?: true;
    name?: true;
    slug?: true;
    allowed_content_types?: true;
    default_tabs?: true;
    custom_tabs?: true;
    description?: true;
    icon?: true;
    component_path?: true;
    layout_name?: true;
    remote_url?: true;
    enabled?: true;
    _all?: true;
};
export type Space_typesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which space_types to aggregate.
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of space_types to fetch.
     */
    orderBy?: Prisma.space_typesOrderByWithRelationInput | Prisma.space_typesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.space_typesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` space_types 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` space_types.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned space_types
    **/
    _count?: true | Space_typesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Space_typesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Space_typesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Space_typesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Space_typesMaxAggregateInputType;
};
export type GetSpace_typesAggregateType<T extends Space_typesAggregateArgs> = {
    [P in keyof T & keyof AggregateSpace_types]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSpace_types[P]> : Prisma.GetScalarType<T[P], AggregateSpace_types[P]>;
};
export type space_typesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.space_typesWhereInput;
    orderBy?: Prisma.space_typesOrderByWithAggregationInput | Prisma.space_typesOrderByWithAggregationInput[];
    by: Prisma.Space_typesScalarFieldEnum[] | Prisma.Space_typesScalarFieldEnum;
    having?: Prisma.space_typesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Space_typesCountAggregateInputType | true;
    _avg?: Space_typesAvgAggregateInputType;
    _sum?: Space_typesSumAggregateInputType;
    _min?: Space_typesMinAggregateInputType;
    _max?: Space_typesMaxAggregateInputType;
};
export type Space_typesGroupByOutputType = {
    id: number;
    name: string | null;
    slug: string | null;
    allowed_content_types: runtime.JsonValue | null;
    default_tabs: runtime.JsonValue | null;
    custom_tabs: runtime.JsonValue | null;
    description: string | null;
    icon: string | null;
    component_path: string | null;
    layout_name: string | null;
    remote_url: string | null;
    enabled: boolean | null;
    _count: Space_typesCountAggregateOutputType | null;
    _avg: Space_typesAvgAggregateOutputType | null;
    _sum: Space_typesSumAggregateOutputType | null;
    _min: Space_typesMinAggregateOutputType | null;
    _max: Space_typesMaxAggregateOutputType | null;
};
type GetSpace_typesGroupByPayload<T extends space_typesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Space_typesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Space_typesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Space_typesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Space_typesGroupByOutputType[P]>;
}>>;
export type space_typesWhereInput = {
    AND?: Prisma.space_typesWhereInput | Prisma.space_typesWhereInput[];
    OR?: Prisma.space_typesWhereInput[];
    NOT?: Prisma.space_typesWhereInput | Prisma.space_typesWhereInput[];
    id?: Prisma.IntFilter<"space_types"> | number;
    name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    slug?: Prisma.StringNullableFilter<"space_types"> | string | null;
    allowed_content_types?: Prisma.JsonNullableFilter<"space_types">;
    default_tabs?: Prisma.JsonNullableFilter<"space_types">;
    custom_tabs?: Prisma.JsonNullableFilter<"space_types">;
    description?: Prisma.StringNullableFilter<"space_types"> | string | null;
    icon?: Prisma.UuidNullableFilter<"space_types"> | string | null;
    component_path?: Prisma.StringNullableFilter<"space_types"> | string | null;
    layout_name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    remote_url?: Prisma.StringNullableFilter<"space_types"> | string | null;
    enabled?: Prisma.BoolNullableFilter<"space_types"> | boolean | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    spaces_space_types?: Prisma.Spaces_space_typesListRelationFilter;
    templates_space_types?: Prisma.Templates_space_typesListRelationFilter;
};
export type space_typesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    slug?: Prisma.SortOrderInput | Prisma.SortOrder;
    allowed_content_types?: Prisma.SortOrderInput | Prisma.SortOrder;
    default_tabs?: Prisma.SortOrderInput | Prisma.SortOrder;
    custom_tabs?: Prisma.SortOrderInput | Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    icon?: Prisma.SortOrderInput | Prisma.SortOrder;
    component_path?: Prisma.SortOrderInput | Prisma.SortOrder;
    layout_name?: Prisma.SortOrderInput | Prisma.SortOrder;
    remote_url?: Prisma.SortOrderInput | Prisma.SortOrder;
    enabled?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files?: Prisma.directus_filesOrderByWithRelationInput;
    spaces_space_types?: Prisma.spaces_space_typesOrderByRelationAggregateInput;
    templates_space_types?: Prisma.templates_space_typesOrderByRelationAggregateInput;
};
export type space_typesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.space_typesWhereInput | Prisma.space_typesWhereInput[];
    OR?: Prisma.space_typesWhereInput[];
    NOT?: Prisma.space_typesWhereInput | Prisma.space_typesWhereInput[];
    name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    slug?: Prisma.StringNullableFilter<"space_types"> | string | null;
    allowed_content_types?: Prisma.JsonNullableFilter<"space_types">;
    default_tabs?: Prisma.JsonNullableFilter<"space_types">;
    custom_tabs?: Prisma.JsonNullableFilter<"space_types">;
    description?: Prisma.StringNullableFilter<"space_types"> | string | null;
    icon?: Prisma.UuidNullableFilter<"space_types"> | string | null;
    component_path?: Prisma.StringNullableFilter<"space_types"> | string | null;
    layout_name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    remote_url?: Prisma.StringNullableFilter<"space_types"> | string | null;
    enabled?: Prisma.BoolNullableFilter<"space_types"> | boolean | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    spaces_space_types?: Prisma.Spaces_space_typesListRelationFilter;
    templates_space_types?: Prisma.Templates_space_typesListRelationFilter;
}, "id">;
export type space_typesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    slug?: Prisma.SortOrderInput | Prisma.SortOrder;
    allowed_content_types?: Prisma.SortOrderInput | Prisma.SortOrder;
    default_tabs?: Prisma.SortOrderInput | Prisma.SortOrder;
    custom_tabs?: Prisma.SortOrderInput | Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    icon?: Prisma.SortOrderInput | Prisma.SortOrder;
    component_path?: Prisma.SortOrderInput | Prisma.SortOrder;
    layout_name?: Prisma.SortOrderInput | Prisma.SortOrder;
    remote_url?: Prisma.SortOrderInput | Prisma.SortOrder;
    enabled?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.space_typesCountOrderByAggregateInput;
    _avg?: Prisma.space_typesAvgOrderByAggregateInput;
    _max?: Prisma.space_typesMaxOrderByAggregateInput;
    _min?: Prisma.space_typesMinOrderByAggregateInput;
    _sum?: Prisma.space_typesSumOrderByAggregateInput;
};
export type space_typesScalarWhereWithAggregatesInput = {
    AND?: Prisma.space_typesScalarWhereWithAggregatesInput | Prisma.space_typesScalarWhereWithAggregatesInput[];
    OR?: Prisma.space_typesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.space_typesScalarWhereWithAggregatesInput | Prisma.space_typesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"space_types"> | number;
    name?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    slug?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    allowed_content_types?: Prisma.JsonNullableWithAggregatesFilter<"space_types">;
    default_tabs?: Prisma.JsonNullableWithAggregatesFilter<"space_types">;
    custom_tabs?: Prisma.JsonNullableWithAggregatesFilter<"space_types">;
    description?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    icon?: Prisma.UuidNullableWithAggregatesFilter<"space_types"> | string | null;
    component_path?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    layout_name?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    remote_url?: Prisma.StringNullableWithAggregatesFilter<"space_types"> | string | null;
    enabled?: Prisma.BoolNullableWithAggregatesFilter<"space_types"> | boolean | null;
};
export type space_typesCreateInput = {
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutSpace_typesInput;
    spaces_space_types?: Prisma.spaces_space_typesCreateNestedManyWithoutSpace_typesInput;
    templates_space_types?: Prisma.templates_space_typesCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesUncheckedCreateInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    icon?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
    templates_space_types?: Prisma.templates_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesUpdateInput = {
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    directus_files?: Prisma.directus_filesUpdateOneWithoutSpace_typesNestedInput;
    spaces_space_types?: Prisma.spaces_space_typesUpdateManyWithoutSpace_typesNestedInput;
    templates_space_types?: Prisma.templates_space_typesUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
    templates_space_types?: Prisma.templates_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesCreateManyInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    icon?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
};
export type space_typesUpdateManyMutationInput = {
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
};
export type space_typesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
};
export type Space_typesListRelationFilter = {
    every?: Prisma.space_typesWhereInput;
    some?: Prisma.space_typesWhereInput;
    none?: Prisma.space_typesWhereInput;
};
export type space_typesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type space_typesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    slug?: Prisma.SortOrder;
    allowed_content_types?: Prisma.SortOrder;
    default_tabs?: Prisma.SortOrder;
    custom_tabs?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    component_path?: Prisma.SortOrder;
    layout_name?: Prisma.SortOrder;
    remote_url?: Prisma.SortOrder;
    enabled?: Prisma.SortOrder;
};
export type space_typesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type space_typesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    slug?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    component_path?: Prisma.SortOrder;
    layout_name?: Prisma.SortOrder;
    remote_url?: Prisma.SortOrder;
    enabled?: Prisma.SortOrder;
};
export type space_typesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    slug?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    component_path?: Prisma.SortOrder;
    layout_name?: Prisma.SortOrder;
    remote_url?: Prisma.SortOrder;
    enabled?: Prisma.SortOrder;
};
export type space_typesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type Space_typesNullableScalarRelationFilter = {
    is?: Prisma.space_typesWhereInput | null;
    isNot?: Prisma.space_typesWhereInput | null;
};
export type space_typesCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput> | Prisma.space_typesCreateWithoutDirectus_filesInput[] | Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput | Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.space_typesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
};
export type space_typesUncheckedCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput> | Prisma.space_typesCreateWithoutDirectus_filesInput[] | Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput | Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.space_typesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
};
export type space_typesUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput> | Prisma.space_typesCreateWithoutDirectus_filesInput[] | Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput | Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.space_typesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.space_typesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.space_typesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    disconnect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    delete?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    connect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    update?: Prisma.space_typesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.space_typesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.space_typesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.space_typesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.space_typesScalarWhereInput | Prisma.space_typesScalarWhereInput[];
};
export type space_typesUncheckedUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput> | Prisma.space_typesCreateWithoutDirectus_filesInput[] | Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput | Prisma.space_typesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.space_typesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.space_typesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.space_typesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    disconnect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    delete?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    connect?: Prisma.space_typesWhereUniqueInput | Prisma.space_typesWhereUniqueInput[];
    update?: Prisma.space_typesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.space_typesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.space_typesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.space_typesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.space_typesScalarWhereInput | Prisma.space_typesScalarWhereInput[];
};
export type space_typesCreateNestedOneWithoutSpaces_space_typesInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedCreateWithoutSpaces_space_typesInput>;
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutSpaces_space_typesInput;
    connect?: Prisma.space_typesWhereUniqueInput;
};
export type space_typesUpdateOneWithoutSpaces_space_typesNestedInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedCreateWithoutSpaces_space_typesInput>;
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutSpaces_space_typesInput;
    upsert?: Prisma.space_typesUpsertWithoutSpaces_space_typesInput;
    disconnect?: Prisma.space_typesWhereInput | boolean;
    delete?: Prisma.space_typesWhereInput | boolean;
    connect?: Prisma.space_typesWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.space_typesUpdateToOneWithWhereWithoutSpaces_space_typesInput, Prisma.space_typesUpdateWithoutSpaces_space_typesInput>, Prisma.space_typesUncheckedUpdateWithoutSpaces_space_typesInput>;
};
export type space_typesCreateNestedOneWithoutTemplates_space_typesInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedCreateWithoutTemplates_space_typesInput>;
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutTemplates_space_typesInput;
    connect?: Prisma.space_typesWhereUniqueInput;
};
export type space_typesUpdateOneWithoutTemplates_space_typesNestedInput = {
    create?: Prisma.XOR<Prisma.space_typesCreateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedCreateWithoutTemplates_space_typesInput>;
    connectOrCreate?: Prisma.space_typesCreateOrConnectWithoutTemplates_space_typesInput;
    upsert?: Prisma.space_typesUpsertWithoutTemplates_space_typesInput;
    disconnect?: Prisma.space_typesWhereInput | boolean;
    delete?: Prisma.space_typesWhereInput | boolean;
    connect?: Prisma.space_typesWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.space_typesUpdateToOneWithWhereWithoutTemplates_space_typesInput, Prisma.space_typesUpdateWithoutTemplates_space_typesInput>, Prisma.space_typesUncheckedUpdateWithoutTemplates_space_typesInput>;
};
export type space_typesCreateWithoutDirectus_filesInput = {
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesCreateNestedManyWithoutSpace_typesInput;
    templates_space_types?: Prisma.templates_space_typesCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesUncheckedCreateWithoutDirectus_filesInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
    templates_space_types?: Prisma.templates_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesCreateOrConnectWithoutDirectus_filesInput = {
    where: Prisma.space_typesWhereUniqueInput;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput>;
};
export type space_typesCreateManyDirectus_filesInputEnvelope = {
    data: Prisma.space_typesCreateManyDirectus_filesInput | Prisma.space_typesCreateManyDirectus_filesInput[];
    skipDuplicates?: boolean;
};
export type space_typesUpsertWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.space_typesWhereUniqueInput;
    update: Prisma.XOR<Prisma.space_typesUpdateWithoutDirectus_filesInput, Prisma.space_typesUncheckedUpdateWithoutDirectus_filesInput>;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutDirectus_filesInput, Prisma.space_typesUncheckedCreateWithoutDirectus_filesInput>;
};
export type space_typesUpdateWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.space_typesWhereUniqueInput;
    data: Prisma.XOR<Prisma.space_typesUpdateWithoutDirectus_filesInput, Prisma.space_typesUncheckedUpdateWithoutDirectus_filesInput>;
};
export type space_typesUpdateManyWithWhereWithoutDirectus_filesInput = {
    where: Prisma.space_typesScalarWhereInput;
    data: Prisma.XOR<Prisma.space_typesUpdateManyMutationInput, Prisma.space_typesUncheckedUpdateManyWithoutDirectus_filesInput>;
};
export type space_typesScalarWhereInput = {
    AND?: Prisma.space_typesScalarWhereInput | Prisma.space_typesScalarWhereInput[];
    OR?: Prisma.space_typesScalarWhereInput[];
    NOT?: Prisma.space_typesScalarWhereInput | Prisma.space_typesScalarWhereInput[];
    id?: Prisma.IntFilter<"space_types"> | number;
    name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    slug?: Prisma.StringNullableFilter<"space_types"> | string | null;
    allowed_content_types?: Prisma.JsonNullableFilter<"space_types">;
    default_tabs?: Prisma.JsonNullableFilter<"space_types">;
    custom_tabs?: Prisma.JsonNullableFilter<"space_types">;
    description?: Prisma.StringNullableFilter<"space_types"> | string | null;
    icon?: Prisma.UuidNullableFilter<"space_types"> | string | null;
    component_path?: Prisma.StringNullableFilter<"space_types"> | string | null;
    layout_name?: Prisma.StringNullableFilter<"space_types"> | string | null;
    remote_url?: Prisma.StringNullableFilter<"space_types"> | string | null;
    enabled?: Prisma.BoolNullableFilter<"space_types"> | boolean | null;
};
export type space_typesCreateWithoutSpaces_space_typesInput = {
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutSpace_typesInput;
    templates_space_types?: Prisma.templates_space_typesCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesUncheckedCreateWithoutSpaces_space_typesInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    icon?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    templates_space_types?: Prisma.templates_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesCreateOrConnectWithoutSpaces_space_typesInput = {
    where: Prisma.space_typesWhereUniqueInput;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedCreateWithoutSpaces_space_typesInput>;
};
export type space_typesUpsertWithoutSpaces_space_typesInput = {
    update: Prisma.XOR<Prisma.space_typesUpdateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedUpdateWithoutSpaces_space_typesInput>;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedCreateWithoutSpaces_space_typesInput>;
    where?: Prisma.space_typesWhereInput;
};
export type space_typesUpdateToOneWithWhereWithoutSpaces_space_typesInput = {
    where?: Prisma.space_typesWhereInput;
    data: Prisma.XOR<Prisma.space_typesUpdateWithoutSpaces_space_typesInput, Prisma.space_typesUncheckedUpdateWithoutSpaces_space_typesInput>;
};
export type space_typesUpdateWithoutSpaces_space_typesInput = {
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    directus_files?: Prisma.directus_filesUpdateOneWithoutSpace_typesNestedInput;
    templates_space_types?: Prisma.templates_space_typesUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesUncheckedUpdateWithoutSpaces_space_typesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    templates_space_types?: Prisma.templates_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesCreateWithoutTemplates_space_typesInput = {
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutSpace_typesInput;
    spaces_space_types?: Prisma.spaces_space_typesCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesUncheckedCreateWithoutTemplates_space_typesInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    icon?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedCreateNestedManyWithoutSpace_typesInput;
};
export type space_typesCreateOrConnectWithoutTemplates_space_typesInput = {
    where: Prisma.space_typesWhereUniqueInput;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedCreateWithoutTemplates_space_typesInput>;
};
export type space_typesUpsertWithoutTemplates_space_typesInput = {
    update: Prisma.XOR<Prisma.space_typesUpdateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedUpdateWithoutTemplates_space_typesInput>;
    create: Prisma.XOR<Prisma.space_typesCreateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedCreateWithoutTemplates_space_typesInput>;
    where?: Prisma.space_typesWhereInput;
};
export type space_typesUpdateToOneWithWhereWithoutTemplates_space_typesInput = {
    where?: Prisma.space_typesWhereInput;
    data: Prisma.XOR<Prisma.space_typesUpdateWithoutTemplates_space_typesInput, Prisma.space_typesUncheckedUpdateWithoutTemplates_space_typesInput>;
};
export type space_typesUpdateWithoutTemplates_space_typesInput = {
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    directus_files?: Prisma.directus_filesUpdateOneWithoutSpace_typesNestedInput;
    spaces_space_types?: Prisma.spaces_space_typesUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesUncheckedUpdateWithoutTemplates_space_typesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesCreateManyDirectus_filesInput = {
    id?: number;
    name?: string | null;
    slug?: string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: string | null;
    component_path?: string | null;
    layout_name?: string | null;
    remote_url?: string | null;
    enabled?: boolean | null;
};
export type space_typesUpdateWithoutDirectus_filesInput = {
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUpdateManyWithoutSpace_typesNestedInput;
    templates_space_types?: Prisma.templates_space_typesUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesUncheckedUpdateWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    spaces_space_types?: Prisma.spaces_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
    templates_space_types?: Prisma.templates_space_typesUncheckedUpdateManyWithoutSpace_typesNestedInput;
};
export type space_typesUncheckedUpdateManyWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    allowed_content_types?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    default_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    custom_tabs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    component_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    layout_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    remote_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enabled?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
};
/**
 * Count Type Space_typesCountOutputType
 */
export type Space_typesCountOutputType = {
    spaces_space_types: number;
    templates_space_types: number;
};
export type Space_typesCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    spaces_space_types?: boolean | Space_typesCountOutputTypeCountSpaces_space_typesArgs;
    templates_space_types?: boolean | Space_typesCountOutputTypeCountTemplates_space_typesArgs;
};
/**
 * Space_typesCountOutputType without action
 */
export type Space_typesCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_typesCountOutputType
     */
    select?: Prisma.Space_typesCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * Space_typesCountOutputType without action
 */
export type Space_typesCountOutputTypeCountSpaces_space_typesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.spaces_space_typesWhereInput;
};
/**
 * Space_typesCountOutputType without action
 */
export type Space_typesCountOutputTypeCountTemplates_space_typesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.templates_space_typesWhereInput;
};
export type space_typesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    slug?: boolean;
    allowed_content_types?: boolean;
    default_tabs?: boolean;
    custom_tabs?: boolean;
    description?: boolean;
    icon?: boolean;
    component_path?: boolean;
    layout_name?: boolean;
    remote_url?: boolean;
    enabled?: boolean;
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
    spaces_space_types?: boolean | Prisma.space_types$spaces_space_typesArgs<ExtArgs>;
    templates_space_types?: boolean | Prisma.space_types$templates_space_typesArgs<ExtArgs>;
    _count?: boolean | Prisma.Space_typesCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["space_types"]>;
export type space_typesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    slug?: boolean;
    allowed_content_types?: boolean;
    default_tabs?: boolean;
    custom_tabs?: boolean;
    description?: boolean;
    icon?: boolean;
    component_path?: boolean;
    layout_name?: boolean;
    remote_url?: boolean;
    enabled?: boolean;
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
}, ExtArgs["result"]["space_types"]>;
export type space_typesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    slug?: boolean;
    allowed_content_types?: boolean;
    default_tabs?: boolean;
    custom_tabs?: boolean;
    description?: boolean;
    icon?: boolean;
    component_path?: boolean;
    layout_name?: boolean;
    remote_url?: boolean;
    enabled?: boolean;
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
}, ExtArgs["result"]["space_types"]>;
export type space_typesSelectScalar = {
    id?: boolean;
    name?: boolean;
    slug?: boolean;
    allowed_content_types?: boolean;
    default_tabs?: boolean;
    custom_tabs?: boolean;
    description?: boolean;
    icon?: boolean;
    component_path?: boolean;
    layout_name?: boolean;
    remote_url?: boolean;
    enabled?: boolean;
};
export type space_typesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slug" | "allowed_content_types" | "default_tabs" | "custom_tabs" | "description" | "icon" | "component_path" | "layout_name" | "remote_url" | "enabled", ExtArgs["result"]["space_types"]>;
export type space_typesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
    spaces_space_types?: boolean | Prisma.space_types$spaces_space_typesArgs<ExtArgs>;
    templates_space_types?: boolean | Prisma.space_types$templates_space_typesArgs<ExtArgs>;
    _count?: boolean | Prisma.Space_typesCountOutputTypeDefaultArgs<ExtArgs>;
};
export type space_typesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
};
export type space_typesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.space_types$directus_filesArgs<ExtArgs>;
};
export type $space_typesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "space_types";
    objects: {
        directus_files: Prisma.$directus_filesPayload<ExtArgs> | null;
        spaces_space_types: Prisma.$spaces_space_typesPayload<ExtArgs>[];
        templates_space_types: Prisma.$templates_space_typesPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        name: string | null;
        slug: string | null;
        allowed_content_types: runtime.JsonValue | null;
        default_tabs: runtime.JsonValue | null;
        custom_tabs: runtime.JsonValue | null;
        description: string | null;
        icon: string | null;
        component_path: string | null;
        layout_name: string | null;
        remote_url: string | null;
        enabled: boolean | null;
    }, ExtArgs["result"]["space_types"]>;
    composites: {};
};
export type space_typesGetPayload<S extends boolean | null | undefined | space_typesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$space_typesPayload, S>;
export type space_typesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<space_typesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Space_typesCountAggregateInputType | true;
};
export interface space_typesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['space_types'];
        meta: {
            name: 'space_types';
        };
    };
    /**
     * Find zero or one Space_types that matches the filter.
     * @param {space_typesFindUniqueArgs} args - Arguments to find a Space_types
     * @example
     * // Get one Space_types
     * const space_types = await prisma.space_types.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends space_typesFindUniqueArgs>(args: Prisma.SelectSubset<T, space_typesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Space_types that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {space_typesFindUniqueOrThrowArgs} args - Arguments to find a Space_types
     * @example
     * // Get one Space_types
     * const space_types = await prisma.space_types.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends space_typesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, space_typesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Space_types 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 {space_typesFindFirstArgs} args - Arguments to find a Space_types
     * @example
     * // Get one Space_types
     * const space_types = await prisma.space_types.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends space_typesFindFirstArgs>(args?: Prisma.SelectSubset<T, space_typesFindFirstArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Space_types 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 {space_typesFindFirstOrThrowArgs} args - Arguments to find a Space_types
     * @example
     * // Get one Space_types
     * const space_types = await prisma.space_types.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends space_typesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, space_typesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Space_types 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 {space_typesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Space_types
     * const space_types = await prisma.space_types.findMany()
     *
     * // Get first 10 Space_types
     * const space_types = await prisma.space_types.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const space_typesWithIdOnly = await prisma.space_types.findMany({ select: { id: true } })
     *
     */
    findMany<T extends space_typesFindManyArgs>(args?: Prisma.SelectSubset<T, space_typesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Space_types.
     * @param {space_typesCreateArgs} args - Arguments to create a Space_types.
     * @example
     * // Create one Space_types
     * const Space_types = await prisma.space_types.create({
     *   data: {
     *     // ... data to create a Space_types
     *   }
     * })
     *
     */
    create<T extends space_typesCreateArgs>(args: Prisma.SelectSubset<T, space_typesCreateArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Space_types.
     * @param {space_typesCreateManyArgs} args - Arguments to create many Space_types.
     * @example
     * // Create many Space_types
     * const space_types = await prisma.space_types.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends space_typesCreateManyArgs>(args?: Prisma.SelectSubset<T, space_typesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Space_types and returns the data saved in the database.
     * @param {space_typesCreateManyAndReturnArgs} args - Arguments to create many Space_types.
     * @example
     * // Create many Space_types
     * const space_types = await prisma.space_types.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Space_types and only return the `id`
     * const space_typesWithIdOnly = await prisma.space_types.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 space_typesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, space_typesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Space_types.
     * @param {space_typesDeleteArgs} args - Arguments to delete one Space_types.
     * @example
     * // Delete one Space_types
     * const Space_types = await prisma.space_types.delete({
     *   where: {
     *     // ... filter to delete one Space_types
     *   }
     * })
     *
     */
    delete<T extends space_typesDeleteArgs>(args: Prisma.SelectSubset<T, space_typesDeleteArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Space_types.
     * @param {space_typesUpdateArgs} args - Arguments to update one Space_types.
     * @example
     * // Update one Space_types
     * const space_types = await prisma.space_types.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends space_typesUpdateArgs>(args: Prisma.SelectSubset<T, space_typesUpdateArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Space_types.
     * @param {space_typesDeleteManyArgs} args - Arguments to filter Space_types to delete.
     * @example
     * // Delete a few Space_types
     * const { count } = await prisma.space_types.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends space_typesDeleteManyArgs>(args?: Prisma.SelectSubset<T, space_typesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Space_types.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {space_typesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Space_types
     * const space_types = await prisma.space_types.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends space_typesUpdateManyArgs>(args: Prisma.SelectSubset<T, space_typesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Space_types and returns the data updated in the database.
     * @param {space_typesUpdateManyAndReturnArgs} args - Arguments to update many Space_types.
     * @example
     * // Update many Space_types
     * const space_types = await prisma.space_types.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Space_types and only return the `id`
     * const space_typesWithIdOnly = await prisma.space_types.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 space_typesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, space_typesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Space_types.
     * @param {space_typesUpsertArgs} args - Arguments to update or create a Space_types.
     * @example
     * // Update or create a Space_types
     * const space_types = await prisma.space_types.upsert({
     *   create: {
     *     // ... data to create a Space_types
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Space_types we want to update
     *   }
     * })
     */
    upsert<T extends space_typesUpsertArgs>(args: Prisma.SelectSubset<T, space_typesUpsertArgs<ExtArgs>>): Prisma.Prisma__space_typesClient<runtime.Types.Result.GetResult<Prisma.$space_typesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Space_types.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {space_typesCountArgs} args - Arguments to filter Space_types to count.
     * @example
     * // Count the number of Space_types
     * const count = await prisma.space_types.count({
     *   where: {
     *     // ... the filter for the Space_types we want to count
     *   }
     * })
    **/
    count<T extends space_typesCountArgs>(args?: Prisma.Subset<T, space_typesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Space_typesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Space_types.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_typesAggregateArgs} 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 Space_typesAggregateArgs>(args: Prisma.Subset<T, Space_typesAggregateArgs>): Prisma.PrismaPromise<GetSpace_typesAggregateType<T>>;
    /**
     * Group by Space_types.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {space_typesGroupByArgs} 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 space_typesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: space_typesGroupByArgs['orderBy'];
    } : {
        orderBy?: space_typesGroupByArgs['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, space_typesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSpace_typesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the space_types model
     */
    readonly fields: space_typesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for space_types.
 * 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__space_typesClient<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.space_types$directus_filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.space_types$directus_filesArgs<ExtArgs>>): Prisma.Prisma__directus_filesClient<runtime.Types.Result.GetResult<Prisma.$directus_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    spaces_space_types<T extends Prisma.space_types$spaces_space_typesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.space_types$spaces_space_typesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_space_typesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    templates_space_types<T extends Prisma.space_types$templates_space_typesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.space_types$templates_space_typesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$templates_space_typesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    /**
     * 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 space_types model
 */
export interface space_typesFieldRefs {
    readonly id: Prisma.FieldRef<"space_types", 'Int'>;
    readonly name: Prisma.FieldRef<"space_types", 'String'>;
    readonly slug: Prisma.FieldRef<"space_types", 'String'>;
    readonly allowed_content_types: Prisma.FieldRef<"space_types", 'Json'>;
    readonly default_tabs: Prisma.FieldRef<"space_types", 'Json'>;
    readonly custom_tabs: Prisma.FieldRef<"space_types", 'Json'>;
    readonly description: Prisma.FieldRef<"space_types", 'String'>;
    readonly icon: Prisma.FieldRef<"space_types", 'String'>;
    readonly component_path: Prisma.FieldRef<"space_types", 'String'>;
    readonly layout_name: Prisma.FieldRef<"space_types", 'String'>;
    readonly remote_url: Prisma.FieldRef<"space_types", 'String'>;
    readonly enabled: Prisma.FieldRef<"space_types", 'Boolean'>;
}
/**
 * space_types findUnique
 */
export type space_typesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter, which space_types to fetch.
     */
    where: Prisma.space_typesWhereUniqueInput;
};
/**
 * space_types findUniqueOrThrow
 */
export type space_typesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter, which space_types to fetch.
     */
    where: Prisma.space_typesWhereUniqueInput;
};
/**
 * space_types findFirst
 */
export type space_typesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter, which space_types to fetch.
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of space_types to fetch.
     */
    orderBy?: Prisma.space_typesOrderByWithRelationInput | Prisma.space_typesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for space_types.
     */
    cursor?: Prisma.space_typesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` space_types 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` space_types.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of space_types.
     */
    distinct?: Prisma.Space_typesScalarFieldEnum | Prisma.Space_typesScalarFieldEnum[];
};
/**
 * space_types findFirstOrThrow
 */
export type space_typesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter, which space_types to fetch.
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of space_types to fetch.
     */
    orderBy?: Prisma.space_typesOrderByWithRelationInput | Prisma.space_typesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for space_types.
     */
    cursor?: Prisma.space_typesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` space_types 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` space_types.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of space_types.
     */
    distinct?: Prisma.Space_typesScalarFieldEnum | Prisma.Space_typesScalarFieldEnum[];
};
/**
 * space_types findMany
 */
export type space_typesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter, which space_types to fetch.
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of space_types to fetch.
     */
    orderBy?: Prisma.space_typesOrderByWithRelationInput | Prisma.space_typesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing space_types.
     */
    cursor?: Prisma.space_typesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` space_types 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` space_types.
     */
    skip?: number;
    distinct?: Prisma.Space_typesScalarFieldEnum | Prisma.Space_typesScalarFieldEnum[];
};
/**
 * space_types create
 */
export type space_typesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * The data needed to create a space_types.
     */
    data?: Prisma.XOR<Prisma.space_typesCreateInput, Prisma.space_typesUncheckedCreateInput>;
};
/**
 * space_types createMany
 */
export type space_typesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many space_types.
     */
    data: Prisma.space_typesCreateManyInput | Prisma.space_typesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * space_types createManyAndReturn
 */
export type space_typesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * The data used to create many space_types.
     */
    data: Prisma.space_typesCreateManyInput | Prisma.space_typesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * space_types update
 */
export type space_typesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * The data needed to update a space_types.
     */
    data: Prisma.XOR<Prisma.space_typesUpdateInput, Prisma.space_typesUncheckedUpdateInput>;
    /**
     * Choose, which space_types to update.
     */
    where: Prisma.space_typesWhereUniqueInput;
};
/**
 * space_types updateMany
 */
export type space_typesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update space_types.
     */
    data: Prisma.XOR<Prisma.space_typesUpdateManyMutationInput, Prisma.space_typesUncheckedUpdateManyInput>;
    /**
     * Filter which space_types to update
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * Limit how many space_types to update.
     */
    limit?: number;
};
/**
 * space_types updateManyAndReturn
 */
export type space_typesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * The data used to update space_types.
     */
    data: Prisma.XOR<Prisma.space_typesUpdateManyMutationInput, Prisma.space_typesUncheckedUpdateManyInput>;
    /**
     * Filter which space_types to update
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * Limit how many space_types to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * space_types upsert
 */
export type space_typesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * The filter to search for the space_types to update in case it exists.
     */
    where: Prisma.space_typesWhereUniqueInput;
    /**
     * In case the space_types found by the `where` argument doesn't exist, create a new space_types with this data.
     */
    create: Prisma.XOR<Prisma.space_typesCreateInput, Prisma.space_typesUncheckedCreateInput>;
    /**
     * In case the space_types was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.space_typesUpdateInput, Prisma.space_typesUncheckedUpdateInput>;
};
/**
 * space_types delete
 */
export type space_typesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
    /**
     * Filter which space_types to delete.
     */
    where: Prisma.space_typesWhereUniqueInput;
};
/**
 * space_types deleteMany
 */
export type space_typesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which space_types to delete
     */
    where?: Prisma.space_typesWhereInput;
    /**
     * Limit how many space_types to delete.
     */
    limit?: number;
};
/**
 * space_types.directus_files
 */
export type space_types$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;
};
/**
 * space_types.spaces_space_types
 */
export type space_types$spaces_space_typesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_space_types
     */
    select?: Prisma.spaces_space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_space_types
     */
    omit?: Prisma.spaces_space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_space_typesInclude<ExtArgs> | null;
    where?: Prisma.spaces_space_typesWhereInput;
    orderBy?: Prisma.spaces_space_typesOrderByWithRelationInput | Prisma.spaces_space_typesOrderByWithRelationInput[];
    cursor?: Prisma.spaces_space_typesWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Spaces_space_typesScalarFieldEnum | Prisma.Spaces_space_typesScalarFieldEnum[];
};
/**
 * space_types.templates_space_types
 */
export type space_types$templates_space_typesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the templates_space_types
     */
    select?: Prisma.templates_space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the templates_space_types
     */
    omit?: Prisma.templates_space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.templates_space_typesInclude<ExtArgs> | null;
    where?: Prisma.templates_space_typesWhereInput;
    orderBy?: Prisma.templates_space_typesOrderByWithRelationInput | Prisma.templates_space_typesOrderByWithRelationInput[];
    cursor?: Prisma.templates_space_typesWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Templates_space_typesScalarFieldEnum | Prisma.Templates_space_typesScalarFieldEnum[];
};
/**
 * space_types without action
 */
export type space_typesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the space_types
     */
    select?: Prisma.space_typesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the space_types
     */
    omit?: Prisma.space_typesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.space_typesInclude<ExtArgs> | null;
};
export {};
