@trusted-solutions/sdit.models 0.58.0-alpha.2 → 0.58.1-alpha.1

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.
@@ -71,6 +71,12 @@ export interface SoldOutSwitchRequest extends StoreTemplateItemRequest {
71
71
  }
72
72
  export interface GetProductsRequest extends CursorPaginationEnabled, Filterable, StoreTemplateItemRequest {
73
73
  blockVersion?: BlockVersion;
74
+ /**
75
+ * default: 1
76
+ * version 1: product.attributeIds 有值
77
+ * version 2: product.attributeCategoryIds 有值
78
+ */
79
+ version?: number;
74
80
  }
75
81
  /** storeId or chainId must given */
76
82
  export interface SetProductAndProductAttributeRelationRequest extends StoreTemplateItemRequest {
package/models/menu.d.ts CHANGED
@@ -109,6 +109,7 @@ export interface ProductAttribute {
109
109
  export interface ProductProductAttributeCategory {
110
110
  productId: string;
111
111
  productAttributeCategoryId: string;
112
+ storeId: string;
112
113
  }
113
114
  /**
114
115
  * @deprecated 以 `ProductProductAttributeCategory` 取代
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.58.0-alpha.2",
3
+ "version": "0.58.1-alpha.1",
4
4
  "description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
5
5
  "main": "index.js",
6
6
  "scripts": {