@artisan-commerce/types 0.14.0-canary.7 → 0.14.0-canary.9

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.14.0-canary.9](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.8...@artisan-commerce/types@0.14.0-canary.9) (2021-09-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **global:** add categories property to product details interface ([0d95d09](https://bitbucket.org/tradesystem/artisn_sdk/commit/0d95d093383673322369b0870af290182bb57cb8))
12
+
13
+
14
+
15
+ ## [0.14.0-canary.8](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.7...@artisan-commerce/types@0.14.0-canary.8) (2021-08-25)
16
+
17
+ **Note:** Version bump only for package @artisan-commerce/types
18
+
19
+
20
+
21
+
22
+
6
23
  ## [0.14.0-canary.7](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.6...@artisan-commerce/types@0.14.0-canary.7) (2021-08-24)
7
24
 
8
25
  **Note:** Version bump only for package @artisan-commerce/types
@@ -51,7 +51,7 @@ export interface BaseOrder {
51
51
  /** Shopping cart associated with the order, see {@link OrderShoppingCart} */
52
52
  shoppingCart: OrderShoppingCart;
53
53
  /** Order step, see {@link OrderStep} */
54
- step: number;
54
+ step: OrderStep;
55
55
  /** Step category, see {@link StepCategory} */
56
56
  stepCategory: StepCategory;
57
57
  /** Step code, see {@link StepCode} */
@@ -1,3 +1,4 @@
1
+ import { Category } from "./category.types";
1
2
  import { BaseWeekDay } from "./common.types";
2
3
  import { CDNImage } from "./image.types";
3
4
  import { Alert } from "./shoppingCart.types";
@@ -296,4 +297,14 @@ export interface CartProduct extends ProductDetails {
296
297
  /** Array of alerts associated with the cart product */
297
298
  alerts: Alert[];
298
299
  }
300
+ /**
301
+ * Representation of a product details with categories.
302
+ *
303
+ * @interface ProductDetailsWithCategories
304
+ * @since 0.1.0
305
+ * @extends {{@link ProductDetails}
306
+ */
307
+ export interface ProductDetailsWithCategories extends ProductDetails {
308
+ categories: Category[];
309
+ }
299
310
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
- "version": "0.14.0-canary.7",
4
+ "version": "0.14.0-canary.9",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "files": [
@@ -42,5 +42,5 @@
42
42
  "prettier": "^2.1.2",
43
43
  "webpack-bundle-analyzer": "^3.9.0"
44
44
  },
45
- "gitHead": "75a9a60090216dd64b4b84cdba5122457e31857b"
45
+ "gitHead": "d376c897cda81fd7010749390e874c756c99f3e9"
46
46
  }