
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `HomepageItem` 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 HomepageItem
 * 
 */
export type HomepageItemModel = runtime.Types.Result.DefaultSelection<Prisma.$HomepageItemPayload>

export type AggregateHomepageItem = {
  _count: HomepageItemCountAggregateOutputType | null
  _avg: HomepageItemAvgAggregateOutputType | null
  _sum: HomepageItemSumAggregateOutputType | null
  _min: HomepageItemMinAggregateOutputType | null
  _max: HomepageItemMaxAggregateOutputType | null
}

export type HomepageItemAvgAggregateOutputType = {
  sortOrder: number | null
}

export type HomepageItemSumAggregateOutputType = {
  sortOrder: number | null
}

export type HomepageItemMinAggregateOutputType = {
  id: string | null
  section: string | null
  label: string | null
  text: string | null
  href: string | null
  imageUrl: string | null
  altText: string | null
  sortOrder: number | null
  published: boolean | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type HomepageItemMaxAggregateOutputType = {
  id: string | null
  section: string | null
  label: string | null
  text: string | null
  href: string | null
  imageUrl: string | null
  altText: string | null
  sortOrder: number | null
  published: boolean | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type HomepageItemCountAggregateOutputType = {
  id: number
  section: number
  label: number
  text: number
  href: number
  imageUrl: number
  altText: number
  sortOrder: number
  published: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type HomepageItemAvgAggregateInputType = {
  sortOrder?: true
}

export type HomepageItemSumAggregateInputType = {
  sortOrder?: true
}

export type HomepageItemMinAggregateInputType = {
  id?: true
  section?: true
  label?: true
  text?: true
  href?: true
  imageUrl?: true
  altText?: true
  sortOrder?: true
  published?: true
  createdAt?: true
  updatedAt?: true
}

export type HomepageItemMaxAggregateInputType = {
  id?: true
  section?: true
  label?: true
  text?: true
  href?: true
  imageUrl?: true
  altText?: true
  sortOrder?: true
  published?: true
  createdAt?: true
  updatedAt?: true
}

export type HomepageItemCountAggregateInputType = {
  id?: true
  section?: true
  label?: true
  text?: true
  href?: true
  imageUrl?: true
  altText?: true
  sortOrder?: true
  published?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type HomepageItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which HomepageItem to aggregate.
   */
  where?: Prisma.HomepageItemWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of HomepageItems to fetch.
   */
  orderBy?: Prisma.HomepageItemOrderByWithRelationInput | Prisma.HomepageItemOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.HomepageItemWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` HomepageItems 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` HomepageItems.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned HomepageItems
  **/
  _count?: true | HomepageItemCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: HomepageItemAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: HomepageItemSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: HomepageItemMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: HomepageItemMaxAggregateInputType
}

export type GetHomepageItemAggregateType<T extends HomepageItemAggregateArgs> = {
      [P in keyof T & keyof AggregateHomepageItem]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateHomepageItem[P]>
    : Prisma.GetScalarType<T[P], AggregateHomepageItem[P]>
}




export type HomepageItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.HomepageItemWhereInput
  orderBy?: Prisma.HomepageItemOrderByWithAggregationInput | Prisma.HomepageItemOrderByWithAggregationInput[]
  by: Prisma.HomepageItemScalarFieldEnum[] | Prisma.HomepageItemScalarFieldEnum
  having?: Prisma.HomepageItemScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: HomepageItemCountAggregateInputType | true
  _avg?: HomepageItemAvgAggregateInputType
  _sum?: HomepageItemSumAggregateInputType
  _min?: HomepageItemMinAggregateInputType
  _max?: HomepageItemMaxAggregateInputType
}

export type HomepageItemGroupByOutputType = {
  id: string
  section: string
  label: string
  text: string
  href: string
  imageUrl: string
  altText: string
  sortOrder: number
  published: boolean
  createdAt: Date
  updatedAt: Date
  _count: HomepageItemCountAggregateOutputType | null
  _avg: HomepageItemAvgAggregateOutputType | null
  _sum: HomepageItemSumAggregateOutputType | null
  _min: HomepageItemMinAggregateOutputType | null
  _max: HomepageItemMaxAggregateOutputType | null
}

export type GetHomepageItemGroupByPayload<T extends HomepageItemGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<HomepageItemGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof HomepageItemGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], HomepageItemGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], HomepageItemGroupByOutputType[P]>
      }
    >
  >



export type HomepageItemWhereInput = {
  AND?: Prisma.HomepageItemWhereInput | Prisma.HomepageItemWhereInput[]
  OR?: Prisma.HomepageItemWhereInput[]
  NOT?: Prisma.HomepageItemWhereInput | Prisma.HomepageItemWhereInput[]
  id?: Prisma.StringFilter<"HomepageItem"> | string
  section?: Prisma.StringFilter<"HomepageItem"> | string
  label?: Prisma.StringFilter<"HomepageItem"> | string
  text?: Prisma.StringFilter<"HomepageItem"> | string
  href?: Prisma.StringFilter<"HomepageItem"> | string
  imageUrl?: Prisma.StringFilter<"HomepageItem"> | string
  altText?: Prisma.StringFilter<"HomepageItem"> | string
  sortOrder?: Prisma.IntFilter<"HomepageItem"> | number
  published?: Prisma.BoolFilter<"HomepageItem"> | boolean
  createdAt?: Prisma.DateTimeFilter<"HomepageItem"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"HomepageItem"> | Date | string
}

export type HomepageItemOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  section?: Prisma.SortOrder
  label?: Prisma.SortOrder
  text?: Prisma.SortOrder
  href?: Prisma.SortOrder
  imageUrl?: Prisma.SortOrder
  altText?: Prisma.SortOrder
  sortOrder?: Prisma.SortOrder
  published?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type HomepageItemWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.HomepageItemWhereInput | Prisma.HomepageItemWhereInput[]
  OR?: Prisma.HomepageItemWhereInput[]
  NOT?: Prisma.HomepageItemWhereInput | Prisma.HomepageItemWhereInput[]
  section?: Prisma.StringFilter<"HomepageItem"> | string
  label?: Prisma.StringFilter<"HomepageItem"> | string
  text?: Prisma.StringFilter<"HomepageItem"> | string
  href?: Prisma.StringFilter<"HomepageItem"> | string
  imageUrl?: Prisma.StringFilter<"HomepageItem"> | string
  altText?: Prisma.StringFilter<"HomepageItem"> | string
  sortOrder?: Prisma.IntFilter<"HomepageItem"> | number
  published?: Prisma.BoolFilter<"HomepageItem"> | boolean
  createdAt?: Prisma.DateTimeFilter<"HomepageItem"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"HomepageItem"> | Date | string
}, "id">

export type HomepageItemOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  section?: Prisma.SortOrder
  label?: Prisma.SortOrder
  text?: Prisma.SortOrder
  href?: Prisma.SortOrder
  imageUrl?: Prisma.SortOrder
  altText?: Prisma.SortOrder
  sortOrder?: Prisma.SortOrder
  published?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.HomepageItemCountOrderByAggregateInput
  _avg?: Prisma.HomepageItemAvgOrderByAggregateInput
  _max?: Prisma.HomepageItemMaxOrderByAggregateInput
  _min?: Prisma.HomepageItemMinOrderByAggregateInput
  _sum?: Prisma.HomepageItemSumOrderByAggregateInput
}

export type HomepageItemScalarWhereWithAggregatesInput = {
  AND?: Prisma.HomepageItemScalarWhereWithAggregatesInput | Prisma.HomepageItemScalarWhereWithAggregatesInput[]
  OR?: Prisma.HomepageItemScalarWhereWithAggregatesInput[]
  NOT?: Prisma.HomepageItemScalarWhereWithAggregatesInput | Prisma.HomepageItemScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  section?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  label?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  text?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  href?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  imageUrl?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  altText?: Prisma.StringWithAggregatesFilter<"HomepageItem"> | string
  sortOrder?: Prisma.IntWithAggregatesFilter<"HomepageItem"> | number
  published?: Prisma.BoolWithAggregatesFilter<"HomepageItem"> | boolean
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"HomepageItem"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HomepageItem"> | Date | string
}

export type HomepageItemCreateInput = {
  id?: string
  section: string
  label?: string
  text?: string
  href?: string
  imageUrl?: string
  altText?: string
  sortOrder?: number
  published?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type HomepageItemUncheckedCreateInput = {
  id?: string
  section: string
  label?: string
  text?: string
  href?: string
  imageUrl?: string
  altText?: string
  sortOrder?: number
  published?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type HomepageItemUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  section?: Prisma.StringFieldUpdateOperationsInput | string
  label?: Prisma.StringFieldUpdateOperationsInput | string
  text?: Prisma.StringFieldUpdateOperationsInput | string
  href?: Prisma.StringFieldUpdateOperationsInput | string
  imageUrl?: Prisma.StringFieldUpdateOperationsInput | string
  altText?: Prisma.StringFieldUpdateOperationsInput | string
  sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
  published?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HomepageItemUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  section?: Prisma.StringFieldUpdateOperationsInput | string
  label?: Prisma.StringFieldUpdateOperationsInput | string
  text?: Prisma.StringFieldUpdateOperationsInput | string
  href?: Prisma.StringFieldUpdateOperationsInput | string
  imageUrl?: Prisma.StringFieldUpdateOperationsInput | string
  altText?: Prisma.StringFieldUpdateOperationsInput | string
  sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
  published?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HomepageItemCreateManyInput = {
  id?: string
  section: string
  label?: string
  text?: string
  href?: string
  imageUrl?: string
  altText?: string
  sortOrder?: number
  published?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type HomepageItemUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  section?: Prisma.StringFieldUpdateOperationsInput | string
  label?: Prisma.StringFieldUpdateOperationsInput | string
  text?: Prisma.StringFieldUpdateOperationsInput | string
  href?: Prisma.StringFieldUpdateOperationsInput | string
  imageUrl?: Prisma.StringFieldUpdateOperationsInput | string
  altText?: Prisma.StringFieldUpdateOperationsInput | string
  sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
  published?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HomepageItemUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  section?: Prisma.StringFieldUpdateOperationsInput | string
  label?: Prisma.StringFieldUpdateOperationsInput | string
  text?: Prisma.StringFieldUpdateOperationsInput | string
  href?: Prisma.StringFieldUpdateOperationsInput | string
  imageUrl?: Prisma.StringFieldUpdateOperationsInput | string
  altText?: Prisma.StringFieldUpdateOperationsInput | string
  sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
  published?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type HomepageItemCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  section?: Prisma.SortOrder
  label?: Prisma.SortOrder
  text?: Prisma.SortOrder
  href?: Prisma.SortOrder
  imageUrl?: Prisma.SortOrder
  altText?: Prisma.SortOrder
  sortOrder?: Prisma.SortOrder
  published?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type HomepageItemAvgOrderByAggregateInput = {
  sortOrder?: Prisma.SortOrder
}

export type HomepageItemMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  section?: Prisma.SortOrder
  label?: Prisma.SortOrder
  text?: Prisma.SortOrder
  href?: Prisma.SortOrder
  imageUrl?: Prisma.SortOrder
  altText?: Prisma.SortOrder
  sortOrder?: Prisma.SortOrder
  published?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type HomepageItemMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  section?: Prisma.SortOrder
  label?: Prisma.SortOrder
  text?: Prisma.SortOrder
  href?: Prisma.SortOrder
  imageUrl?: Prisma.SortOrder
  altText?: Prisma.SortOrder
  sortOrder?: Prisma.SortOrder
  published?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type HomepageItemSumOrderByAggregateInput = {
  sortOrder?: Prisma.SortOrder
}



export type HomepageItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  section?: boolean
  label?: boolean
  text?: boolean
  href?: boolean
  imageUrl?: boolean
  altText?: boolean
  sortOrder?: boolean
  published?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["homepageItem"]>

export type HomepageItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  section?: boolean
  label?: boolean
  text?: boolean
  href?: boolean
  imageUrl?: boolean
  altText?: boolean
  sortOrder?: boolean
  published?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["homepageItem"]>

export type HomepageItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  section?: boolean
  label?: boolean
  text?: boolean
  href?: boolean
  imageUrl?: boolean
  altText?: boolean
  sortOrder?: boolean
  published?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["homepageItem"]>

export type HomepageItemSelectScalar = {
  id?: boolean
  section?: boolean
  label?: boolean
  text?: boolean
  href?: boolean
  imageUrl?: boolean
  altText?: boolean
  sortOrder?: boolean
  published?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type HomepageItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "section" | "label" | "text" | "href" | "imageUrl" | "altText" | "sortOrder" | "published" | "createdAt" | "updatedAt", ExtArgs["result"]["homepageItem"]>

export type $HomepageItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "HomepageItem"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    section: string
    label: string
    text: string
    href: string
    imageUrl: string
    altText: string
    sortOrder: number
    published: boolean
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["homepageItem"]>
  composites: {}
}

export type HomepageItemGetPayload<S extends boolean | null | undefined | HomepageItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HomepageItemPayload, S>

export type HomepageItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<HomepageItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: HomepageItemCountAggregateInputType | true
  }

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

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

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

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

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

  /**
   * Create a HomepageItem.
   * @param {HomepageItemCreateArgs} args - Arguments to create a HomepageItem.
   * @example
   * // Create one HomepageItem
   * const HomepageItem = await prisma.homepageItem.create({
   *   data: {
   *     // ... data to create a HomepageItem
   *   }
   * })
   * 
   */
  create<T extends HomepageItemCreateArgs>(args: Prisma.SelectSubset<T, HomepageItemCreateArgs<ExtArgs>>): Prisma.Prisma__HomepageItemClient<runtime.Types.Result.GetResult<Prisma.$HomepageItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

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

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

  /**
   * Delete a HomepageItem.
   * @param {HomepageItemDeleteArgs} args - Arguments to delete one HomepageItem.
   * @example
   * // Delete one HomepageItem
   * const HomepageItem = await prisma.homepageItem.delete({
   *   where: {
   *     // ... filter to delete one HomepageItem
   *   }
   * })
   * 
   */
  delete<T extends HomepageItemDeleteArgs>(args: Prisma.SelectSubset<T, HomepageItemDeleteArgs<ExtArgs>>): Prisma.Prisma__HomepageItemClient<runtime.Types.Result.GetResult<Prisma.$HomepageItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one HomepageItem.
   * @param {HomepageItemUpdateArgs} args - Arguments to update one HomepageItem.
   * @example
   * // Update one HomepageItem
   * const homepageItem = await prisma.homepageItem.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends HomepageItemUpdateArgs>(args: Prisma.SelectSubset<T, HomepageItemUpdateArgs<ExtArgs>>): Prisma.Prisma__HomepageItemClient<runtime.Types.Result.GetResult<Prisma.$HomepageItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for HomepageItem.
 * 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__HomepageItemClient<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 HomepageItem model
 */
export interface HomepageItemFieldRefs {
  readonly id: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly section: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly label: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly text: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly href: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly imageUrl: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly altText: Prisma.FieldRef<"HomepageItem", 'String'>
  readonly sortOrder: Prisma.FieldRef<"HomepageItem", 'Int'>
  readonly published: Prisma.FieldRef<"HomepageItem", 'Boolean'>
  readonly createdAt: Prisma.FieldRef<"HomepageItem", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"HomepageItem", 'DateTime'>
}
    

// Custom InputTypes
/**
 * HomepageItem findUnique
 */
export type HomepageItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * Filter, which HomepageItem to fetch.
   */
  where: Prisma.HomepageItemWhereUniqueInput
}

/**
 * HomepageItem findUniqueOrThrow
 */
export type HomepageItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * Filter, which HomepageItem to fetch.
   */
  where: Prisma.HomepageItemWhereUniqueInput
}

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

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

/**
 * HomepageItem findMany
 */
export type HomepageItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * Filter, which HomepageItems to fetch.
   */
  where?: Prisma.HomepageItemWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of HomepageItems to fetch.
   */
  orderBy?: Prisma.HomepageItemOrderByWithRelationInput | Prisma.HomepageItemOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing HomepageItems.
   */
  cursor?: Prisma.HomepageItemWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` HomepageItems 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` HomepageItems.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of HomepageItems.
   */
  distinct?: Prisma.HomepageItemScalarFieldEnum | Prisma.HomepageItemScalarFieldEnum[]
}

/**
 * HomepageItem create
 */
export type HomepageItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * The data needed to create a HomepageItem.
   */
  data: Prisma.XOR<Prisma.HomepageItemCreateInput, Prisma.HomepageItemUncheckedCreateInput>
}

/**
 * HomepageItem createMany
 */
export type HomepageItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many HomepageItems.
   */
  data: Prisma.HomepageItemCreateManyInput | Prisma.HomepageItemCreateManyInput[]
}

/**
 * HomepageItem createManyAndReturn
 */
export type HomepageItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * The data used to create many HomepageItems.
   */
  data: Prisma.HomepageItemCreateManyInput | Prisma.HomepageItemCreateManyInput[]
}

/**
 * HomepageItem update
 */
export type HomepageItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * The data needed to update a HomepageItem.
   */
  data: Prisma.XOR<Prisma.HomepageItemUpdateInput, Prisma.HomepageItemUncheckedUpdateInput>
  /**
   * Choose, which HomepageItem to update.
   */
  where: Prisma.HomepageItemWhereUniqueInput
}

/**
 * HomepageItem updateMany
 */
export type HomepageItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update HomepageItems.
   */
  data: Prisma.XOR<Prisma.HomepageItemUpdateManyMutationInput, Prisma.HomepageItemUncheckedUpdateManyInput>
  /**
   * Filter which HomepageItems to update
   */
  where?: Prisma.HomepageItemWhereInput
  /**
   * Limit how many HomepageItems to update.
   */
  limit?: number
}

/**
 * HomepageItem updateManyAndReturn
 */
export type HomepageItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * The data used to update HomepageItems.
   */
  data: Prisma.XOR<Prisma.HomepageItemUpdateManyMutationInput, Prisma.HomepageItemUncheckedUpdateManyInput>
  /**
   * Filter which HomepageItems to update
   */
  where?: Prisma.HomepageItemWhereInput
  /**
   * Limit how many HomepageItems to update.
   */
  limit?: number
}

/**
 * HomepageItem upsert
 */
export type HomepageItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * The filter to search for the HomepageItem to update in case it exists.
   */
  where: Prisma.HomepageItemWhereUniqueInput
  /**
   * In case the HomepageItem found by the `where` argument doesn't exist, create a new HomepageItem with this data.
   */
  create: Prisma.XOR<Prisma.HomepageItemCreateInput, Prisma.HomepageItemUncheckedCreateInput>
  /**
   * In case the HomepageItem was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.HomepageItemUpdateInput, Prisma.HomepageItemUncheckedUpdateInput>
}

/**
 * HomepageItem delete
 */
export type HomepageItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
  /**
   * Filter which HomepageItem to delete.
   */
  where: Prisma.HomepageItemWhereUniqueInput
}

/**
 * HomepageItem deleteMany
 */
export type HomepageItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which HomepageItems to delete
   */
  where?: Prisma.HomepageItemWhereInput
  /**
   * Limit how many HomepageItems to delete.
   */
  limit?: number
}

/**
 * HomepageItem without action
 */
export type HomepageItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HomepageItem
   */
  select?: Prisma.HomepageItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HomepageItem
   */
  omit?: Prisma.HomepageItemOmit<ExtArgs> | null
}
