import type * as runtime from "@prisma/client/runtime/client"; import type * as Prisma from "../internal/prismaNamespace.js"; /** * Model UserPost * */ export type UserPostModel = runtime.Types.Result.DefaultSelection; export type AggregateUserPost = { _count: UserPostCountAggregateOutputType | null; _min: UserPostMinAggregateOutputType | null; _max: UserPostMaxAggregateOutputType | null; }; export type UserPostMinAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; title: string | null; body: string | null; userId: string | null; }; export type UserPostMaxAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; title: string | null; body: string | null; userId: string | null; }; export type UserPostCountAggregateOutputType = { id: number; createdAt: number; updatedAt: number; title: number; body: number; userId: number; _all: number; }; export type UserPostMinAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; title?: true | runtime.Types.Skip; body?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; }; export type UserPostMaxAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; title?: true | runtime.Types.Skip; body?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; }; export type UserPostCountAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; title?: true | runtime.Types.Skip; body?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; _all?: true | runtime.Types.Skip; }; export type UserPostAggregateArgs = { /** * Filter which UserPost to aggregate. */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserPosts to fetch. */ orderBy?: Prisma.UserPostOrderByWithRelationInput | Prisma.UserPostOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.UserPostWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserPosts from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserPosts. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UserPosts **/ _count?: true | UserPostCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserPostMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserPostMaxAggregateInputType; }; export type GetUserPostAggregateType = { [P in keyof T & keyof AggregateUserPost]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type UserPostGroupByArgs = { where?: Prisma.UserPostWhereInput | runtime.Types.Skip; orderBy?: Prisma.UserPostOrderByWithAggregationInput | Prisma.UserPostOrderByWithAggregationInput[] | runtime.Types.Skip; by: Prisma.UserPostScalarFieldEnum[] | Prisma.UserPostScalarFieldEnum; having?: Prisma.UserPostScalarWhereWithAggregatesInput | runtime.Types.Skip; take?: number | runtime.Types.Skip; skip?: number | runtime.Types.Skip; _count?: UserPostCountAggregateInputType | true; _min?: UserPostMinAggregateInputType; _max?: UserPostMaxAggregateInputType; }; export type UserPostGroupByOutputType = { id: string; createdAt: Date; updatedAt: Date; title: string; body: string; userId: string; _count: UserPostCountAggregateOutputType | null; _min: UserPostMinAggregateOutputType | null; _max: UserPostMaxAggregateOutputType | null; }; export type GetUserPostGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof UserPostGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type UserPostWhereInput = { AND?: Prisma.UserPostWhereInput | Prisma.UserPostWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserPostWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserPostWhereInput | Prisma.UserPostWhereInput[] | runtime.Types.Skip; id?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; title?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; body?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; userId?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; user?: Prisma.XOR | runtime.Types.Skip; }; export type UserPostOrderByWithRelationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; title?: Prisma.SortOrder | runtime.Types.Skip; body?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; user?: Prisma.UserOrderByWithRelationInput | runtime.Types.Skip; }; export type UserPostWhereUniqueInput = Prisma.AtLeast<{ id?: string | runtime.Types.Skip; AND?: Prisma.UserPostWhereInput | Prisma.UserPostWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserPostWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserPostWhereInput | Prisma.UserPostWhereInput[] | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; title?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; body?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; userId?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; user?: Prisma.XOR | runtime.Types.Skip; }, "id">; export type UserPostOrderByWithAggregationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; title?: Prisma.SortOrder | runtime.Types.Skip; body?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; _count?: Prisma.UserPostCountOrderByAggregateInput | runtime.Types.Skip; _max?: Prisma.UserPostMaxOrderByAggregateInput | runtime.Types.Skip; _min?: Prisma.UserPostMinOrderByAggregateInput | runtime.Types.Skip; }; export type UserPostScalarWhereWithAggregatesInput = { AND?: Prisma.UserPostScalarWhereWithAggregatesInput | Prisma.UserPostScalarWhereWithAggregatesInput[] | runtime.Types.Skip; OR?: Prisma.UserPostScalarWhereWithAggregatesInput[] | runtime.Types.Skip; NOT?: Prisma.UserPostScalarWhereWithAggregatesInput | Prisma.UserPostScalarWhereWithAggregatesInput[] | runtime.Types.Skip; id?: Prisma.StringWithAggregatesFilter<"UserPost"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserPost"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserPost"> | Date | string | runtime.Types.Skip; title?: Prisma.StringWithAggregatesFilter<"UserPost"> | string | runtime.Types.Skip; body?: Prisma.StringWithAggregatesFilter<"UserPost"> | string | runtime.Types.Skip; userId?: Prisma.StringWithAggregatesFilter<"UserPost"> | string | runtime.Types.Skip; }; export type UserPostCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; user: Prisma.UserCreateNestedOneWithoutPostsInput; }; export type UserPostUncheckedCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; userId: string; }; export type UserPostUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; user?: Prisma.UserUpdateOneRequiredWithoutPostsNestedInput | runtime.Types.Skip; }; export type UserPostUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; userId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostCreateManyInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; userId: string; }; export type UserPostUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; userId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostListRelationFilter = { every?: Prisma.UserPostWhereInput | runtime.Types.Skip; some?: Prisma.UserPostWhereInput | runtime.Types.Skip; none?: Prisma.UserPostWhereInput | runtime.Types.Skip; }; export type UserPostOrderByRelationAggregateInput = { _count?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserPostCountOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; title?: Prisma.SortOrder | runtime.Types.Skip; body?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserPostMaxOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; title?: Prisma.SortOrder | runtime.Types.Skip; body?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserPostMinOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; title?: Prisma.SortOrder | runtime.Types.Skip; body?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserPostCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.UserPostCreateWithoutUserInput[] | Prisma.UserPostUncheckedCreateWithoutUserInput[] | runtime.Types.Skip; connectOrCreate?: Prisma.UserPostCreateOrConnectWithoutUserInput | Prisma.UserPostCreateOrConnectWithoutUserInput[] | runtime.Types.Skip; createMany?: Prisma.UserPostCreateManyUserInputEnvelope | runtime.Types.Skip; connect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; }; export type UserPostUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.UserPostCreateWithoutUserInput[] | Prisma.UserPostUncheckedCreateWithoutUserInput[] | runtime.Types.Skip; connectOrCreate?: Prisma.UserPostCreateOrConnectWithoutUserInput | Prisma.UserPostCreateOrConnectWithoutUserInput[] | runtime.Types.Skip; createMany?: Prisma.UserPostCreateManyUserInputEnvelope | runtime.Types.Skip; connect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; }; export type UserPostUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.UserPostCreateWithoutUserInput[] | Prisma.UserPostUncheckedCreateWithoutUserInput[] | runtime.Types.Skip; connectOrCreate?: Prisma.UserPostCreateOrConnectWithoutUserInput | Prisma.UserPostCreateOrConnectWithoutUserInput[] | runtime.Types.Skip; upsert?: Prisma.UserPostUpsertWithWhereUniqueWithoutUserInput | Prisma.UserPostUpsertWithWhereUniqueWithoutUserInput[] | runtime.Types.Skip; createMany?: Prisma.UserPostCreateManyUserInputEnvelope | runtime.Types.Skip; set?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; disconnect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; delete?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; connect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; update?: Prisma.UserPostUpdateWithWhereUniqueWithoutUserInput | Prisma.UserPostUpdateWithWhereUniqueWithoutUserInput[] | runtime.Types.Skip; updateMany?: Prisma.UserPostUpdateManyWithWhereWithoutUserInput | Prisma.UserPostUpdateManyWithWhereWithoutUserInput[] | runtime.Types.Skip; deleteMany?: Prisma.UserPostScalarWhereInput | Prisma.UserPostScalarWhereInput[] | runtime.Types.Skip; }; export type UserPostUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.UserPostCreateWithoutUserInput[] | Prisma.UserPostUncheckedCreateWithoutUserInput[] | runtime.Types.Skip; connectOrCreate?: Prisma.UserPostCreateOrConnectWithoutUserInput | Prisma.UserPostCreateOrConnectWithoutUserInput[] | runtime.Types.Skip; upsert?: Prisma.UserPostUpsertWithWhereUniqueWithoutUserInput | Prisma.UserPostUpsertWithWhereUniqueWithoutUserInput[] | runtime.Types.Skip; createMany?: Prisma.UserPostCreateManyUserInputEnvelope | runtime.Types.Skip; set?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; disconnect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; delete?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; connect?: Prisma.UserPostWhereUniqueInput | Prisma.UserPostWhereUniqueInput[] | runtime.Types.Skip; update?: Prisma.UserPostUpdateWithWhereUniqueWithoutUserInput | Prisma.UserPostUpdateWithWhereUniqueWithoutUserInput[] | runtime.Types.Skip; updateMany?: Prisma.UserPostUpdateManyWithWhereWithoutUserInput | Prisma.UserPostUpdateManyWithWhereWithoutUserInput[] | runtime.Types.Skip; deleteMany?: Prisma.UserPostScalarWhereInput | Prisma.UserPostScalarWhereInput[] | runtime.Types.Skip; }; export type UserPostCreateWithoutUserInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; }; export type UserPostUncheckedCreateWithoutUserInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; }; export type UserPostCreateOrConnectWithoutUserInput = { where: Prisma.UserPostWhereUniqueInput; create: Prisma.XOR; }; export type UserPostCreateManyUserInputEnvelope = { data: Prisma.UserPostCreateManyUserInput | Prisma.UserPostCreateManyUserInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; export type UserPostUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.UserPostWhereUniqueInput; update: Prisma.XOR; create: Prisma.XOR; }; export type UserPostUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.UserPostWhereUniqueInput; data: Prisma.XOR; }; export type UserPostUpdateManyWithWhereWithoutUserInput = { where: Prisma.UserPostScalarWhereInput; data: Prisma.XOR; }; export type UserPostScalarWhereInput = { AND?: Prisma.UserPostScalarWhereInput | Prisma.UserPostScalarWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserPostScalarWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserPostScalarWhereInput | Prisma.UserPostScalarWhereInput[] | runtime.Types.Skip; id?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserPost"> | Date | string | runtime.Types.Skip; title?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; body?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; userId?: Prisma.StringFilter<"UserPost"> | string | runtime.Types.Skip; }; export type UserPostCreateManyUserInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; title: string; body: string; }; export type UserPostUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; title?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; body?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserPostSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; title?: boolean | runtime.Types.Skip; body?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userPost"]>; export type UserPostSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; title?: boolean | runtime.Types.Skip; body?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userPost"]>; export type UserPostSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; title?: boolean | runtime.Types.Skip; body?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userPost"]>; export type UserPostSelectScalar = { id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; title?: boolean | runtime.Types.Skip; body?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; }; export type UserPostOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "title" | "body" | "userId", ExtArgs["result"]["userPost"], runtime.Types.Skip>; export type UserPostInclude = { user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type UserPostIncludeCreateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type UserPostIncludeUpdateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type $UserPostPayload = { name: "UserPost"; objects: { user: Prisma.$UserPayload; }; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string; createdAt: Date; updatedAt: Date; title: string; body: string; userId: string; }, ExtArgs["result"]["userPost"]>; composites: {}; }; export type UserPostGetPayload = runtime.Types.Result.GetResult; export type UserPostCountArgs = Omit & { select?: UserPostCountAggregateInputType | true; }; export interface UserPostDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UserPost']; meta: { name: 'UserPost'; }; }; /** * Find zero or one UserPost that matches the filter. * @param {UserPostFindUniqueArgs} args - Arguments to find a UserPost * @example * // Get one UserPost * const userPost = await prisma.userPost.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one UserPost that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserPostFindUniqueOrThrowArgs} args - Arguments to find a UserPost * @example * // Get one UserPost * const userPost = await prisma.userPost.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first UserPost 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 {UserPostFindFirstArgs} args - Arguments to find a UserPost * @example * // Get one UserPost * const userPost = await prisma.userPost.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first UserPost 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 {UserPostFindFirstOrThrowArgs} args - Arguments to find a UserPost * @example * // Get one UserPost * const userPost = await prisma.userPost.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more UserPosts 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 {UserPostFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UserPosts * const userPosts = await prisma.userPost.findMany() * * // Get first 10 UserPosts * const userPosts = await prisma.userPost.findMany({ take: 10 }) * * // Only select the `id` * const userPostWithIdOnly = await prisma.userPost.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a UserPost. * @param {UserPostCreateArgs} args - Arguments to create a UserPost. * @example * // Create one UserPost * const UserPost = await prisma.userPost.create({ * data: { * // ... data to create a UserPost * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many UserPosts. * @param {UserPostCreateManyArgs} args - Arguments to create many UserPosts. * @example * // Create many UserPosts * const userPost = await prisma.userPost.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many UserPosts and returns the data saved in the database. * @param {UserPostCreateManyAndReturnArgs} args - Arguments to create many UserPosts. * @example * // Create many UserPosts * const userPost = await prisma.userPost.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many UserPosts and only return the `id` * const userPostWithIdOnly = await prisma.userPost.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 UserPost. * @param {UserPostDeleteArgs} args - Arguments to delete one UserPost. * @example * // Delete one UserPost * const UserPost = await prisma.userPost.delete({ * where: { * // ... filter to delete one UserPost * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one UserPost. * @param {UserPostUpdateArgs} args - Arguments to update one UserPost. * @example * // Update one UserPost * const userPost = await prisma.userPost.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more UserPosts. * @param {UserPostDeleteManyArgs} args - Arguments to filter UserPosts to delete. * @example * // Delete a few UserPosts * const { count } = await prisma.userPost.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserPosts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserPostUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UserPosts * const userPost = await prisma.userPost.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserPosts and returns the data updated in the database. * @param {UserPostUpdateManyAndReturnArgs} args - Arguments to update many UserPosts. * @example * // Update many UserPosts * const userPost = await prisma.userPost.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more UserPosts and only return the `id` * const userPostWithIdOnly = await prisma.userPost.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 UserPost. * @param {UserPostUpsertArgs} args - Arguments to update or create a UserPost. * @example * // Update or create a UserPost * const userPost = await prisma.userPost.upsert({ * create: { * // ... data to create a UserPost * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UserPost we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserPostClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of UserPosts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserPostCountArgs} args - Arguments to filter UserPosts to count. * @example * // Count the number of UserPosts * const count = await prisma.userPost.count({ * where: { * // ... the filter for the UserPosts 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 UserPost. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserPostAggregateArgs} 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 UserPost. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserPostGroupByArgs} 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: UserPostGroupByArgs['orderBy']; } : { orderBy?: UserPostGroupByArgs['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 ? GetUserPostGroupByPayload : Prisma.PrismaPromise; /** * Fields of the UserPost model */ readonly fields: UserPostFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UserPost. * 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__UserPostClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>; /** * 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 UserPost model */ export interface UserPostFieldRefs { readonly id: Prisma.FieldRef<"UserPost", 'String'>; readonly createdAt: Prisma.FieldRef<"UserPost", 'DateTime'>; readonly updatedAt: Prisma.FieldRef<"UserPost", 'DateTime'>; readonly title: Prisma.FieldRef<"UserPost", 'String'>; readonly body: Prisma.FieldRef<"UserPost", 'String'>; readonly userId: Prisma.FieldRef<"UserPost", 'String'>; } /** * UserPost findUnique */ export type UserPostFindUniqueArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter, which UserPost to fetch. */ where: Prisma.UserPostWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost findUniqueOrThrow */ export type UserPostFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter, which UserPost to fetch. */ where: Prisma.UserPostWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost findFirst */ export type UserPostFindFirstArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter, which UserPost to fetch. */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserPosts to fetch. */ orderBy?: Prisma.UserPostOrderByWithRelationInput | Prisma.UserPostOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserPosts. */ cursor?: Prisma.UserPostWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserPosts from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserPosts. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserPosts. */ distinct?: Prisma.UserPostScalarFieldEnum | Prisma.UserPostScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost findFirstOrThrow */ export type UserPostFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter, which UserPost to fetch. */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserPosts to fetch. */ orderBy?: Prisma.UserPostOrderByWithRelationInput | Prisma.UserPostOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserPosts. */ cursor?: Prisma.UserPostWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserPosts from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserPosts. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserPosts. */ distinct?: Prisma.UserPostScalarFieldEnum | Prisma.UserPostScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost findMany */ export type UserPostFindManyArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter, which UserPosts to fetch. */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserPosts to fetch. */ orderBy?: Prisma.UserPostOrderByWithRelationInput | Prisma.UserPostOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserPosts. */ cursor?: Prisma.UserPostWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserPosts from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserPosts. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserPosts. */ distinct?: Prisma.UserPostScalarFieldEnum | Prisma.UserPostScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost create */ export type UserPostCreateArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * The data needed to create a UserPost. */ data: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost createMany */ export type UserPostCreateManyArgs = { /** * The data used to create many UserPosts. */ data: Prisma.UserPostCreateManyInput | Prisma.UserPostCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; /** * UserPost createManyAndReturn */ export type UserPostCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelectCreateManyAndReturn | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * The data used to create many UserPosts. */ data: Prisma.UserPostCreateManyInput | Prisma.UserPostCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostIncludeCreateManyAndReturn | null; }; /** * UserPost update */ export type UserPostUpdateArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * The data needed to update a UserPost. */ data: Prisma.XOR; /** * Choose, which UserPost to update. */ where: Prisma.UserPostWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost updateMany */ export type UserPostUpdateManyArgs = { /** * The data used to update UserPosts. */ data: Prisma.XOR; /** * Filter which UserPosts to update */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * Limit how many UserPosts to update. */ limit?: number | runtime.Types.Skip; }; /** * UserPost updateManyAndReturn */ export type UserPostUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelectUpdateManyAndReturn | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * The data used to update UserPosts. */ data: Prisma.XOR; /** * Filter which UserPosts to update */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * Limit how many UserPosts to update. */ limit?: number | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostIncludeUpdateManyAndReturn | null; }; /** * UserPost upsert */ export type UserPostUpsertArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * The filter to search for the UserPost to update in case it exists. */ where: Prisma.UserPostWhereUniqueInput; /** * In case the UserPost found by the `where` argument doesn't exist, create a new UserPost with this data. */ create: Prisma.XOR; /** * In case the UserPost was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost delete */ export type UserPostDeleteArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; /** * Filter which UserPost to delete. */ where: Prisma.UserPostWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserPost deleteMany */ export type UserPostDeleteManyArgs = { /** * Filter which UserPosts to delete */ where?: Prisma.UserPostWhereInput | runtime.Types.Skip; /** * Limit how many UserPosts to delete. */ limit?: number | runtime.Types.Skip; }; /** * UserPost without action */ export type UserPostDefaultArgs = { /** * Select specific fields to fetch from the UserPost */ select?: Prisma.UserPostSelect | null; /** * Omit specific fields from the UserPost */ omit?: Prisma.UserPostOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserPostInclude | null; };