/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `product_format` 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 product_format * */ export type product_formatModel = runtime.Types.Result.DefaultSelection export type AggregateProduct_format = { _count: Product_formatCountAggregateOutputType | null _avg: Product_formatAvgAggregateOutputType | null _sum: Product_formatSumAggregateOutputType | null _min: Product_formatMinAggregateOutputType | null _max: Product_formatMaxAggregateOutputType | null } export type Product_formatAvgAggregateOutputType = { id: number | null date_orig: number | null type: number | null } export type Product_formatSumAggregateOutputType = { id: bigint | null date_orig: bigint | null type: number | null } export type Product_formatMinAggregateOutputType = { id: bigint | null date_orig: bigint | null name: string | null type: number | null product_idx: string | null description: string | null } export type Product_formatMaxAggregateOutputType = { id: bigint | null date_orig: bigint | null name: string | null type: number | null product_idx: string | null description: string | null } export type Product_formatCountAggregateOutputType = { id: number date_orig: number name: number type: number product_idx: number description: number _all: number } export type Product_formatAvgAggregateInputType = { id?: true date_orig?: true type?: true } export type Product_formatSumAggregateInputType = { id?: true date_orig?: true type?: true } export type Product_formatMinAggregateInputType = { id?: true date_orig?: true name?: true type?: true product_idx?: true description?: true } export type Product_formatMaxAggregateInputType = { id?: true date_orig?: true name?: true type?: true product_idx?: true description?: true } export type Product_formatCountAggregateInputType = { id?: true date_orig?: true name?: true type?: true product_idx?: true description?: true _all?: true } export type Product_formatAggregateArgs = { /** * Filter which product_format to aggregate. */ where?: Prisma.product_formatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_formats to fetch. */ orderBy?: Prisma.product_formatOrderByWithRelationInput | Prisma.product_formatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.product_formatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_formats 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` product_formats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned product_formats **/ _count?: true | Product_formatCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Product_formatAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Product_formatSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Product_formatMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Product_formatMaxAggregateInputType } export type GetProduct_formatAggregateType = { [P in keyof T & keyof AggregateProduct_format]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type product_formatGroupByArgs = { where?: Prisma.product_formatWhereInput orderBy?: Prisma.product_formatOrderByWithAggregationInput | Prisma.product_formatOrderByWithAggregationInput[] by: Prisma.Product_formatScalarFieldEnum[] | Prisma.Product_formatScalarFieldEnum having?: Prisma.product_formatScalarWhereWithAggregatesInput take?: number skip?: number _count?: Product_formatCountAggregateInputType | true _avg?: Product_formatAvgAggregateInputType _sum?: Product_formatSumAggregateInputType _min?: Product_formatMinAggregateInputType _max?: Product_formatMaxAggregateInputType } export type Product_formatGroupByOutputType = { id: bigint date_orig: bigint | null name: string | null type: number | null product_idx: string | null description: string | null _count: Product_formatCountAggregateOutputType | null _avg: Product_formatAvgAggregateOutputType | null _sum: Product_formatSumAggregateOutputType | null _min: Product_formatMinAggregateOutputType | null _max: Product_formatMaxAggregateOutputType | null } type GetProduct_formatGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Product_formatGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type product_formatWhereInput = { AND?: Prisma.product_formatWhereInput | Prisma.product_formatWhereInput[] OR?: Prisma.product_formatWhereInput[] NOT?: Prisma.product_formatWhereInput | Prisma.product_formatWhereInput[] id?: Prisma.BigIntFilter<"product_format"> | bigint | number date_orig?: Prisma.BigIntNullableFilter<"product_format"> | bigint | number | null name?: Prisma.StringNullableFilter<"product_format"> | string | null type?: Prisma.IntNullableFilter<"product_format"> | number | null product_idx?: Prisma.StringNullableFilter<"product_format"> | string | null description?: Prisma.StringNullableFilter<"product_format"> | string | null } export type product_formatOrderByWithRelationInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder product_idx?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.product_formatOrderByRelevanceInput } export type product_formatWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.product_formatWhereInput | Prisma.product_formatWhereInput[] OR?: Prisma.product_formatWhereInput[] NOT?: Prisma.product_formatWhereInput | Prisma.product_formatWhereInput[] date_orig?: Prisma.BigIntNullableFilter<"product_format"> | bigint | number | null name?: Prisma.StringNullableFilter<"product_format"> | string | null type?: Prisma.IntNullableFilter<"product_format"> | number | null product_idx?: Prisma.StringNullableFilter<"product_format"> | string | null description?: Prisma.StringNullableFilter<"product_format"> | string | null }, "id"> export type product_formatOrderByWithAggregationInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder product_idx?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.product_formatCountOrderByAggregateInput _avg?: Prisma.product_formatAvgOrderByAggregateInput _max?: Prisma.product_formatMaxOrderByAggregateInput _min?: Prisma.product_formatMinOrderByAggregateInput _sum?: Prisma.product_formatSumOrderByAggregateInput } export type product_formatScalarWhereWithAggregatesInput = { AND?: Prisma.product_formatScalarWhereWithAggregatesInput | Prisma.product_formatScalarWhereWithAggregatesInput[] OR?: Prisma.product_formatScalarWhereWithAggregatesInput[] NOT?: Prisma.product_formatScalarWhereWithAggregatesInput | Prisma.product_formatScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"product_format"> | bigint | number date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"product_format"> | bigint | number | null name?: Prisma.StringNullableWithAggregatesFilter<"product_format"> | string | null type?: Prisma.IntNullableWithAggregatesFilter<"product_format"> | number | null product_idx?: Prisma.StringNullableWithAggregatesFilter<"product_format"> | string | null description?: Prisma.StringNullableWithAggregatesFilter<"product_format"> | string | null } export type product_formatCreateInput = { id?: bigint | number date_orig?: bigint | number | null name?: string | null type?: number | null product_idx?: string | null description?: string | null } export type product_formatUncheckedCreateInput = { id?: bigint | number date_orig?: bigint | number | null name?: string | null type?: number | null product_idx?: string | null description?: string | null } export type product_formatUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.NullableIntFieldUpdateOperationsInput | number | null product_idx?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_formatUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.NullableIntFieldUpdateOperationsInput | number | null product_idx?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_formatCreateManyInput = { id?: bigint | number date_orig?: bigint | number | null name?: string | null type?: number | null product_idx?: string | null description?: string | null } export type product_formatUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.NullableIntFieldUpdateOperationsInput | number | null product_idx?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_formatUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null type?: Prisma.NullableIntFieldUpdateOperationsInput | number | null product_idx?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_formatOrderByRelevanceInput = { fields: Prisma.product_formatOrderByRelevanceFieldEnum | Prisma.product_formatOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type product_formatCountOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder name?: Prisma.SortOrder type?: Prisma.SortOrder product_idx?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_formatAvgOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder type?: Prisma.SortOrder } export type product_formatMaxOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder name?: Prisma.SortOrder type?: Prisma.SortOrder product_idx?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_formatMinOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder name?: Prisma.SortOrder type?: Prisma.SortOrder product_idx?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_formatSumOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder type?: Prisma.SortOrder } export type product_formatSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean date_orig?: boolean name?: boolean type?: boolean product_idx?: boolean description?: boolean }, ExtArgs["result"]["product_format"]> export type product_formatSelectScalar = { id?: boolean date_orig?: boolean name?: boolean type?: boolean product_idx?: boolean description?: boolean } export type product_formatOmit = runtime.Types.Extensions.GetOmit<"id" | "date_orig" | "name" | "type" | "product_idx" | "description", ExtArgs["result"]["product_format"]> export type $product_formatPayload = { name: "product_format" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint date_orig: bigint | null name: string | null type: number | null product_idx: string | null description: string | null }, ExtArgs["result"]["product_format"]> composites: {} } export type product_formatGetPayload = runtime.Types.Result.GetResult export type product_formatCountArgs = Omit & { select?: Product_formatCountAggregateInputType | true } export interface product_formatDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['product_format'], meta: { name: 'product_format' } } /** * Find zero or one Product_format that matches the filter. * @param {product_formatFindUniqueArgs} args - Arguments to find a Product_format * @example * // Get one Product_format * const product_format = await prisma.product_format.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Product_format that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {product_formatFindUniqueOrThrowArgs} args - Arguments to find a Product_format * @example * // Get one Product_format * const product_format = await prisma.product_format.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Product_format 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 {product_formatFindFirstArgs} args - Arguments to find a Product_format * @example * // Get one Product_format * const product_format = await prisma.product_format.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Product_format 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 {product_formatFindFirstOrThrowArgs} args - Arguments to find a Product_format * @example * // Get one Product_format * const product_format = await prisma.product_format.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Product_formats 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 {product_formatFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Product_formats * const product_formats = await prisma.product_format.findMany() * * // Get first 10 Product_formats * const product_formats = await prisma.product_format.findMany({ take: 10 }) * * // Only select the `id` * const product_formatWithIdOnly = await prisma.product_format.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Product_format. * @param {product_formatCreateArgs} args - Arguments to create a Product_format. * @example * // Create one Product_format * const Product_format = await prisma.product_format.create({ * data: { * // ... data to create a Product_format * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Product_formats. * @param {product_formatCreateManyArgs} args - Arguments to create many Product_formats. * @example * // Create many Product_formats * const product_format = await prisma.product_format.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Product_format. * @param {product_formatDeleteArgs} args - Arguments to delete one Product_format. * @example * // Delete one Product_format * const Product_format = await prisma.product_format.delete({ * where: { * // ... filter to delete one Product_format * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Product_format. * @param {product_formatUpdateArgs} args - Arguments to update one Product_format. * @example * // Update one Product_format * const product_format = await prisma.product_format.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Product_formats. * @param {product_formatDeleteManyArgs} args - Arguments to filter Product_formats to delete. * @example * // Delete a few Product_formats * const { count } = await prisma.product_format.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Product_formats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_formatUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Product_formats * const product_format = await prisma.product_format.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Product_format. * @param {product_formatUpsertArgs} args - Arguments to update or create a Product_format. * @example * // Update or create a Product_format * const product_format = await prisma.product_format.upsert({ * create: { * // ... data to create a Product_format * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Product_format we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__product_formatClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Product_formats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_formatCountArgs} args - Arguments to filter Product_formats to count. * @example * // Count the number of Product_formats * const count = await prisma.product_format.count({ * where: { * // ... the filter for the Product_formats 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 Product_format. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Product_formatAggregateArgs} 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 Product_format. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_formatGroupByArgs} 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 product_formatGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: product_formatGroupByArgs['orderBy'] } : { orderBy?: product_formatGroupByArgs['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 ? GetProduct_formatGroupByPayload : Prisma.PrismaPromise /** * Fields of the product_format model */ readonly fields: product_formatFieldRefs; } /** * The delegate class that acts as a "Promise-like" for product_format. * 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__product_formatClient 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 product_format model */ export interface product_formatFieldRefs { readonly id: Prisma.FieldRef<"product_format", 'BigInt'> readonly date_orig: Prisma.FieldRef<"product_format", 'BigInt'> readonly name: Prisma.FieldRef<"product_format", 'String'> readonly type: Prisma.FieldRef<"product_format", 'Int'> readonly product_idx: Prisma.FieldRef<"product_format", 'String'> readonly description: Prisma.FieldRef<"product_format", 'String'> } // Custom InputTypes /** * product_format findUnique */ export type product_formatFindUniqueArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter, which product_format to fetch. */ where: Prisma.product_formatWhereUniqueInput } /** * product_format findUniqueOrThrow */ export type product_formatFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter, which product_format to fetch. */ where: Prisma.product_formatWhereUniqueInput } /** * product_format findFirst */ export type product_formatFindFirstArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter, which product_format to fetch. */ where?: Prisma.product_formatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_formats to fetch. */ orderBy?: Prisma.product_formatOrderByWithRelationInput | Prisma.product_formatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_formats. */ cursor?: Prisma.product_formatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_formats 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` product_formats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_formats. */ distinct?: Prisma.Product_formatScalarFieldEnum | Prisma.Product_formatScalarFieldEnum[] } /** * product_format findFirstOrThrow */ export type product_formatFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter, which product_format to fetch. */ where?: Prisma.product_formatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_formats to fetch. */ orderBy?: Prisma.product_formatOrderByWithRelationInput | Prisma.product_formatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_formats. */ cursor?: Prisma.product_formatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_formats 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` product_formats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_formats. */ distinct?: Prisma.Product_formatScalarFieldEnum | Prisma.Product_formatScalarFieldEnum[] } /** * product_format findMany */ export type product_formatFindManyArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter, which product_formats to fetch. */ where?: Prisma.product_formatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_formats to fetch. */ orderBy?: Prisma.product_formatOrderByWithRelationInput | Prisma.product_formatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing product_formats. */ cursor?: Prisma.product_formatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_formats 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` product_formats. */ skip?: number distinct?: Prisma.Product_formatScalarFieldEnum | Prisma.Product_formatScalarFieldEnum[] } /** * product_format create */ export type product_formatCreateArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * The data needed to create a product_format. */ data?: Prisma.XOR } /** * product_format createMany */ export type product_formatCreateManyArgs = { /** * The data used to create many product_formats. */ data: Prisma.product_formatCreateManyInput | Prisma.product_formatCreateManyInput[] skipDuplicates?: boolean } /** * product_format update */ export type product_formatUpdateArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * The data needed to update a product_format. */ data: Prisma.XOR /** * Choose, which product_format to update. */ where: Prisma.product_formatWhereUniqueInput } /** * product_format updateMany */ export type product_formatUpdateManyArgs = { /** * The data used to update product_formats. */ data: Prisma.XOR /** * Filter which product_formats to update */ where?: Prisma.product_formatWhereInput /** * Limit how many product_formats to update. */ limit?: number } /** * product_format upsert */ export type product_formatUpsertArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * The filter to search for the product_format to update in case it exists. */ where: Prisma.product_formatWhereUniqueInput /** * In case the product_format found by the `where` argument doesn't exist, create a new product_format with this data. */ create: Prisma.XOR /** * In case the product_format was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * product_format delete */ export type product_formatDeleteArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null /** * Filter which product_format to delete. */ where: Prisma.product_formatWhereUniqueInput } /** * product_format deleteMany */ export type product_formatDeleteManyArgs = { /** * Filter which product_formats to delete */ where?: Prisma.product_formatWhereInput /** * Limit how many product_formats to delete. */ limit?: number } /** * product_format without action */ export type product_formatDefaultArgs = { /** * Select specific fields to fetch from the product_format */ select?: Prisma.product_formatSelect | null /** * Omit specific fields from the product_format */ omit?: Prisma.product_formatOmit | null }