@mydoormot/app-types 1.6.2 → 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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mydoormot/app-types@1.6.1 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
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
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  CJS dist/index.cjs 6.93 KB
12
- CJS ⚡️ Build success in 46ms
12
+ CJS ⚡️ Build success in 198ms
13
13
  ESM dist/index.js 5.37 KB
14
- ESM ⚡️ Build success in 47ms
14
+ ESM ⚡️ Build success in 199ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 581ms
17
- DTS dist/index.d.ts 15.45 KB
18
- DTS dist/index.d.cts 15.45 KB
16
+ DTS ⚡️ Build success in 1988ms
17
+ DTS dist/index.d.ts 15.71 KB
18
+ DTS dist/index.d.cts 15.71 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Added rider location
8
+
3
9
  ## 1.6.2
4
10
 
5
11
  ### Patch Changes
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}`;
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}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
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 {