/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Sessions` 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 Sessions * */ export type SessionsModel = runtime.Types.Result.DefaultSelection export type AggregateSessions = { _count: SessionsCountAggregateOutputType | null _min: SessionsMinAggregateOutputType | null _max: SessionsMaxAggregateOutputType | null } export type SessionsMinAggregateOutputType = { id: string | null sid: string | null data: string | null expiresAt: Date | null } export type SessionsMaxAggregateOutputType = { id: string | null sid: string | null data: string | null expiresAt: Date | null } export type SessionsCountAggregateOutputType = { id: number sid: number data: number expiresAt: number _all: number } export type SessionsMinAggregateInputType = { id?: true sid?: true data?: true expiresAt?: true } export type SessionsMaxAggregateInputType = { id?: true sid?: true data?: true expiresAt?: true } export type SessionsCountAggregateInputType = { id?: true sid?: true data?: true expiresAt?: true _all?: true } export type SessionsAggregateArgs = { /** * Filter which Sessions to aggregate. */ where?: Prisma.SessionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: Prisma.SessionsOrderByWithRelationInput | Prisma.SessionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SessionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Sessions **/ _count?: true | SessionsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SessionsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SessionsMaxAggregateInputType } export type GetSessionsAggregateType = { [P in keyof T & keyof AggregateSessions]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SessionsGroupByArgs = { where?: Prisma.SessionsWhereInput orderBy?: Prisma.SessionsOrderByWithAggregationInput | Prisma.SessionsOrderByWithAggregationInput[] by: Prisma.SessionsScalarFieldEnum[] | Prisma.SessionsScalarFieldEnum having?: Prisma.SessionsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SessionsCountAggregateInputType | true _min?: SessionsMinAggregateInputType _max?: SessionsMaxAggregateInputType } export type SessionsGroupByOutputType = { id: string sid: string data: string expiresAt: Date _count: SessionsCountAggregateOutputType | null _min: SessionsMinAggregateOutputType | null _max: SessionsMaxAggregateOutputType | null } type GetSessionsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SessionsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SessionsWhereInput = { AND?: Prisma.SessionsWhereInput | Prisma.SessionsWhereInput[] OR?: Prisma.SessionsWhereInput[] NOT?: Prisma.SessionsWhereInput | Prisma.SessionsWhereInput[] id?: Prisma.StringFilter<"Sessions"> | string sid?: Prisma.StringFilter<"Sessions"> | string data?: Prisma.StringFilter<"Sessions"> | string expiresAt?: Prisma.DateTimeFilter<"Sessions"> | Date | string } export type SessionsOrderByWithRelationInput = { id?: Prisma.SortOrder sid?: Prisma.SortOrder data?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type SessionsWhereUniqueInput = Prisma.AtLeast<{ id?: string sid?: string AND?: Prisma.SessionsWhereInput | Prisma.SessionsWhereInput[] OR?: Prisma.SessionsWhereInput[] NOT?: Prisma.SessionsWhereInput | Prisma.SessionsWhereInput[] data?: Prisma.StringFilter<"Sessions"> | string expiresAt?: Prisma.DateTimeFilter<"Sessions"> | Date | string }, "id" | "sid"> export type SessionsOrderByWithAggregationInput = { id?: Prisma.SortOrder sid?: Prisma.SortOrder data?: Prisma.SortOrder expiresAt?: Prisma.SortOrder _count?: Prisma.SessionsCountOrderByAggregateInput _max?: Prisma.SessionsMaxOrderByAggregateInput _min?: Prisma.SessionsMinOrderByAggregateInput } export type SessionsScalarWhereWithAggregatesInput = { AND?: Prisma.SessionsScalarWhereWithAggregatesInput | Prisma.SessionsScalarWhereWithAggregatesInput[] OR?: Prisma.SessionsScalarWhereWithAggregatesInput[] NOT?: Prisma.SessionsScalarWhereWithAggregatesInput | Prisma.SessionsScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Sessions"> | string sid?: Prisma.StringWithAggregatesFilter<"Sessions"> | string data?: Prisma.StringWithAggregatesFilter<"Sessions"> | string expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Sessions"> | Date | string } export type SessionsCreateInput = { id: string sid: string data: string expiresAt: Date | string } export type SessionsUncheckedCreateInput = { id: string sid: string data: string expiresAt: Date | string } export type SessionsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sid?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SessionsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sid?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SessionsCreateManyInput = { id: string sid: string data: string expiresAt: Date | string } export type SessionsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sid?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SessionsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sid?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SessionsCountOrderByAggregateInput = { id?: Prisma.SortOrder sid?: Prisma.SortOrder data?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type SessionsMaxOrderByAggregateInput = { id?: Prisma.SortOrder sid?: Prisma.SortOrder data?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type SessionsMinOrderByAggregateInput = { id?: Prisma.SortOrder sid?: Prisma.SortOrder data?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type SessionsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean sid?: boolean data?: boolean expiresAt?: boolean }, ExtArgs["result"]["sessions"]> export type SessionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean sid?: boolean data?: boolean expiresAt?: boolean }, ExtArgs["result"]["sessions"]> export type SessionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean sid?: boolean data?: boolean expiresAt?: boolean }, ExtArgs["result"]["sessions"]> export type SessionsSelectScalar = { id?: boolean sid?: boolean data?: boolean expiresAt?: boolean } export type SessionsOmit = runtime.Types.Extensions.GetOmit<"id" | "sid" | "data" | "expiresAt", ExtArgs["result"]["sessions"]> export type $SessionsPayload = { name: "Sessions" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string sid: string data: string expiresAt: Date }, ExtArgs["result"]["sessions"]> composites: {} } export type SessionsGetPayload = runtime.Types.Result.GetResult export type SessionsCountArgs = Omit & { select?: SessionsCountAggregateInputType | true } export interface SessionsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Sessions'], meta: { name: 'Sessions' } } /** * Find zero or one Sessions that matches the filter. * @param {SessionsFindUniqueArgs} args - Arguments to find a Sessions * @example * // Get one Sessions * const sessions = await prisma.sessions.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Sessions that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SessionsFindUniqueOrThrowArgs} args - Arguments to find a Sessions * @example * // Get one Sessions * const sessions = await prisma.sessions.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Sessions 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 {SessionsFindFirstArgs} args - Arguments to find a Sessions * @example * // Get one Sessions * const sessions = await prisma.sessions.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Sessions 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 {SessionsFindFirstOrThrowArgs} args - Arguments to find a Sessions * @example * // Get one Sessions * const sessions = await prisma.sessions.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Sessions 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 {SessionsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Sessions * const sessions = await prisma.sessions.findMany() * * // Get first 10 Sessions * const sessions = await prisma.sessions.findMany({ take: 10 }) * * // Only select the `id` * const sessionsWithIdOnly = await prisma.sessions.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Sessions. * @param {SessionsCreateArgs} args - Arguments to create a Sessions. * @example * // Create one Sessions * const Sessions = await prisma.sessions.create({ * data: { * // ... data to create a Sessions * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Sessions. * @param {SessionsCreateManyArgs} args - Arguments to create many Sessions. * @example * // Create many Sessions * const sessions = await prisma.sessions.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Sessions and returns the data saved in the database. * @param {SessionsCreateManyAndReturnArgs} args - Arguments to create many Sessions. * @example * // Create many Sessions * const sessions = await prisma.sessions.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Sessions and only return the `id` * const sessionsWithIdOnly = await prisma.sessions.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 Sessions. * @param {SessionsDeleteArgs} args - Arguments to delete one Sessions. * @example * // Delete one Sessions * const Sessions = await prisma.sessions.delete({ * where: { * // ... filter to delete one Sessions * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Sessions. * @param {SessionsUpdateArgs} args - Arguments to update one Sessions. * @example * // Update one Sessions * const sessions = await prisma.sessions.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Sessions. * @param {SessionsDeleteManyArgs} args - Arguments to filter Sessions to delete. * @example * // Delete a few Sessions * const { count } = await prisma.sessions.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Sessions * const sessions = await prisma.sessions.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Sessions and returns the data updated in the database. * @param {SessionsUpdateManyAndReturnArgs} args - Arguments to update many Sessions. * @example * // Update many Sessions * const sessions = await prisma.sessions.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Sessions and only return the `id` * const sessionsWithIdOnly = await prisma.sessions.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 Sessions. * @param {SessionsUpsertArgs} args - Arguments to update or create a Sessions. * @example * // Update or create a Sessions * const sessions = await prisma.sessions.upsert({ * create: { * // ... data to create a Sessions * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Sessions we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SessionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionsCountArgs} args - Arguments to filter Sessions to count. * @example * // Count the number of Sessions * const count = await prisma.sessions.count({ * where: { * // ... the filter for the Sessions 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 Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionsAggregateArgs} 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 Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionsGroupByArgs} 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 SessionsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SessionsGroupByArgs['orderBy'] } : { orderBy?: SessionsGroupByArgs['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 ? GetSessionsGroupByPayload : Prisma.PrismaPromise /** * Fields of the Sessions model */ readonly fields: SessionsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Sessions. * 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__SessionsClient 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 Sessions model */ export interface SessionsFieldRefs { readonly id: Prisma.FieldRef<"Sessions", 'String'> readonly sid: Prisma.FieldRef<"Sessions", 'String'> readonly data: Prisma.FieldRef<"Sessions", 'String'> readonly expiresAt: Prisma.FieldRef<"Sessions", 'DateTime'> } // Custom InputTypes /** * Sessions findUnique */ export type SessionsFindUniqueArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter, which Sessions to fetch. */ where: Prisma.SessionsWhereUniqueInput } /** * Sessions findUniqueOrThrow */ export type SessionsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter, which Sessions to fetch. */ where: Prisma.SessionsWhereUniqueInput } /** * Sessions findFirst */ export type SessionsFindFirstArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter, which Sessions to fetch. */ where?: Prisma.SessionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: Prisma.SessionsOrderByWithRelationInput | Prisma.SessionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Sessions. */ cursor?: Prisma.SessionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sessions. */ distinct?: Prisma.SessionsScalarFieldEnum | Prisma.SessionsScalarFieldEnum[] } /** * Sessions findFirstOrThrow */ export type SessionsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter, which Sessions to fetch. */ where?: Prisma.SessionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: Prisma.SessionsOrderByWithRelationInput | Prisma.SessionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Sessions. */ cursor?: Prisma.SessionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sessions. */ distinct?: Prisma.SessionsScalarFieldEnum | Prisma.SessionsScalarFieldEnum[] } /** * Sessions findMany */ export type SessionsFindManyArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter, which Sessions to fetch. */ where?: Prisma.SessionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: Prisma.SessionsOrderByWithRelationInput | Prisma.SessionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Sessions. */ cursor?: Prisma.SessionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number distinct?: Prisma.SessionsScalarFieldEnum | Prisma.SessionsScalarFieldEnum[] } /** * Sessions create */ export type SessionsCreateArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * The data needed to create a Sessions. */ data: Prisma.XOR } /** * Sessions createMany */ export type SessionsCreateManyArgs = { /** * The data used to create many Sessions. */ data: Prisma.SessionsCreateManyInput | Prisma.SessionsCreateManyInput[] skipDuplicates?: boolean } /** * Sessions createManyAndReturn */ export type SessionsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelectCreateManyAndReturn | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * The data used to create many Sessions. */ data: Prisma.SessionsCreateManyInput | Prisma.SessionsCreateManyInput[] skipDuplicates?: boolean } /** * Sessions update */ export type SessionsUpdateArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * The data needed to update a Sessions. */ data: Prisma.XOR /** * Choose, which Sessions to update. */ where: Prisma.SessionsWhereUniqueInput } /** * Sessions updateMany */ export type SessionsUpdateManyArgs = { /** * The data used to update Sessions. */ data: Prisma.XOR /** * Filter which Sessions to update */ where?: Prisma.SessionsWhereInput /** * Limit how many Sessions to update. */ limit?: number } /** * Sessions updateManyAndReturn */ export type SessionsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelectUpdateManyAndReturn | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * The data used to update Sessions. */ data: Prisma.XOR /** * Filter which Sessions to update */ where?: Prisma.SessionsWhereInput /** * Limit how many Sessions to update. */ limit?: number } /** * Sessions upsert */ export type SessionsUpsertArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * The filter to search for the Sessions to update in case it exists. */ where: Prisma.SessionsWhereUniqueInput /** * In case the Sessions found by the `where` argument doesn't exist, create a new Sessions with this data. */ create: Prisma.XOR /** * In case the Sessions was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Sessions delete */ export type SessionsDeleteArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null /** * Filter which Sessions to delete. */ where: Prisma.SessionsWhereUniqueInput } /** * Sessions deleteMany */ export type SessionsDeleteManyArgs = { /** * Filter which Sessions to delete */ where?: Prisma.SessionsWhereInput /** * Limit how many Sessions to delete. */ limit?: number } /** * Sessions without action */ export type SessionsDefaultArgs = { /** * Select specific fields to fetch from the Sessions */ select?: Prisma.SessionsSelect | null /** * Omit specific fields from the Sessions */ omit?: Prisma.SessionsOmit | null }