@mydoormot/app-types 2.0.1 → 2.0.2
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 +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/rider.ts +7 -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.1 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[32mESM[39m [1mdist/index.js [22m[32m14.62 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 57ms
|
|
13
13
|
[32mCJS[39m [1mdist/index.cjs [22m[32m17.59 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 58ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m49.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m49.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 681ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m49.48 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m49.48 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/rider.ts
CHANGED
|
@@ -6,7 +6,12 @@ import { User } from './user';
|
|
|
6
6
|
import type { Vehicle } from './vehicle';
|
|
7
7
|
|
|
8
8
|
// Re-export vehicle types for backwards compatibility
|
|
9
|
-
export type {
|
|
9
|
+
export type {
|
|
10
|
+
Vehicle,
|
|
11
|
+
VehicleWithRider,
|
|
12
|
+
VehicleLog,
|
|
13
|
+
VehicleLogWithErrands,
|
|
14
|
+
} from './vehicle';
|
|
10
15
|
export { VehicleType, VehicleLogType } from './vehicle';
|
|
11
16
|
|
|
12
17
|
export type Rider = {
|
|
@@ -27,6 +32,7 @@ export type Rider = {
|
|
|
27
32
|
rating: number;
|
|
28
33
|
version: number;
|
|
29
34
|
hasBeenRated: boolean;
|
|
35
|
+
payoutPercentage?: number | null;
|
|
30
36
|
// enterprise: string | Enterprise;
|
|
31
37
|
// isTracking: boolean;
|
|
32
38
|
|
|
@@ -105,7 +111,6 @@ export interface RiderPerformanceStats {
|
|
|
105
111
|
timeSeries?: RiderPerformanceTimeSeries[];
|
|
106
112
|
}
|
|
107
113
|
|
|
108
|
-
|
|
109
114
|
// Rider Payout Types
|
|
110
115
|
//
|
|
111
116
|
// Rider pay is a percentage of the errand fees a rider earned over a pay
|