/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SystemSettings` model and its related types. * * 🟢 You can import this file directly. */ import type * as PJTG from '../pjtg'; import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model SystemSettings * */ export type SystemSettingsModel = runtime.Types.Result.DefaultSelection export type AggregateSystemSettings = { _count: SystemSettingsCountAggregateOutputType | null _min: SystemSettingsMinAggregateOutputType | null _max: SystemSettingsMaxAggregateOutputType | null } export type SystemSettingsMinAggregateOutputType = { id: string | null key: string | null createdAt: Date | null updatedAt: Date | null } export type SystemSettingsMaxAggregateOutputType = { id: string | null key: string | null createdAt: Date | null updatedAt: Date | null } export type SystemSettingsCountAggregateOutputType = { id: number key: number value:PrismaJson.SystemSettingsValue createdAt: number updatedAt: number _all: number } export type SystemSettingsMinAggregateInputType = { id?: true key?: true createdAt?: true updatedAt?: true } export type SystemSettingsMaxAggregateInputType = { id?: true key?: true createdAt?: true updatedAt?: true } export type SystemSettingsCountAggregateInputType = { id?: true key?: true value?: true createdAt?: true updatedAt?: true _all?: true } export type SystemSettingsAggregateArgs = { /** * Filter which SystemSettings to aggregate. */ where?: Prisma.SystemSettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SystemSettings to fetch. */ orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SystemSettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SystemSettings 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` SystemSettings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SystemSettings **/ _count?: true | SystemSettingsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SystemSettingsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SystemSettingsMaxAggregateInputType } export type GetSystemSettingsAggregateType = { [P in keyof T & keyof AggregateSystemSettings]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SystemSettingsGroupByArgs = { where?: Prisma.SystemSettingsWhereInput orderBy?: Prisma.SystemSettingsOrderByWithAggregationInput | Prisma.SystemSettingsOrderByWithAggregationInput[] by: Prisma.SystemSettingsScalarFieldEnum[] | Prisma.SystemSettingsScalarFieldEnum having?: Prisma.SystemSettingsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SystemSettingsCountAggregateInputType | true _min?: SystemSettingsMinAggregateInputType _max?: SystemSettingsMaxAggregateInputType } export type SystemSettingsGroupByOutputType = { id: string key: string value:PrismaJson.SystemSettingsValue | null createdAt: Date updatedAt: Date _count: SystemSettingsCountAggregateOutputType | null _min: SystemSettingsMinAggregateOutputType | null _max: SystemSettingsMaxAggregateOutputType | null } export type GetSystemSettingsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SystemSettingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SystemSettingsWhereInput = { AND?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] OR?: Prisma.SystemSettingsWhereInput[] NOT?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] id?: Prisma.StringFilter<"SystemSettings"> | string key?: Prisma.StringFilter<"SystemSettings"> | string value?: Prisma.JsonNullableFilter<"SystemSettings"> createdAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string updatedAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string } export type SystemSettingsOrderByWithRelationInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SystemSettingsWhereUniqueInput = Prisma.AtLeast<{ id?: string key?: string AND?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] OR?: Prisma.SystemSettingsWhereInput[] NOT?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] value?: Prisma.JsonNullableFilter<"SystemSettings"> createdAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string updatedAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string }, "id" | "key"> export type SystemSettingsOrderByWithAggregationInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.SystemSettingsCountOrderByAggregateInput _max?: Prisma.SystemSettingsMaxOrderByAggregateInput _min?: Prisma.SystemSettingsMinOrderByAggregateInput } export type SystemSettingsScalarWhereWithAggregatesInput = { AND?: Prisma.SystemSettingsScalarWhereWithAggregatesInput | Prisma.SystemSettingsScalarWhereWithAggregatesInput[] OR?: Prisma.SystemSettingsScalarWhereWithAggregatesInput[] NOT?: Prisma.SystemSettingsScalarWhereWithAggregatesInput | Prisma.SystemSettingsScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"SystemSettings"> | string key?: Prisma.StringWithAggregatesFilter<"SystemSettings"> | string value?: Prisma.JsonNullableWithAggregatesFilter<"SystemSettings"> createdAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSettings"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSettings"> | Date | string } export type SystemSettingsCreateInput = { id?: string key: string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string } export type SystemSettingsUncheckedCreateInput = { id?: string key: string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string } export type SystemSettingsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SystemSettingsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SystemSettingsCreateManyInput = { id?: string key: string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Date | string updatedAt?: Date | string } export type SystemSettingsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SystemSettingsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string key?: Prisma.StringFieldUpdateOperationsInput | string value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SystemSettingsCountOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder value?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SystemSettingsMaxOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SystemSettingsMinOrderByAggregateInput = { id?: Prisma.SortOrder key?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type SystemSettingsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["systemSettings"]> export type SystemSettingsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["systemSettings"]> export type SystemSettingsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["systemSettings"]> export type SystemSettingsSelectScalar = { id?: boolean key?: boolean value?: boolean createdAt?: boolean updatedAt?: boolean } export type SystemSettingsOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "createdAt" | "updatedAt", ExtArgs["result"]["systemSettings"]> export type $SystemSettingsPayload = { name: "SystemSettings" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string key: string /** * [SystemSettingsValue] */ value:PrismaJson.SystemSettingsValue | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["systemSettings"]> composites: {} } export type SystemSettingsGetPayload = runtime.Types.Result.GetResult export type SystemSettingsCountArgs = Omit & { select?: SystemSettingsCountAggregateInputType | true } export interface SystemSettingsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SystemSettings'], meta: { name: 'SystemSettings' } } /** * Find zero or one SystemSettings that matches the filter. * @param {SystemSettingsFindUniqueArgs} args - Arguments to find a SystemSettings * @example * // Get one SystemSettings * const systemSettings = await prisma.systemSettings.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SystemSettings that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SystemSettingsFindUniqueOrThrowArgs} args - Arguments to find a SystemSettings * @example * // Get one SystemSettings * const systemSettings = await prisma.systemSettings.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SystemSettings 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 {SystemSettingsFindFirstArgs} args - Arguments to find a SystemSettings * @example * // Get one SystemSettings * const systemSettings = await prisma.systemSettings.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SystemSettings 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 {SystemSettingsFindFirstOrThrowArgs} args - Arguments to find a SystemSettings * @example * // Get one SystemSettings * const systemSettings = await prisma.systemSettings.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SystemSettings 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 {SystemSettingsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SystemSettings * const systemSettings = await prisma.systemSettings.findMany() * * // Get first 10 SystemSettings * const systemSettings = await prisma.systemSettings.findMany({ take: 10 }) * * // Only select the `id` * const systemSettingsWithIdOnly = await prisma.systemSettings.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SystemSettings. * @param {SystemSettingsCreateArgs} args - Arguments to create a SystemSettings. * @example * // Create one SystemSettings * const SystemSettings = await prisma.systemSettings.create({ * data: { * // ... data to create a SystemSettings * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SystemSettings. * @param {SystemSettingsCreateManyArgs} args - Arguments to create many SystemSettings. * @example * // Create many SystemSettings * const systemSettings = await prisma.systemSettings.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many SystemSettings and returns the data saved in the database. * @param {SystemSettingsCreateManyAndReturnArgs} args - Arguments to create many SystemSettings. * @example * // Create many SystemSettings * const systemSettings = await prisma.systemSettings.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SystemSettings and only return the `id` * const systemSettingsWithIdOnly = await prisma.systemSettings.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 SystemSettings. * @param {SystemSettingsDeleteArgs} args - Arguments to delete one SystemSettings. * @example * // Delete one SystemSettings * const SystemSettings = await prisma.systemSettings.delete({ * where: { * // ... filter to delete one SystemSettings * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SystemSettings. * @param {SystemSettingsUpdateArgs} args - Arguments to update one SystemSettings. * @example * // Update one SystemSettings * const systemSettings = await prisma.systemSettings.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SystemSettings. * @param {SystemSettingsDeleteManyArgs} args - Arguments to filter SystemSettings to delete. * @example * // Delete a few SystemSettings * const { count } = await prisma.systemSettings.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SystemSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SystemSettingsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SystemSettings * const systemSettings = await prisma.systemSettings.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SystemSettings and returns the data updated in the database. * @param {SystemSettingsUpdateManyAndReturnArgs} args - Arguments to update many SystemSettings. * @example * // Update many SystemSettings * const systemSettings = await prisma.systemSettings.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SystemSettings and only return the `id` * const systemSettingsWithIdOnly = await prisma.systemSettings.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 SystemSettings. * @param {SystemSettingsUpsertArgs} args - Arguments to update or create a SystemSettings. * @example * // Update or create a SystemSettings * const systemSettings = await prisma.systemSettings.upsert({ * create: { * // ... data to create a SystemSettings * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SystemSettings we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SystemSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SystemSettingsCountArgs} args - Arguments to filter SystemSettings to count. * @example * // Count the number of SystemSettings * const count = await prisma.systemSettings.count({ * where: { * // ... the filter for the SystemSettings 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 SystemSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SystemSettingsAggregateArgs} 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 SystemSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SystemSettingsGroupByArgs} 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 SystemSettingsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SystemSettingsGroupByArgs['orderBy'] } : { orderBy?: SystemSettingsGroupByArgs['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 ? GetSystemSettingsGroupByPayload : Prisma.PrismaPromise /** * Fields of the SystemSettings model */ readonly fields: SystemSettingsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SystemSettings. * 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__SystemSettingsClient 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 SystemSettings model */ export interface SystemSettingsFieldRefs { readonly id: Prisma.FieldRef<"SystemSettings", 'String'> readonly key: Prisma.FieldRef<"SystemSettings", 'String'> readonly value: Prisma.FieldRef<"SystemSettings", 'Json'> readonly createdAt: Prisma.FieldRef<"SystemSettings", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"SystemSettings", 'DateTime'> } // Custom InputTypes /** * SystemSettings findUnique */ export type SystemSettingsFindUniqueArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter, which SystemSettings to fetch. */ where: Prisma.SystemSettingsWhereUniqueInput } /** * SystemSettings findUniqueOrThrow */ export type SystemSettingsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter, which SystemSettings to fetch. */ where: Prisma.SystemSettingsWhereUniqueInput } /** * SystemSettings findFirst */ export type SystemSettingsFindFirstArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter, which SystemSettings to fetch. */ where?: Prisma.SystemSettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SystemSettings to fetch. */ orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SystemSettings. */ cursor?: Prisma.SystemSettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SystemSettings 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` SystemSettings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SystemSettings. */ distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] } /** * SystemSettings findFirstOrThrow */ export type SystemSettingsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter, which SystemSettings to fetch. */ where?: Prisma.SystemSettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SystemSettings to fetch. */ orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SystemSettings. */ cursor?: Prisma.SystemSettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SystemSettings 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` SystemSettings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SystemSettings. */ distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] } /** * SystemSettings findMany */ export type SystemSettingsFindManyArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter, which SystemSettings to fetch. */ where?: Prisma.SystemSettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SystemSettings to fetch. */ orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SystemSettings. */ cursor?: Prisma.SystemSettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SystemSettings 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` SystemSettings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SystemSettings. */ distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] } /** * SystemSettings create */ export type SystemSettingsCreateArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * The data needed to create a SystemSettings. */ data: Prisma.XOR } /** * SystemSettings createMany */ export type SystemSettingsCreateManyArgs = { /** * The data used to create many SystemSettings. */ data: Prisma.SystemSettingsCreateManyInput | Prisma.SystemSettingsCreateManyInput[] skipDuplicates?: boolean } /** * SystemSettings createManyAndReturn */ export type SystemSettingsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelectCreateManyAndReturn | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * The data used to create many SystemSettings. */ data: Prisma.SystemSettingsCreateManyInput | Prisma.SystemSettingsCreateManyInput[] skipDuplicates?: boolean } /** * SystemSettings update */ export type SystemSettingsUpdateArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * The data needed to update a SystemSettings. */ data: Prisma.XOR /** * Choose, which SystemSettings to update. */ where: Prisma.SystemSettingsWhereUniqueInput } /** * SystemSettings updateMany */ export type SystemSettingsUpdateManyArgs = { /** * The data used to update SystemSettings. */ data: Prisma.XOR /** * Filter which SystemSettings to update */ where?: Prisma.SystemSettingsWhereInput /** * Limit how many SystemSettings to update. */ limit?: number } /** * SystemSettings updateManyAndReturn */ export type SystemSettingsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelectUpdateManyAndReturn | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * The data used to update SystemSettings. */ data: Prisma.XOR /** * Filter which SystemSettings to update */ where?: Prisma.SystemSettingsWhereInput /** * Limit how many SystemSettings to update. */ limit?: number } /** * SystemSettings upsert */ export type SystemSettingsUpsertArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * The filter to search for the SystemSettings to update in case it exists. */ where: Prisma.SystemSettingsWhereUniqueInput /** * In case the SystemSettings found by the `where` argument doesn't exist, create a new SystemSettings with this data. */ create: Prisma.XOR /** * In case the SystemSettings was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SystemSettings delete */ export type SystemSettingsDeleteArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null /** * Filter which SystemSettings to delete. */ where: Prisma.SystemSettingsWhereUniqueInput } /** * SystemSettings deleteMany */ export type SystemSettingsDeleteManyArgs = { /** * Filter which SystemSettings to delete */ where?: Prisma.SystemSettingsWhereInput /** * Limit how many SystemSettings to delete. */ limit?: number } /** * SystemSettings without action */ export type SystemSettingsDefaultArgs = { /** * Select specific fields to fetch from the SystemSettings */ select?: Prisma.SystemSettingsSelect | null /** * Omit specific fields from the SystemSettings */ omit?: Prisma.SystemSettingsOmit | null }