@mydoormot/app-types 1.7.23 → 1.7.24
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 +18 -18
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +6 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -0
- package/package.json +1 -1
- package/src/business.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
> @mydoormot/app-types@1.7.
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
|
|
2
|
+
> @mydoormot/app-types@1.7.23 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
|
+
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
+
|
|
5
|
+
CLI Building entry: src/index.ts
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v7.3.0
|
|
8
|
+
CLI Target: es2021
|
|
9
|
+
ESM Build start
|
|
10
|
+
CJS Build start
|
|
11
|
+
DTS Build start
|
|
12
|
+
ESM dist/index.js 7.18 KB
|
|
13
|
+
ESM ⚡️ Build success in 448ms
|
|
14
|
+
CJS dist/index.cjs 9.03 KB
|
|
15
|
+
CJS ⚡️ Build success in 448ms
|
|
16
|
+
DTS ⚡️ Build success in 781ms
|
|
17
|
+
DTS dist/index.d.ts 22.58 KB
|
|
18
|
+
DTS dist/index.d.cts 22.58 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var src_exports = {};
|
|
|
22
22
|
__export(src_exports, {
|
|
23
23
|
AddressTypes: () => AddressTypes,
|
|
24
24
|
AuthType: () => AuthType,
|
|
25
|
+
BusinessCapability: () => BusinessCapability,
|
|
25
26
|
BusinessRole: () => BusinessRole,
|
|
26
27
|
DeliveryStatus: () => DeliveryStatus,
|
|
27
28
|
EnterpriseType: () => EnterpriseType,
|
|
@@ -199,6 +200,10 @@ var EnterpriseType = /* @__PURE__ */ ((EnterpriseType2) => {
|
|
|
199
200
|
})(EnterpriseType || {});
|
|
200
201
|
|
|
201
202
|
// src/business.ts
|
|
203
|
+
var BusinessCapability = /* @__PURE__ */ ((BusinessCapability2) => {
|
|
204
|
+
BusinessCapability2["SELF_FULFILLMENT"] = "self_fulfillment";
|
|
205
|
+
return BusinessCapability2;
|
|
206
|
+
})(BusinessCapability || {});
|
|
202
207
|
var BusinessRole = /* @__PURE__ */ ((BusinessRole2) => {
|
|
203
208
|
BusinessRole2["OWNER"] = "OWNER";
|
|
204
209
|
BusinessRole2["MANAGER"] = "MANAGER";
|
|
@@ -232,6 +237,7 @@ var LinkDestination = /* @__PURE__ */ ((LinkDestination2) => {
|
|
|
232
237
|
0 && (module.exports = {
|
|
233
238
|
AddressTypes,
|
|
234
239
|
AuthType,
|
|
240
|
+
BusinessCapability,
|
|
235
241
|
BusinessRole,
|
|
236
242
|
DeliveryStatus,
|
|
237
243
|
EnterpriseType,
|
package/dist/index.d.cts
CHANGED
|
@@ -598,6 +598,9 @@ interface EnterpriseSubCategoryDoc {
|
|
|
598
598
|
createdAt: string;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
+
declare enum BusinessCapability {
|
|
602
|
+
SELF_FULFILLMENT = "self_fulfillment"
|
|
603
|
+
}
|
|
601
604
|
interface Business {
|
|
602
605
|
id: string;
|
|
603
606
|
userId: string;
|
|
@@ -629,6 +632,7 @@ interface Business {
|
|
|
629
632
|
registrationCompletedAt: string | NullOrUndefined | Date;
|
|
630
633
|
isManaged: boolean | NullOrUndefined;
|
|
631
634
|
businessCategoryDetails: BusinessCategory | NullOrUndefined;
|
|
635
|
+
capabilities: BusinessCapability[] | NullOrUndefined;
|
|
632
636
|
}
|
|
633
637
|
interface BusinessPg extends Business {
|
|
634
638
|
pgId: any;
|
|
@@ -890,4 +894,4 @@ declare enum LinkDestination {
|
|
|
890
894
|
}
|
|
891
895
|
type NullOrUndefined = null | undefined;
|
|
892
896
|
|
|
893
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
|
897
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -598,6 +598,9 @@ interface EnterpriseSubCategoryDoc {
|
|
|
598
598
|
createdAt: string;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
+
declare enum BusinessCapability {
|
|
602
|
+
SELF_FULFILLMENT = "self_fulfillment"
|
|
603
|
+
}
|
|
601
604
|
interface Business {
|
|
602
605
|
id: string;
|
|
603
606
|
userId: string;
|
|
@@ -629,6 +632,7 @@ interface Business {
|
|
|
629
632
|
registrationCompletedAt: string | NullOrUndefined | Date;
|
|
630
633
|
isManaged: boolean | NullOrUndefined;
|
|
631
634
|
businessCategoryDetails: BusinessCategory | NullOrUndefined;
|
|
635
|
+
capabilities: BusinessCapability[] | NullOrUndefined;
|
|
632
636
|
}
|
|
633
637
|
interface BusinessPg extends Business {
|
|
634
638
|
pgId: any;
|
|
@@ -890,4 +894,4 @@ declare enum LinkDestination {
|
|
|
890
894
|
}
|
|
891
895
|
type NullOrUndefined = null | undefined;
|
|
892
896
|
|
|
893
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
|
897
|
+
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
|
package/dist/index.js
CHANGED
|
@@ -152,6 +152,10 @@ var EnterpriseType = /* @__PURE__ */ ((EnterpriseType2) => {
|
|
|
152
152
|
})(EnterpriseType || {});
|
|
153
153
|
|
|
154
154
|
// src/business.ts
|
|
155
|
+
var BusinessCapability = /* @__PURE__ */ ((BusinessCapability2) => {
|
|
156
|
+
BusinessCapability2["SELF_FULFILLMENT"] = "self_fulfillment";
|
|
157
|
+
return BusinessCapability2;
|
|
158
|
+
})(BusinessCapability || {});
|
|
155
159
|
var BusinessRole = /* @__PURE__ */ ((BusinessRole2) => {
|
|
156
160
|
BusinessRole2["OWNER"] = "OWNER";
|
|
157
161
|
BusinessRole2["MANAGER"] = "MANAGER";
|
|
@@ -184,6 +188,7 @@ var LinkDestination = /* @__PURE__ */ ((LinkDestination2) => {
|
|
|
184
188
|
export {
|
|
185
189
|
AddressTypes,
|
|
186
190
|
AuthType,
|
|
191
|
+
BusinessCapability,
|
|
187
192
|
BusinessRole,
|
|
188
193
|
DeliveryStatus,
|
|
189
194
|
EnterpriseType,
|
package/package.json
CHANGED
package/src/business.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { NullOrUndefined, User } from '.';
|
|
2
2
|
|
|
3
|
+
export enum BusinessCapability {
|
|
4
|
+
SELF_FULFILLMENT = 'self_fulfillment',
|
|
5
|
+
}
|
|
6
|
+
|
|
3
7
|
export interface Business {
|
|
4
8
|
id: string;
|
|
5
9
|
userId: string;
|
|
@@ -38,6 +42,7 @@ export interface Business {
|
|
|
38
42
|
registrationCompletedAt: string | NullOrUndefined | Date;
|
|
39
43
|
isManaged: boolean | NullOrUndefined;
|
|
40
44
|
businessCategoryDetails: BusinessCategory | NullOrUndefined;
|
|
45
|
+
capabilities: BusinessCapability[] | NullOrUndefined;
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
export interface BusinessPg extends Business {
|