feeef 0.0.16 → 0.0.18

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "feeef",
3
- "description": "A new project",
3
+ "description": "feeef sdk for the web",
4
4
  "main": "src/index.ts",
5
5
  "private": false,
6
- "version": "0.0.16",
6
+ "version": "0.0.18",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "dev": "vite --host",
@@ -1,4 +1,6 @@
1
1
  import { EmbaddedCategory } from "../embadded/category.js";
2
+ import { ShippingMethodEntity } from "./shipping_method.js";
3
+ import { StoreEntity } from "./store.js";
2
4
 
3
5
  export interface ProductEntity {
4
6
  id: string;
@@ -15,6 +17,8 @@ export interface ProductEntity {
15
17
 
16
18
  storeId: string;
17
19
 
20
+ shippingMethodId?: string | null;
21
+
18
22
  category: EmbaddedCategory;
19
23
 
20
24
  title: string | null;
@@ -55,6 +59,10 @@ export interface ProductEntity {
55
59
  createdAt: any;
56
60
 
57
61
  updatedAt: any;
62
+
63
+ // relations
64
+ store?: StoreEntity;
65
+ shippingMethod?: ShippingMethodEntity;
58
66
  }
59
67
 
60
68
  export enum ProductStatus {
@@ -84,6 +92,7 @@ export interface ProductVariantOption {
84
92
  child?: ProductVariant | null;
85
93
  mediaIndex?: number | null;
86
94
  hint?: string | null;
95
+ value?: any;
87
96
  }
88
97
 
89
98
  export enum VariantOptionType {