@mydoormot/app-types 2.0.3 → 2.0.4
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
- package/src/rider.ts +5 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@2.0.
|
|
2
|
+
> @mydoormot/app-types@2.0.3 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@ CLI tsup v7.3.0
|
|
|
8
8
|
CLI Target: es2021
|
|
9
9
|
ESM Build start
|
|
10
10
|
CJS Build start
|
|
11
|
-
CJS dist/index.cjs 17.59 KB
|
|
12
|
-
CJS ⚡️ Build success in 50ms
|
|
13
11
|
ESM dist/index.js 14.62 KB
|
|
14
|
-
ESM ⚡️ Build success in
|
|
12
|
+
ESM ⚡️ Build success in 63ms
|
|
13
|
+
CJS dist/index.cjs 17.59 KB
|
|
14
|
+
CJS ⚡️ Build success in 63ms
|
|
15
15
|
DTS Build start
|
|
16
|
-
DTS ⚡️ Build success in
|
|
17
|
-
DTS dist/index.d.ts 49.
|
|
18
|
-
DTS dist/index.d.cts 49.
|
|
16
|
+
DTS ⚡️ Build success in 868ms
|
|
17
|
+
DTS dist/index.d.ts 49.96 KB
|
|
18
|
+
DTS dist/index.d.cts 49.96 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -812,7 +812,11 @@ interface RiderPayout {
|
|
|
812
812
|
id: string;
|
|
813
813
|
riderId: string;
|
|
814
814
|
businessId: string;
|
|
815
|
-
|
|
815
|
+
/**
|
|
816
|
+
* The range the operator picked. No cadence accompanies it: payroll is run
|
|
817
|
+
* from a date-range picker, so every period is an arbitrary range and a
|
|
818
|
+
* cadence field could only restate the dates or contradict them.
|
|
819
|
+
*/
|
|
816
820
|
periodStart: Date;
|
|
817
821
|
periodEnd: Date;
|
|
818
822
|
/** Errands counted toward `grossEarnings`. */
|
|
@@ -855,7 +859,6 @@ interface RiderPayoutPreviewItem {
|
|
|
855
859
|
existingPayoutStatus?: RiderPayoutStatus | `${RiderPayoutStatus}`;
|
|
856
860
|
}
|
|
857
861
|
interface RiderPayoutPreview {
|
|
858
|
-
periodType: PayoutPeriodType | `${PayoutPeriodType}`;
|
|
859
862
|
periodStart: Date;
|
|
860
863
|
periodEnd: Date;
|
|
861
864
|
periodLabel: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -812,7 +812,11 @@ interface RiderPayout {
|
|
|
812
812
|
id: string;
|
|
813
813
|
riderId: string;
|
|
814
814
|
businessId: string;
|
|
815
|
-
|
|
815
|
+
/**
|
|
816
|
+
* The range the operator picked. No cadence accompanies it: payroll is run
|
|
817
|
+
* from a date-range picker, so every period is an arbitrary range and a
|
|
818
|
+
* cadence field could only restate the dates or contradict them.
|
|
819
|
+
*/
|
|
816
820
|
periodStart: Date;
|
|
817
821
|
periodEnd: Date;
|
|
818
822
|
/** Errands counted toward `grossEarnings`. */
|
|
@@ -855,7 +859,6 @@ interface RiderPayoutPreviewItem {
|
|
|
855
859
|
existingPayoutStatus?: RiderPayoutStatus | `${RiderPayoutStatus}`;
|
|
856
860
|
}
|
|
857
861
|
interface RiderPayoutPreview {
|
|
858
|
-
periodType: PayoutPeriodType | `${PayoutPeriodType}`;
|
|
859
862
|
periodStart: Date;
|
|
860
863
|
periodEnd: Date;
|
|
861
864
|
periodLabel: string;
|
package/package.json
CHANGED
package/src/rider.ts
CHANGED
|
@@ -164,7 +164,11 @@ export interface RiderPayout {
|
|
|
164
164
|
riderId: string;
|
|
165
165
|
businessId: string;
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
/**
|
|
168
|
+
* The range the operator picked. No cadence accompanies it: payroll is run
|
|
169
|
+
* from a date-range picker, so every period is an arbitrary range and a
|
|
170
|
+
* cadence field could only restate the dates or contradict them.
|
|
171
|
+
*/
|
|
168
172
|
periodStart: Date;
|
|
169
173
|
periodEnd: Date;
|
|
170
174
|
|
|
@@ -215,7 +219,6 @@ export interface RiderPayoutPreviewItem {
|
|
|
215
219
|
}
|
|
216
220
|
|
|
217
221
|
export interface RiderPayoutPreview {
|
|
218
|
-
periodType: PayoutPeriodType | `${PayoutPeriodType}`;
|
|
219
222
|
periodStart: Date;
|
|
220
223
|
periodEnd: Date;
|
|
221
224
|
periodLabel: string;
|