@mydoormot/app-types 1.6.1 → 1.6.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 +7 -7
- package/CHANGELOG.md +12 -0
- package/dist/index.d.cts +14 -2
- package/dist/index.d.ts +14 -2
- package/package.json +1 -1
- package/src/errand.ts +3 -0
- package/src/stat.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.6.
|
|
2
|
+
> @mydoormot/app-types@1.6.2 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
|
-
[32mESM[39m [1mdist/index.js [22m[32m5.37 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 88ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.cjs [22m[32m6.93 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 198ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m5.37 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 199ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m15.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m15.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1988ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m15.71 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m15.71 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -377,6 +377,18 @@ interface Errand {
|
|
|
377
377
|
isTest?: boolean;
|
|
378
378
|
isInBusinessInvoice?: boolean;
|
|
379
379
|
businessId?: string;
|
|
380
|
+
riderStartLocation?: {
|
|
381
|
+
type: string;
|
|
382
|
+
coordinates: number[];
|
|
383
|
+
};
|
|
384
|
+
riderPickupLocation?: {
|
|
385
|
+
type: string;
|
|
386
|
+
coordinates: number[];
|
|
387
|
+
};
|
|
388
|
+
riderDeliveryLocation?: {
|
|
389
|
+
type: string;
|
|
390
|
+
coordinates: number[];
|
|
391
|
+
};
|
|
380
392
|
}
|
|
381
393
|
interface AggregatedErrand extends Errand {
|
|
382
394
|
parcelSize: `${ParcelSize}`;
|
|
@@ -581,7 +593,7 @@ interface TransactionWithCategory extends Transaction {
|
|
|
581
593
|
category: TransactionCategory;
|
|
582
594
|
}
|
|
583
595
|
|
|
584
|
-
interface
|
|
596
|
+
interface VehicleLogStatsSummary {
|
|
585
597
|
totalErrands: number;
|
|
586
598
|
totalFuelCost: number;
|
|
587
599
|
numberOfRefills: number;
|
|
@@ -624,4 +636,4 @@ declare enum LinkDestination {
|
|
|
624
636
|
}
|
|
625
637
|
type NullOrUndefined = null | undefined;
|
|
626
638
|
|
|
627
|
-
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, type VehicleLog, type
|
|
639
|
+
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, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, errandTimeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -377,6 +377,18 @@ interface Errand {
|
|
|
377
377
|
isTest?: boolean;
|
|
378
378
|
isInBusinessInvoice?: boolean;
|
|
379
379
|
businessId?: string;
|
|
380
|
+
riderStartLocation?: {
|
|
381
|
+
type: string;
|
|
382
|
+
coordinates: number[];
|
|
383
|
+
};
|
|
384
|
+
riderPickupLocation?: {
|
|
385
|
+
type: string;
|
|
386
|
+
coordinates: number[];
|
|
387
|
+
};
|
|
388
|
+
riderDeliveryLocation?: {
|
|
389
|
+
type: string;
|
|
390
|
+
coordinates: number[];
|
|
391
|
+
};
|
|
380
392
|
}
|
|
381
393
|
interface AggregatedErrand extends Errand {
|
|
382
394
|
parcelSize: `${ParcelSize}`;
|
|
@@ -581,7 +593,7 @@ interface TransactionWithCategory extends Transaction {
|
|
|
581
593
|
category: TransactionCategory;
|
|
582
594
|
}
|
|
583
595
|
|
|
584
|
-
interface
|
|
596
|
+
interface VehicleLogStatsSummary {
|
|
585
597
|
totalErrands: number;
|
|
586
598
|
totalFuelCost: number;
|
|
587
599
|
numberOfRefills: number;
|
|
@@ -624,4 +636,4 @@ declare enum LinkDestination {
|
|
|
624
636
|
}
|
|
625
637
|
type NullOrUndefined = null | undefined;
|
|
626
638
|
|
|
627
|
-
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, type VehicleLog, type
|
|
639
|
+
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, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, errandTimeline };
|
package/package.json
CHANGED
package/src/errand.ts
CHANGED
|
@@ -144,6 +144,9 @@ export interface Errand {
|
|
|
144
144
|
isTest?: boolean;
|
|
145
145
|
isInBusinessInvoice?: boolean;
|
|
146
146
|
businessId?: string;
|
|
147
|
+
riderStartLocation?: { type: string; coordinates: number[] };
|
|
148
|
+
riderPickupLocation?: { type: string; coordinates: number[] };
|
|
149
|
+
riderDeliveryLocation?: { type: string; coordinates: number[] };
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
export interface AggregatedErrand extends Errand {
|
package/src/stat.ts
CHANGED