@mydoormot/app-types 1.5.6 → 1.5.7

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.5.5 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.5.6 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
  ESM dist/index.js 5.37 KB
12
- ESM ⚡️ Build success in 72ms
12
+ ESM ⚡️ Build success in 246ms
13
13
  CJS dist/index.cjs 6.93 KB
14
- CJS ⚡️ Build success in 72ms
14
+ CJS ⚡️ Build success in 246ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1094ms
17
- DTS dist/index.d.ts 14.54 KB
18
- DTS dist/index.d.cts 14.54 KB
16
+ DTS ⚡️ Build success in 1641ms
17
+ DTS dist/index.d.ts 14.59 KB
18
+ DTS dist/index.d.cts 14.59 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Added business to errand details
8
+
3
9
  ## 1.5.6
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -369,6 +369,7 @@ interface Errand {
369
369
  queuePosition?: number;
370
370
  isTest?: boolean;
371
371
  isInBusinessInvoice?: boolean;
372
+ businessId?: string;
372
373
  }
373
374
  interface AggregatedErrand extends Errand {
374
375
  parcelSize: `${ParcelSize}`;
@@ -390,6 +391,7 @@ interface AggregatedErrand extends Errand {
390
391
  stateCoords: number[];
391
392
  };
392
393
  riderUserDetails?: User;
394
+ business?: Business;
393
395
  }
394
396
  interface ErrandRating {
395
397
  createdAt: string;
package/dist/index.d.ts CHANGED
@@ -369,6 +369,7 @@ interface Errand {
369
369
  queuePosition?: number;
370
370
  isTest?: boolean;
371
371
  isInBusinessInvoice?: boolean;
372
+ businessId?: string;
372
373
  }
373
374
  interface AggregatedErrand extends Errand {
374
375
  parcelSize: `${ParcelSize}`;
@@ -390,6 +391,7 @@ interface AggregatedErrand extends Errand {
390
391
  stateCoords: number[];
391
392
  };
392
393
  riderUserDetails?: User;
394
+ business?: Business;
393
395
  }
394
396
  interface ErrandRating {
395
397
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/errand.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { Business } from '.';
1
2
  import { Coupon } from './coupon';
2
3
  import { Invoice, InvoiceStatus } from './invoice';
3
4
  import { City } from './location';
@@ -142,6 +143,7 @@ export interface Errand {
142
143
  queuePosition?: number;
143
144
  isTest?: boolean;
144
145
  isInBusinessInvoice?: boolean;
146
+ businessId?: string;
145
147
  }
146
148
 
147
149
  export interface AggregatedErrand extends Errand {
@@ -164,6 +166,7 @@ export interface AggregatedErrand extends Errand {
164
166
  stateCoords: number[];
165
167
  };
166
168
  riderUserDetails?: User;
169
+ business?: Business;
167
170
  }
168
171
 
169
172
  export interface ErrandTimeline {