@mydoormot/app-types 1.5.6 → 1.5.8
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/business.ts +1 -0
- package/src/errand.ts +3 -0
- package/src/user.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.5.
|
|
2
|
+
> @mydoormot/app-types@1.5.7 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 72ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.cjs [22m[32m6.93 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 62ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m5.37 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 63ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m14.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m14.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 621ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m14.66 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m14.66 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -66,6 +66,7 @@ type User = {
|
|
|
66
66
|
accountType?: 'business' | 'personal';
|
|
67
67
|
hasOnboarded?: boolean;
|
|
68
68
|
lastActivity?: string;
|
|
69
|
+
isManaged?: boolean;
|
|
69
70
|
};
|
|
70
71
|
type UserAddress = {
|
|
71
72
|
id: string;
|
|
@@ -369,6 +370,7 @@ interface Errand {
|
|
|
369
370
|
queuePosition?: number;
|
|
370
371
|
isTest?: boolean;
|
|
371
372
|
isInBusinessInvoice?: boolean;
|
|
373
|
+
businessId?: string;
|
|
372
374
|
}
|
|
373
375
|
interface AggregatedErrand extends Errand {
|
|
374
376
|
parcelSize: `${ParcelSize}`;
|
|
@@ -390,6 +392,7 @@ interface AggregatedErrand extends Errand {
|
|
|
390
392
|
stateCoords: number[];
|
|
391
393
|
};
|
|
392
394
|
riderUserDetails?: User;
|
|
395
|
+
business?: Business;
|
|
393
396
|
}
|
|
394
397
|
interface ErrandRating {
|
|
395
398
|
createdAt: string;
|
|
@@ -512,6 +515,7 @@ interface Business {
|
|
|
512
515
|
registrationCompletedAt: string | NullOrUndefined | Date;
|
|
513
516
|
mongoId: string;
|
|
514
517
|
version: number;
|
|
518
|
+
isManaged: boolean | NullOrUndefined;
|
|
515
519
|
}
|
|
516
520
|
interface BusinessPg extends Business {
|
|
517
521
|
pgId: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ type User = {
|
|
|
66
66
|
accountType?: 'business' | 'personal';
|
|
67
67
|
hasOnboarded?: boolean;
|
|
68
68
|
lastActivity?: string;
|
|
69
|
+
isManaged?: boolean;
|
|
69
70
|
};
|
|
70
71
|
type UserAddress = {
|
|
71
72
|
id: string;
|
|
@@ -369,6 +370,7 @@ interface Errand {
|
|
|
369
370
|
queuePosition?: number;
|
|
370
371
|
isTest?: boolean;
|
|
371
372
|
isInBusinessInvoice?: boolean;
|
|
373
|
+
businessId?: string;
|
|
372
374
|
}
|
|
373
375
|
interface AggregatedErrand extends Errand {
|
|
374
376
|
parcelSize: `${ParcelSize}`;
|
|
@@ -390,6 +392,7 @@ interface AggregatedErrand extends Errand {
|
|
|
390
392
|
stateCoords: number[];
|
|
391
393
|
};
|
|
392
394
|
riderUserDetails?: User;
|
|
395
|
+
business?: Business;
|
|
393
396
|
}
|
|
394
397
|
interface ErrandRating {
|
|
395
398
|
createdAt: string;
|
|
@@ -512,6 +515,7 @@ interface Business {
|
|
|
512
515
|
registrationCompletedAt: string | NullOrUndefined | Date;
|
|
513
516
|
mongoId: string;
|
|
514
517
|
version: number;
|
|
518
|
+
isManaged: boolean | NullOrUndefined;
|
|
515
519
|
}
|
|
516
520
|
interface BusinessPg extends Business {
|
|
517
521
|
pgId: any;
|
package/package.json
CHANGED
package/src/business.ts
CHANGED
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 {
|