@mydoormot/app-types 1.3.3 → 1.3.5
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 +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +9 -0
- package/dist/index.d.cts +3 -3
- package/package.json +1 -1
- package/src/errand.ts +2 -1
- package/src/rider.ts +1 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.3.
|
|
2
|
+
> @mydoormot/app-types@1.3.4 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
3
|
> tsup src/index.ts --format cjs --dts
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@ CLI Using tsconfig: tsconfig.json
|
|
|
7
7
|
CLI tsup v7.2.0
|
|
8
8
|
CLI Target: es2021
|
|
9
9
|
CJS Build start
|
|
10
|
-
CJS dist/index.cjs
|
|
11
|
-
CJS ⚡️ Build success in
|
|
10
|
+
CJS dist/index.cjs 6.10 KB
|
|
11
|
+
CJS ⚡️ Build success in 47ms
|
|
12
12
|
DTS Build start
|
|
13
|
-
DTS ⚡️ Build success in
|
|
14
|
-
DTS dist/index.d.cts 11.
|
|
13
|
+
DTS ⚡️ Build success in 1124ms
|
|
14
|
+
DTS dist/index.d.cts 11.54 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -31,6 +31,7 @@ __export(src_exports, {
|
|
|
31
31
|
ParcelSize: () => ParcelSize,
|
|
32
32
|
PaymentOptions: () => PaymentOptions,
|
|
33
33
|
RoleType: () => RoleType,
|
|
34
|
+
VehicleType: () => VehicleType,
|
|
34
35
|
errandTimeline: () => errandTimeline
|
|
35
36
|
});
|
|
36
37
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -140,6 +141,13 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
140
141
|
return NotificationType2;
|
|
141
142
|
})(NotificationType || {});
|
|
142
143
|
|
|
144
|
+
// src/rider.ts
|
|
145
|
+
var VehicleType = /* @__PURE__ */ ((VehicleType2) => {
|
|
146
|
+
VehicleType2["Bike"] = "bike";
|
|
147
|
+
VehicleType2["Shuttle"] = "shuttle";
|
|
148
|
+
return VehicleType2;
|
|
149
|
+
})(VehicleType || {});
|
|
150
|
+
|
|
143
151
|
// src/enterprise.ts
|
|
144
152
|
var EnterpriseType = /* @__PURE__ */ ((EnterpriseType2) => {
|
|
145
153
|
EnterpriseType2["Restaurant"] = "restaurant";
|
|
@@ -169,5 +177,6 @@ var LinkDestination = /* @__PURE__ */ ((LinkDestination2) => {
|
|
|
169
177
|
ParcelSize,
|
|
170
178
|
PaymentOptions,
|
|
171
179
|
RoleType,
|
|
180
|
+
VehicleType,
|
|
172
181
|
errandTimeline
|
|
173
182
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -206,7 +206,6 @@ declare enum VehicleType {
|
|
|
206
206
|
type Vehicle = {
|
|
207
207
|
user: string;
|
|
208
208
|
vehicleNumber: string;
|
|
209
|
-
enterprise: string;
|
|
210
209
|
version: number;
|
|
211
210
|
createdAt: string;
|
|
212
211
|
updatedAt: string;
|
|
@@ -309,8 +308,9 @@ interface Errand {
|
|
|
309
308
|
coupon?: string | Coupon;
|
|
310
309
|
ownerMobileNumber?: string;
|
|
311
310
|
errandTimeline?: string | ErrandTimeline;
|
|
311
|
+
queuePosition?: number;
|
|
312
312
|
}
|
|
313
|
-
interface
|
|
313
|
+
interface AggregatedErrand extends Errand {
|
|
314
314
|
parcelSize: `${ParcelSize}`;
|
|
315
315
|
invoiceDetails: Invoice;
|
|
316
316
|
pickupLocation: {
|
|
@@ -483,4 +483,4 @@ declare enum LinkDestination {
|
|
|
483
483
|
}
|
|
484
484
|
type NullOrUndefined = null | undefined;
|
|
485
485
|
|
|
486
|
-
export { AddressDetails, AddressTypes,
|
|
486
|
+
export { AddressDetails, AddressTypes, AggregatedErrand, AuthType, Business, BusinessCategory, City, Coupon, DeliveryStatus, Enterprise, EnterpriseCategoryDoc, EnterpriseSubCategoryDoc, EnterpriseType, Errand, ErrandRating, ErrandStatus, ErrandTimeline, Invoice, InvoiceStatus, LatLng, LinkDestination, Notification, NotificationData, NotificationType, NullOrUndefined, PaginateResult, ParcelSize, PaymentOptions, PendingErrand, Rider, RoleType, State, User, UserAddress, Vehicle, VehicleType, errandTimeline };
|
package/package.json
CHANGED
package/src/errand.ts
CHANGED
|
@@ -139,9 +139,10 @@ export interface Errand {
|
|
|
139
139
|
coupon?: string | Coupon;
|
|
140
140
|
ownerMobileNumber?: string;
|
|
141
141
|
errandTimeline?: string | ErrandTimeline;
|
|
142
|
+
queuePosition?: number;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
|
-
export interface
|
|
145
|
+
export interface AggregatedErrand extends Errand {
|
|
145
146
|
parcelSize: `${ParcelSize}`;
|
|
146
147
|
invoiceDetails: Invoice;
|
|
147
148
|
pickupLocation: {
|
package/src/rider.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type Rider = {
|
|
|
27
27
|
lastDeliveredErrand?: Errand;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
enum VehicleType {
|
|
30
|
+
export enum VehicleType {
|
|
31
31
|
Bike = 'bike',
|
|
32
32
|
Shuttle = 'shuttle',
|
|
33
33
|
}
|
|
@@ -35,7 +35,6 @@ enum VehicleType {
|
|
|
35
35
|
export type Vehicle = {
|
|
36
36
|
user: string;
|
|
37
37
|
vehicleNumber: string;
|
|
38
|
-
enterprise: string;
|
|
39
38
|
version: number;
|
|
40
39
|
createdAt: string;
|
|
41
40
|
updatedAt: string;
|