import type * as runtime from "@prisma/client/runtime/client"; import type * as Prisma from "../internal/prismaNamespace"; /** * Model Home * */ export type HomeModel = runtime.Types.Result.DefaultSelection; export type AggregateHome = { _count: HomeCountAggregateOutputType | null; _avg: HomeAvgAggregateOutputType | null; _sum: HomeSumAggregateOutputType | null; _min: HomeMinAggregateOutputType | null; _max: HomeMaxAggregateOutputType | null; }; export type HomeAvgAggregateOutputType = { id: number | null; }; export type HomeSumAggregateOutputType = { id: number | null; }; export type HomeMinAggregateOutputType = { id: number | null; name: string | null; }; export type HomeMaxAggregateOutputType = { id: number | null; name: string | null; }; export type HomeCountAggregateOutputType = { id: number; name: number; _all: number; }; export type HomeAvgAggregateInputType = { id?: true; }; export type HomeSumAggregateInputType = { id?: true; }; export type HomeMinAggregateInputType = { id?: true; name?: true; }; export type HomeMaxAggregateInputType = { id?: true; name?: true; }; export type HomeCountAggregateInputType = { id?: true; name?: true; _all?: true; }; export type HomeAggregateArgs = { /** * Filter which Home to aggregate. */ where?: Prisma.HomeWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Homes to fetch. */ orderBy?: Prisma.HomeOrderByWithRelationInput | Prisma.HomeOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.HomeWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Homes 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` Homes. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Homes **/ _count?: true | HomeCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: HomeAvgAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: HomeSumAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HomeMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HomeMaxAggregateInputType; }; export type GetHomeAggregateType = { [P in keyof T & keyof AggregateHome]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type HomeGroupByArgs = { where?: Prisma.HomeWhereInput; orderBy?: Prisma.HomeOrderByWithAggregationInput | Prisma.HomeOrderByWithAggregationInput[]; by: Prisma.HomeScalarFieldEnum[] | Prisma.HomeScalarFieldEnum; having?: Prisma.HomeScalarWhereWithAggregatesInput; take?: number; skip?: number; _count?: HomeCountAggregateInputType | true; _avg?: HomeAvgAggregateInputType; _sum?: HomeSumAggregateInputType; _min?: HomeMinAggregateInputType; _max?: HomeMaxAggregateInputType; }; export type HomeGroupByOutputType = { id: number; name: string; _count: HomeCountAggregateOutputType | null; _avg: HomeAvgAggregateOutputType | null; _sum: HomeSumAggregateOutputType | null; _min: HomeMinAggregateOutputType | null; _max: HomeMaxAggregateOutputType | null; }; type GetHomeGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof HomeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type HomeWhereInput = { AND?: Prisma.HomeWhereInput | Prisma.HomeWhereInput[]; OR?: Prisma.HomeWhereInput[]; NOT?: Prisma.HomeWhereInput | Prisma.HomeWhereInput[]; id?: Prisma.IntFilter<"Home"> | number; name?: Prisma.StringFilter<"Home"> | string; gods?: Prisma.GodListRelationFilter; }; export type HomeOrderByWithRelationInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; gods?: Prisma.GodOrderByRelationAggregateInput; }; export type HomeWhereUniqueInput = Prisma.AtLeast<{ id?: number; name?: string; AND?: Prisma.HomeWhereInput | Prisma.HomeWhereInput[]; OR?: Prisma.HomeWhereInput[]; NOT?: Prisma.HomeWhereInput | Prisma.HomeWhereInput[]; gods?: Prisma.GodListRelationFilter; }, "id" | "id" | "name">; export type HomeOrderByWithAggregationInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; _count?: Prisma.HomeCountOrderByAggregateInput; _avg?: Prisma.HomeAvgOrderByAggregateInput; _max?: Prisma.HomeMaxOrderByAggregateInput; _min?: Prisma.HomeMinOrderByAggregateInput; _sum?: Prisma.HomeSumOrderByAggregateInput; }; export type HomeScalarWhereWithAggregatesInput = { AND?: Prisma.HomeScalarWhereWithAggregatesInput | Prisma.HomeScalarWhereWithAggregatesInput[]; OR?: Prisma.HomeScalarWhereWithAggregatesInput[]; NOT?: Prisma.HomeScalarWhereWithAggregatesInput | Prisma.HomeScalarWhereWithAggregatesInput[]; id?: Prisma.IntWithAggregatesFilter<"Home"> | number; name?: Prisma.StringWithAggregatesFilter<"Home"> | string; }; export type HomeCreateInput = { name: string; gods?: Prisma.GodCreateNestedManyWithoutHomeInput; }; export type HomeUncheckedCreateInput = { id?: number; name: string; gods?: Prisma.GodUncheckedCreateNestedManyWithoutHomeInput; }; export type HomeUpdateInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; gods?: Prisma.GodUpdateManyWithoutHomeNestedInput; }; export type HomeUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; gods?: Prisma.GodUncheckedUpdateManyWithoutHomeNestedInput; }; export type HomeCreateManyInput = { id?: number; name: string; }; export type HomeUpdateManyMutationInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; }; export type HomeUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; }; export type HomeNullableScalarRelationFilter = { is?: Prisma.HomeWhereInput | null; isNot?: Prisma.HomeWhereInput | null; }; export type HomeCountOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; }; export type HomeAvgOrderByAggregateInput = { id?: Prisma.SortOrder; }; export type HomeMaxOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; }; export type HomeMinOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; }; export type HomeSumOrderByAggregateInput = { id?: Prisma.SortOrder; }; export type HomeCreateNestedOneWithoutGodsInput = { create?: Prisma.XOR; connectOrCreate?: Prisma.HomeCreateOrConnectWithoutGodsInput; connect?: Prisma.HomeWhereUniqueInput; }; export type HomeUpdateOneWithoutGodsNestedInput = { create?: Prisma.XOR; connectOrCreate?: Prisma.HomeCreateOrConnectWithoutGodsInput; upsert?: Prisma.HomeUpsertWithoutGodsInput; disconnect?: Prisma.HomeWhereInput | boolean; delete?: Prisma.HomeWhereInput | boolean; connect?: Prisma.HomeWhereUniqueInput; update?: Prisma.XOR, Prisma.HomeUncheckedUpdateWithoutGodsInput>; }; export type HomeCreateWithoutGodsInput = { name: string; }; export type HomeUncheckedCreateWithoutGodsInput = { id?: number; name: string; }; export type HomeCreateOrConnectWithoutGodsInput = { where: Prisma.HomeWhereUniqueInput; create: Prisma.XOR; }; export type HomeUpsertWithoutGodsInput = { update: Prisma.XOR; create: Prisma.XOR; where?: Prisma.HomeWhereInput; }; export type HomeUpdateToOneWithWhereWithoutGodsInput = { where?: Prisma.HomeWhereInput; data: Prisma.XOR; }; export type HomeUpdateWithoutGodsInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; }; export type HomeUncheckedUpdateWithoutGodsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; }; /** * Count Type HomeCountOutputType */ export type HomeCountOutputType = { gods: number; }; export type HomeCountOutputTypeSelect = { gods?: boolean | HomeCountOutputTypeCountGodsArgs; }; /** * HomeCountOutputType without action */ export type HomeCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the HomeCountOutputType */ select?: Prisma.HomeCountOutputTypeSelect | null; }; /** * HomeCountOutputType without action */ export type HomeCountOutputTypeCountGodsArgs = { where?: Prisma.GodWhereInput; }; export type HomeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean; name?: boolean; gods?: boolean | Prisma.Home$godsArgs; _count?: boolean | Prisma.HomeCountOutputTypeDefaultArgs; }, ExtArgs["result"]["home"]>; export type HomeSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean; name?: boolean; }, ExtArgs["result"]["home"]>; export type HomeSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean; name?: boolean; }, ExtArgs["result"]["home"]>; export type HomeSelectScalar = { id?: boolean; name?: boolean; }; export type HomeOmit = runtime.Types.Extensions.GetOmit<"id" | "name", ExtArgs["result"]["home"]>; export type HomeInclude = { gods?: boolean | Prisma.Home$godsArgs; _count?: boolean | Prisma.HomeCountOutputTypeDefaultArgs; }; export type HomeIncludeCreateManyAndReturn = {}; export type HomeIncludeUpdateManyAndReturn = {}; export type $HomePayload = { name: "Home"; objects: { gods: Prisma.$GodPayload[]; }; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number; name: string; }, ExtArgs["result"]["home"]>; composites: {}; }; export type HomeGetPayload = runtime.Types.Result.GetResult; export type HomeCountArgs = Omit & { select?: HomeCountAggregateInputType | true; }; export interface HomeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Home']; meta: { name: 'Home'; }; }; /** * Find zero or one Home that matches the filter. * @param {HomeFindUniqueArgs} args - Arguments to find a Home * @example * // Get one Home * const home = await prisma.home.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one Home that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HomeFindUniqueOrThrowArgs} args - Arguments to find a Home * @example * // Get one Home * const home = await prisma.home.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first Home 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 {HomeFindFirstArgs} args - Arguments to find a Home * @example * // Get one Home * const home = await prisma.home.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first Home 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 {HomeFindFirstOrThrowArgs} args - Arguments to find a Home * @example * // Get one Home * const home = await prisma.home.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more Homes 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 {HomeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Homes * const homes = await prisma.home.findMany() * * // Get first 10 Homes * const homes = await prisma.home.findMany({ take: 10 }) * * // Only select the `id` * const homeWithIdOnly = await prisma.home.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a Home. * @param {HomeCreateArgs} args - Arguments to create a Home. * @example * // Create one Home * const Home = await prisma.home.create({ * data: { * // ... data to create a Home * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many Homes. * @param {HomeCreateManyArgs} args - Arguments to create many Homes. * @example * // Create many Homes * const home = await prisma.home.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many Homes and returns the data saved in the database. * @param {HomeCreateManyAndReturnArgs} args - Arguments to create many Homes. * @example * // Create many Homes * const home = await prisma.home.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Homes and only return the `id` * const homeWithIdOnly = await prisma.home.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 Home. * @param {HomeDeleteArgs} args - Arguments to delete one Home. * @example * // Delete one Home * const Home = await prisma.home.delete({ * where: { * // ... filter to delete one Home * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one Home. * @param {HomeUpdateArgs} args - Arguments to update one Home. * @example * // Update one Home * const home = await prisma.home.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more Homes. * @param {HomeDeleteManyArgs} args - Arguments to filter Homes to delete. * @example * // Delete a few Homes * const { count } = await prisma.home.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more Homes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HomeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Homes * const home = await prisma.home.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more Homes and returns the data updated in the database. * @param {HomeUpdateManyAndReturnArgs} args - Arguments to update many Homes. * @example * // Update many Homes * const home = await prisma.home.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Homes and only return the `id` * const homeWithIdOnly = await prisma.home.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 Home. * @param {HomeUpsertArgs} args - Arguments to update or create a Home. * @example * // Update or create a Home * const home = await prisma.home.upsert({ * create: { * // ... data to create a Home * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Home we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__HomeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of Homes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HomeCountArgs} args - Arguments to filter Homes to count. * @example * // Count the number of Homes * const count = await prisma.home.count({ * where: { * // ... the filter for the Homes we want to count * } * }) **/ count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; /** * Allows you to perform aggregations operations on a Home. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HomeAggregateArgs} 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 Home. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HomeGroupByArgs} 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>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: HomeGroupByArgs['orderBy']; } : { orderBy?: HomeGroupByArgs['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 ? GetHomeGroupByPayload : Prisma.PrismaPromise; /** * Fields of the Home model */ readonly fields: HomeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Home. * 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__HomeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; gods = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null>; /** * 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 Home model */ export interface HomeFieldRefs { readonly id: Prisma.FieldRef<"Home", 'Int'>; readonly name: Prisma.FieldRef<"Home", 'String'>; } /** * Home findUnique */ export type HomeFindUniqueArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter, which Home to fetch. */ where: Prisma.HomeWhereUniqueInput; }; /** * Home findUniqueOrThrow */ export type HomeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter, which Home to fetch. */ where: Prisma.HomeWhereUniqueInput; }; /** * Home findFirst */ export type HomeFindFirstArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter, which Home to fetch. */ where?: Prisma.HomeWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Homes to fetch. */ orderBy?: Prisma.HomeOrderByWithRelationInput | Prisma.HomeOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Homes. */ cursor?: Prisma.HomeWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Homes 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` Homes. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Homes. */ distinct?: Prisma.HomeScalarFieldEnum | Prisma.HomeScalarFieldEnum[]; }; /** * Home findFirstOrThrow */ export type HomeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter, which Home to fetch. */ where?: Prisma.HomeWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Homes to fetch. */ orderBy?: Prisma.HomeOrderByWithRelationInput | Prisma.HomeOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Homes. */ cursor?: Prisma.HomeWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Homes 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` Homes. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Homes. */ distinct?: Prisma.HomeScalarFieldEnum | Prisma.HomeScalarFieldEnum[]; }; /** * Home findMany */ export type HomeFindManyArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter, which Homes to fetch. */ where?: Prisma.HomeWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Homes to fetch. */ orderBy?: Prisma.HomeOrderByWithRelationInput | Prisma.HomeOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Homes. */ cursor?: Prisma.HomeWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Homes 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` Homes. */ skip?: number; distinct?: Prisma.HomeScalarFieldEnum | Prisma.HomeScalarFieldEnum[]; }; /** * Home create */ export type HomeCreateArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * The data needed to create a Home. */ data: Prisma.XOR; }; /** * Home createMany */ export type HomeCreateManyArgs = { /** * The data used to create many Homes. */ data: Prisma.HomeCreateManyInput | Prisma.HomeCreateManyInput[]; }; /** * Home createManyAndReturn */ export type HomeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelectCreateManyAndReturn | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * The data used to create many Homes. */ data: Prisma.HomeCreateManyInput | Prisma.HomeCreateManyInput[]; }; /** * Home update */ export type HomeUpdateArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * The data needed to update a Home. */ data: Prisma.XOR; /** * Choose, which Home to update. */ where: Prisma.HomeWhereUniqueInput; }; /** * Home updateMany */ export type HomeUpdateManyArgs = { /** * The data used to update Homes. */ data: Prisma.XOR; /** * Filter which Homes to update */ where?: Prisma.HomeWhereInput; /** * Limit how many Homes to update. */ limit?: number; }; /** * Home updateManyAndReturn */ export type HomeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelectUpdateManyAndReturn | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * The data used to update Homes. */ data: Prisma.XOR; /** * Filter which Homes to update */ where?: Prisma.HomeWhereInput; /** * Limit how many Homes to update. */ limit?: number; }; /** * Home upsert */ export type HomeUpsertArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * The filter to search for the Home to update in case it exists. */ where: Prisma.HomeWhereUniqueInput; /** * In case the Home found by the `where` argument doesn't exist, create a new Home with this data. */ create: Prisma.XOR; /** * In case the Home was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; }; /** * Home delete */ export type HomeDeleteArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; /** * Filter which Home to delete. */ where: Prisma.HomeWhereUniqueInput; }; /** * Home deleteMany */ export type HomeDeleteManyArgs = { /** * Filter which Homes to delete */ where?: Prisma.HomeWhereInput; /** * Limit how many Homes to delete. */ limit?: number; }; /** * Home.gods */ export type Home$godsArgs = { /** * Select specific fields to fetch from the God */ select?: Prisma.GodSelect | null; /** * Omit specific fields from the God */ omit?: Prisma.GodOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.GodInclude | null; where?: Prisma.GodWhereInput; orderBy?: Prisma.GodOrderByWithRelationInput | Prisma.GodOrderByWithRelationInput[]; cursor?: Prisma.GodWhereUniqueInput; take?: number; skip?: number; distinct?: Prisma.GodScalarFieldEnum | Prisma.GodScalarFieldEnum[]; }; /** * Home without action */ export type HomeDefaultArgs = { /** * Select specific fields to fetch from the Home */ select?: Prisma.HomeSelect | null; /** * Omit specific fields from the Home */ omit?: Prisma.HomeOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.HomeInclude | null; }; export {};