import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model directus_fields
 * 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 directus_fieldsModel = runtime.Types.Result.DefaultSelection<Prisma.$directus_fieldsPayload>;
export type AggregateDirectus_fields = {
    _count: Directus_fieldsCountAggregateOutputType | null;
    _avg: Directus_fieldsAvgAggregateOutputType | null;
    _sum: Directus_fieldsSumAggregateOutputType | null;
    _min: Directus_fieldsMinAggregateOutputType | null;
    _max: Directus_fieldsMaxAggregateOutputType | null;
};
export type Directus_fieldsAvgAggregateOutputType = {
    id: number | null;
    sort: number | null;
};
export type Directus_fieldsSumAggregateOutputType = {
    id: number | null;
    sort: number | null;
};
export type Directus_fieldsMinAggregateOutputType = {
    id: number | null;
    collection: string | null;
    field: string | null;
    special: string | null;
    interface: string | null;
    display: string | null;
    readonly: boolean | null;
    hidden: boolean | null;
    sort: number | null;
    width: string | null;
    note: string | null;
    required: boolean | null;
    group: string | null;
    validation_message: string | null;
    searchable: boolean | null;
};
export type Directus_fieldsMaxAggregateOutputType = {
    id: number | null;
    collection: string | null;
    field: string | null;
    special: string | null;
    interface: string | null;
    display: string | null;
    readonly: boolean | null;
    hidden: boolean | null;
    sort: number | null;
    width: string | null;
    note: string | null;
    required: boolean | null;
    group: string | null;
    validation_message: string | null;
    searchable: boolean | null;
};
export type Directus_fieldsCountAggregateOutputType = {
    id: number;
    collection: number;
    field: number;
    special: number;
    interface: number;
    options: number;
    display: number;
    display_options: number;
    readonly: number;
    hidden: number;
    sort: number;
    width: number;
    translations: number;
    note: number;
    conditions: number;
    required: number;
    group: number;
    validation: number;
    validation_message: number;
    searchable: number;
    _all: number;
};
export type Directus_fieldsAvgAggregateInputType = {
    id?: true;
    sort?: true;
};
export type Directus_fieldsSumAggregateInputType = {
    id?: true;
    sort?: true;
};
export type Directus_fieldsMinAggregateInputType = {
    id?: true;
    collection?: true;
    field?: true;
    special?: true;
    interface?: true;
    display?: true;
    readonly?: true;
    hidden?: true;
    sort?: true;
    width?: true;
    note?: true;
    required?: true;
    group?: true;
    validation_message?: true;
    searchable?: true;
};
export type Directus_fieldsMaxAggregateInputType = {
    id?: true;
    collection?: true;
    field?: true;
    special?: true;
    interface?: true;
    display?: true;
    readonly?: true;
    hidden?: true;
    sort?: true;
    width?: true;
    note?: true;
    required?: true;
    group?: true;
    validation_message?: true;
    searchable?: true;
};
export type Directus_fieldsCountAggregateInputType = {
    id?: true;
    collection?: true;
    field?: true;
    special?: true;
    interface?: true;
    options?: true;
    display?: true;
    display_options?: true;
    readonly?: true;
    hidden?: true;
    sort?: true;
    width?: true;
    translations?: true;
    note?: true;
    conditions?: true;
    required?: true;
    group?: true;
    validation?: true;
    validation_message?: true;
    searchable?: true;
    _all?: true;
};
export type Directus_fieldsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_fields to aggregate.
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_fields to fetch.
     */
    orderBy?: Prisma.directus_fieldsOrderByWithRelationInput | Prisma.directus_fieldsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.directus_fieldsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_fields 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` directus_fields.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned directus_fields
    **/
    _count?: true | Directus_fieldsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Directus_fieldsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Directus_fieldsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Directus_fieldsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Directus_fieldsMaxAggregateInputType;
};
export type GetDirectus_fieldsAggregateType<T extends Directus_fieldsAggregateArgs> = {
    [P in keyof T & keyof AggregateDirectus_fields]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDirectus_fields[P]> : Prisma.GetScalarType<T[P], AggregateDirectus_fields[P]>;
};
export type directus_fieldsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_fieldsWhereInput;
    orderBy?: Prisma.directus_fieldsOrderByWithAggregationInput | Prisma.directus_fieldsOrderByWithAggregationInput[];
    by: Prisma.Directus_fieldsScalarFieldEnum[] | Prisma.Directus_fieldsScalarFieldEnum;
    having?: Prisma.directus_fieldsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Directus_fieldsCountAggregateInputType | true;
    _avg?: Directus_fieldsAvgAggregateInputType;
    _sum?: Directus_fieldsSumAggregateInputType;
    _min?: Directus_fieldsMinAggregateInputType;
    _max?: Directus_fieldsMaxAggregateInputType;
};
export type Directus_fieldsGroupByOutputType = {
    id: number;
    collection: string;
    field: string;
    special: string | null;
    interface: string | null;
    options: runtime.JsonValue | null;
    display: string | null;
    display_options: runtime.JsonValue | null;
    readonly: boolean;
    hidden: boolean;
    sort: number | null;
    width: string | null;
    translations: runtime.JsonValue | null;
    note: string | null;
    conditions: runtime.JsonValue | null;
    required: boolean | null;
    group: string | null;
    validation: runtime.JsonValue | null;
    validation_message: string | null;
    searchable: boolean;
    _count: Directus_fieldsCountAggregateOutputType | null;
    _avg: Directus_fieldsAvgAggregateOutputType | null;
    _sum: Directus_fieldsSumAggregateOutputType | null;
    _min: Directus_fieldsMinAggregateOutputType | null;
    _max: Directus_fieldsMaxAggregateOutputType | null;
};
type GetDirectus_fieldsGroupByPayload<T extends directus_fieldsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Directus_fieldsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Directus_fieldsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Directus_fieldsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Directus_fieldsGroupByOutputType[P]>;
}>>;
export type directus_fieldsWhereInput = {
    AND?: Prisma.directus_fieldsWhereInput | Prisma.directus_fieldsWhereInput[];
    OR?: Prisma.directus_fieldsWhereInput[];
    NOT?: Prisma.directus_fieldsWhereInput | Prisma.directus_fieldsWhereInput[];
    id?: Prisma.IntFilter<"directus_fields"> | number;
    collection?: Prisma.StringFilter<"directus_fields"> | string;
    field?: Prisma.StringFilter<"directus_fields"> | string;
    special?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    interface?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    options?: Prisma.JsonNullableFilter<"directus_fields">;
    display?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    display_options?: Prisma.JsonNullableFilter<"directus_fields">;
    readonly?: Prisma.BoolFilter<"directus_fields"> | boolean;
    hidden?: Prisma.BoolFilter<"directus_fields"> | boolean;
    sort?: Prisma.IntNullableFilter<"directus_fields"> | number | null;
    width?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    translations?: Prisma.JsonNullableFilter<"directus_fields">;
    note?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    conditions?: Prisma.JsonNullableFilter<"directus_fields">;
    required?: Prisma.BoolNullableFilter<"directus_fields"> | boolean | null;
    group?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    validation?: Prisma.JsonNullableFilter<"directus_fields">;
    validation_message?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    searchable?: Prisma.BoolFilter<"directus_fields"> | boolean;
};
export type directus_fieldsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    collection?: Prisma.SortOrder;
    field?: Prisma.SortOrder;
    special?: Prisma.SortOrderInput | Prisma.SortOrder;
    interface?: Prisma.SortOrderInput | Prisma.SortOrder;
    options?: Prisma.SortOrderInput | Prisma.SortOrder;
    display?: Prisma.SortOrderInput | Prisma.SortOrder;
    display_options?: Prisma.SortOrderInput | Prisma.SortOrder;
    readonly?: Prisma.SortOrder;
    hidden?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    width?: Prisma.SortOrderInput | Prisma.SortOrder;
    translations?: Prisma.SortOrderInput | Prisma.SortOrder;
    note?: Prisma.SortOrderInput | Prisma.SortOrder;
    conditions?: Prisma.SortOrderInput | Prisma.SortOrder;
    required?: Prisma.SortOrderInput | Prisma.SortOrder;
    group?: Prisma.SortOrderInput | Prisma.SortOrder;
    validation?: Prisma.SortOrderInput | Prisma.SortOrder;
    validation_message?: Prisma.SortOrderInput | Prisma.SortOrder;
    searchable?: Prisma.SortOrder;
};
export type directus_fieldsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.directus_fieldsWhereInput | Prisma.directus_fieldsWhereInput[];
    OR?: Prisma.directus_fieldsWhereInput[];
    NOT?: Prisma.directus_fieldsWhereInput | Prisma.directus_fieldsWhereInput[];
    collection?: Prisma.StringFilter<"directus_fields"> | string;
    field?: Prisma.StringFilter<"directus_fields"> | string;
    special?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    interface?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    options?: Prisma.JsonNullableFilter<"directus_fields">;
    display?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    display_options?: Prisma.JsonNullableFilter<"directus_fields">;
    readonly?: Prisma.BoolFilter<"directus_fields"> | boolean;
    hidden?: Prisma.BoolFilter<"directus_fields"> | boolean;
    sort?: Prisma.IntNullableFilter<"directus_fields"> | number | null;
    width?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    translations?: Prisma.JsonNullableFilter<"directus_fields">;
    note?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    conditions?: Prisma.JsonNullableFilter<"directus_fields">;
    required?: Prisma.BoolNullableFilter<"directus_fields"> | boolean | null;
    group?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    validation?: Prisma.JsonNullableFilter<"directus_fields">;
    validation_message?: Prisma.StringNullableFilter<"directus_fields"> | string | null;
    searchable?: Prisma.BoolFilter<"directus_fields"> | boolean;
}, "id">;
export type directus_fieldsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    collection?: Prisma.SortOrder;
    field?: Prisma.SortOrder;
    special?: Prisma.SortOrderInput | Prisma.SortOrder;
    interface?: Prisma.SortOrderInput | Prisma.SortOrder;
    options?: Prisma.SortOrderInput | Prisma.SortOrder;
    display?: Prisma.SortOrderInput | Prisma.SortOrder;
    display_options?: Prisma.SortOrderInput | Prisma.SortOrder;
    readonly?: Prisma.SortOrder;
    hidden?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    width?: Prisma.SortOrderInput | Prisma.SortOrder;
    translations?: Prisma.SortOrderInput | Prisma.SortOrder;
    note?: Prisma.SortOrderInput | Prisma.SortOrder;
    conditions?: Prisma.SortOrderInput | Prisma.SortOrder;
    required?: Prisma.SortOrderInput | Prisma.SortOrder;
    group?: Prisma.SortOrderInput | Prisma.SortOrder;
    validation?: Prisma.SortOrderInput | Prisma.SortOrder;
    validation_message?: Prisma.SortOrderInput | Prisma.SortOrder;
    searchable?: Prisma.SortOrder;
    _count?: Prisma.directus_fieldsCountOrderByAggregateInput;
    _avg?: Prisma.directus_fieldsAvgOrderByAggregateInput;
    _max?: Prisma.directus_fieldsMaxOrderByAggregateInput;
    _min?: Prisma.directus_fieldsMinOrderByAggregateInput;
    _sum?: Prisma.directus_fieldsSumOrderByAggregateInput;
};
export type directus_fieldsScalarWhereWithAggregatesInput = {
    AND?: Prisma.directus_fieldsScalarWhereWithAggregatesInput | Prisma.directus_fieldsScalarWhereWithAggregatesInput[];
    OR?: Prisma.directus_fieldsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.directus_fieldsScalarWhereWithAggregatesInput | Prisma.directus_fieldsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"directus_fields"> | number;
    collection?: Prisma.StringWithAggregatesFilter<"directus_fields"> | string;
    field?: Prisma.StringWithAggregatesFilter<"directus_fields"> | string;
    special?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    interface?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    options?: Prisma.JsonNullableWithAggregatesFilter<"directus_fields">;
    display?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    display_options?: Prisma.JsonNullableWithAggregatesFilter<"directus_fields">;
    readonly?: Prisma.BoolWithAggregatesFilter<"directus_fields"> | boolean;
    hidden?: Prisma.BoolWithAggregatesFilter<"directus_fields"> | boolean;
    sort?: Prisma.IntNullableWithAggregatesFilter<"directus_fields"> | number | null;
    width?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    translations?: Prisma.JsonNullableWithAggregatesFilter<"directus_fields">;
    note?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    conditions?: Prisma.JsonNullableWithAggregatesFilter<"directus_fields">;
    required?: Prisma.BoolNullableWithAggregatesFilter<"directus_fields"> | boolean | null;
    group?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    validation?: Prisma.JsonNullableWithAggregatesFilter<"directus_fields">;
    validation_message?: Prisma.StringNullableWithAggregatesFilter<"directus_fields"> | string | null;
    searchable?: Prisma.BoolWithAggregatesFilter<"directus_fields"> | boolean;
};
export type directus_fieldsCreateInput = {
    collection: string;
    field: string;
    special?: string | null;
    interface?: string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: boolean;
    hidden?: boolean;
    sort?: number | null;
    width?: string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: boolean | null;
    group?: string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: string | null;
    searchable?: boolean;
};
export type directus_fieldsUncheckedCreateInput = {
    id?: number;
    collection: string;
    field: string;
    special?: string | null;
    interface?: string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: boolean;
    hidden?: boolean;
    sort?: number | null;
    width?: string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: boolean | null;
    group?: string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: string | null;
    searchable?: boolean;
};
export type directus_fieldsUpdateInput = {
    collection?: Prisma.StringFieldUpdateOperationsInput | string;
    field?: Prisma.StringFieldUpdateOperationsInput | string;
    special?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    interface?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    width?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    group?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    searchable?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type directus_fieldsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collection?: Prisma.StringFieldUpdateOperationsInput | string;
    field?: Prisma.StringFieldUpdateOperationsInput | string;
    special?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    interface?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    width?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    group?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    searchable?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type directus_fieldsCreateManyInput = {
    id?: number;
    collection: string;
    field: string;
    special?: string | null;
    interface?: string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: boolean;
    hidden?: boolean;
    sort?: number | null;
    width?: string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: boolean | null;
    group?: string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: string | null;
    searchable?: boolean;
};
export type directus_fieldsUpdateManyMutationInput = {
    collection?: Prisma.StringFieldUpdateOperationsInput | string;
    field?: Prisma.StringFieldUpdateOperationsInput | string;
    special?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    interface?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    width?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    group?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    searchable?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type directus_fieldsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collection?: Prisma.StringFieldUpdateOperationsInput | string;
    field?: Prisma.StringFieldUpdateOperationsInput | string;
    special?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    interface?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    display?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    display_options?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    readonly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    width?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    conditions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
    group?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    validation?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    validation_message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    searchable?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type directus_fieldsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collection?: Prisma.SortOrder;
    field?: Prisma.SortOrder;
    special?: Prisma.SortOrder;
    interface?: Prisma.SortOrder;
    options?: Prisma.SortOrder;
    display?: Prisma.SortOrder;
    display_options?: Prisma.SortOrder;
    readonly?: Prisma.SortOrder;
    hidden?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    width?: Prisma.SortOrder;
    translations?: Prisma.SortOrder;
    note?: Prisma.SortOrder;
    conditions?: Prisma.SortOrder;
    required?: Prisma.SortOrder;
    group?: Prisma.SortOrder;
    validation?: Prisma.SortOrder;
    validation_message?: Prisma.SortOrder;
    searchable?: Prisma.SortOrder;
};
export type directus_fieldsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type directus_fieldsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collection?: Prisma.SortOrder;
    field?: Prisma.SortOrder;
    special?: Prisma.SortOrder;
    interface?: Prisma.SortOrder;
    display?: Prisma.SortOrder;
    readonly?: Prisma.SortOrder;
    hidden?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    width?: Prisma.SortOrder;
    note?: Prisma.SortOrder;
    required?: Prisma.SortOrder;
    group?: Prisma.SortOrder;
    validation_message?: Prisma.SortOrder;
    searchable?: Prisma.SortOrder;
};
export type directus_fieldsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collection?: Prisma.SortOrder;
    field?: Prisma.SortOrder;
    special?: Prisma.SortOrder;
    interface?: Prisma.SortOrder;
    display?: Prisma.SortOrder;
    readonly?: Prisma.SortOrder;
    hidden?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    width?: Prisma.SortOrder;
    note?: Prisma.SortOrder;
    required?: Prisma.SortOrder;
    group?: Prisma.SortOrder;
    validation_message?: Prisma.SortOrder;
    searchable?: Prisma.SortOrder;
};
export type directus_fieldsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type directus_fieldsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collection?: boolean;
    field?: boolean;
    special?: boolean;
    interface?: boolean;
    options?: boolean;
    display?: boolean;
    display_options?: boolean;
    readonly?: boolean;
    hidden?: boolean;
    sort?: boolean;
    width?: boolean;
    translations?: boolean;
    note?: boolean;
    conditions?: boolean;
    required?: boolean;
    group?: boolean;
    validation?: boolean;
    validation_message?: boolean;
    searchable?: boolean;
}, ExtArgs["result"]["directus_fields"]>;
export type directus_fieldsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collection?: boolean;
    field?: boolean;
    special?: boolean;
    interface?: boolean;
    options?: boolean;
    display?: boolean;
    display_options?: boolean;
    readonly?: boolean;
    hidden?: boolean;
    sort?: boolean;
    width?: boolean;
    translations?: boolean;
    note?: boolean;
    conditions?: boolean;
    required?: boolean;
    group?: boolean;
    validation?: boolean;
    validation_message?: boolean;
    searchable?: boolean;
}, ExtArgs["result"]["directus_fields"]>;
export type directus_fieldsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collection?: boolean;
    field?: boolean;
    special?: boolean;
    interface?: boolean;
    options?: boolean;
    display?: boolean;
    display_options?: boolean;
    readonly?: boolean;
    hidden?: boolean;
    sort?: boolean;
    width?: boolean;
    translations?: boolean;
    note?: boolean;
    conditions?: boolean;
    required?: boolean;
    group?: boolean;
    validation?: boolean;
    validation_message?: boolean;
    searchable?: boolean;
}, ExtArgs["result"]["directus_fields"]>;
export type directus_fieldsSelectScalar = {
    id?: boolean;
    collection?: boolean;
    field?: boolean;
    special?: boolean;
    interface?: boolean;
    options?: boolean;
    display?: boolean;
    display_options?: boolean;
    readonly?: boolean;
    hidden?: boolean;
    sort?: boolean;
    width?: boolean;
    translations?: boolean;
    note?: boolean;
    conditions?: boolean;
    required?: boolean;
    group?: boolean;
    validation?: boolean;
    validation_message?: boolean;
    searchable?: boolean;
};
export type directus_fieldsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "collection" | "field" | "special" | "interface" | "options" | "display" | "display_options" | "readonly" | "hidden" | "sort" | "width" | "translations" | "note" | "conditions" | "required" | "group" | "validation" | "validation_message" | "searchable", ExtArgs["result"]["directus_fields"]>;
export type $directus_fieldsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "directus_fields";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        collection: string;
        field: string;
        special: string | null;
        interface: string | null;
        options: runtime.JsonValue | null;
        display: string | null;
        display_options: runtime.JsonValue | null;
        readonly: boolean;
        hidden: boolean;
        sort: number | null;
        width: string | null;
        translations: runtime.JsonValue | null;
        note: string | null;
        conditions: runtime.JsonValue | null;
        required: boolean | null;
        group: string | null;
        validation: runtime.JsonValue | null;
        validation_message: string | null;
        searchable: boolean;
    }, ExtArgs["result"]["directus_fields"]>;
    composites: {};
};
export type directus_fieldsGetPayload<S extends boolean | null | undefined | directus_fieldsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload, S>;
export type directus_fieldsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<directus_fieldsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Directus_fieldsCountAggregateInputType | true;
};
export interface directus_fieldsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['directus_fields'];
        meta: {
            name: 'directus_fields';
        };
    };
    /**
     * Find zero or one Directus_fields that matches the filter.
     * @param {directus_fieldsFindUniqueArgs} args - Arguments to find a Directus_fields
     * @example
     * // Get one Directus_fields
     * const directus_fields = await prisma.directus_fields.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends directus_fieldsFindUniqueArgs>(args: Prisma.SelectSubset<T, directus_fieldsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Directus_fields that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {directus_fieldsFindUniqueOrThrowArgs} args - Arguments to find a Directus_fields
     * @example
     * // Get one Directus_fields
     * const directus_fields = await prisma.directus_fields.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends directus_fieldsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, directus_fieldsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_fields 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 {directus_fieldsFindFirstArgs} args - Arguments to find a Directus_fields
     * @example
     * // Get one Directus_fields
     * const directus_fields = await prisma.directus_fields.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends directus_fieldsFindFirstArgs>(args?: Prisma.SelectSubset<T, directus_fieldsFindFirstArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_fields 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 {directus_fieldsFindFirstOrThrowArgs} args - Arguments to find a Directus_fields
     * @example
     * // Get one Directus_fields
     * const directus_fields = await prisma.directus_fields.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends directus_fieldsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, directus_fieldsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Directus_fields 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 {directus_fieldsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Directus_fields
     * const directus_fields = await prisma.directus_fields.findMany()
     *
     * // Get first 10 Directus_fields
     * const directus_fields = await prisma.directus_fields.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const directus_fieldsWithIdOnly = await prisma.directus_fields.findMany({ select: { id: true } })
     *
     */
    findMany<T extends directus_fieldsFindManyArgs>(args?: Prisma.SelectSubset<T, directus_fieldsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Directus_fields.
     * @param {directus_fieldsCreateArgs} args - Arguments to create a Directus_fields.
     * @example
     * // Create one Directus_fields
     * const Directus_fields = await prisma.directus_fields.create({
     *   data: {
     *     // ... data to create a Directus_fields
     *   }
     * })
     *
     */
    create<T extends directus_fieldsCreateArgs>(args: Prisma.SelectSubset<T, directus_fieldsCreateArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Directus_fields.
     * @param {directus_fieldsCreateManyArgs} args - Arguments to create many Directus_fields.
     * @example
     * // Create many Directus_fields
     * const directus_fields = await prisma.directus_fields.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends directus_fieldsCreateManyArgs>(args?: Prisma.SelectSubset<T, directus_fieldsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Directus_fields and returns the data saved in the database.
     * @param {directus_fieldsCreateManyAndReturnArgs} args - Arguments to create many Directus_fields.
     * @example
     * // Create many Directus_fields
     * const directus_fields = await prisma.directus_fields.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Directus_fields and only return the `id`
     * const directus_fieldsWithIdOnly = await prisma.directus_fields.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 directus_fieldsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, directus_fieldsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Directus_fields.
     * @param {directus_fieldsDeleteArgs} args - Arguments to delete one Directus_fields.
     * @example
     * // Delete one Directus_fields
     * const Directus_fields = await prisma.directus_fields.delete({
     *   where: {
     *     // ... filter to delete one Directus_fields
     *   }
     * })
     *
     */
    delete<T extends directus_fieldsDeleteArgs>(args: Prisma.SelectSubset<T, directus_fieldsDeleteArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Directus_fields.
     * @param {directus_fieldsUpdateArgs} args - Arguments to update one Directus_fields.
     * @example
     * // Update one Directus_fields
     * const directus_fields = await prisma.directus_fields.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends directus_fieldsUpdateArgs>(args: Prisma.SelectSubset<T, directus_fieldsUpdateArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Directus_fields.
     * @param {directus_fieldsDeleteManyArgs} args - Arguments to filter Directus_fields to delete.
     * @example
     * // Delete a few Directus_fields
     * const { count } = await prisma.directus_fields.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends directus_fieldsDeleteManyArgs>(args?: Prisma.SelectSubset<T, directus_fieldsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_fields.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_fieldsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Directus_fields
     * const directus_fields = await prisma.directus_fields.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends directus_fieldsUpdateManyArgs>(args: Prisma.SelectSubset<T, directus_fieldsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_fields and returns the data updated in the database.
     * @param {directus_fieldsUpdateManyAndReturnArgs} args - Arguments to update many Directus_fields.
     * @example
     * // Update many Directus_fields
     * const directus_fields = await prisma.directus_fields.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Directus_fields and only return the `id`
     * const directus_fieldsWithIdOnly = await prisma.directus_fields.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 directus_fieldsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, directus_fieldsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Directus_fields.
     * @param {directus_fieldsUpsertArgs} args - Arguments to update or create a Directus_fields.
     * @example
     * // Update or create a Directus_fields
     * const directus_fields = await prisma.directus_fields.upsert({
     *   create: {
     *     // ... data to create a Directus_fields
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Directus_fields we want to update
     *   }
     * })
     */
    upsert<T extends directus_fieldsUpsertArgs>(args: Prisma.SelectSubset<T, directus_fieldsUpsertArgs<ExtArgs>>): Prisma.Prisma__directus_fieldsClient<runtime.Types.Result.GetResult<Prisma.$directus_fieldsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Directus_fields.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_fieldsCountArgs} args - Arguments to filter Directus_fields to count.
     * @example
     * // Count the number of Directus_fields
     * const count = await prisma.directus_fields.count({
     *   where: {
     *     // ... the filter for the Directus_fields we want to count
     *   }
     * })
    **/
    count<T extends directus_fieldsCountArgs>(args?: Prisma.Subset<T, directus_fieldsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Directus_fieldsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Directus_fields.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Directus_fieldsAggregateArgs} 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 Directus_fieldsAggregateArgs>(args: Prisma.Subset<T, Directus_fieldsAggregateArgs>): Prisma.PrismaPromise<GetDirectus_fieldsAggregateType<T>>;
    /**
     * Group by Directus_fields.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_fieldsGroupByArgs} 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 directus_fieldsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: directus_fieldsGroupByArgs['orderBy'];
    } : {
        orderBy?: directus_fieldsGroupByArgs['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, directus_fieldsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectus_fieldsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the directus_fields model
     */
    readonly fields: directus_fieldsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for directus_fields.
 * 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__directus_fieldsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    /**
     * 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 directus_fields model
 */
export interface directus_fieldsFieldRefs {
    readonly id: Prisma.FieldRef<"directus_fields", 'Int'>;
    readonly collection: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly field: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly special: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly interface: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly options: Prisma.FieldRef<"directus_fields", 'Json'>;
    readonly display: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly display_options: Prisma.FieldRef<"directus_fields", 'Json'>;
    readonly readonly: Prisma.FieldRef<"directus_fields", 'Boolean'>;
    readonly hidden: Prisma.FieldRef<"directus_fields", 'Boolean'>;
    readonly sort: Prisma.FieldRef<"directus_fields", 'Int'>;
    readonly width: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly translations: Prisma.FieldRef<"directus_fields", 'Json'>;
    readonly note: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly conditions: Prisma.FieldRef<"directus_fields", 'Json'>;
    readonly required: Prisma.FieldRef<"directus_fields", 'Boolean'>;
    readonly group: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly validation: Prisma.FieldRef<"directus_fields", 'Json'>;
    readonly validation_message: Prisma.FieldRef<"directus_fields", 'String'>;
    readonly searchable: Prisma.FieldRef<"directus_fields", 'Boolean'>;
}
/**
 * directus_fields findUnique
 */
export type directus_fieldsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_fields to fetch.
     */
    where: Prisma.directus_fieldsWhereUniqueInput;
};
/**
 * directus_fields findUniqueOrThrow
 */
export type directus_fieldsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_fields to fetch.
     */
    where: Prisma.directus_fieldsWhereUniqueInput;
};
/**
 * directus_fields findFirst
 */
export type directus_fieldsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_fields to fetch.
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_fields to fetch.
     */
    orderBy?: Prisma.directus_fieldsOrderByWithRelationInput | Prisma.directus_fieldsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_fields.
     */
    cursor?: Prisma.directus_fieldsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_fields 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` directus_fields.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_fields.
     */
    distinct?: Prisma.Directus_fieldsScalarFieldEnum | Prisma.Directus_fieldsScalarFieldEnum[];
};
/**
 * directus_fields findFirstOrThrow
 */
export type directus_fieldsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_fields to fetch.
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_fields to fetch.
     */
    orderBy?: Prisma.directus_fieldsOrderByWithRelationInput | Prisma.directus_fieldsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_fields.
     */
    cursor?: Prisma.directus_fieldsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_fields 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` directus_fields.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_fields.
     */
    distinct?: Prisma.Directus_fieldsScalarFieldEnum | Prisma.Directus_fieldsScalarFieldEnum[];
};
/**
 * directus_fields findMany
 */
export type directus_fieldsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_fields to fetch.
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_fields to fetch.
     */
    orderBy?: Prisma.directus_fieldsOrderByWithRelationInput | Prisma.directus_fieldsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing directus_fields.
     */
    cursor?: Prisma.directus_fieldsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_fields 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` directus_fields.
     */
    skip?: number;
    distinct?: Prisma.Directus_fieldsScalarFieldEnum | Prisma.Directus_fieldsScalarFieldEnum[];
};
/**
 * directus_fields create
 */
export type directus_fieldsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * The data needed to create a directus_fields.
     */
    data: Prisma.XOR<Prisma.directus_fieldsCreateInput, Prisma.directus_fieldsUncheckedCreateInput>;
};
/**
 * directus_fields createMany
 */
export type directus_fieldsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many directus_fields.
     */
    data: Prisma.directus_fieldsCreateManyInput | Prisma.directus_fieldsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_fields createManyAndReturn
 */
export type directus_fieldsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * The data used to create many directus_fields.
     */
    data: Prisma.directus_fieldsCreateManyInput | Prisma.directus_fieldsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_fields update
 */
export type directus_fieldsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * The data needed to update a directus_fields.
     */
    data: Prisma.XOR<Prisma.directus_fieldsUpdateInput, Prisma.directus_fieldsUncheckedUpdateInput>;
    /**
     * Choose, which directus_fields to update.
     */
    where: Prisma.directus_fieldsWhereUniqueInput;
};
/**
 * directus_fields updateMany
 */
export type directus_fieldsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update directus_fields.
     */
    data: Prisma.XOR<Prisma.directus_fieldsUpdateManyMutationInput, Prisma.directus_fieldsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_fields to update
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * Limit how many directus_fields to update.
     */
    limit?: number;
};
/**
 * directus_fields updateManyAndReturn
 */
export type directus_fieldsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * The data used to update directus_fields.
     */
    data: Prisma.XOR<Prisma.directus_fieldsUpdateManyMutationInput, Prisma.directus_fieldsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_fields to update
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * Limit how many directus_fields to update.
     */
    limit?: number;
};
/**
 * directus_fields upsert
 */
export type directus_fieldsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * The filter to search for the directus_fields to update in case it exists.
     */
    where: Prisma.directus_fieldsWhereUniqueInput;
    /**
     * In case the directus_fields found by the `where` argument doesn't exist, create a new directus_fields with this data.
     */
    create: Prisma.XOR<Prisma.directus_fieldsCreateInput, Prisma.directus_fieldsUncheckedCreateInput>;
    /**
     * In case the directus_fields was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.directus_fieldsUpdateInput, Prisma.directus_fieldsUncheckedUpdateInput>;
};
/**
 * directus_fields delete
 */
export type directus_fieldsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
    /**
     * Filter which directus_fields to delete.
     */
    where: Prisma.directus_fieldsWhereUniqueInput;
};
/**
 * directus_fields deleteMany
 */
export type directus_fieldsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_fields to delete
     */
    where?: Prisma.directus_fieldsWhereInput;
    /**
     * Limit how many directus_fields to delete.
     */
    limit?: number;
};
/**
 * directus_fields without action
 */
export type directus_fieldsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_fields
     */
    select?: Prisma.directus_fieldsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_fields
     */
    omit?: Prisma.directus_fieldsOmit<ExtArgs> | null;
};
export {};
