/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `state` 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 state * */ export type stateModel = runtime.Types.Result.DefaultSelection export type AggregateState = { _count: StateCountAggregateOutputType | null _avg: StateAvgAggregateOutputType | null _sum: StateSumAggregateOutputType | null _min: StateMinAggregateOutputType | null _max: StateMaxAggregateOutputType | null } export type StateAvgAggregateOutputType = { id: number | null } export type StateSumAggregateOutputType = { id: number | null } export type StateMinAggregateOutputType = { id: number | null name_en: string | null name_fr: string | null abbrev: string | null country: string | null } export type StateMaxAggregateOutputType = { id: number | null name_en: string | null name_fr: string | null abbrev: string | null country: string | null } export type StateCountAggregateOutputType = { id: number name_en: number name_fr: number abbrev: number country: number _all: number } export type StateAvgAggregateInputType = { id?: true } export type StateSumAggregateInputType = { id?: true } export type StateMinAggregateInputType = { id?: true name_en?: true name_fr?: true abbrev?: true country?: true } export type StateMaxAggregateInputType = { id?: true name_en?: true name_fr?: true abbrev?: true country?: true } export type StateCountAggregateInputType = { id?: true name_en?: true name_fr?: true abbrev?: true country?: true _all?: true } export type StateAggregateArgs = { /** * Filter which state to aggregate. */ where?: Prisma.stateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of states to fetch. */ orderBy?: Prisma.stateOrderByWithRelationInput | Prisma.stateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.stateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` states 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` states. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned states **/ _count?: true | StateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: StateAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: StateSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: StateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: StateMaxAggregateInputType } export type GetStateAggregateType = { [P in keyof T & keyof AggregateState]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type stateGroupByArgs = { where?: Prisma.stateWhereInput orderBy?: Prisma.stateOrderByWithAggregationInput | Prisma.stateOrderByWithAggregationInput[] by: Prisma.StateScalarFieldEnum[] | Prisma.StateScalarFieldEnum having?: Prisma.stateScalarWhereWithAggregatesInput take?: number skip?: number _count?: StateCountAggregateInputType | true _avg?: StateAvgAggregateInputType _sum?: StateSumAggregateInputType _min?: StateMinAggregateInputType _max?: StateMaxAggregateInputType } export type StateGroupByOutputType = { id: number name_en: string name_fr: string abbrev: string country: string _count: StateCountAggregateOutputType | null _avg: StateAvgAggregateOutputType | null _sum: StateSumAggregateOutputType | null _min: StateMinAggregateOutputType | null _max: StateMaxAggregateOutputType | null } type GetStateGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof StateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type stateWhereInput = { AND?: Prisma.stateWhereInput | Prisma.stateWhereInput[] OR?: Prisma.stateWhereInput[] NOT?: Prisma.stateWhereInput | Prisma.stateWhereInput[] id?: Prisma.IntFilter<"state"> | number name_en?: Prisma.StringFilter<"state"> | string name_fr?: Prisma.StringFilter<"state"> | string abbrev?: Prisma.StringFilter<"state"> | string country?: Prisma.StringFilter<"state"> | string } export type stateOrderByWithRelationInput = { id?: Prisma.SortOrder name_en?: Prisma.SortOrder name_fr?: Prisma.SortOrder abbrev?: Prisma.SortOrder country?: Prisma.SortOrder _relevance?: Prisma.stateOrderByRelevanceInput } export type stateWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.stateWhereInput | Prisma.stateWhereInput[] OR?: Prisma.stateWhereInput[] NOT?: Prisma.stateWhereInput | Prisma.stateWhereInput[] name_en?: Prisma.StringFilter<"state"> | string name_fr?: Prisma.StringFilter<"state"> | string abbrev?: Prisma.StringFilter<"state"> | string country?: Prisma.StringFilter<"state"> | string }, "id"> export type stateOrderByWithAggregationInput = { id?: Prisma.SortOrder name_en?: Prisma.SortOrder name_fr?: Prisma.SortOrder abbrev?: Prisma.SortOrder country?: Prisma.SortOrder _count?: Prisma.stateCountOrderByAggregateInput _avg?: Prisma.stateAvgOrderByAggregateInput _max?: Prisma.stateMaxOrderByAggregateInput _min?: Prisma.stateMinOrderByAggregateInput _sum?: Prisma.stateSumOrderByAggregateInput } export type stateScalarWhereWithAggregatesInput = { AND?: Prisma.stateScalarWhereWithAggregatesInput | Prisma.stateScalarWhereWithAggregatesInput[] OR?: Prisma.stateScalarWhereWithAggregatesInput[] NOT?: Prisma.stateScalarWhereWithAggregatesInput | Prisma.stateScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"state"> | number name_en?: Prisma.StringWithAggregatesFilter<"state"> | string name_fr?: Prisma.StringWithAggregatesFilter<"state"> | string abbrev?: Prisma.StringWithAggregatesFilter<"state"> | string country?: Prisma.StringWithAggregatesFilter<"state"> | string } export type stateCreateInput = { name_en: string name_fr: string abbrev: string country: string } export type stateUncheckedCreateInput = { id?: number name_en: string name_fr: string abbrev: string country: string } export type stateUpdateInput = { name_en?: Prisma.StringFieldUpdateOperationsInput | string name_fr?: Prisma.StringFieldUpdateOperationsInput | string abbrev?: Prisma.StringFieldUpdateOperationsInput | string country?: Prisma.StringFieldUpdateOperationsInput | string } export type stateUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name_en?: Prisma.StringFieldUpdateOperationsInput | string name_fr?: Prisma.StringFieldUpdateOperationsInput | string abbrev?: Prisma.StringFieldUpdateOperationsInput | string country?: Prisma.StringFieldUpdateOperationsInput | string } export type stateCreateManyInput = { id?: number name_en: string name_fr: string abbrev: string country: string } export type stateUpdateManyMutationInput = { name_en?: Prisma.StringFieldUpdateOperationsInput | string name_fr?: Prisma.StringFieldUpdateOperationsInput | string abbrev?: Prisma.StringFieldUpdateOperationsInput | string country?: Prisma.StringFieldUpdateOperationsInput | string } export type stateUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name_en?: Prisma.StringFieldUpdateOperationsInput | string name_fr?: Prisma.StringFieldUpdateOperationsInput | string abbrev?: Prisma.StringFieldUpdateOperationsInput | string country?: Prisma.StringFieldUpdateOperationsInput | string } export type stateOrderByRelevanceInput = { fields: Prisma.stateOrderByRelevanceFieldEnum | Prisma.stateOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type stateCountOrderByAggregateInput = { id?: Prisma.SortOrder name_en?: Prisma.SortOrder name_fr?: Prisma.SortOrder abbrev?: Prisma.SortOrder country?: Prisma.SortOrder } export type stateAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type stateMaxOrderByAggregateInput = { id?: Prisma.SortOrder name_en?: Prisma.SortOrder name_fr?: Prisma.SortOrder abbrev?: Prisma.SortOrder country?: Prisma.SortOrder } export type stateMinOrderByAggregateInput = { id?: Prisma.SortOrder name_en?: Prisma.SortOrder name_fr?: Prisma.SortOrder abbrev?: Prisma.SortOrder country?: Prisma.SortOrder } export type stateSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type stateSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name_en?: boolean name_fr?: boolean abbrev?: boolean country?: boolean }, ExtArgs["result"]["state"]> export type stateSelectScalar = { id?: boolean name_en?: boolean name_fr?: boolean abbrev?: boolean country?: boolean } export type stateOmit = runtime.Types.Extensions.GetOmit<"id" | "name_en" | "name_fr" | "abbrev" | "country", ExtArgs["result"]["state"]> export type $statePayload = { name: "state" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name_en: string name_fr: string abbrev: string country: string }, ExtArgs["result"]["state"]> composites: {} } export type stateGetPayload = runtime.Types.Result.GetResult export type stateCountArgs = Omit & { select?: StateCountAggregateInputType | true } export interface stateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['state'], meta: { name: 'state' } } /** * Find zero or one State that matches the filter. * @param {stateFindUniqueArgs} args - Arguments to find a State * @example * // Get one State * const state = await prisma.state.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one State that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {stateFindUniqueOrThrowArgs} args - Arguments to find a State * @example * // Get one State * const state = await prisma.state.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first State 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 {stateFindFirstArgs} args - Arguments to find a State * @example * // Get one State * const state = await prisma.state.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first State 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 {stateFindFirstOrThrowArgs} args - Arguments to find a State * @example * // Get one State * const state = await prisma.state.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more States 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 {stateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all States * const states = await prisma.state.findMany() * * // Get first 10 States * const states = await prisma.state.findMany({ take: 10 }) * * // Only select the `id` * const stateWithIdOnly = await prisma.state.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a State. * @param {stateCreateArgs} args - Arguments to create a State. * @example * // Create one State * const State = await prisma.state.create({ * data: { * // ... data to create a State * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many States. * @param {stateCreateManyArgs} args - Arguments to create many States. * @example * // Create many States * const state = await prisma.state.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a State. * @param {stateDeleteArgs} args - Arguments to delete one State. * @example * // Delete one State * const State = await prisma.state.delete({ * where: { * // ... filter to delete one State * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one State. * @param {stateUpdateArgs} args - Arguments to update one State. * @example * // Update one State * const state = await prisma.state.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more States. * @param {stateDeleteManyArgs} args - Arguments to filter States to delete. * @example * // Delete a few States * const { count } = await prisma.state.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more States. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {stateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many States * const state = await prisma.state.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one State. * @param {stateUpsertArgs} args - Arguments to update or create a State. * @example * // Update or create a State * const state = await prisma.state.upsert({ * create: { * // ... data to create a State * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the State we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__stateClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of States. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {stateCountArgs} args - Arguments to filter States to count. * @example * // Count the number of States * const count = await prisma.state.count({ * where: { * // ... the filter for the States we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a State. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {StateAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by State. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {stateGroupByArgs} 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 stateGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: stateGroupByArgs['orderBy'] } : { orderBy?: stateGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetStateGroupByPayload : Prisma.PrismaPromise /** * Fields of the state model */ readonly fields: stateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for state. * 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__stateClient extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the state model */ export interface stateFieldRefs { readonly id: Prisma.FieldRef<"state", 'Int'> readonly name_en: Prisma.FieldRef<"state", 'String'> readonly name_fr: Prisma.FieldRef<"state", 'String'> readonly abbrev: Prisma.FieldRef<"state", 'String'> readonly country: Prisma.FieldRef<"state", 'String'> } // Custom InputTypes /** * state findUnique */ export type stateFindUniqueArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter, which state to fetch. */ where: Prisma.stateWhereUniqueInput } /** * state findUniqueOrThrow */ export type stateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter, which state to fetch. */ where: Prisma.stateWhereUniqueInput } /** * state findFirst */ export type stateFindFirstArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter, which state to fetch. */ where?: Prisma.stateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of states to fetch. */ orderBy?: Prisma.stateOrderByWithRelationInput | Prisma.stateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for states. */ cursor?: Prisma.stateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` states 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` states. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of states. */ distinct?: Prisma.StateScalarFieldEnum | Prisma.StateScalarFieldEnum[] } /** * state findFirstOrThrow */ export type stateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter, which state to fetch. */ where?: Prisma.stateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of states to fetch. */ orderBy?: Prisma.stateOrderByWithRelationInput | Prisma.stateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for states. */ cursor?: Prisma.stateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` states 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` states. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of states. */ distinct?: Prisma.StateScalarFieldEnum | Prisma.StateScalarFieldEnum[] } /** * state findMany */ export type stateFindManyArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter, which states to fetch. */ where?: Prisma.stateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of states to fetch. */ orderBy?: Prisma.stateOrderByWithRelationInput | Prisma.stateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing states. */ cursor?: Prisma.stateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` states 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` states. */ skip?: number distinct?: Prisma.StateScalarFieldEnum | Prisma.StateScalarFieldEnum[] } /** * state create */ export type stateCreateArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * The data needed to create a state. */ data: Prisma.XOR } /** * state createMany */ export type stateCreateManyArgs = { /** * The data used to create many states. */ data: Prisma.stateCreateManyInput | Prisma.stateCreateManyInput[] skipDuplicates?: boolean } /** * state update */ export type stateUpdateArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * The data needed to update a state. */ data: Prisma.XOR /** * Choose, which state to update. */ where: Prisma.stateWhereUniqueInput } /** * state updateMany */ export type stateUpdateManyArgs = { /** * The data used to update states. */ data: Prisma.XOR /** * Filter which states to update */ where?: Prisma.stateWhereInput /** * Limit how many states to update. */ limit?: number } /** * state upsert */ export type stateUpsertArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * The filter to search for the state to update in case it exists. */ where: Prisma.stateWhereUniqueInput /** * In case the state found by the `where` argument doesn't exist, create a new state with this data. */ create: Prisma.XOR /** * In case the state was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * state delete */ export type stateDeleteArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null /** * Filter which state to delete. */ where: Prisma.stateWhereUniqueInput } /** * state deleteMany */ export type stateDeleteManyArgs = { /** * Filter which states to delete */ where?: Prisma.stateWhereInput /** * Limit how many states to delete. */ limit?: number } /** * state without action */ export type stateDefaultArgs = { /** * Select specific fields to fetch from the state */ select?: Prisma.stateSelect | null /** * Omit specific fields from the state */ omit?: Prisma.stateOmit | null }