@mydoormot/app-types 1.5.3 → 1.5.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 +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
- package/src/business.ts +4 -0
- package/src/rider.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.5.
|
|
2
|
+
> @mydoormot/app-types@1.5.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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2021
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m6.68 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 54ms
|
|
13
11
|
[32mESM[39m [1mdist/index.js [22m[32m5.15 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 395ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m6.68 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 395ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m13.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m13.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1606ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m13.92 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m13.92 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -234,6 +234,7 @@ declare enum VehicleType {
|
|
|
234
234
|
Shuttle = "shuttle"
|
|
235
235
|
}
|
|
236
236
|
type Vehicle = {
|
|
237
|
+
id: string;
|
|
237
238
|
user: string;
|
|
238
239
|
vehicleNumber: string;
|
|
239
240
|
version: number;
|
|
@@ -242,6 +243,10 @@ type Vehicle = {
|
|
|
242
243
|
vehicleType: VehicleType | `${VehicleType}`;
|
|
243
244
|
rider?: string;
|
|
244
245
|
};
|
|
246
|
+
type VehicleWithRider = Vehicle & {
|
|
247
|
+
rider: Rider | null;
|
|
248
|
+
riderUserDetails: User | null;
|
|
249
|
+
};
|
|
245
250
|
|
|
246
251
|
declare enum ErrandStatus {
|
|
247
252
|
Pending = "pending",
|
|
@@ -485,6 +490,9 @@ interface Business {
|
|
|
485
490
|
mongoId: string;
|
|
486
491
|
version: number;
|
|
487
492
|
}
|
|
493
|
+
interface BusinessPg extends Business {
|
|
494
|
+
pgId: any;
|
|
495
|
+
}
|
|
488
496
|
interface BusinessCategory {
|
|
489
497
|
id: string;
|
|
490
498
|
seqId: number;
|
|
@@ -562,4 +570,4 @@ declare enum LinkDestination {
|
|
|
562
570
|
}
|
|
563
571
|
type NullOrUndefined = null | undefined;
|
|
564
572
|
|
|
565
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandRating, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, VehicleType, errandTimeline };
|
|
573
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandRating, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, VehicleType, type VehicleWithRider, errandTimeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ declare enum VehicleType {
|
|
|
234
234
|
Shuttle = "shuttle"
|
|
235
235
|
}
|
|
236
236
|
type Vehicle = {
|
|
237
|
+
id: string;
|
|
237
238
|
user: string;
|
|
238
239
|
vehicleNumber: string;
|
|
239
240
|
version: number;
|
|
@@ -242,6 +243,10 @@ type Vehicle = {
|
|
|
242
243
|
vehicleType: VehicleType | `${VehicleType}`;
|
|
243
244
|
rider?: string;
|
|
244
245
|
};
|
|
246
|
+
type VehicleWithRider = Vehicle & {
|
|
247
|
+
rider: Rider | null;
|
|
248
|
+
riderUserDetails: User | null;
|
|
249
|
+
};
|
|
245
250
|
|
|
246
251
|
declare enum ErrandStatus {
|
|
247
252
|
Pending = "pending",
|
|
@@ -485,6 +490,9 @@ interface Business {
|
|
|
485
490
|
mongoId: string;
|
|
486
491
|
version: number;
|
|
487
492
|
}
|
|
493
|
+
interface BusinessPg extends Business {
|
|
494
|
+
pgId: any;
|
|
495
|
+
}
|
|
488
496
|
interface BusinessCategory {
|
|
489
497
|
id: string;
|
|
490
498
|
seqId: number;
|
|
@@ -562,4 +570,4 @@ declare enum LinkDestination {
|
|
|
562
570
|
}
|
|
563
571
|
type NullOrUndefined = null | undefined;
|
|
564
572
|
|
|
565
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandRating, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, VehicleType, errandTimeline };
|
|
573
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandRating, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, VehicleType, type VehicleWithRider, errandTimeline };
|
package/package.json
CHANGED
package/src/business.ts
CHANGED
package/src/rider.ts
CHANGED
|
@@ -33,6 +33,7 @@ export enum VehicleType {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export type Vehicle = {
|
|
36
|
+
id: string;
|
|
36
37
|
user: string;
|
|
37
38
|
vehicleNumber: string;
|
|
38
39
|
version: number;
|
|
@@ -41,3 +42,8 @@ export type Vehicle = {
|
|
|
41
42
|
vehicleType: VehicleType | `${VehicleType}`;
|
|
42
43
|
rider?: string;
|
|
43
44
|
};
|
|
45
|
+
|
|
46
|
+
export type VehicleWithRider = Vehicle & {
|
|
47
|
+
rider: Rider | null;
|
|
48
|
+
riderUserDetails: User | null;
|
|
49
|
+
};
|