|
|
|
@@ -30,14 +30,14 @@ export type ProductInfoAvgAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number | null
|
|
|
|
|
supplierId: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoSumAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number | null
|
|
|
|
|
supplierId: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMinAggregateOutputType = {
|
|
|
|
@@ -50,7 +50,7 @@ export type ProductInfoMinAggregateOutputType = {
|
|
|
|
|
deletedAt: Date | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number | null
|
|
|
|
|
supplierId: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMaxAggregateOutputType = {
|
|
|
|
@@ -63,7 +63,7 @@ export type ProductInfoMaxAggregateOutputType = {
|
|
|
|
|
deletedAt: Date | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number | null
|
|
|
|
|
supplierId: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCountAggregateOutputType = {
|
|
|
|
@@ -77,7 +77,7 @@ export type ProductInfoCountAggregateOutputType = {
|
|
|
|
|
deletedAt: number
|
|
|
|
|
brandId: number
|
|
|
|
|
categoryId: number
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -86,14 +86,14 @@ export type ProductInfoAvgAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
brandId?: true
|
|
|
|
|
categoryId?: true
|
|
|
|
|
vendorId?: true
|
|
|
|
|
supplierId?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoSumAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
brandId?: true
|
|
|
|
|
categoryId?: true
|
|
|
|
|
vendorId?: true
|
|
|
|
|
supplierId?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMinAggregateInputType = {
|
|
|
|
@@ -106,7 +106,7 @@ export type ProductInfoMinAggregateInputType = {
|
|
|
|
|
deletedAt?: true
|
|
|
|
|
brandId?: true
|
|
|
|
|
categoryId?: true
|
|
|
|
|
vendorId?: true
|
|
|
|
|
supplierId?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMaxAggregateInputType = {
|
|
|
|
@@ -119,7 +119,7 @@ export type ProductInfoMaxAggregateInputType = {
|
|
|
|
|
deletedAt?: true
|
|
|
|
|
brandId?: true
|
|
|
|
|
categoryId?: true
|
|
|
|
|
vendorId?: true
|
|
|
|
|
supplierId?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCountAggregateInputType = {
|
|
|
|
@@ -133,7 +133,7 @@ export type ProductInfoCountAggregateInputType = {
|
|
|
|
|
deletedAt?: true
|
|
|
|
|
brandId?: true
|
|
|
|
|
categoryId?: true
|
|
|
|
|
vendorId?: true
|
|
|
|
|
supplierId?: true
|
|
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -234,7 +234,7 @@ export type ProductInfoGroupByOutputType = {
|
|
|
|
|
deletedAt: Date | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
_count: ProductInfoCountAggregateOutputType | null
|
|
|
|
|
_avg: ProductInfoAvgAggregateOutputType | null
|
|
|
|
|
_sum: ProductInfoSumAggregateOutputType | null
|
|
|
|
@@ -271,11 +271,11 @@ export type ProductInfoWhereInput = {
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"ProductInfo"> | Date | string | null
|
|
|
|
|
brandId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
categoryId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
vendorId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
supplierId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
products?: Prisma.ProductListRelationFilter
|
|
|
|
|
brand?: Prisma.XOR<Prisma.ProductBrandNullableScalarRelationFilter, Prisma.ProductBrandWhereInput> | null
|
|
|
|
|
category?: Prisma.XOR<Prisma.ProductCategoryNullableScalarRelationFilter, Prisma.ProductCategoryWhereInput> | null
|
|
|
|
|
vendor?: Prisma.XOR<Prisma.VendorScalarRelationFilter, Prisma.VendorWhereInput>
|
|
|
|
|
supplier?: Prisma.XOR<Prisma.SupplierScalarRelationFilter, Prisma.SupplierWhereInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoOrderByWithRelationInput = {
|
|
|
|
@@ -289,11 +289,11 @@ export type ProductInfoOrderByWithRelationInput = {
|
|
|
|
|
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
products?: Prisma.ProductOrderByRelationAggregateInput
|
|
|
|
|
brand?: Prisma.ProductBrandOrderByWithRelationInput
|
|
|
|
|
category?: Prisma.ProductCategoryOrderByWithRelationInput
|
|
|
|
|
vendor?: Prisma.VendorOrderByWithRelationInput
|
|
|
|
|
supplier?: Prisma.SupplierOrderByWithRelationInput
|
|
|
|
|
_relevance?: Prisma.ProductInfoOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -311,11 +311,11 @@ export type ProductInfoWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"ProductInfo"> | Date | string | null
|
|
|
|
|
brandId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
categoryId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
vendorId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
supplierId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
products?: Prisma.ProductListRelationFilter
|
|
|
|
|
brand?: Prisma.XOR<Prisma.ProductBrandNullableScalarRelationFilter, Prisma.ProductBrandWhereInput> | null
|
|
|
|
|
category?: Prisma.XOR<Prisma.ProductCategoryNullableScalarRelationFilter, Prisma.ProductCategoryWhereInput> | null
|
|
|
|
|
vendor?: Prisma.XOR<Prisma.VendorScalarRelationFilter, Prisma.VendorWhereInput>
|
|
|
|
|
supplier?: Prisma.XOR<Prisma.SupplierScalarRelationFilter, Prisma.SupplierWhereInput>
|
|
|
|
|
}, "id">
|
|
|
|
|
|
|
|
|
|
export type ProductInfoOrderByWithAggregationInput = {
|
|
|
|
@@ -329,7 +329,7 @@ export type ProductInfoOrderByWithAggregationInput = {
|
|
|
|
|
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.ProductInfoCountOrderByAggregateInput
|
|
|
|
|
_avg?: Prisma.ProductInfoAvgOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.ProductInfoMaxOrderByAggregateInput
|
|
|
|
@@ -351,7 +351,7 @@ export type ProductInfoScalarWhereWithAggregatesInput = {
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProductInfo"> | Date | string | null
|
|
|
|
|
brandId?: Prisma.IntNullableWithAggregatesFilter<"ProductInfo"> | number | null
|
|
|
|
|
categoryId?: Prisma.IntNullableWithAggregatesFilter<"ProductInfo"> | number | null
|
|
|
|
|
vendorId?: Prisma.IntWithAggregatesFilter<"ProductInfo"> | number
|
|
|
|
|
supplierId?: Prisma.IntWithAggregatesFilter<"ProductInfo"> | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateInput = {
|
|
|
|
@@ -365,7 +365,7 @@ export type ProductInfoCreateInput = {
|
|
|
|
|
products?: Prisma.ProductCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
brand?: Prisma.ProductBrandCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
category?: Prisma.ProductCategoryCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
vendor: Prisma.VendorCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
supplier: Prisma.SupplierCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateInput = {
|
|
|
|
@@ -379,7 +379,7 @@ export type ProductInfoUncheckedCreateInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brandId?: number | null
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
products?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -394,7 +394,7 @@ export type ProductInfoUpdateInput = {
|
|
|
|
|
products?: Prisma.ProductUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
brand?: Prisma.ProductBrandUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
category?: Prisma.ProductCategoryUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
vendor?: Prisma.VendorUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
supplier?: Prisma.SupplierUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateInput = {
|
|
|
|
@@ -408,7 +408,7 @@ export type ProductInfoUncheckedUpdateInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brandId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
categoryId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
products?: Prisma.ProductUncheckedUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -423,7 +423,7 @@ export type ProductInfoCreateManyInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brandId?: number | null
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateManyMutationInput = {
|
|
|
|
@@ -447,7 +447,7 @@ export type ProductInfoUncheckedUpdateManyInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brandId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
categoryId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoScalarRelationFilter = {
|
|
|
|
@@ -472,14 +472,14 @@ export type ProductInfoCountOrderByAggregateInput = {
|
|
|
|
|
deletedAt?: Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoAvgOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMaxOrderByAggregateInput = {
|
|
|
|
@@ -492,7 +492,7 @@ export type ProductInfoMaxOrderByAggregateInput = {
|
|
|
|
|
deletedAt?: Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoMinOrderByAggregateInput = {
|
|
|
|
@@ -505,14 +505,14 @@ export type ProductInfoMinOrderByAggregateInput = {
|
|
|
|
|
deletedAt?: Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoSumOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
brandId?: Prisma.SortOrder
|
|
|
|
|
categoryId?: Prisma.SortOrder
|
|
|
|
|
vendorId?: Prisma.SortOrder
|
|
|
|
|
supplierId?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoListRelationFilter = {
|
|
|
|
@@ -631,45 +631,45 @@ export type ProductInfoUncheckedUpdateManyWithoutCategoryNestedInput = {
|
|
|
|
|
deleteMany?: Prisma.ProductInfoScalarWhereInput | Prisma.ProductInfoScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateNestedManyWithoutVendorInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput> | Prisma.ProductInfoCreateWithoutVendorInput[] | Prisma.ProductInfoUncheckedCreateWithoutVendorInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutVendorInput | Prisma.ProductInfoCreateOrConnectWithoutVendorInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManyVendorInputEnvelope
|
|
|
|
|
export type ProductInfoCreateNestedManyWithoutSupplierInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput> | Prisma.ProductInfoCreateWithoutSupplierInput[] | Prisma.ProductInfoUncheckedCreateWithoutSupplierInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutSupplierInput | Prisma.ProductInfoCreateOrConnectWithoutSupplierInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManySupplierInputEnvelope
|
|
|
|
|
connect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateNestedManyWithoutVendorInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput> | Prisma.ProductInfoCreateWithoutVendorInput[] | Prisma.ProductInfoUncheckedCreateWithoutVendorInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutVendorInput | Prisma.ProductInfoCreateOrConnectWithoutVendorInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManyVendorInputEnvelope
|
|
|
|
|
export type ProductInfoUncheckedCreateNestedManyWithoutSupplierInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput> | Prisma.ProductInfoCreateWithoutSupplierInput[] | Prisma.ProductInfoUncheckedCreateWithoutSupplierInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutSupplierInput | Prisma.ProductInfoCreateOrConnectWithoutSupplierInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManySupplierInputEnvelope
|
|
|
|
|
connect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateManyWithoutVendorNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput> | Prisma.ProductInfoCreateWithoutVendorInput[] | Prisma.ProductInfoUncheckedCreateWithoutVendorInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutVendorInput | Prisma.ProductInfoCreateOrConnectWithoutVendorInput[]
|
|
|
|
|
upsert?: Prisma.ProductInfoUpsertWithWhereUniqueWithoutVendorInput | Prisma.ProductInfoUpsertWithWhereUniqueWithoutVendorInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManyVendorInputEnvelope
|
|
|
|
|
export type ProductInfoUpdateManyWithoutSupplierNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput> | Prisma.ProductInfoCreateWithoutSupplierInput[] | Prisma.ProductInfoUncheckedCreateWithoutSupplierInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutSupplierInput | Prisma.ProductInfoCreateOrConnectWithoutSupplierInput[]
|
|
|
|
|
upsert?: Prisma.ProductInfoUpsertWithWhereUniqueWithoutSupplierInput | Prisma.ProductInfoUpsertWithWhereUniqueWithoutSupplierInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManySupplierInputEnvelope
|
|
|
|
|
set?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ProductInfoUpdateWithWhereUniqueWithoutVendorInput | Prisma.ProductInfoUpdateWithWhereUniqueWithoutVendorInput[]
|
|
|
|
|
updateMany?: Prisma.ProductInfoUpdateManyWithWhereWithoutVendorInput | Prisma.ProductInfoUpdateManyWithWhereWithoutVendorInput[]
|
|
|
|
|
update?: Prisma.ProductInfoUpdateWithWhereUniqueWithoutSupplierInput | Prisma.ProductInfoUpdateWithWhereUniqueWithoutSupplierInput[]
|
|
|
|
|
updateMany?: Prisma.ProductInfoUpdateManyWithWhereWithoutSupplierInput | Prisma.ProductInfoUpdateManyWithWhereWithoutSupplierInput[]
|
|
|
|
|
deleteMany?: Prisma.ProductInfoScalarWhereInput | Prisma.ProductInfoScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateManyWithoutVendorNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput> | Prisma.ProductInfoCreateWithoutVendorInput[] | Prisma.ProductInfoUncheckedCreateWithoutVendorInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutVendorInput | Prisma.ProductInfoCreateOrConnectWithoutVendorInput[]
|
|
|
|
|
upsert?: Prisma.ProductInfoUpsertWithWhereUniqueWithoutVendorInput | Prisma.ProductInfoUpsertWithWhereUniqueWithoutVendorInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManyVendorInputEnvelope
|
|
|
|
|
export type ProductInfoUncheckedUpdateManyWithoutSupplierNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput> | Prisma.ProductInfoCreateWithoutSupplierInput[] | Prisma.ProductInfoUncheckedCreateWithoutSupplierInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ProductInfoCreateOrConnectWithoutSupplierInput | Prisma.ProductInfoCreateOrConnectWithoutSupplierInput[]
|
|
|
|
|
upsert?: Prisma.ProductInfoUpsertWithWhereUniqueWithoutSupplierInput | Prisma.ProductInfoUpsertWithWhereUniqueWithoutSupplierInput[]
|
|
|
|
|
createMany?: Prisma.ProductInfoCreateManySupplierInputEnvelope
|
|
|
|
|
set?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ProductInfoWhereUniqueInput | Prisma.ProductInfoWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ProductInfoUpdateWithWhereUniqueWithoutVendorInput | Prisma.ProductInfoUpdateWithWhereUniqueWithoutVendorInput[]
|
|
|
|
|
updateMany?: Prisma.ProductInfoUpdateManyWithWhereWithoutVendorInput | Prisma.ProductInfoUpdateManyWithWhereWithoutVendorInput[]
|
|
|
|
|
update?: Prisma.ProductInfoUpdateWithWhereUniqueWithoutSupplierInput | Prisma.ProductInfoUpdateWithWhereUniqueWithoutSupplierInput[]
|
|
|
|
|
updateMany?: Prisma.ProductInfoUpdateManyWithWhereWithoutSupplierInput | Prisma.ProductInfoUpdateManyWithWhereWithoutSupplierInput[]
|
|
|
|
|
deleteMany?: Prisma.ProductInfoScalarWhereInput | Prisma.ProductInfoScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -683,7 +683,7 @@ export type ProductInfoCreateWithoutProductsInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brand?: Prisma.ProductBrandCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
category?: Prisma.ProductCategoryCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
vendor: Prisma.VendorCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
supplier: Prisma.SupplierCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateWithoutProductsInput = {
|
|
|
|
@@ -697,7 +697,7 @@ export type ProductInfoUncheckedCreateWithoutProductsInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brandId?: number | null
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateOrConnectWithoutProductsInput = {
|
|
|
|
@@ -726,7 +726,7 @@ export type ProductInfoUpdateWithoutProductsInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brand?: Prisma.ProductBrandUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
category?: Prisma.ProductCategoryUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
vendor?: Prisma.VendorUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
supplier?: Prisma.SupplierUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateWithoutProductsInput = {
|
|
|
|
@@ -740,7 +740,7 @@ export type ProductInfoUncheckedUpdateWithoutProductsInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brandId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
categoryId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateWithoutBrandInput = {
|
|
|
|
@@ -753,7 +753,7 @@ export type ProductInfoCreateWithoutBrandInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
products?: Prisma.ProductCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
category?: Prisma.ProductCategoryCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
vendor: Prisma.VendorCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
supplier: Prisma.SupplierCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateWithoutBrandInput = {
|
|
|
|
@@ -766,7 +766,7 @@ export type ProductInfoUncheckedCreateWithoutBrandInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
products?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -810,7 +810,7 @@ export type ProductInfoScalarWhereInput = {
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"ProductInfo"> | Date | string | null
|
|
|
|
|
brandId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
categoryId?: Prisma.IntNullableFilter<"ProductInfo"> | number | null
|
|
|
|
|
vendorId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
supplierId?: Prisma.IntFilter<"ProductInfo"> | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateWithoutCategoryInput = {
|
|
|
|
@@ -823,7 +823,7 @@ export type ProductInfoCreateWithoutCategoryInput = {
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
products?: Prisma.ProductCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
brand?: Prisma.ProductBrandCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
vendor: Prisma.VendorCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
supplier: Prisma.SupplierCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateWithoutCategoryInput = {
|
|
|
|
@@ -836,7 +836,7 @@ export type ProductInfoUncheckedCreateWithoutCategoryInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brandId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
products?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -866,7 +866,7 @@ export type ProductInfoUpdateManyWithWhereWithoutCategoryInput = {
|
|
|
|
|
data: Prisma.XOR<Prisma.ProductInfoUpdateManyMutationInput, Prisma.ProductInfoUncheckedUpdateManyWithoutCategoryInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoCreateWithoutSupplierInput = {
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
productType?: string | null
|
|
|
|
@@ -879,7 +879,7 @@ export type ProductInfoCreateWithoutVendorInput = {
|
|
|
|
|
category?: Prisma.ProductCategoryCreateNestedOneWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedCreateWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUncheckedCreateWithoutSupplierInput = {
|
|
|
|
|
id?: number
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
@@ -893,30 +893,30 @@ export type ProductInfoUncheckedCreateWithoutVendorInput = {
|
|
|
|
|
products?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInfoInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateOrConnectWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoCreateOrConnectWithoutSupplierInput = {
|
|
|
|
|
where: Prisma.ProductInfoWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateManyVendorInputEnvelope = {
|
|
|
|
|
data: Prisma.ProductInfoCreateManyVendorInput | Prisma.ProductInfoCreateManyVendorInput[]
|
|
|
|
|
export type ProductInfoCreateManySupplierInputEnvelope = {
|
|
|
|
|
data: Prisma.ProductInfoCreateManySupplierInput | Prisma.ProductInfoCreateManySupplierInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpsertWithWhereUniqueWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUpsertWithWhereUniqueWithoutSupplierInput = {
|
|
|
|
|
where: Prisma.ProductInfoWhereUniqueInput
|
|
|
|
|
update: Prisma.XOR<Prisma.ProductInfoUpdateWithoutVendorInput, Prisma.ProductInfoUncheckedUpdateWithoutVendorInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ProductInfoCreateWithoutVendorInput, Prisma.ProductInfoUncheckedCreateWithoutVendorInput>
|
|
|
|
|
update: Prisma.XOR<Prisma.ProductInfoUpdateWithoutSupplierInput, Prisma.ProductInfoUncheckedUpdateWithoutSupplierInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ProductInfoCreateWithoutSupplierInput, Prisma.ProductInfoUncheckedCreateWithoutSupplierInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateWithWhereUniqueWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUpdateWithWhereUniqueWithoutSupplierInput = {
|
|
|
|
|
where: Prisma.ProductInfoWhereUniqueInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ProductInfoUpdateWithoutVendorInput, Prisma.ProductInfoUncheckedUpdateWithoutVendorInput>
|
|
|
|
|
data: Prisma.XOR<Prisma.ProductInfoUpdateWithoutSupplierInput, Prisma.ProductInfoUncheckedUpdateWithoutSupplierInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateManyWithWhereWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUpdateManyWithWhereWithoutSupplierInput = {
|
|
|
|
|
where: Prisma.ProductInfoScalarWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ProductInfoUpdateManyMutationInput, Prisma.ProductInfoUncheckedUpdateManyWithoutVendorInput>
|
|
|
|
|
data: Prisma.XOR<Prisma.ProductInfoUpdateManyMutationInput, Prisma.ProductInfoUncheckedUpdateManyWithoutSupplierInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateManyBrandInput = {
|
|
|
|
@@ -929,7 +929,7 @@ export type ProductInfoCreateManyBrandInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateWithoutBrandInput = {
|
|
|
|
@@ -942,7 +942,7 @@ export type ProductInfoUpdateWithoutBrandInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
products?: Prisma.ProductUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
category?: Prisma.ProductCategoryUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
vendor?: Prisma.VendorUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
supplier?: Prisma.SupplierUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateWithoutBrandInput = {
|
|
|
|
@@ -955,7 +955,7 @@ export type ProductInfoUncheckedUpdateWithoutBrandInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
categoryId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
products?: Prisma.ProductUncheckedUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -969,7 +969,7 @@ export type ProductInfoUncheckedUpdateManyWithoutBrandInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
categoryId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateManyCategoryInput = {
|
|
|
|
@@ -982,7 +982,7 @@ export type ProductInfoCreateManyCategoryInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
brandId?: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateWithoutCategoryInput = {
|
|
|
|
@@ -995,7 +995,7 @@ export type ProductInfoUpdateWithoutCategoryInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
products?: Prisma.ProductUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
brand?: Prisma.ProductBrandUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
vendor?: Prisma.VendorUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
supplier?: Prisma.SupplierUpdateOneRequiredWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateWithoutCategoryInput = {
|
|
|
|
@@ -1008,7 +1008,7 @@ export type ProductInfoUncheckedUpdateWithoutCategoryInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brandId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
products?: Prisma.ProductUncheckedUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -1022,10 +1022,10 @@ export type ProductInfoUncheckedUpdateManyWithoutCategoryInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
brandId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
|
vendorId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
supplierId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoCreateManyVendorInput = {
|
|
|
|
|
export type ProductInfoCreateManySupplierInput = {
|
|
|
|
|
id?: number
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
@@ -1038,7 +1038,7 @@ export type ProductInfoCreateManyVendorInput = {
|
|
|
|
|
categoryId?: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUpdateWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUpdateWithoutSupplierInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
productType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
@@ -1051,7 +1051,7 @@ export type ProductInfoUpdateWithoutVendorInput = {
|
|
|
|
|
category?: Prisma.ProductCategoryUpdateOneWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUncheckedUpdateWithoutSupplierInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
@@ -1065,7 +1065,7 @@ export type ProductInfoUncheckedUpdateWithoutVendorInput = {
|
|
|
|
|
products?: Prisma.ProductUncheckedUpdateManyWithoutProductInfoNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoUncheckedUpdateManyWithoutVendorInput = {
|
|
|
|
|
export type ProductInfoUncheckedUpdateManyWithoutSupplierInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
@@ -1120,11 +1120,11 @@ export type ProductInfoSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
|
|
deletedAt?: boolean
|
|
|
|
|
brandId?: boolean
|
|
|
|
|
categoryId?: boolean
|
|
|
|
|
vendorId?: boolean
|
|
|
|
|
supplierId?: boolean
|
|
|
|
|
products?: boolean | Prisma.ProductInfo$productsArgs<ExtArgs>
|
|
|
|
|
brand?: boolean | Prisma.ProductInfo$brandArgs<ExtArgs>
|
|
|
|
|
category?: boolean | Prisma.ProductInfo$categoryArgs<ExtArgs>
|
|
|
|
|
vendor?: boolean | Prisma.VendorDefaultArgs<ExtArgs>
|
|
|
|
|
supplier?: boolean | Prisma.SupplierDefaultArgs<ExtArgs>
|
|
|
|
|
_count?: boolean | Prisma.ProductInfoCountOutputTypeDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["productInfo"]>
|
|
|
|
|
|
|
|
|
@@ -1141,15 +1141,15 @@ export type ProductInfoSelectScalar = {
|
|
|
|
|
deletedAt?: boolean
|
|
|
|
|
brandId?: boolean
|
|
|
|
|
categoryId?: boolean
|
|
|
|
|
vendorId?: boolean
|
|
|
|
|
supplierId?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProductInfoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "productType" | "metaData" | "createdAt" | "updatedAt" | "deletedAt" | "brandId" | "categoryId" | "vendorId", ExtArgs["result"]["productInfo"]>
|
|
|
|
|
export type ProductInfoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "productType" | "metaData" | "createdAt" | "updatedAt" | "deletedAt" | "brandId" | "categoryId" | "supplierId", ExtArgs["result"]["productInfo"]>
|
|
|
|
|
export type ProductInfoInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
products?: boolean | Prisma.ProductInfo$productsArgs<ExtArgs>
|
|
|
|
|
brand?: boolean | Prisma.ProductInfo$brandArgs<ExtArgs>
|
|
|
|
|
category?: boolean | Prisma.ProductInfo$categoryArgs<ExtArgs>
|
|
|
|
|
vendor?: boolean | Prisma.VendorDefaultArgs<ExtArgs>
|
|
|
|
|
supplier?: boolean | Prisma.SupplierDefaultArgs<ExtArgs>
|
|
|
|
|
_count?: boolean | Prisma.ProductInfoCountOutputTypeDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -1159,7 +1159,7 @@ export type $ProductInfoPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
|
|
products: Prisma.$ProductPayload<ExtArgs>[]
|
|
|
|
|
brand: Prisma.$ProductBrandPayload<ExtArgs> | null
|
|
|
|
|
category: Prisma.$ProductCategoryPayload<ExtArgs> | null
|
|
|
|
|
vendor: Prisma.$VendorPayload<ExtArgs>
|
|
|
|
|
supplier: Prisma.$SupplierPayload<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: number
|
|
|
|
@@ -1172,7 +1172,7 @@ export type $ProductInfoPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
|
|
deletedAt: Date | null
|
|
|
|
|
brandId: number | null
|
|
|
|
|
categoryId: number | null
|
|
|
|
|
vendorId: number
|
|
|
|
|
supplierId: number
|
|
|
|
|
}, ExtArgs["result"]["productInfo"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
@@ -1516,7 +1516,7 @@ export interface Prisma__ProductInfoClient<T, Null = never, ExtArgs extends runt
|
|
|
|
|
products<T extends Prisma.ProductInfo$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductInfo$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
brand<T extends Prisma.ProductInfo$brandArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductInfo$brandArgs<ExtArgs>>): Prisma.Prisma__ProductBrandClient<runtime.Types.Result.GetResult<Prisma.$ProductBrandPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
category<T extends Prisma.ProductInfo$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductInfo$categoryArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
vendor<T extends Prisma.VendorDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.VendorDefaultArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
supplier<T extends Prisma.SupplierDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupplierDefaultArgs<ExtArgs>>): Prisma.Prisma__SupplierClient<runtime.Types.Result.GetResult<Prisma.$SupplierPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
/**
|
|
|
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
|
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
|
|
@@ -1556,7 +1556,7 @@ export interface ProductInfoFieldRefs {
|
|
|
|
|
readonly deletedAt: Prisma.FieldRef<"ProductInfo", 'DateTime'>
|
|
|
|
|
readonly brandId: Prisma.FieldRef<"ProductInfo", 'Int'>
|
|
|
|
|
readonly categoryId: Prisma.FieldRef<"ProductInfo", 'Int'>
|
|
|
|
|
readonly vendorId: Prisma.FieldRef<"ProductInfo", 'Int'>
|
|
|
|
|
readonly supplierId: Prisma.FieldRef<"ProductInfo", 'Int'>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|