@pisell/pisellos 0.0.398 → 0.0.399

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.
@@ -188,7 +188,7 @@ export var DiscountModule = /*#__PURE__*/function (_BaseModule) {
188
188
  tags: ['good_pass', 'product_discount_card'],
189
189
  available: 1,
190
190
  relation_product: 1,
191
- with: ['extensionData', 'holder.detail'],
191
+ with: ['extensionData', 'customScheduleSnapshot', 'holder.detail'],
192
192
  order_behavior_count: 1,
193
193
  order_behavior_count_customer_id: customerId || 1
194
194
  });
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
49
49
  getCategories(): ProductCategory[];
50
50
  setOtherParams(key: string, value: any): void;
51
51
  getOtherParams(): any;
52
- getProductType(): "duration" | "session" | "normal";
52
+ getProductType(): "normal" | "duration" | "session";
53
53
  }
@@ -309,7 +309,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
309
309
  date: string;
310
310
  status: string;
311
311
  week: string;
312
- weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
312
+ weekNum: 0 | 2 | 1 | 3 | 5 | 4 | 6;
313
313
  }[]>;
314
314
  submitTimeSlot(timeSlots: TimeSliceItem): void;
315
315
  private getScheduleDataByIds;
@@ -355,7 +355,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
355
355
  };
356
356
  setOtherData(key: string, value: any): void;
357
357
  getOtherData(key: string): any;
358
- getProductTypeById(id: number): Promise<"duration" | "session" | "normal">;
358
+ getProductTypeById(id: number): Promise<"normal" | "duration" | "session">;
359
359
  /**
360
360
  * 提供给 UI 的方法,减轻 UI 层的计算压力,UI 层只需要传递 cartItemId 和 resourceCode 即返回对应的 renderList
361
361
  *
@@ -109,7 +109,7 @@ var DiscountModule = class extends import_BaseModule.BaseModule {
109
109
  tags: ["good_pass", "product_discount_card"],
110
110
  available: 1,
111
111
  relation_product: 1,
112
- with: ["extensionData", "holder.detail"],
112
+ with: ["extensionData", "customScheduleSnapshot", "holder.detail"],
113
113
  order_behavior_count: 1,
114
114
  order_behavior_count_customer_id: customerId || 1
115
115
  });
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
49
49
  getCategories(): ProductCategory[];
50
50
  setOtherParams(key: string, value: any): void;
51
51
  getOtherParams(): any;
52
- getProductType(): "duration" | "session" | "normal";
52
+ getProductType(): "normal" | "duration" | "session";
53
53
  }
@@ -309,7 +309,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
309
309
  date: string;
310
310
  status: string;
311
311
  week: string;
312
- weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
312
+ weekNum: 0 | 2 | 1 | 3 | 5 | 4 | 6;
313
313
  }[]>;
314
314
  submitTimeSlot(timeSlots: TimeSliceItem): void;
315
315
  private getScheduleDataByIds;
@@ -355,7 +355,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
355
355
  };
356
356
  setOtherData(key: string, value: any): void;
357
357
  getOtherData(key: string): any;
358
- getProductTypeById(id: number): Promise<"duration" | "session" | "normal">;
358
+ getProductTypeById(id: number): Promise<"normal" | "duration" | "session">;
359
359
  /**
360
360
  * 提供给 UI 的方法,减轻 UI 层的计算压力,UI 层只需要传递 cartItemId 和 resourceCode 即返回对应的 renderList
361
361
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.398",
4
+ "version": "0.0.399",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",