@open-tender/utils 0.4.19 → 0.4.20
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.
|
@@ -88,9 +88,12 @@ export declare const makeGroupOrderTime: (revenueCenter: RevenueCenter, serviceT
|
|
|
88
88
|
export declare const formatTime: (time: string) => string;
|
|
89
89
|
export declare const makeGroupOrderTimeStr: (requestedAt: RequestedAt | null, tz: Timezone) => string | null;
|
|
90
90
|
export declare const getLastInterval: (tz: Timezone) => Date;
|
|
91
|
-
export declare const makeIntervals: (tz: Timezone) =>
|
|
91
|
+
export declare const makeIntervals: (tz: Timezone) => ({
|
|
92
|
+
start: Date;
|
|
93
|
+
end: Date;
|
|
94
|
+
} & {
|
|
92
95
|
orders: Array<Partial<Order>>;
|
|
93
|
-
}
|
|
96
|
+
})[];
|
|
94
97
|
export declare const formatTimeList: (dateStr: ISOString, tz: Timezone, includeDate: boolean) => string;
|
|
95
98
|
export declare const makeCartDateStr: (requestedAt: string, tz: Timezone, waitTime?: number | null) => string;
|
|
96
99
|
export declare const makeOrderWindow: (orderTime: OrderTimeWithDate) => string;
|
|
@@ -88,9 +88,12 @@ export declare const makeGroupOrderTime: (revenueCenter: RevenueCenter, serviceT
|
|
|
88
88
|
export declare const formatTime: (time: string) => string;
|
|
89
89
|
export declare const makeGroupOrderTimeStr: (requestedAt: RequestedAt | null, tz: Timezone) => string | null;
|
|
90
90
|
export declare const getLastInterval: (tz: Timezone) => Date;
|
|
91
|
-
export declare const makeIntervals: (tz: Timezone) =>
|
|
91
|
+
export declare const makeIntervals: (tz: Timezone) => ({
|
|
92
|
+
start: Date;
|
|
93
|
+
end: Date;
|
|
94
|
+
} & {
|
|
92
95
|
orders: Array<Partial<Order>>;
|
|
93
|
-
}
|
|
96
|
+
})[];
|
|
94
97
|
export declare const formatTimeList: (dateStr: ISOString, tz: Timezone, includeDate: boolean) => string;
|
|
95
98
|
export declare const makeCartDateStr: (requestedAt: string, tz: Timezone, waitTime?: number | null) => string;
|
|
96
99
|
export declare const makeOrderWindow: (orderTime: OrderTimeWithDate) => string;
|
package/package.json
CHANGED
package/dist/.DS_Store
DELETED
|
Binary file
|