@maioradv/cms-basic-lib 1.3.5 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,8 +22,10 @@ export type ProductAttributeValue = {
|
|
|
22
22
|
createdAt: Date;
|
|
23
23
|
updatedAt: Date;
|
|
24
24
|
};
|
|
25
|
-
export type CreateProductAttributeDto = OmitRequire<ProductAttribute, 'id' | 'createdAt' | 'updatedAt' | 'slug', 'name'
|
|
26
|
-
|
|
25
|
+
export type CreateProductAttributeDto = OmitRequire<ProductAttribute, 'id' | 'createdAt' | 'updatedAt' | 'slug', 'name'> & {
|
|
26
|
+
values?: CreateProductAttributeValueDto[];
|
|
27
|
+
};
|
|
28
|
+
export type UpdateProductAttributeDto = Partial<Omit<CreateProductAttributeDto, 'values'>>;
|
|
27
29
|
export type CreateProductAttributeValueDto = OmitRequire<ProductAttributeValue, 'id' | 'createdAt' | 'updatedAt' | 'productAttributeId', 'name'>;
|
|
28
30
|
export type UpdateProductAttributeValueDto = Partial<CreateProductAttributeValueDto>;
|
|
29
31
|
export type SortingProductAttributeDto = SortingParamsDto<{
|