@pisell/pisellos 0.0.273 → 0.0.275
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/dist/solution/BookingByStep/index.d.ts +8 -1
- package/dist/solution/BookingByStep/index.js +435 -195
- package/dist/solution/BookingByStep/utils/capacity.js +33 -3
- package/lib/solution/BookingByStep/index.d.ts +8 -1
- package/lib/solution/BookingByStep/index.js +277 -126
- package/lib/solution/BookingByStep/utils/capacity.js +25 -4
- package/package.json +1 -1
|
@@ -316,7 +316,14 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
316
316
|
count: number;
|
|
317
317
|
left: number;
|
|
318
318
|
}[];
|
|
319
|
-
|
|
319
|
+
/**
|
|
320
|
+
* 找到多个资源的公共可用时间段
|
|
321
|
+
*/
|
|
322
|
+
private findCommonAvailableTimeSlots;
|
|
323
|
+
checkMaxDurationCapacity(): {
|
|
324
|
+
success: boolean;
|
|
325
|
+
minAvailableCount: number;
|
|
326
|
+
};
|
|
320
327
|
setOtherData(key: string, value: any): void;
|
|
321
328
|
getOtherData(key: string): any;
|
|
322
329
|
getProductTypeById(id: number): Promise<"normal" | "duration" | "session">;
|