@mydoormot/app-types 1.8.1 → 1.8.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 +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/vehicle.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.8.
|
|
2
|
+
> @mydoormot/app-types@1.8.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
|
CLI Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@ CLI tsup v7.3.0
|
|
|
8
8
|
CLI Target: es2021
|
|
9
9
|
ESM Build start
|
|
10
10
|
CJS Build start
|
|
11
|
-
DTS Build start
|
|
12
11
|
ESM dist/index.js 11.40 KB
|
|
13
|
-
ESM ⚡️ Build success in
|
|
12
|
+
ESM ⚡️ Build success in 87ms
|
|
14
13
|
CJS dist/index.cjs 13.82 KB
|
|
15
|
-
CJS ⚡️ Build success in
|
|
16
|
-
DTS
|
|
17
|
-
DTS
|
|
18
|
-
DTS dist/index.d.
|
|
14
|
+
CJS ⚡️ Build success in 88ms
|
|
15
|
+
DTS Build start
|
|
16
|
+
DTS ⚡️ Build success in 904ms
|
|
17
|
+
DTS dist/index.d.ts 35.34 KB
|
|
18
|
+
DTS dist/index.d.cts 35.34 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -404,6 +404,12 @@ type VehicleLog = {
|
|
|
404
404
|
type VehicleLogWithErrands = VehicleLog & {
|
|
405
405
|
errandsCount?: number;
|
|
406
406
|
totalErrandsRevenue?: number;
|
|
407
|
+
/**
|
|
408
|
+
* Only the most recent fuel log for a vehicle is deletable — false when a
|
|
409
|
+
* newer log exists. Use it to enable/disable the delete affordance, but still
|
|
410
|
+
* handle a 400 from the delete endpoint: a newer log may land in between.
|
|
411
|
+
*/
|
|
412
|
+
canDelete?: boolean;
|
|
407
413
|
};
|
|
408
414
|
interface VehicleErrandStats {
|
|
409
415
|
count: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -404,6 +404,12 @@ type VehicleLog = {
|
|
|
404
404
|
type VehicleLogWithErrands = VehicleLog & {
|
|
405
405
|
errandsCount?: number;
|
|
406
406
|
totalErrandsRevenue?: number;
|
|
407
|
+
/**
|
|
408
|
+
* Only the most recent fuel log for a vehicle is deletable — false when a
|
|
409
|
+
* newer log exists. Use it to enable/disable the delete affordance, but still
|
|
410
|
+
* handle a 400 from the delete endpoint: a newer log may land in between.
|
|
411
|
+
*/
|
|
412
|
+
canDelete?: boolean;
|
|
407
413
|
};
|
|
408
414
|
interface VehicleErrandStats {
|
|
409
415
|
count: number;
|
package/package.json
CHANGED
package/src/vehicle.ts
CHANGED
|
@@ -81,6 +81,12 @@ export type VehicleLog = {
|
|
|
81
81
|
export type VehicleLogWithErrands = VehicleLog & {
|
|
82
82
|
errandsCount?: number;
|
|
83
83
|
totalErrandsRevenue?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Only the most recent fuel log for a vehicle is deletable — false when a
|
|
86
|
+
* newer log exists. Use it to enable/disable the delete affordance, but still
|
|
87
|
+
* handle a 400 from the delete endpoint: a newer log may land in between.
|
|
88
|
+
*/
|
|
89
|
+
canDelete?: boolean;
|
|
84
90
|
};
|
|
85
91
|
|
|
86
92
|
// Vehicle Performance Types
|