@mydoormot/app-types 1.7.18 → 1.7.19
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 +20 -1
- package/dist/index.d.ts +20 -1
- package/package.json +1 -1
- package/src/tracker.ts +21 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -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[32m6.47 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 47ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.cjs [22m[32m8.20 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 73ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m6.47 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 73ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1070ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m19.28 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m19.28 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -710,6 +710,25 @@ interface TraccarDevice {
|
|
|
710
710
|
disabled: boolean;
|
|
711
711
|
expirationTime: string | Date | NullOrUndefined;
|
|
712
712
|
}
|
|
713
|
+
interface TraccarPosition {
|
|
714
|
+
id: number;
|
|
715
|
+
attributes: Record<string, any>;
|
|
716
|
+
deviceId: number;
|
|
717
|
+
protocol: string;
|
|
718
|
+
serverTime: string | Date;
|
|
719
|
+
deviceTime: string | Date;
|
|
720
|
+
fixTime: string | Date;
|
|
721
|
+
valid: boolean;
|
|
722
|
+
latitude: number;
|
|
723
|
+
longitude: number;
|
|
724
|
+
altitude: number;
|
|
725
|
+
speed: number;
|
|
726
|
+
course: number;
|
|
727
|
+
address: string | NullOrUndefined;
|
|
728
|
+
accuracy: number;
|
|
729
|
+
network: Record<string, any> | NullOrUndefined;
|
|
730
|
+
geofenceIds: number[] | NullOrUndefined;
|
|
731
|
+
}
|
|
713
732
|
interface TrackerDevice {
|
|
714
733
|
id: string;
|
|
715
734
|
name: string;
|
|
@@ -745,4 +764,4 @@ declare enum LinkDestination {
|
|
|
745
764
|
}
|
|
746
765
|
type NullOrUndefined = null | undefined;
|
|
747
766
|
|
|
748
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
|
767
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -710,6 +710,25 @@ interface TraccarDevice {
|
|
|
710
710
|
disabled: boolean;
|
|
711
711
|
expirationTime: string | Date | NullOrUndefined;
|
|
712
712
|
}
|
|
713
|
+
interface TraccarPosition {
|
|
714
|
+
id: number;
|
|
715
|
+
attributes: Record<string, any>;
|
|
716
|
+
deviceId: number;
|
|
717
|
+
protocol: string;
|
|
718
|
+
serverTime: string | Date;
|
|
719
|
+
deviceTime: string | Date;
|
|
720
|
+
fixTime: string | Date;
|
|
721
|
+
valid: boolean;
|
|
722
|
+
latitude: number;
|
|
723
|
+
longitude: number;
|
|
724
|
+
altitude: number;
|
|
725
|
+
speed: number;
|
|
726
|
+
course: number;
|
|
727
|
+
address: string | NullOrUndefined;
|
|
728
|
+
accuracy: number;
|
|
729
|
+
network: Record<string, any> | NullOrUndefined;
|
|
730
|
+
geofenceIds: number[] | NullOrUndefined;
|
|
731
|
+
}
|
|
713
732
|
interface TrackerDevice {
|
|
714
733
|
id: string;
|
|
715
734
|
name: string;
|
|
@@ -745,4 +764,4 @@ declare enum LinkDestination {
|
|
|
745
764
|
}
|
|
746
765
|
type NullOrUndefined = null | undefined;
|
|
747
766
|
|
|
748
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
|
767
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
package/package.json
CHANGED
package/src/tracker.ts
CHANGED
|
@@ -24,6 +24,26 @@ export interface TraccarDevice {
|
|
|
24
24
|
expirationTime: string | Date | NullOrUndefined;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
export interface TraccarPosition {
|
|
28
|
+
id: number;
|
|
29
|
+
attributes: Record<string, any>;
|
|
30
|
+
deviceId: number;
|
|
31
|
+
protocol: string;
|
|
32
|
+
serverTime: string | Date;
|
|
33
|
+
deviceTime: string | Date;
|
|
34
|
+
fixTime: string | Date;
|
|
35
|
+
valid: boolean;
|
|
36
|
+
latitude: number;
|
|
37
|
+
longitude: number;
|
|
38
|
+
altitude: number;
|
|
39
|
+
speed: number;
|
|
40
|
+
course: number;
|
|
41
|
+
address: string | NullOrUndefined;
|
|
42
|
+
accuracy: number;
|
|
43
|
+
network: Record<string, any> | NullOrUndefined;
|
|
44
|
+
geofenceIds: number[] | NullOrUndefined;
|
|
45
|
+
}
|
|
46
|
+
|
|
27
47
|
export interface TrackerDevice {
|
|
28
48
|
id: string;
|
|
29
49
|
name: string;
|
|
@@ -35,4 +55,4 @@ export interface TrackerDevice {
|
|
|
35
55
|
createdAt: string | Date;
|
|
36
56
|
updatedAt: string | Date;
|
|
37
57
|
traccarDetails?: TraccarDevice | NullOrUndefined;
|
|
38
|
-
}
|
|
58
|
+
}
|