/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Econ_SowInventory` 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Econ_SowInventory * */ export type Econ_SowInventoryModel = runtime.Types.Result.DefaultSelection export type AggregateEcon_SowInventory = { _count: Econ_SowInventoryCountAggregateOutputType | null _avg: Econ_SowInventoryAvgAggregateOutputType | null _sum: Econ_SowInventorySumAggregateOutputType | null _min: Econ_SowInventoryMinAggregateOutputType | null _max: Econ_SowInventoryMaxAggregateOutputType | null } export type Econ_SowInventoryAvgAggregateOutputType = { id: number | null inventory: number | null } export type Econ_SowInventorySumAggregateOutputType = { id: number | null inventory: number | null } export type Econ_SowInventoryMinAggregateOutputType = { id: number | null month: string | null inventory: number | null createdAt: Date | null updatedAt: Date | null } export type Econ_SowInventoryMaxAggregateOutputType = { id: number | null month: string | null inventory: number | null createdAt: Date | null updatedAt: Date | null } export type Econ_SowInventoryCountAggregateOutputType = { id: number month: number inventory: number createdAt: number updatedAt: number _all: number } export type Econ_SowInventoryAvgAggregateInputType = { id?: true inventory?: true } export type Econ_SowInventorySumAggregateInputType = { id?: true inventory?: true } export type Econ_SowInventoryMinAggregateInputType = { id?: true month?: true inventory?: true createdAt?: true updatedAt?: true } export type Econ_SowInventoryMaxAggregateInputType = { id?: true month?: true inventory?: true createdAt?: true updatedAt?: true } export type Econ_SowInventoryCountAggregateInputType = { id?: true month?: true inventory?: true createdAt?: true updatedAt?: true _all?: true } export type Econ_SowInventoryAggregateArgs = { /** * Filter which Econ_SowInventory to aggregate. */ where?: Prisma.Econ_SowInventoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Econ_SowInventories to fetch. */ orderBy?: Prisma.Econ_SowInventoryOrderByWithRelationInput | Prisma.Econ_SowInventoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.Econ_SowInventoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Econ_SowInventories 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` Econ_SowInventories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Econ_SowInventories **/ _count?: true | Econ_SowInventoryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Econ_SowInventoryAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Econ_SowInventorySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Econ_SowInventoryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Econ_SowInventoryMaxAggregateInputType } export type GetEcon_SowInventoryAggregateType = { [P in keyof T & keyof AggregateEcon_SowInventory]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type Econ_SowInventoryGroupByArgs = { where?: Prisma.Econ_SowInventoryWhereInput orderBy?: Prisma.Econ_SowInventoryOrderByWithAggregationInput | Prisma.Econ_SowInventoryOrderByWithAggregationInput[] by: Prisma.Econ_SowInventoryScalarFieldEnum[] | Prisma.Econ_SowInventoryScalarFieldEnum having?: Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput take?: number skip?: number _count?: Econ_SowInventoryCountAggregateInputType | true _avg?: Econ_SowInventoryAvgAggregateInputType _sum?: Econ_SowInventorySumAggregateInputType _min?: Econ_SowInventoryMinAggregateInputType _max?: Econ_SowInventoryMaxAggregateInputType } export type Econ_SowInventoryGroupByOutputType = { id: number month: string inventory: number createdAt: Date updatedAt: Date _count: Econ_SowInventoryCountAggregateOutputType | null _avg: Econ_SowInventoryAvgAggregateOutputType | null _sum: Econ_SowInventorySumAggregateOutputType | null _min: Econ_SowInventoryMinAggregateOutputType | null _max: Econ_SowInventoryMaxAggregateOutputType | null } export type GetEcon_SowInventoryGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Econ_SowInventoryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type Econ_SowInventoryWhereInput = { AND?: Prisma.Econ_SowInventoryWhereInput | Prisma.Econ_SowInventoryWhereInput[] OR?: Prisma.Econ_SowInventoryWhereInput[] NOT?: Prisma.Econ_SowInventoryWhereInput | Prisma.Econ_SowInventoryWhereInput[] id?: Prisma.IntFilter<"Econ_SowInventory"> | number month?: Prisma.StringFilter<"Econ_SowInventory"> | string inventory?: Prisma.IntFilter<"Econ_SowInventory"> | number createdAt?: Prisma.DateTimeFilter<"Econ_SowInventory"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Econ_SowInventory"> | Date | string } export type Econ_SowInventoryOrderByWithRelationInput = { id?: Prisma.SortOrder month?: Prisma.SortOrder inventory?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _relevance?: Prisma.Econ_SowInventoryOrderByRelevanceInput } export type Econ_SowInventoryWhereUniqueInput = Prisma.AtLeast<{ id?: number month?: string AND?: Prisma.Econ_SowInventoryWhereInput | Prisma.Econ_SowInventoryWhereInput[] OR?: Prisma.Econ_SowInventoryWhereInput[] NOT?: Prisma.Econ_SowInventoryWhereInput | Prisma.Econ_SowInventoryWhereInput[] inventory?: Prisma.IntFilter<"Econ_SowInventory"> | number createdAt?: Prisma.DateTimeFilter<"Econ_SowInventory"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Econ_SowInventory"> | Date | string }, "id" | "month"> export type Econ_SowInventoryOrderByWithAggregationInput = { id?: Prisma.SortOrder month?: Prisma.SortOrder inventory?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.Econ_SowInventoryCountOrderByAggregateInput _avg?: Prisma.Econ_SowInventoryAvgOrderByAggregateInput _max?: Prisma.Econ_SowInventoryMaxOrderByAggregateInput _min?: Prisma.Econ_SowInventoryMinOrderByAggregateInput _sum?: Prisma.Econ_SowInventorySumOrderByAggregateInput } export type Econ_SowInventoryScalarWhereWithAggregatesInput = { AND?: Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput | Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput[] OR?: Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput[] NOT?: Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput | Prisma.Econ_SowInventoryScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"Econ_SowInventory"> | number month?: Prisma.StringWithAggregatesFilter<"Econ_SowInventory"> | string inventory?: Prisma.IntWithAggregatesFilter<"Econ_SowInventory"> | number createdAt?: Prisma.DateTimeWithAggregatesFilter<"Econ_SowInventory"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Econ_SowInventory"> | Date | string } export type Econ_SowInventoryCreateInput = { month: string inventory: number createdAt?: Date | string updatedAt?: Date | string } export type Econ_SowInventoryUncheckedCreateInput = { id?: number month: string inventory: number createdAt?: Date | string updatedAt?: Date | string } export type Econ_SowInventoryUpdateInput = { month?: Prisma.StringFieldUpdateOperationsInput | string inventory?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type Econ_SowInventoryUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number month?: Prisma.StringFieldUpdateOperationsInput | string inventory?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type Econ_SowInventoryCreateManyInput = { id?: number month: string inventory: number createdAt?: Date | string updatedAt?: Date | string } export type Econ_SowInventoryUpdateManyMutationInput = { month?: Prisma.StringFieldUpdateOperationsInput | string inventory?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type Econ_SowInventoryUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number month?: Prisma.StringFieldUpdateOperationsInput | string inventory?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type Econ_SowInventoryOrderByRelevanceInput = { fields: Prisma.Econ_SowInventoryOrderByRelevanceFieldEnum | Prisma.Econ_SowInventoryOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type Econ_SowInventoryCountOrderByAggregateInput = { id?: Prisma.SortOrder month?: Prisma.SortOrder inventory?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type Econ_SowInventoryAvgOrderByAggregateInput = { id?: Prisma.SortOrder inventory?: Prisma.SortOrder } export type Econ_SowInventoryMaxOrderByAggregateInput = { id?: Prisma.SortOrder month?: Prisma.SortOrder inventory?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type Econ_SowInventoryMinOrderByAggregateInput = { id?: Prisma.SortOrder month?: Prisma.SortOrder inventory?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type Econ_SowInventorySumOrderByAggregateInput = { id?: Prisma.SortOrder inventory?: Prisma.SortOrder } export type Econ_SowInventorySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean month?: boolean inventory?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["econ_SowInventory"]> export type Econ_SowInventorySelectScalar = { id?: boolean month?: boolean inventory?: boolean createdAt?: boolean updatedAt?: boolean } export type Econ_SowInventoryOmit = runtime.Types.Extensions.GetOmit<"id" | "month" | "inventory" | "createdAt" | "updatedAt", ExtArgs["result"]["econ_SowInventory"]> export type $Econ_SowInventoryPayload = { name: "Econ_SowInventory" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number month: string inventory: number createdAt: Date updatedAt: Date }, ExtArgs["result"]["econ_SowInventory"]> composites: {} } export type Econ_SowInventoryGetPayload = runtime.Types.Result.GetResult export type Econ_SowInventoryCountArgs = Omit & { select?: Econ_SowInventoryCountAggregateInputType | true } export interface Econ_SowInventoryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Econ_SowInventory'], meta: { name: 'Econ_SowInventory' } } /** * Find zero or one Econ_SowInventory that matches the filter. * @param {Econ_SowInventoryFindUniqueArgs} args - Arguments to find a Econ_SowInventory * @example * // Get one Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Econ_SowInventory that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {Econ_SowInventoryFindUniqueOrThrowArgs} args - Arguments to find a Econ_SowInventory * @example * // Get one Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Econ_SowInventory 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 {Econ_SowInventoryFindFirstArgs} args - Arguments to find a Econ_SowInventory * @example * // Get one Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Econ_SowInventory 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 {Econ_SowInventoryFindFirstOrThrowArgs} args - Arguments to find a Econ_SowInventory * @example * // Get one Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Econ_SowInventories 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 {Econ_SowInventoryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Econ_SowInventories * const econ_SowInventories = await prisma.econ_SowInventory.findMany() * * // Get first 10 Econ_SowInventories * const econ_SowInventories = await prisma.econ_SowInventory.findMany({ take: 10 }) * * // Only select the `id` * const econ_SowInventoryWithIdOnly = await prisma.econ_SowInventory.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Econ_SowInventory. * @param {Econ_SowInventoryCreateArgs} args - Arguments to create a Econ_SowInventory. * @example * // Create one Econ_SowInventory * const Econ_SowInventory = await prisma.econ_SowInventory.create({ * data: { * // ... data to create a Econ_SowInventory * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Econ_SowInventories. * @param {Econ_SowInventoryCreateManyArgs} args - Arguments to create many Econ_SowInventories. * @example * // Create many Econ_SowInventories * const econ_SowInventory = await prisma.econ_SowInventory.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Econ_SowInventory. * @param {Econ_SowInventoryDeleteArgs} args - Arguments to delete one Econ_SowInventory. * @example * // Delete one Econ_SowInventory * const Econ_SowInventory = await prisma.econ_SowInventory.delete({ * where: { * // ... filter to delete one Econ_SowInventory * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Econ_SowInventory. * @param {Econ_SowInventoryUpdateArgs} args - Arguments to update one Econ_SowInventory. * @example * // Update one Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Econ_SowInventories. * @param {Econ_SowInventoryDeleteManyArgs} args - Arguments to filter Econ_SowInventories to delete. * @example * // Delete a few Econ_SowInventories * const { count } = await prisma.econ_SowInventory.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Econ_SowInventories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Econ_SowInventoryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Econ_SowInventories * const econ_SowInventory = await prisma.econ_SowInventory.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Econ_SowInventory. * @param {Econ_SowInventoryUpsertArgs} args - Arguments to update or create a Econ_SowInventory. * @example * // Update or create a Econ_SowInventory * const econ_SowInventory = await prisma.econ_SowInventory.upsert({ * create: { * // ... data to create a Econ_SowInventory * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Econ_SowInventory we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__Econ_SowInventoryClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Econ_SowInventories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Econ_SowInventoryCountArgs} args - Arguments to filter Econ_SowInventories to count. * @example * // Count the number of Econ_SowInventories * const count = await prisma.econ_SowInventory.count({ * where: { * // ... the filter for the Econ_SowInventories 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 Econ_SowInventory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Econ_SowInventoryAggregateArgs} 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 Econ_SowInventory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Econ_SowInventoryGroupByArgs} 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 Econ_SowInventoryGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Econ_SowInventoryGroupByArgs['orderBy'] } : { orderBy?: Econ_SowInventoryGroupByArgs['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 ? GetEcon_SowInventoryGroupByPayload : Prisma.PrismaPromise /** * Fields of the Econ_SowInventory model */ readonly fields: Econ_SowInventoryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Econ_SowInventory. * 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__Econ_SowInventoryClient 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 Econ_SowInventory model */ export interface Econ_SowInventoryFieldRefs { readonly id: Prisma.FieldRef<"Econ_SowInventory", 'Int'> readonly month: Prisma.FieldRef<"Econ_SowInventory", 'String'> readonly inventory: Prisma.FieldRef<"Econ_SowInventory", 'Int'> readonly createdAt: Prisma.FieldRef<"Econ_SowInventory", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Econ_SowInventory", 'DateTime'> } // Custom InputTypes /** * Econ_SowInventory findUnique */ export type Econ_SowInventoryFindUniqueArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter, which Econ_SowInventory to fetch. */ where: Prisma.Econ_SowInventoryWhereUniqueInput } /** * Econ_SowInventory findUniqueOrThrow */ export type Econ_SowInventoryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter, which Econ_SowInventory to fetch. */ where: Prisma.Econ_SowInventoryWhereUniqueInput } /** * Econ_SowInventory findFirst */ export type Econ_SowInventoryFindFirstArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter, which Econ_SowInventory to fetch. */ where?: Prisma.Econ_SowInventoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Econ_SowInventories to fetch. */ orderBy?: Prisma.Econ_SowInventoryOrderByWithRelationInput | Prisma.Econ_SowInventoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Econ_SowInventories. */ cursor?: Prisma.Econ_SowInventoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Econ_SowInventories 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` Econ_SowInventories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Econ_SowInventories. */ distinct?: Prisma.Econ_SowInventoryScalarFieldEnum | Prisma.Econ_SowInventoryScalarFieldEnum[] } /** * Econ_SowInventory findFirstOrThrow */ export type Econ_SowInventoryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter, which Econ_SowInventory to fetch. */ where?: Prisma.Econ_SowInventoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Econ_SowInventories to fetch. */ orderBy?: Prisma.Econ_SowInventoryOrderByWithRelationInput | Prisma.Econ_SowInventoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Econ_SowInventories. */ cursor?: Prisma.Econ_SowInventoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Econ_SowInventories 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` Econ_SowInventories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Econ_SowInventories. */ distinct?: Prisma.Econ_SowInventoryScalarFieldEnum | Prisma.Econ_SowInventoryScalarFieldEnum[] } /** * Econ_SowInventory findMany */ export type Econ_SowInventoryFindManyArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter, which Econ_SowInventories to fetch. */ where?: Prisma.Econ_SowInventoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Econ_SowInventories to fetch. */ orderBy?: Prisma.Econ_SowInventoryOrderByWithRelationInput | Prisma.Econ_SowInventoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Econ_SowInventories. */ cursor?: Prisma.Econ_SowInventoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Econ_SowInventories 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` Econ_SowInventories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Econ_SowInventories. */ distinct?: Prisma.Econ_SowInventoryScalarFieldEnum | Prisma.Econ_SowInventoryScalarFieldEnum[] } /** * Econ_SowInventory create */ export type Econ_SowInventoryCreateArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * The data needed to create a Econ_SowInventory. */ data: Prisma.XOR } /** * Econ_SowInventory createMany */ export type Econ_SowInventoryCreateManyArgs = { /** * The data used to create many Econ_SowInventories. */ data: Prisma.Econ_SowInventoryCreateManyInput | Prisma.Econ_SowInventoryCreateManyInput[] skipDuplicates?: boolean } /** * Econ_SowInventory update */ export type Econ_SowInventoryUpdateArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * The data needed to update a Econ_SowInventory. */ data: Prisma.XOR /** * Choose, which Econ_SowInventory to update. */ where: Prisma.Econ_SowInventoryWhereUniqueInput } /** * Econ_SowInventory updateMany */ export type Econ_SowInventoryUpdateManyArgs = { /** * The data used to update Econ_SowInventories. */ data: Prisma.XOR /** * Filter which Econ_SowInventories to update */ where?: Prisma.Econ_SowInventoryWhereInput /** * Limit how many Econ_SowInventories to update. */ limit?: number } /** * Econ_SowInventory upsert */ export type Econ_SowInventoryUpsertArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * The filter to search for the Econ_SowInventory to update in case it exists. */ where: Prisma.Econ_SowInventoryWhereUniqueInput /** * In case the Econ_SowInventory found by the `where` argument doesn't exist, create a new Econ_SowInventory with this data. */ create: Prisma.XOR /** * In case the Econ_SowInventory was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Econ_SowInventory delete */ export type Econ_SowInventoryDeleteArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null /** * Filter which Econ_SowInventory to delete. */ where: Prisma.Econ_SowInventoryWhereUniqueInput } /** * Econ_SowInventory deleteMany */ export type Econ_SowInventoryDeleteManyArgs = { /** * Filter which Econ_SowInventories to delete */ where?: Prisma.Econ_SowInventoryWhereInput /** * Limit how many Econ_SowInventories to delete. */ limit?: number } /** * Econ_SowInventory without action */ export type Econ_SowInventoryDefaultArgs = { /** * Select specific fields to fetch from the Econ_SowInventory */ select?: Prisma.Econ_SowInventorySelect | null /** * Omit specific fields from the Econ_SowInventory */ omit?: Prisma.Econ_SowInventoryOmit | null }