droplinked-editor-configs 1.8.3 → 1.8.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.
Files changed (38) hide show
  1. package/dist/apis/blogs/interfaces.d.ts +0 -38
  2. package/dist/apis/blogs/services.d.ts +1 -6
  3. package/dist/apis/product/interface.d.ts +12 -100
  4. package/dist/apis/product/services.d.ts +1 -6
  5. package/dist/apis/shop/interface.d.ts +0 -3
  6. package/dist/apis/shop/service.d.ts +1 -2
  7. package/dist/components/header/Header.d.ts +2 -3
  8. package/dist/components/header/HeaderIcons.d.ts +3 -2
  9. package/dist/components/header/Sidebar.d.ts +3 -3
  10. package/dist/droplinked-editor.es.js +8746 -8748
  11. package/dist/droplinked-editor.umd.js +70 -70
  12. package/dist/lib/models/user.d.ts +1 -1
  13. package/dist/lib/stores/app/appStore.d.ts +2 -2
  14. package/dist/lib/stores/app/interfaces.d.ts +138 -2
  15. package/dist/types/renderersProps.d.ts +2 -2
  16. package/package.json +2 -2
  17. package/src/PageHeader.tsx +3 -4
  18. package/src/apis/blogs/interfaces.ts +0 -39
  19. package/src/apis/blogs/services.ts +2 -5
  20. package/src/apis/product/interface.ts +14 -291
  21. package/src/apis/product/services.ts +2 -33
  22. package/src/apis/shop/interface.ts +0 -4
  23. package/src/apis/shop/service.ts +3 -7
  24. package/src/components/header/Header.tsx +4 -6
  25. package/src/components/header/HeaderIcons.tsx +13 -5
  26. package/src/components/header/Sidebar.tsx +20 -8
  27. package/src/components/productGrid/components/ProductGrid/GridViewProductCard.tsx +2 -2
  28. package/src/components/productGrid/components/ProductGrid/ListViewProductCard.tsx +4 -4
  29. package/src/components/productGrid/components/ProductGrid/ProductGrid.tsx +2 -2
  30. package/src/components/productGrid/components/ProductGrid/Slider/ProductImageSlider.tsx +4 -4
  31. package/src/configured-components/layout/headerConfig.tsx +2 -2
  32. package/src/lib/models/user.ts +1 -1
  33. package/src/lib/stores/app/appStore.ts +2 -2
  34. package/src/lib/stores/app/interfaces.ts +149 -2
  35. package/src/types/renderersProps.ts +2 -2
  36. package/tsconfig.tsbuildinfo +1 -1
  37. package/dist/lib/models/product.d.ts +0 -97
  38. package/src/lib/models/product.ts +0 -104
@@ -1,104 +0,0 @@
1
- export interface IProduct {
2
- _id: string;
3
- ownerID: string;
4
- title: string;
5
- description: string;
6
- type: string;
7
- product_type: string;
8
- artwork: string;
9
- artwork_position: string;
10
- m2m_positions_options: any[];
11
- m2m_positions: any[];
12
- m2m_services: any[];
13
- pod_blank_product_id: string;
14
- publish_status: string;
15
- productCollectionID: IProductCollection;
16
- skuIDs: ISKU[];
17
- skus: any;
18
- media: IMedia[];
19
- priceUnit: string;
20
- slug?: string;
21
- shippingType: string;
22
- shippingPrice: number;
23
- thumb: string;
24
- purchaseAvailable: boolean;
25
- }
26
-
27
- export interface IProductCollection {
28
- _id: string;
29
- title: string;
30
- ownerID: string;
31
- nftImages: any[];
32
- type: string;
33
- published: boolean;
34
- __v: number;
35
- ruleSetID: IRuleSetID;
36
- }
37
-
38
- export interface IRuleSetID {
39
- collectionID: string;
40
- createdAt: string;
41
- type: "DISCOUNT" | "GATING";
42
- ownerID: string;
43
- _id: string;
44
- blockchainType: string;
45
- description: string;
46
- discountPercentage: number;
47
- minimumNftRequired: number;
48
- network: string;
49
- nftContractAddresses: string[];
50
- nftPurchaseLink: string;
51
- }
52
- export interface ISKU {
53
- _id: string;
54
- ownerID: string;
55
- recordData: IRecordData;
56
- price: number;
57
- rawPrice: number;
58
- quantity: number;
59
- weight: number;
60
- sold_units: number;
61
- externalID: string;
62
- options: ISKUOption[];
63
- dimensions: any;
64
- vas: IValueAddedService[];
65
- royalty: number;
66
- partialOwners: IPartialOwner[];
67
- __v: number;
68
- commision: number;
69
- }
70
-
71
- export interface IRecordData {
72
- status: string;
73
- recordNetwork: string;
74
- currency: string;
75
- commision: number;
76
- }
77
-
78
- export interface ISKUOption {
79
- variantName: any;
80
- variantID: string;
81
- value: string;
82
- caption: string;
83
- _id: string;
84
- }
85
-
86
- export interface IValueAddedService {
87
- name: string;
88
- costType: string;
89
- value: number;
90
- type: string;
91
- receiver: string;
92
- }
93
-
94
- export interface IPartialOwner {
95
- user: string;
96
- quantity: number;
97
- }
98
-
99
- export interface IMedia {
100
- url: string;
101
- isMain: string;
102
- thumbnail: string;
103
- _id: string;
104
- }