/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Setting` 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 Setting * */ export type SettingModel = runtime.Types.Result.DefaultSelection export type AggregateSetting = { _count: SettingCountAggregateOutputType | null _min: SettingMinAggregateOutputType | null _max: SettingMaxAggregateOutputType | null } export type SettingMinAggregateOutputType = { id: string | null key: string | null value: string | null createdAt: Date | null updatedAt: Date | null } export type SettingMaxAggregateOutputType = { id: string | null key: string | null value: string | null createdAt: Date | null updatedAt: Date | null } export type SettingCountAggregateOutputType = { id: number key: number value: number createdAt: number updatedAt: number _all: number } export type SettingMinAggregateInputType = { id?: true key?: true value?: true createdAt?: true updatedAt?: true } export type SettingMaxAggregateInputType = { id?: true key?: true value?: true createdAt?: true updatedAt?: true } export type SettingCountAggregateInputType = { id?: true key?: true value?: true createdAt?: true updatedAt?: true _all?: true } export type SettingAggregateArgs = { /** * Filter which Setting to aggregate. */ where?: Prisma.SettingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: Prisma.SettingOrderByWithRelationInput | Prisma.SettingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SettingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings 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` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Settings **/ _count?: true | SettingCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SettingMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SettingMaxAggregateInputType } export type GetSettingAggregateType = { [P in keyof T & keyof AggregateSetting]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SettingGroupByArgs = { where?: Prisma.SettingWhereInput orderBy?: Prisma.SettingOrderByWithAggregationInput | Prisma.SettingOrderByWithAggregationInput[] by: Prisma.SettingScalarFieldEnum[] | Prisma.SettingScalarFieldEnum having?: Prisma.SettingScalarWhereWithAggregatesInput take?: number skip?: number _count?: SettingCountAggregateInputType | true _min?: SettingMinAggregateInputType _max?: SettingMaxAggregateInputType } export type SettingGroupByOutputType = { id: string key: string value: string createdAt: Date updatedAt: Date _count: SettingCountAggregateOutputType | null _min: SettingMinAggregateOutputType | null _max: SettingMaxAggregateOutputType | null } export type GetSettingGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SettingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SettingWhereInput = { AND?: Prisma.SettingWhereInput | Prisma.SettingWhereInput[] OR?: Prisma.SettingWhereInput[] NOT?: Prisma.SettingWhereInput | Prisma.SettingWhereInput[] id?: Prisma.StringFilter<"Setting"> | string key?: Prisma.StringFilter<"Setting"> | string value?: Prisma.StringFilter<"Setting"> | string createdAt?: Prisma.DateTimeFilter<"Setting"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Setting"> | Date | string } export type SettingOrderByWithRelationInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SettingWhereUniqueInput = Prisma.AtLeast<{ id?: string key?: string AND?: Prisma.SettingWhereInput | Prisma.SettingWhereInput[] OR?: Prisma.SettingWhereInput[] NOT?: Prisma.SettingWhereInput | Prisma.SettingWhereInput[] value?: Prisma.StringFilter<"Setting"> | string createdAt?: Prisma.DateTimeFilter<"Setting"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Setting"> | Date | string }, "id" | "key"> export type SettingOrderByWithAggregationInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.SettingCountOrderByAggregateInput _max?: Prisma.SettingMaxOrderByAggregateInput _min?: Prisma.SettingMinOrderByAggregateInput } export type SettingScalarWhereWithAggregatesInput = { AND?: Prisma.SettingScalarWhereWithAggregatesInput | Prisma.SettingScalarWhereWithAggregatesInput[] OR?: Prisma.SettingScalarWhereWithAggregatesInput[] NOT?: Prisma.SettingScalarWhereWithAggregatesInput | Prisma.SettingScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Setting"> | string key?: Prisma.StringWithAggregatesFilter<"Setting"> | string value?: Prisma.StringWithAggregatesFilter<"Setting"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Setting"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Setting"> | Date | string } export type SettingCreateInput = { id?: string key: string value: string createdAt?: Date | string updatedAt?: Date | string } export type SettingUncheckedCreateInput = { id?: string key: string value: string createdAt?: Date | string updatedAt?: Date | string } export type SettingUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SettingUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SettingCreateManyInput = { id?: string key: string value: string createdAt?: Date | string updatedAt?: Date | string } export type SettingUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SettingUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SettingCountOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SettingMaxOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SettingMinOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SettingSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["setting"]> export type SettingSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["setting"]> export type SettingSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["setting"]> export type SettingSelectScalar = { id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean } export type SettingOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "createdAt" | "updatedAt", ExtArgs["result"]["setting"]> export type $SettingPayload = { name: "Setting" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string key: string value: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["setting"]> composites: {} } export type SettingGetPayload = runtime.Types.Result.GetResult export type SettingCountArgs = Omit & { select?: SettingCountAggregateInputType | true } export interface SettingDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Setting'], meta: { name: 'Setting' } } /** * Find zero or one Setting that matches the filter. * @param {SettingFindUniqueArgs} args - Arguments to find a Setting * @example * // Get one Setting * const setting = await prisma.setting.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Setting that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SettingFindUniqueOrThrowArgs} args - Arguments to find a Setting * @example * // Get one Setting * const setting = await prisma.setting.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Setting 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 {SettingFindFirstArgs} args - Arguments to find a Setting * @example * // Get one Setting * const setting = await prisma.setting.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Setting 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 {SettingFindFirstOrThrowArgs} args - Arguments to find a Setting * @example * // Get one Setting * const setting = await prisma.setting.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Settings 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 {SettingFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Settings * const settings = await prisma.setting.findMany() * * // Get first 10 Settings * const settings = await prisma.setting.findMany({ take: 10 }) * * // Only select the `id` * const settingWithIdOnly = await prisma.setting.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Setting. * @param {SettingCreateArgs} args - Arguments to create a Setting. * @example * // Create one Setting * const Setting = await prisma.setting.create({ * data: { * // ... data to create a Setting * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Settings. * @param {SettingCreateManyArgs} args - Arguments to create many Settings. * @example * // Create many Settings * const setting = await prisma.setting.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Settings and returns the data saved in the database. * @param {SettingCreateManyAndReturnArgs} args - Arguments to create many Settings. * @example * // Create many Settings * const setting = await prisma.setting.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Settings and only return the `id` * const settingWithIdOnly = await prisma.setting.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Setting. * @param {SettingDeleteArgs} args - Arguments to delete one Setting. * @example * // Delete one Setting * const Setting = await prisma.setting.delete({ * where: { * // ... filter to delete one Setting * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Setting. * @param {SettingUpdateArgs} args - Arguments to update one Setting. * @example * // Update one Setting * const setting = await prisma.setting.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Settings. * @param {SettingDeleteManyArgs} args - Arguments to filter Settings to delete. * @example * // Delete a few Settings * const { count } = await prisma.setting.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Settings * const setting = await prisma.setting.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Settings and returns the data updated in the database. * @param {SettingUpdateManyAndReturnArgs} args - Arguments to update many Settings. * @example * // Update many Settings * const setting = await prisma.setting.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Settings and only return the `id` * const settingWithIdOnly = await prisma.setting.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Setting. * @param {SettingUpsertArgs} args - Arguments to update or create a Setting. * @example * // Update or create a Setting * const setting = await prisma.setting.upsert({ * create: { * // ... data to create a Setting * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Setting we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SettingClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingCountArgs} args - Arguments to filter Settings to count. * @example * // Count the number of Settings * const count = await prisma.setting.count({ * where: { * // ... the filter for the Settings 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 Setting. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingAggregateArgs} 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 Setting. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingGroupByArgs} 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 SettingGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SettingGroupByArgs['orderBy'] } : { orderBy?: SettingGroupByArgs['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 ? GetSettingGroupByPayload : Prisma.PrismaPromise /** * Fields of the Setting model */ readonly fields: SettingFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Setting. * 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__SettingClient 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 Setting model */ export interface SettingFieldRefs { readonly id: Prisma.FieldRef<"Setting", 'String'> readonly key: Prisma.FieldRef<"Setting", 'String'> readonly value: Prisma.FieldRef<"Setting", 'String'> readonly createdAt: Prisma.FieldRef<"Setting", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Setting", 'DateTime'> } // Custom InputTypes /** * Setting findUnique */ export type SettingFindUniqueArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter, which Setting to fetch. */ where: Prisma.SettingWhereUniqueInput } /** * Setting findUniqueOrThrow */ export type SettingFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter, which Setting to fetch. */ where: Prisma.SettingWhereUniqueInput } /** * Setting findFirst */ export type SettingFindFirstArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter, which Setting to fetch. */ where?: Prisma.SettingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: Prisma.SettingOrderByWithRelationInput | Prisma.SettingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Settings. */ cursor?: Prisma.SettingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings 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` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Settings. */ distinct?: Prisma.SettingScalarFieldEnum | Prisma.SettingScalarFieldEnum[] } /** * Setting findFirstOrThrow */ export type SettingFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter, which Setting to fetch. */ where?: Prisma.SettingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: Prisma.SettingOrderByWithRelationInput | Prisma.SettingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Settings. */ cursor?: Prisma.SettingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings 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` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Settings. */ distinct?: Prisma.SettingScalarFieldEnum | Prisma.SettingScalarFieldEnum[] } /** * Setting findMany */ export type SettingFindManyArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter, which Settings to fetch. */ where?: Prisma.SettingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: Prisma.SettingOrderByWithRelationInput | Prisma.SettingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Settings. */ cursor?: Prisma.SettingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings 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` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Settings. */ distinct?: Prisma.SettingScalarFieldEnum | Prisma.SettingScalarFieldEnum[] } /** * Setting create */ export type SettingCreateArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * The data needed to create a Setting. */ data: Prisma.XOR } /** * Setting createMany */ export type SettingCreateManyArgs = { /** * The data used to create many Settings. */ data: Prisma.SettingCreateManyInput | Prisma.SettingCreateManyInput[] } /** * Setting createManyAndReturn */ export type SettingCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelectCreateManyAndReturn | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * The data used to create many Settings. */ data: Prisma.SettingCreateManyInput | Prisma.SettingCreateManyInput[] } /** * Setting update */ export type SettingUpdateArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * The data needed to update a Setting. */ data: Prisma.XOR /** * Choose, which Setting to update. */ where: Prisma.SettingWhereUniqueInput } /** * Setting updateMany */ export type SettingUpdateManyArgs = { /** * The data used to update Settings. */ data: Prisma.XOR /** * Filter which Settings to update */ where?: Prisma.SettingWhereInput /** * Limit how many Settings to update. */ limit?: number } /** * Setting updateManyAndReturn */ export type SettingUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelectUpdateManyAndReturn | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * The data used to update Settings. */ data: Prisma.XOR /** * Filter which Settings to update */ where?: Prisma.SettingWhereInput /** * Limit how many Settings to update. */ limit?: number } /** * Setting upsert */ export type SettingUpsertArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * The filter to search for the Setting to update in case it exists. */ where: Prisma.SettingWhereUniqueInput /** * In case the Setting found by the `where` argument doesn't exist, create a new Setting with this data. */ create: Prisma.XOR /** * In case the Setting was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Setting delete */ export type SettingDeleteArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null /** * Filter which Setting to delete. */ where: Prisma.SettingWhereUniqueInput } /** * Setting deleteMany */ export type SettingDeleteManyArgs = { /** * Filter which Settings to delete */ where?: Prisma.SettingWhereInput /** * Limit how many Settings to delete. */ limit?: number } /** * Setting without action */ export type SettingDefaultArgs = { /** * Select specific fields to fetch from the Setting */ select?: Prisma.SettingSelect | null /** * Omit specific fields from the Setting */ omit?: Prisma.SettingOmit | null }