@sendhome/common 1.0.254 → 1.0.255

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.
@@ -1,11 +1,5 @@
1
1
  import { Subjects } from "../subjects/subjects";
2
2
  import { CartItemStatus } from "../types/cart-item-status";
3
- interface SelectedVariant {
4
- combination: {
5
- [key: string]: string;
6
- };
7
- images?: string[];
8
- }
9
3
  export interface CartItemCreatedEvent {
10
4
  subject: Subjects.CartItemCreated;
11
5
  data: {
@@ -22,12 +16,10 @@ export interface CartItemCreatedEvent {
22
16
  user: string;
23
17
  module: string;
24
18
  company: string;
25
- selected_variant?: SelectedVariant;
19
+ is_available: boolean;
26
20
  slug: string;
27
21
  status: CartItemStatus;
28
22
  created_at: Date;
29
23
  updated_at: Date;
30
- version: number;
31
24
  };
32
25
  }
33
- export {};
@@ -1,11 +1,5 @@
1
1
  import { Subjects } from "../subjects/subjects";
2
2
  import { CartItemStatus } from "../types/cart-item-status";
3
- interface SelectedVariant {
4
- combination: {
5
- [key: string]: string;
6
- };
7
- images?: string[];
8
- }
9
3
  export interface CartItemUpdatedEvent {
10
4
  subject: Subjects.CartItemUpdated;
11
5
  data: {
@@ -22,12 +16,10 @@ export interface CartItemUpdatedEvent {
22
16
  user: string;
23
17
  module: string;
24
18
  company: string;
25
- selected_variant?: SelectedVariant;
19
+ is_available: boolean;
26
20
  slug: string;
27
21
  status: CartItemStatus;
28
22
  created_at: Date;
29
23
  updated_at: Date;
30
- version: number;
31
24
  };
32
25
  }
33
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendhome/common",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",