1112 lines
42 KiB
TypeScript
1112 lines
42 KiB
TypeScript
|
|
/* !!! 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_translate` 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_translate
|
|
*
|
|
*/
|
|
export type product_translateModel = runtime.Types.Result.DefaultSelection<Prisma.$product_translatePayload>
|
|
|
|
export type AggregateProduct_translate = {
|
|
_count: Product_translateCountAggregateOutputType | null
|
|
_avg: Product_translateAvgAggregateOutputType | null
|
|
_sum: Product_translateSumAggregateOutputType | null
|
|
_min: Product_translateMinAggregateOutputType | null
|
|
_max: Product_translateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Product_translateAvgAggregateOutputType = {
|
|
id: number | null
|
|
product_id: number | null
|
|
}
|
|
|
|
export type Product_translateSumAggregateOutputType = {
|
|
id: number | null
|
|
product_id: number | null
|
|
}
|
|
|
|
export type Product_translateMinAggregateOutputType = {
|
|
id: number | null
|
|
product_id: number | null
|
|
language_id: string | null
|
|
name: string | null
|
|
description_short: string | null
|
|
description_full: string | null
|
|
}
|
|
|
|
export type Product_translateMaxAggregateOutputType = {
|
|
id: number | null
|
|
product_id: number | null
|
|
language_id: string | null
|
|
name: string | null
|
|
description_short: string | null
|
|
description_full: string | null
|
|
}
|
|
|
|
export type Product_translateCountAggregateOutputType = {
|
|
id: number
|
|
product_id: number
|
|
language_id: number
|
|
name: number
|
|
description_short: number
|
|
description_full: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Product_translateAvgAggregateInputType = {
|
|
id?: true
|
|
product_id?: true
|
|
}
|
|
|
|
export type Product_translateSumAggregateInputType = {
|
|
id?: true
|
|
product_id?: true
|
|
}
|
|
|
|
export type Product_translateMinAggregateInputType = {
|
|
id?: true
|
|
product_id?: true
|
|
language_id?: true
|
|
name?: true
|
|
description_short?: true
|
|
description_full?: true
|
|
}
|
|
|
|
export type Product_translateMaxAggregateInputType = {
|
|
id?: true
|
|
product_id?: true
|
|
language_id?: true
|
|
name?: true
|
|
description_short?: true
|
|
description_full?: true
|
|
}
|
|
|
|
export type Product_translateCountAggregateInputType = {
|
|
id?: true
|
|
product_id?: true
|
|
language_id?: true
|
|
name?: true
|
|
description_short?: true
|
|
description_full?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Product_translateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which product_translate to aggregate.
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_translates to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_translateOrderByWithRelationInput | Prisma.product_translateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.product_translateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_translates 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_translates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned product_translates
|
|
**/
|
|
_count?: true | Product_translateCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Product_translateAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Product_translateSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Product_translateMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Product_translateMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProduct_translateAggregateType<T extends Product_translateAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProduct_translate]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProduct_translate[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProduct_translate[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type product_translateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.product_translateWhereInput
|
|
orderBy?: Prisma.product_translateOrderByWithAggregationInput | Prisma.product_translateOrderByWithAggregationInput[]
|
|
by: Prisma.Product_translateScalarFieldEnum[] | Prisma.Product_translateScalarFieldEnum
|
|
having?: Prisma.product_translateScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Product_translateCountAggregateInputType | true
|
|
_avg?: Product_translateAvgAggregateInputType
|
|
_sum?: Product_translateSumAggregateInputType
|
|
_min?: Product_translateMinAggregateInputType
|
|
_max?: Product_translateMaxAggregateInputType
|
|
}
|
|
|
|
export type Product_translateGroupByOutputType = {
|
|
id: number
|
|
product_id: number | null
|
|
language_id: string | null
|
|
name: string | null
|
|
description_short: string | null
|
|
description_full: string | null
|
|
_count: Product_translateCountAggregateOutputType | null
|
|
_avg: Product_translateAvgAggregateOutputType | null
|
|
_sum: Product_translateSumAggregateOutputType | null
|
|
_min: Product_translateMinAggregateOutputType | null
|
|
_max: Product_translateMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetProduct_translateGroupByPayload<T extends product_translateGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Product_translateGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Product_translateGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Product_translateGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Product_translateGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type product_translateWhereInput = {
|
|
AND?: Prisma.product_translateWhereInput | Prisma.product_translateWhereInput[]
|
|
OR?: Prisma.product_translateWhereInput[]
|
|
NOT?: Prisma.product_translateWhereInput | Prisma.product_translateWhereInput[]
|
|
id?: Prisma.IntFilter<"product_translate"> | number
|
|
product_id?: Prisma.IntNullableFilter<"product_translate"> | number | null
|
|
language_id?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
name?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
description_short?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
description_full?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
}
|
|
|
|
export type product_translateOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
language_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
description_short?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
description_full?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.product_translateOrderByRelevanceInput
|
|
}
|
|
|
|
export type product_translateWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.product_translateWhereInput | Prisma.product_translateWhereInput[]
|
|
OR?: Prisma.product_translateWhereInput[]
|
|
NOT?: Prisma.product_translateWhereInput | Prisma.product_translateWhereInput[]
|
|
product_id?: Prisma.IntNullableFilter<"product_translate"> | number | null
|
|
language_id?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
name?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
description_short?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
description_full?: Prisma.StringNullableFilter<"product_translate"> | string | null
|
|
}, "id">
|
|
|
|
export type product_translateOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
language_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
description_short?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
description_full?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.product_translateCountOrderByAggregateInput
|
|
_avg?: Prisma.product_translateAvgOrderByAggregateInput
|
|
_max?: Prisma.product_translateMaxOrderByAggregateInput
|
|
_min?: Prisma.product_translateMinOrderByAggregateInput
|
|
_sum?: Prisma.product_translateSumOrderByAggregateInput
|
|
}
|
|
|
|
export type product_translateScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.product_translateScalarWhereWithAggregatesInput | Prisma.product_translateScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.product_translateScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.product_translateScalarWhereWithAggregatesInput | Prisma.product_translateScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"product_translate"> | number
|
|
product_id?: Prisma.IntNullableWithAggregatesFilter<"product_translate"> | number | null
|
|
language_id?: Prisma.StringNullableWithAggregatesFilter<"product_translate"> | string | null
|
|
name?: Prisma.StringNullableWithAggregatesFilter<"product_translate"> | string | null
|
|
description_short?: Prisma.StringNullableWithAggregatesFilter<"product_translate"> | string | null
|
|
description_full?: Prisma.StringNullableWithAggregatesFilter<"product_translate"> | string | null
|
|
}
|
|
|
|
export type product_translateCreateInput = {
|
|
product_id?: number | null
|
|
language_id?: string | null
|
|
name?: string | null
|
|
description_short?: string | null
|
|
description_full?: string | null
|
|
}
|
|
|
|
export type product_translateUncheckedCreateInput = {
|
|
id?: number
|
|
product_id?: number | null
|
|
language_id?: string | null
|
|
name?: string | null
|
|
description_short?: string | null
|
|
description_full?: string | null
|
|
}
|
|
|
|
export type product_translateUpdateInput = {
|
|
product_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
language_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_short?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_full?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type product_translateUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
product_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
language_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_short?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_full?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type product_translateCreateManyInput = {
|
|
id?: number
|
|
product_id?: number | null
|
|
language_id?: string | null
|
|
name?: string | null
|
|
description_short?: string | null
|
|
description_full?: string | null
|
|
}
|
|
|
|
export type product_translateUpdateManyMutationInput = {
|
|
product_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
language_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_short?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_full?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type product_translateUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
product_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
language_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_short?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
description_full?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type product_translateOrderByRelevanceInput = {
|
|
fields: Prisma.product_translateOrderByRelevanceFieldEnum | Prisma.product_translateOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type product_translateCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
language_id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description_short?: Prisma.SortOrder
|
|
description_full?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_translateAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_translateMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
language_id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description_short?: Prisma.SortOrder
|
|
description_full?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_translateMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
language_id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description_short?: Prisma.SortOrder
|
|
description_full?: Prisma.SortOrder
|
|
}
|
|
|
|
export type product_translateSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
product_id?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type product_translateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
product_id?: boolean
|
|
language_id?: boolean
|
|
name?: boolean
|
|
description_short?: boolean
|
|
description_full?: boolean
|
|
}, ExtArgs["result"]["product_translate"]>
|
|
|
|
|
|
|
|
export type product_translateSelectScalar = {
|
|
id?: boolean
|
|
product_id?: boolean
|
|
language_id?: boolean
|
|
name?: boolean
|
|
description_short?: boolean
|
|
description_full?: boolean
|
|
}
|
|
|
|
export type product_translateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "product_id" | "language_id" | "name" | "description_short" | "description_full", ExtArgs["result"]["product_translate"]>
|
|
|
|
export type $product_translatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "product_translate"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
product_id: number | null
|
|
language_id: string | null
|
|
name: string | null
|
|
description_short: string | null
|
|
description_full: string | null
|
|
}, ExtArgs["result"]["product_translate"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type product_translateGetPayload<S extends boolean | null | undefined | product_translateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$product_translatePayload, S>
|
|
|
|
export type product_translateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<product_translateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Product_translateCountAggregateInputType | true
|
|
}
|
|
|
|
export interface product_translateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['product_translate'], meta: { name: 'product_translate' } }
|
|
/**
|
|
* Find zero or one Product_translate that matches the filter.
|
|
* @param {product_translateFindUniqueArgs} args - Arguments to find a Product_translate
|
|
* @example
|
|
* // Get one Product_translate
|
|
* const product_translate = await prisma.product_translate.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends product_translateFindUniqueArgs>(args: Prisma.SelectSubset<T, product_translateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Product_translate that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {product_translateFindUniqueOrThrowArgs} args - Arguments to find a Product_translate
|
|
* @example
|
|
* // Get one Product_translate
|
|
* const product_translate = await prisma.product_translate.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends product_translateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, product_translateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Product_translate 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_translateFindFirstArgs} args - Arguments to find a Product_translate
|
|
* @example
|
|
* // Get one Product_translate
|
|
* const product_translate = await prisma.product_translate.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends product_translateFindFirstArgs>(args?: Prisma.SelectSubset<T, product_translateFindFirstArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Product_translate 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_translateFindFirstOrThrowArgs} args - Arguments to find a Product_translate
|
|
* @example
|
|
* // Get one Product_translate
|
|
* const product_translate = await prisma.product_translate.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends product_translateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, product_translateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Product_translates 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_translateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Product_translates
|
|
* const product_translates = await prisma.product_translate.findMany()
|
|
*
|
|
* // Get first 10 Product_translates
|
|
* const product_translates = await prisma.product_translate.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const product_translateWithIdOnly = await prisma.product_translate.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends product_translateFindManyArgs>(args?: Prisma.SelectSubset<T, product_translateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Product_translate.
|
|
* @param {product_translateCreateArgs} args - Arguments to create a Product_translate.
|
|
* @example
|
|
* // Create one Product_translate
|
|
* const Product_translate = await prisma.product_translate.create({
|
|
* data: {
|
|
* // ... data to create a Product_translate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends product_translateCreateArgs>(args: Prisma.SelectSubset<T, product_translateCreateArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Product_translates.
|
|
* @param {product_translateCreateManyArgs} args - Arguments to create many Product_translates.
|
|
* @example
|
|
* // Create many Product_translates
|
|
* const product_translate = await prisma.product_translate.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends product_translateCreateManyArgs>(args?: Prisma.SelectSubset<T, product_translateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Product_translate.
|
|
* @param {product_translateDeleteArgs} args - Arguments to delete one Product_translate.
|
|
* @example
|
|
* // Delete one Product_translate
|
|
* const Product_translate = await prisma.product_translate.delete({
|
|
* where: {
|
|
* // ... filter to delete one Product_translate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends product_translateDeleteArgs>(args: Prisma.SelectSubset<T, product_translateDeleteArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Product_translate.
|
|
* @param {product_translateUpdateArgs} args - Arguments to update one Product_translate.
|
|
* @example
|
|
* // Update one Product_translate
|
|
* const product_translate = await prisma.product_translate.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends product_translateUpdateArgs>(args: Prisma.SelectSubset<T, product_translateUpdateArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Product_translates.
|
|
* @param {product_translateDeleteManyArgs} args - Arguments to filter Product_translates to delete.
|
|
* @example
|
|
* // Delete a few Product_translates
|
|
* const { count } = await prisma.product_translate.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends product_translateDeleteManyArgs>(args?: Prisma.SelectSubset<T, product_translateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Product_translates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_translateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Product_translates
|
|
* const product_translate = await prisma.product_translate.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends product_translateUpdateManyArgs>(args: Prisma.SelectSubset<T, product_translateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Product_translate.
|
|
* @param {product_translateUpsertArgs} args - Arguments to update or create a Product_translate.
|
|
* @example
|
|
* // Update or create a Product_translate
|
|
* const product_translate = await prisma.product_translate.upsert({
|
|
* create: {
|
|
* // ... data to create a Product_translate
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Product_translate we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends product_translateUpsertArgs>(args: Prisma.SelectSubset<T, product_translateUpsertArgs<ExtArgs>>): Prisma.Prisma__product_translateClient<runtime.Types.Result.GetResult<Prisma.$product_translatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Product_translates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_translateCountArgs} args - Arguments to filter Product_translates to count.
|
|
* @example
|
|
* // Count the number of Product_translates
|
|
* const count = await prisma.product_translate.count({
|
|
* where: {
|
|
* // ... the filter for the Product_translates we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends product_translateCountArgs>(
|
|
args?: Prisma.Subset<T, product_translateCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Product_translateCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Product_translate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Product_translateAggregateArgs} 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<T extends Product_translateAggregateArgs>(args: Prisma.Subset<T, Product_translateAggregateArgs>): Prisma.PrismaPromise<GetProduct_translateAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Product_translate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {product_translateGroupByArgs} 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_translateGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: product_translateGroupByArgs['orderBy'] }
|
|
: { orderBy?: product_translateGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, product_translateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProduct_translateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the product_translate model
|
|
*/
|
|
readonly fields: product_translateFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for product_translate.
|
|
* 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_translateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the product_translate model
|
|
*/
|
|
export interface product_translateFieldRefs {
|
|
readonly id: Prisma.FieldRef<"product_translate", 'Int'>
|
|
readonly product_id: Prisma.FieldRef<"product_translate", 'Int'>
|
|
readonly language_id: Prisma.FieldRef<"product_translate", 'String'>
|
|
readonly name: Prisma.FieldRef<"product_translate", 'String'>
|
|
readonly description_short: Prisma.FieldRef<"product_translate", 'String'>
|
|
readonly description_full: Prisma.FieldRef<"product_translate", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* product_translate findUnique
|
|
*/
|
|
export type product_translateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_translate to fetch.
|
|
*/
|
|
where: Prisma.product_translateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_translate findUniqueOrThrow
|
|
*/
|
|
export type product_translateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_translate to fetch.
|
|
*/
|
|
where: Prisma.product_translateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_translate findFirst
|
|
*/
|
|
export type product_translateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_translate to fetch.
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_translates to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_translateOrderByWithRelationInput | Prisma.product_translateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for product_translates.
|
|
*/
|
|
cursor?: Prisma.product_translateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_translates 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_translates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of product_translates.
|
|
*/
|
|
distinct?: Prisma.Product_translateScalarFieldEnum | Prisma.Product_translateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_translate findFirstOrThrow
|
|
*/
|
|
export type product_translateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_translate to fetch.
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_translates to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_translateOrderByWithRelationInput | Prisma.product_translateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for product_translates.
|
|
*/
|
|
cursor?: Prisma.product_translateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_translates 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_translates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of product_translates.
|
|
*/
|
|
distinct?: Prisma.Product_translateScalarFieldEnum | Prisma.Product_translateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_translate findMany
|
|
*/
|
|
export type product_translateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which product_translates to fetch.
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of product_translates to fetch.
|
|
*/
|
|
orderBy?: Prisma.product_translateOrderByWithRelationInput | Prisma.product_translateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing product_translates.
|
|
*/
|
|
cursor?: Prisma.product_translateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` product_translates 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_translates.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Product_translateScalarFieldEnum | Prisma.Product_translateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* product_translate create
|
|
*/
|
|
export type product_translateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a product_translate.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.product_translateCreateInput, Prisma.product_translateUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* product_translate createMany
|
|
*/
|
|
export type product_translateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many product_translates.
|
|
*/
|
|
data: Prisma.product_translateCreateManyInput | Prisma.product_translateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* product_translate update
|
|
*/
|
|
export type product_translateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a product_translate.
|
|
*/
|
|
data: Prisma.XOR<Prisma.product_translateUpdateInput, Prisma.product_translateUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which product_translate to update.
|
|
*/
|
|
where: Prisma.product_translateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_translate updateMany
|
|
*/
|
|
export type product_translateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update product_translates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.product_translateUpdateManyMutationInput, Prisma.product_translateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which product_translates to update
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* Limit how many product_translates to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* product_translate upsert
|
|
*/
|
|
export type product_translateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the product_translate to update in case it exists.
|
|
*/
|
|
where: Prisma.product_translateWhereUniqueInput
|
|
/**
|
|
* In case the product_translate found by the `where` argument doesn't exist, create a new product_translate with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.product_translateCreateInput, Prisma.product_translateUncheckedCreateInput>
|
|
/**
|
|
* In case the product_translate was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.product_translateUpdateInput, Prisma.product_translateUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* product_translate delete
|
|
*/
|
|
export type product_translateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which product_translate to delete.
|
|
*/
|
|
where: Prisma.product_translateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* product_translate deleteMany
|
|
*/
|
|
export type product_translateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which product_translates to delete
|
|
*/
|
|
where?: Prisma.product_translateWhereInput
|
|
/**
|
|
* Limit how many product_translates to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* product_translate without action
|
|
*/
|
|
export type product_translateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the product_translate
|
|
*/
|
|
select?: Prisma.product_translateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the product_translate
|
|
*/
|
|
omit?: Prisma.product_translateOmit<ExtArgs> | null
|
|
}
|