@mydoormot/app-types 2.0.2 → 2.0.3
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 +18 -18
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
- package/src/rider.ts +11 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
> @mydoormot/app-types@2.0.
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
|
|
2
|
+
> @mydoormot/app-types@2.0.2 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
|
+
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
+
|
|
5
|
+
CLI Building entry: src/index.ts
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v7.3.0
|
|
8
|
+
CLI Target: es2021
|
|
9
|
+
ESM Build start
|
|
10
|
+
CJS Build start
|
|
11
|
+
CJS dist/index.cjs 17.59 KB
|
|
12
|
+
CJS ⚡️ Build success in 50ms
|
|
13
|
+
ESM dist/index.js 14.62 KB
|
|
14
|
+
ESM ⚡️ Build success in 50ms
|
|
15
|
+
DTS Build start
|
|
16
|
+
DTS ⚡️ Build success in 661ms
|
|
17
|
+
DTS dist/index.d.ts 49.84 KB
|
|
18
|
+
DTS dist/index.d.cts 49.84 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -708,6 +708,16 @@ type Rider = {
|
|
|
708
708
|
id: string;
|
|
709
709
|
userId: string;
|
|
710
710
|
vehicleId?: string;
|
|
711
|
+
/**
|
|
712
|
+
* Denormalized from the User behind `userId`, so a rider can be displayed
|
|
713
|
+
* without a second fetch. Kept in sync server-side on every user update.
|
|
714
|
+
* Stored lowercase, as `User` names are — capitalize at render.
|
|
715
|
+
*/
|
|
716
|
+
firstName?: string;
|
|
717
|
+
lastName?: string;
|
|
718
|
+
fullName?: string;
|
|
719
|
+
mobileNumber?: string;
|
|
720
|
+
avatarUrl?: string;
|
|
711
721
|
currLocation: {
|
|
712
722
|
coordinates: number[];
|
|
713
723
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -708,6 +708,16 @@ type Rider = {
|
|
|
708
708
|
id: string;
|
|
709
709
|
userId: string;
|
|
710
710
|
vehicleId?: string;
|
|
711
|
+
/**
|
|
712
|
+
* Denormalized from the User behind `userId`, so a rider can be displayed
|
|
713
|
+
* without a second fetch. Kept in sync server-side on every user update.
|
|
714
|
+
* Stored lowercase, as `User` names are — capitalize at render.
|
|
715
|
+
*/
|
|
716
|
+
firstName?: string;
|
|
717
|
+
lastName?: string;
|
|
718
|
+
fullName?: string;
|
|
719
|
+
mobileNumber?: string;
|
|
720
|
+
avatarUrl?: string;
|
|
711
721
|
currLocation: {
|
|
712
722
|
coordinates: number[];
|
|
713
723
|
};
|
package/package.json
CHANGED
package/src/rider.ts
CHANGED
|
@@ -19,6 +19,17 @@ export type Rider = {
|
|
|
19
19
|
userId: string;
|
|
20
20
|
vehicleId?: string;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Denormalized from the User behind `userId`, so a rider can be displayed
|
|
24
|
+
* without a second fetch. Kept in sync server-side on every user update.
|
|
25
|
+
* Stored lowercase, as `User` names are — capitalize at render.
|
|
26
|
+
*/
|
|
27
|
+
firstName?: string;
|
|
28
|
+
lastName?: string;
|
|
29
|
+
fullName?: string;
|
|
30
|
+
mobileNumber?: string;
|
|
31
|
+
avatarUrl?: string;
|
|
32
|
+
|
|
22
33
|
// city: string | City;
|
|
23
34
|
currLocation: {
|
|
24
35
|
coordinates: number[];
|