@maioradv/cms-basic-lib 1.2.4 → 1.2.5

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.
@@ -57,8 +57,8 @@ export type CreateProductDto = OmitRequire<Product, 'id' | 'createdAt' | 'update
57
57
  variants?: CreateProductVariantDto[];
58
58
  };
59
59
  export type UpdateProductDto = Partial<CreateProductDto> & {
60
- removeAttributes: number[];
61
- removeVariants: number[];
60
+ removeAttributes?: number[];
61
+ removeVariants?: number[];
62
62
  };
63
63
  export type CreateProductImageDto = OmitRequire<ProductImage, 'productId' | 'createdAt' | 'updatedAt' | 'imageId'> & CreateImageDto;
64
64
  export type UpdateProductImageDto = Omit<CreateProductImageDto, 'file'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maioradv/cms-basic-lib",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "JS lib for Maior CMS Basic Api",
5
5
  "repository": "https://github.com/maioradv/cms-basic-lib.git",
6
6
  "author": "Maior ADV Srl",