/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
 * This file exports the `SitePreferences` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client";
import type * as $Enums from "../enums";
import type * as Prisma from "../internal/prismaNamespace";

/**
 * Model SitePreferences
 *
 */
export type SitePreferencesModel =
  runtime.Types.Result.DefaultSelection<Prisma.$SitePreferencesPayload>;

export type AggregateSitePreferences = {
  _count: SitePreferencesCountAggregateOutputType | null;
  _min: SitePreferencesMinAggregateOutputType | null;
  _max: SitePreferencesMaxAggregateOutputType | null;
};

export type SitePreferencesMinAggregateOutputType = {
  id: string | null;
  homeBackground: string | null;
  eventsBackground: string | null;
  leaderboardBackground: string | null;
  createdAt: Date | null;
  updatedAt: Date | null;
};

export type SitePreferencesMaxAggregateOutputType = {
  id: string | null;
  homeBackground: string | null;
  eventsBackground: string | null;
  leaderboardBackground: string | null;
  createdAt: Date | null;
  updatedAt: Date | null;
};

export type SitePreferencesCountAggregateOutputType = {
  id: number;
  homeBackground: number;
  eventsBackground: number;
  leaderboardBackground: number;
  createdAt: number;
  updatedAt: number;
  _all: number;
};

export type SitePreferencesMinAggregateInputType = {
  id?: true;
  homeBackground?: true;
  eventsBackground?: true;
  leaderboardBackground?: true;
  createdAt?: true;
  updatedAt?: true;
};

export type SitePreferencesMaxAggregateInputType = {
  id?: true;
  homeBackground?: true;
  eventsBackground?: true;
  leaderboardBackground?: true;
  createdAt?: true;
  updatedAt?: true;
};

export type SitePreferencesCountAggregateInputType = {
  id?: true;
  homeBackground?: true;
  eventsBackground?: true;
  leaderboardBackground?: true;
  createdAt?: true;
  updatedAt?: true;
  _all?: true;
};

export type SitePreferencesAggregateArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Filter which SitePreferences to aggregate.
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   *
   * Determine the order of SitePreferences to fetch.
   */
  orderBy?:
    | Prisma.SitePreferencesOrderByWithRelationInput
    | Prisma.SitePreferencesOrderByWithRelationInput[];
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   *
   * Sets the start position
   */
  cursor?: Prisma.SitePreferencesWhereUniqueInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   *
   * Take `±n` SitePreferences 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` SitePreferences.
   */
  skip?: number;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   *
   * Count returned SitePreferences
   **/
  _count?: true | SitePreferencesCountAggregateInputType;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   *
   * Select which fields to find the minimum value
   **/
  _min?: SitePreferencesMinAggregateInputType;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   *
   * Select which fields to find the maximum value
   **/
  _max?: SitePreferencesMaxAggregateInputType;
};

export type GetSitePreferencesAggregateType<
  T extends SitePreferencesAggregateArgs,
> = {
  [P in keyof T & keyof AggregateSitePreferences]: P extends "_count" | "count"
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateSitePreferences[P]>
    : Prisma.GetScalarType<T[P], AggregateSitePreferences[P]>;
};

export type SitePreferencesGroupByArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  where?: Prisma.SitePreferencesWhereInput;
  orderBy?:
    | Prisma.SitePreferencesOrderByWithAggregationInput
    | Prisma.SitePreferencesOrderByWithAggregationInput[];
  by:
    | Prisma.SitePreferencesScalarFieldEnum[]
    | Prisma.SitePreferencesScalarFieldEnum;
  having?: Prisma.SitePreferencesScalarWhereWithAggregatesInput;
  take?: number;
  skip?: number;
  _count?: SitePreferencesCountAggregateInputType | true;
  _min?: SitePreferencesMinAggregateInputType;
  _max?: SitePreferencesMaxAggregateInputType;
};

export type SitePreferencesGroupByOutputType = {
  id: string;
  homeBackground: string | null;
  eventsBackground: string | null;
  leaderboardBackground: string | null;
  createdAt: Date;
  updatedAt: Date;
  _count: SitePreferencesCountAggregateOutputType | null;
  _min: SitePreferencesMinAggregateOutputType | null;
  _max: SitePreferencesMaxAggregateOutputType | null;
};

type GetSitePreferencesGroupByPayload<T extends SitePreferencesGroupByArgs> =
  Prisma.PrismaPromise<
    Array<
      Prisma.PickEnumerable<SitePreferencesGroupByOutputType, T["by"]> & {
        [P in keyof T &
          keyof SitePreferencesGroupByOutputType]: P extends "_count"
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], SitePreferencesGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], SitePreferencesGroupByOutputType[P]>;
      }
    >
  >;

export type SitePreferencesWhereInput = {
  AND?: Prisma.SitePreferencesWhereInput | Prisma.SitePreferencesWhereInput[];
  OR?: Prisma.SitePreferencesWhereInput[];
  NOT?: Prisma.SitePreferencesWhereInput | Prisma.SitePreferencesWhereInput[];
  id?: Prisma.StringFilter<"SitePreferences"> | string;
  homeBackground?:
    | Prisma.StringNullableFilter<"SitePreferences">
    | string
    | null;
  eventsBackground?:
    | Prisma.StringNullableFilter<"SitePreferences">
    | string
    | null;
  leaderboardBackground?:
    | Prisma.StringNullableFilter<"SitePreferences">
    | string
    | null;
  createdAt?: Prisma.DateTimeFilter<"SitePreferences"> | Date | string;
  updatedAt?: Prisma.DateTimeFilter<"SitePreferences"> | Date | string;
};

export type SitePreferencesOrderByWithRelationInput = {
  id?: Prisma.SortOrder;
  homeBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  eventsBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  leaderboardBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  createdAt?: Prisma.SortOrder;
  updatedAt?: Prisma.SortOrder;
};

export type SitePreferencesWhereUniqueInput = Prisma.AtLeast<
  {
    id?: string;
    AND?: Prisma.SitePreferencesWhereInput | Prisma.SitePreferencesWhereInput[];
    OR?: Prisma.SitePreferencesWhereInput[];
    NOT?: Prisma.SitePreferencesWhereInput | Prisma.SitePreferencesWhereInput[];
    homeBackground?:
      | Prisma.StringNullableFilter<"SitePreferences">
      | string
      | null;
    eventsBackground?:
      | Prisma.StringNullableFilter<"SitePreferences">
      | string
      | null;
    leaderboardBackground?:
      | Prisma.StringNullableFilter<"SitePreferences">
      | string
      | null;
    createdAt?: Prisma.DateTimeFilter<"SitePreferences"> | Date | string;
    updatedAt?: Prisma.DateTimeFilter<"SitePreferences"> | Date | string;
  },
  "id"
>;

export type SitePreferencesOrderByWithAggregationInput = {
  id?: Prisma.SortOrder;
  homeBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  eventsBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  leaderboardBackground?: Prisma.SortOrderInput | Prisma.SortOrder;
  createdAt?: Prisma.SortOrder;
  updatedAt?: Prisma.SortOrder;
  _count?: Prisma.SitePreferencesCountOrderByAggregateInput;
  _max?: Prisma.SitePreferencesMaxOrderByAggregateInput;
  _min?: Prisma.SitePreferencesMinOrderByAggregateInput;
};

export type SitePreferencesScalarWhereWithAggregatesInput = {
  AND?:
    | Prisma.SitePreferencesScalarWhereWithAggregatesInput
    | Prisma.SitePreferencesScalarWhereWithAggregatesInput[];
  OR?: Prisma.SitePreferencesScalarWhereWithAggregatesInput[];
  NOT?:
    | Prisma.SitePreferencesScalarWhereWithAggregatesInput
    | Prisma.SitePreferencesScalarWhereWithAggregatesInput[];
  id?: Prisma.StringWithAggregatesFilter<"SitePreferences"> | string;
  homeBackground?:
    | Prisma.StringNullableWithAggregatesFilter<"SitePreferences">
    | string
    | null;
  eventsBackground?:
    | Prisma.StringNullableWithAggregatesFilter<"SitePreferences">
    | string
    | null;
  leaderboardBackground?:
    | Prisma.StringNullableWithAggregatesFilter<"SitePreferences">
    | string
    | null;
  createdAt?:
    | Prisma.DateTimeWithAggregatesFilter<"SitePreferences">
    | Date
    | string;
  updatedAt?:
    | Prisma.DateTimeWithAggregatesFilter<"SitePreferences">
    | Date
    | string;
};

export type SitePreferencesCreateInput = {
  id?: string;
  homeBackground?: string | null;
  eventsBackground?: string | null;
  leaderboardBackground?: string | null;
  createdAt?: Date | string;
  updatedAt?: Date | string;
};

export type SitePreferencesUncheckedCreateInput = {
  id?: string;
  homeBackground?: string | null;
  eventsBackground?: string | null;
  leaderboardBackground?: string | null;
  createdAt?: Date | string;
  updatedAt?: Date | string;
};

export type SitePreferencesUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string;
  homeBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  eventsBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  leaderboardBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};

export type SitePreferencesUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string;
  homeBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  eventsBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  leaderboardBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};

export type SitePreferencesCreateManyInput = {
  id?: string;
  homeBackground?: string | null;
  eventsBackground?: string | null;
  leaderboardBackground?: string | null;
  createdAt?: Date | string;
  updatedAt?: Date | string;
};

export type SitePreferencesUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string;
  homeBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  eventsBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  leaderboardBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};

export type SitePreferencesUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string;
  homeBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  eventsBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  leaderboardBackground?:
    | Prisma.NullableStringFieldUpdateOperationsInput
    | string
    | null;
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};

export type SitePreferencesCountOrderByAggregateInput = {
  id?: Prisma.SortOrder;
  homeBackground?: Prisma.SortOrder;
  eventsBackground?: Prisma.SortOrder;
  leaderboardBackground?: Prisma.SortOrder;
  createdAt?: Prisma.SortOrder;
  updatedAt?: Prisma.SortOrder;
};

export type SitePreferencesMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder;
  homeBackground?: Prisma.SortOrder;
  eventsBackground?: Prisma.SortOrder;
  leaderboardBackground?: Prisma.SortOrder;
  createdAt?: Prisma.SortOrder;
  updatedAt?: Prisma.SortOrder;
};

export type SitePreferencesMinOrderByAggregateInput = {
  id?: Prisma.SortOrder;
  homeBackground?: Prisma.SortOrder;
  eventsBackground?: Prisma.SortOrder;
  leaderboardBackground?: Prisma.SortOrder;
  createdAt?: Prisma.SortOrder;
  updatedAt?: Prisma.SortOrder;
};

export type SitePreferencesSelect<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
  {
    id?: boolean;
    homeBackground?: boolean;
    eventsBackground?: boolean;
    leaderboardBackground?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
  },
  ExtArgs["result"]["sitePreferences"]
>;

export type SitePreferencesSelectCreateManyAndReturn<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
  {
    id?: boolean;
    homeBackground?: boolean;
    eventsBackground?: boolean;
    leaderboardBackground?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
  },
  ExtArgs["result"]["sitePreferences"]
>;

export type SitePreferencesSelectUpdateManyAndReturn<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
  {
    id?: boolean;
    homeBackground?: boolean;
    eventsBackground?: boolean;
    leaderboardBackground?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
  },
  ExtArgs["result"]["sitePreferences"]
>;

export type SitePreferencesSelectScalar = {
  id?: boolean;
  homeBackground?: boolean;
  eventsBackground?: boolean;
  leaderboardBackground?: boolean;
  createdAt?: boolean;
  updatedAt?: boolean;
};

export type SitePreferencesOmit<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetOmit<
  | "id"
  | "homeBackground"
  | "eventsBackground"
  | "leaderboardBackground"
  | "createdAt"
  | "updatedAt",
  ExtArgs["result"]["sitePreferences"]
>;

export type $SitePreferencesPayload<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  name: "SitePreferences";
  objects: {};
  scalars: runtime.Types.Extensions.GetPayloadResult<
    {
      id: string;
      homeBackground: string | null;
      eventsBackground: string | null;
      leaderboardBackground: string | null;
      createdAt: Date;
      updatedAt: Date;
    },
    ExtArgs["result"]["sitePreferences"]
  >;
  composites: {};
};

export type SitePreferencesGetPayload<
  S extends boolean | null | undefined | SitePreferencesDefaultArgs,
> = runtime.Types.Result.GetResult<Prisma.$SitePreferencesPayload, S>;

export type SitePreferencesCountArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = Omit<
  SitePreferencesFindManyArgs,
  "select" | "include" | "distinct" | "omit"
> & {
  select?: SitePreferencesCountAggregateInputType | true;
};

export interface SitePreferencesDelegate<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
  GlobalOmitOptions = {},
> {
  [K: symbol]: {
    types: Prisma.TypeMap<ExtArgs>["model"]["SitePreferences"];
    meta: { name: "SitePreferences" };
  };
  /**
   * Find zero or one SitePreferences that matches the filter.
   * @param {SitePreferencesFindUniqueArgs} args - Arguments to find a SitePreferences
   * @example
   * // Get one SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends SitePreferencesFindUniqueArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesFindUniqueArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "findUnique",
      GlobalOmitOptions
    > | null,
    null,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Find one SitePreferences that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {SitePreferencesFindUniqueOrThrowArgs} args - Arguments to find a SitePreferences
   * @example
   * // Get one SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends SitePreferencesFindUniqueOrThrowArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesFindUniqueOrThrowArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "findUniqueOrThrow",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Find the first SitePreferences 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 {SitePreferencesFindFirstArgs} args - Arguments to find a SitePreferences
   * @example
   * // Get one SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends SitePreferencesFindFirstArgs>(
    args?: Prisma.SelectSubset<T, SitePreferencesFindFirstArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "findFirst",
      GlobalOmitOptions
    > | null,
    null,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Find the first SitePreferences 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 {SitePreferencesFindFirstOrThrowArgs} args - Arguments to find a SitePreferences
   * @example
   * // Get one SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends SitePreferencesFindFirstOrThrowArgs>(
    args?: Prisma.SelectSubset<T, SitePreferencesFindFirstOrThrowArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "findFirstOrThrow",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Find zero or more SitePreferences 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 {SitePreferencesFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findMany()
   *
   * // Get first 10 SitePreferences
   * const sitePreferences = await prisma.sitePreferences.findMany({ take: 10 })
   *
   * // Only select the `id`
   * const sitePreferencesWithIdOnly = await prisma.sitePreferences.findMany({ select: { id: true } })
   *
   */
  findMany<T extends SitePreferencesFindManyArgs>(
    args?: Prisma.SelectSubset<T, SitePreferencesFindManyArgs<ExtArgs>>
  ): Prisma.PrismaPromise<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "findMany",
      GlobalOmitOptions
    >
  >;

  /**
   * Create a SitePreferences.
   * @param {SitePreferencesCreateArgs} args - Arguments to create a SitePreferences.
   * @example
   * // Create one SitePreferences
   * const SitePreferences = await prisma.sitePreferences.create({
   *   data: {
   *     // ... data to create a SitePreferences
   *   }
   * })
   *
   */
  create<T extends SitePreferencesCreateArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesCreateArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "create",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Create many SitePreferences.
   * @param {SitePreferencesCreateManyArgs} args - Arguments to create many SitePreferences.
   * @example
   * // Create many SitePreferences
   * const sitePreferences = await prisma.sitePreferences.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *
   */
  createMany<T extends SitePreferencesCreateManyArgs>(
    args?: Prisma.SelectSubset<T, SitePreferencesCreateManyArgs<ExtArgs>>
  ): Prisma.PrismaPromise<Prisma.BatchPayload>;

  /**
   * Create many SitePreferences and returns the data saved in the database.
   * @param {SitePreferencesCreateManyAndReturnArgs} args - Arguments to create many SitePreferences.
   * @example
   * // Create many SitePreferences
   * const sitePreferences = await prisma.sitePreferences.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *
   * // Create many SitePreferences and only return the `id`
   * const sitePreferencesWithIdOnly = await prisma.sitePreferences.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 SitePreferencesCreateManyAndReturnArgs>(
    args?: Prisma.SelectSubset<
      T,
      SitePreferencesCreateManyAndReturnArgs<ExtArgs>
    >
  ): Prisma.PrismaPromise<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "createManyAndReturn",
      GlobalOmitOptions
    >
  >;

  /**
   * Delete a SitePreferences.
   * @param {SitePreferencesDeleteArgs} args - Arguments to delete one SitePreferences.
   * @example
   * // Delete one SitePreferences
   * const SitePreferences = await prisma.sitePreferences.delete({
   *   where: {
   *     // ... filter to delete one SitePreferences
   *   }
   * })
   *
   */
  delete<T extends SitePreferencesDeleteArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesDeleteArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "delete",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Update one SitePreferences.
   * @param {SitePreferencesUpdateArgs} args - Arguments to update one SitePreferences.
   * @example
   * // Update one SitePreferences
   * const sitePreferences = await prisma.sitePreferences.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   *
   */
  update<T extends SitePreferencesUpdateArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesUpdateArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "update",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Delete zero or more SitePreferences.
   * @param {SitePreferencesDeleteManyArgs} args - Arguments to filter SitePreferences to delete.
   * @example
   * // Delete a few SitePreferences
   * const { count } = await prisma.sitePreferences.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   *
   */
  deleteMany<T extends SitePreferencesDeleteManyArgs>(
    args?: Prisma.SelectSubset<T, SitePreferencesDeleteManyArgs<ExtArgs>>
  ): Prisma.PrismaPromise<Prisma.BatchPayload>;

  /**
   * Update zero or more SitePreferences.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SitePreferencesUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many SitePreferences
   * const sitePreferences = await prisma.sitePreferences.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   *
   */
  updateMany<T extends SitePreferencesUpdateManyArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesUpdateManyArgs<ExtArgs>>
  ): Prisma.PrismaPromise<Prisma.BatchPayload>;

  /**
   * Update zero or more SitePreferences and returns the data updated in the database.
   * @param {SitePreferencesUpdateManyAndReturnArgs} args - Arguments to update many SitePreferences.
   * @example
   * // Update many SitePreferences
   * const sitePreferences = await prisma.sitePreferences.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *
   * // Update zero or more SitePreferences and only return the `id`
   * const sitePreferencesWithIdOnly = await prisma.sitePreferences.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 SitePreferencesUpdateManyAndReturnArgs>(
    args: Prisma.SelectSubset<
      T,
      SitePreferencesUpdateManyAndReturnArgs<ExtArgs>
    >
  ): Prisma.PrismaPromise<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "updateManyAndReturn",
      GlobalOmitOptions
    >
  >;

  /**
   * Create or update one SitePreferences.
   * @param {SitePreferencesUpsertArgs} args - Arguments to update or create a SitePreferences.
   * @example
   * // Update or create a SitePreferences
   * const sitePreferences = await prisma.sitePreferences.upsert({
   *   create: {
   *     // ... data to create a SitePreferences
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the SitePreferences we want to update
   *   }
   * })
   */
  upsert<T extends SitePreferencesUpsertArgs>(
    args: Prisma.SelectSubset<T, SitePreferencesUpsertArgs<ExtArgs>>
  ): Prisma.Prisma__SitePreferencesClient<
    runtime.Types.Result.GetResult<
      Prisma.$SitePreferencesPayload<ExtArgs>,
      T,
      "upsert",
      GlobalOmitOptions
    >,
    never,
    ExtArgs,
    GlobalOmitOptions
  >;

  /**
   * Count the number of SitePreferences.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SitePreferencesCountArgs} args - Arguments to filter SitePreferences to count.
   * @example
   * // Count the number of SitePreferences
   * const count = await prisma.sitePreferences.count({
   *   where: {
   *     // ... the filter for the SitePreferences we want to count
   *   }
   * })
   **/
  count<T extends SitePreferencesCountArgs>(
    args?: Prisma.Subset<T, SitePreferencesCountArgs>
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<"select", any>
      ? T["select"] extends true
        ? number
        : Prisma.GetScalarType<
            T["select"],
            SitePreferencesCountAggregateOutputType
          >
      : number
  >;

  /**
   * Allows you to perform aggregations operations on a SitePreferences.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SitePreferencesAggregateArgs} 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 SitePreferencesAggregateArgs>(
    args: Prisma.Subset<T, SitePreferencesAggregateArgs>
  ): Prisma.PrismaPromise<GetSitePreferencesAggregateType<T>>;

  /**
   * Group by SitePreferences.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SitePreferencesGroupByArgs} 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 SitePreferencesGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<"skip", Prisma.Keys<T>>,
      Prisma.Extends<"take", Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: SitePreferencesGroupByArgs["orderBy"] }
      : { orderBy?: SitePreferencesGroupByArgs["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, SitePreferencesGroupByArgs, OrderByArg> &
      InputErrors
  ): {} extends InputErrors
    ? GetSitePreferencesGroupByPayload<T>
    : Prisma.PrismaPromise<InputErrors>;
  /**
   * Fields of the SitePreferences model
   */
  readonly fields: SitePreferencesFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for SitePreferences.
 * 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__SitePreferencesClient<
  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 SitePreferences model
 */
export interface SitePreferencesFieldRefs {
  readonly id: Prisma.FieldRef<"SitePreferences", "String">;
  readonly homeBackground: Prisma.FieldRef<"SitePreferences", "String">;
  readonly eventsBackground: Prisma.FieldRef<"SitePreferences", "String">;
  readonly leaderboardBackground: Prisma.FieldRef<"SitePreferences", "String">;
  readonly createdAt: Prisma.FieldRef<"SitePreferences", "DateTime">;
  readonly updatedAt: Prisma.FieldRef<"SitePreferences", "DateTime">;
}

// Custom InputTypes
/**
 * SitePreferences findUnique
 */
export type SitePreferencesFindUniqueArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter, which SitePreferences to fetch.
   */
  where: Prisma.SitePreferencesWhereUniqueInput;
};

/**
 * SitePreferences findUniqueOrThrow
 */
export type SitePreferencesFindUniqueOrThrowArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter, which SitePreferences to fetch.
   */
  where: Prisma.SitePreferencesWhereUniqueInput;
};

/**
 * SitePreferences findFirst
 */
export type SitePreferencesFindFirstArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter, which SitePreferences to fetch.
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   *
   * Determine the order of SitePreferences to fetch.
   */
  orderBy?:
    | Prisma.SitePreferencesOrderByWithRelationInput
    | Prisma.SitePreferencesOrderByWithRelationInput[];
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   *
   * Sets the position for searching for SitePreferences.
   */
  cursor?: Prisma.SitePreferencesWhereUniqueInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   *
   * Take `±n` SitePreferences 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` SitePreferences.
   */
  skip?: number;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   *
   * Filter by unique combinations of SitePreferences.
   */
  distinct?:
    | Prisma.SitePreferencesScalarFieldEnum
    | Prisma.SitePreferencesScalarFieldEnum[];
};

/**
 * SitePreferences findFirstOrThrow
 */
export type SitePreferencesFindFirstOrThrowArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter, which SitePreferences to fetch.
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   *
   * Determine the order of SitePreferences to fetch.
   */
  orderBy?:
    | Prisma.SitePreferencesOrderByWithRelationInput
    | Prisma.SitePreferencesOrderByWithRelationInput[];
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   *
   * Sets the position for searching for SitePreferences.
   */
  cursor?: Prisma.SitePreferencesWhereUniqueInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   *
   * Take `±n` SitePreferences 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` SitePreferences.
   */
  skip?: number;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   *
   * Filter by unique combinations of SitePreferences.
   */
  distinct?:
    | Prisma.SitePreferencesScalarFieldEnum
    | Prisma.SitePreferencesScalarFieldEnum[];
};

/**
 * SitePreferences findMany
 */
export type SitePreferencesFindManyArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter, which SitePreferences to fetch.
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   *
   * Determine the order of SitePreferences to fetch.
   */
  orderBy?:
    | Prisma.SitePreferencesOrderByWithRelationInput
    | Prisma.SitePreferencesOrderByWithRelationInput[];
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   *
   * Sets the position for listing SitePreferences.
   */
  cursor?: Prisma.SitePreferencesWhereUniqueInput;
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   *
   * Take `±n` SitePreferences 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` SitePreferences.
   */
  skip?: number;
  distinct?:
    | Prisma.SitePreferencesScalarFieldEnum
    | Prisma.SitePreferencesScalarFieldEnum[];
};

/**
 * SitePreferences create
 */
export type SitePreferencesCreateArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * The data needed to create a SitePreferences.
   */
  data: Prisma.XOR<
    Prisma.SitePreferencesCreateInput,
    Prisma.SitePreferencesUncheckedCreateInput
  >;
};

/**
 * SitePreferences createMany
 */
export type SitePreferencesCreateManyArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * The data used to create many SitePreferences.
   */
  data:
    | Prisma.SitePreferencesCreateManyInput
    | Prisma.SitePreferencesCreateManyInput[];
};

/**
 * SitePreferences createManyAndReturn
 */
export type SitePreferencesCreateManyAndReturnArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelectCreateManyAndReturn<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * The data used to create many SitePreferences.
   */
  data:
    | Prisma.SitePreferencesCreateManyInput
    | Prisma.SitePreferencesCreateManyInput[];
};

/**
 * SitePreferences update
 */
export type SitePreferencesUpdateArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * The data needed to update a SitePreferences.
   */
  data: Prisma.XOR<
    Prisma.SitePreferencesUpdateInput,
    Prisma.SitePreferencesUncheckedUpdateInput
  >;
  /**
   * Choose, which SitePreferences to update.
   */
  where: Prisma.SitePreferencesWhereUniqueInput;
};

/**
 * SitePreferences updateMany
 */
export type SitePreferencesUpdateManyArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * The data used to update SitePreferences.
   */
  data: Prisma.XOR<
    Prisma.SitePreferencesUpdateManyMutationInput,
    Prisma.SitePreferencesUncheckedUpdateManyInput
  >;
  /**
   * Filter which SitePreferences to update
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * Limit how many SitePreferences to update.
   */
  limit?: number;
};

/**
 * SitePreferences updateManyAndReturn
 */
export type SitePreferencesUpdateManyAndReturnArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelectUpdateManyAndReturn<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * The data used to update SitePreferences.
   */
  data: Prisma.XOR<
    Prisma.SitePreferencesUpdateManyMutationInput,
    Prisma.SitePreferencesUncheckedUpdateManyInput
  >;
  /**
   * Filter which SitePreferences to update
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * Limit how many SitePreferences to update.
   */
  limit?: number;
};

/**
 * SitePreferences upsert
 */
export type SitePreferencesUpsertArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * The filter to search for the SitePreferences to update in case it exists.
   */
  where: Prisma.SitePreferencesWhereUniqueInput;
  /**
   * In case the SitePreferences found by the `where` argument doesn't exist, create a new SitePreferences with this data.
   */
  create: Prisma.XOR<
    Prisma.SitePreferencesCreateInput,
    Prisma.SitePreferencesUncheckedCreateInput
  >;
  /**
   * In case the SitePreferences was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<
    Prisma.SitePreferencesUpdateInput,
    Prisma.SitePreferencesUncheckedUpdateInput
  >;
};

/**
 * SitePreferences delete
 */
export type SitePreferencesDeleteArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
  /**
   * Filter which SitePreferences to delete.
   */
  where: Prisma.SitePreferencesWhereUniqueInput;
};

/**
 * SitePreferences deleteMany
 */
export type SitePreferencesDeleteManyArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Filter which SitePreferences to delete
   */
  where?: Prisma.SitePreferencesWhereInput;
  /**
   * Limit how many SitePreferences to delete.
   */
  limit?: number;
};

/**
 * SitePreferences without action
 */
export type SitePreferencesDefaultArgs<
  ExtArgs extends runtime.Types.Extensions.InternalArgs =
    runtime.Types.Extensions.DefaultArgs,
> = {
  /**
   * Select specific fields to fetch from the SitePreferences
   */
  select?: Prisma.SitePreferencesSelect<ExtArgs> | null;
  /**
   * Omit specific fields from the SitePreferences
   */
  omit?: Prisma.SitePreferencesOmit<ExtArgs> | null;
};
