@mydoormot/app-types 1.7.26 → 1.7.28
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 +21 -1
- package/dist/index.d.ts +21 -1
- package/package.json +1 -1
- package/src/commerce.ts +23 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.7.
|
|
2
|
+
> @mydoormot/app-types@1.7.27 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[32m7.18 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 133ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.cjs [22m[32m9.03 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 117ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m7.18 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 118ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m26.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m26.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 780ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m26.78 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m26.78 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -785,6 +785,7 @@ interface Collection {
|
|
|
785
785
|
updated_at: string;
|
|
786
786
|
deleted_at?: string | null;
|
|
787
787
|
metadata?: Record<string, unknown> | null;
|
|
788
|
+
products_count?: number;
|
|
788
789
|
}
|
|
789
790
|
interface ProductTag {
|
|
790
791
|
id: string;
|
|
@@ -794,6 +795,25 @@ interface ProductTag {
|
|
|
794
795
|
updated_at?: string;
|
|
795
796
|
deleted_at?: string | null;
|
|
796
797
|
}
|
|
798
|
+
interface AddonGroupItem {
|
|
799
|
+
id: string;
|
|
800
|
+
product_id: string;
|
|
801
|
+
product?: Product;
|
|
802
|
+
addon_group_id: string;
|
|
803
|
+
created_at?: string;
|
|
804
|
+
updated_at?: string;
|
|
805
|
+
deleted_at?: string | null;
|
|
806
|
+
}
|
|
807
|
+
interface AddonGroup {
|
|
808
|
+
id: string;
|
|
809
|
+
product_id: string;
|
|
810
|
+
title: string;
|
|
811
|
+
max_select: number;
|
|
812
|
+
items?: AddonGroupItem[];
|
|
813
|
+
created_at?: string;
|
|
814
|
+
updated_at?: string;
|
|
815
|
+
deleted_at?: string | null;
|
|
816
|
+
}
|
|
797
817
|
interface ProductCategory {
|
|
798
818
|
id: string;
|
|
799
819
|
name: string;
|
|
@@ -1028,4 +1048,4 @@ declare enum LinkDestination {
|
|
|
1028
1048
|
}
|
|
1029
1049
|
type NullOrUndefined = null | undefined;
|
|
1030
1050
|
|
|
1031
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Collection, 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, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductOptionValue, type ProductStatus, type ProductTag, type ProductVariant, type ProductVariantPrice, 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 };
|
|
1051
|
+
export { type AddonGroup, type AddonGroupItem, type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Collection, 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, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductOptionValue, type ProductStatus, type ProductTag, type ProductVariant, type ProductVariantPrice, 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
|
@@ -785,6 +785,7 @@ interface Collection {
|
|
|
785
785
|
updated_at: string;
|
|
786
786
|
deleted_at?: string | null;
|
|
787
787
|
metadata?: Record<string, unknown> | null;
|
|
788
|
+
products_count?: number;
|
|
788
789
|
}
|
|
789
790
|
interface ProductTag {
|
|
790
791
|
id: string;
|
|
@@ -794,6 +795,25 @@ interface ProductTag {
|
|
|
794
795
|
updated_at?: string;
|
|
795
796
|
deleted_at?: string | null;
|
|
796
797
|
}
|
|
798
|
+
interface AddonGroupItem {
|
|
799
|
+
id: string;
|
|
800
|
+
product_id: string;
|
|
801
|
+
product?: Product;
|
|
802
|
+
addon_group_id: string;
|
|
803
|
+
created_at?: string;
|
|
804
|
+
updated_at?: string;
|
|
805
|
+
deleted_at?: string | null;
|
|
806
|
+
}
|
|
807
|
+
interface AddonGroup {
|
|
808
|
+
id: string;
|
|
809
|
+
product_id: string;
|
|
810
|
+
title: string;
|
|
811
|
+
max_select: number;
|
|
812
|
+
items?: AddonGroupItem[];
|
|
813
|
+
created_at?: string;
|
|
814
|
+
updated_at?: string;
|
|
815
|
+
deleted_at?: string | null;
|
|
816
|
+
}
|
|
797
817
|
interface ProductCategory {
|
|
798
818
|
id: string;
|
|
799
819
|
name: string;
|
|
@@ -1028,4 +1048,4 @@ declare enum LinkDestination {
|
|
|
1028
1048
|
}
|
|
1029
1049
|
type NullOrUndefined = null | undefined;
|
|
1030
1050
|
|
|
1031
|
-
export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Collection, 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, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductOptionValue, type ProductStatus, type ProductTag, type ProductVariant, type ProductVariantPrice, 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 };
|
|
1051
|
+
export { type AddonGroup, type AddonGroupItem, type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, BusinessCapability, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Collection, 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, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductOptionValue, type ProductStatus, type ProductTag, type ProductVariant, type ProductVariantPrice, 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/package.json
CHANGED
package/src/commerce.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ProductStatus = 'draft' | 'proposed' | 'published' | 'rejected';
|
|
1
|
+
export type ProductStatus = 'draft' | 'proposed' | 'published' | 'rejected';
|
|
2
2
|
|
|
3
3
|
export interface ProductImage {
|
|
4
4
|
id: string;
|
|
@@ -113,6 +113,7 @@ export interface Collection {
|
|
|
113
113
|
updated_at: string;
|
|
114
114
|
deleted_at?: string | null;
|
|
115
115
|
metadata?: Record<string, unknown> | null;
|
|
116
|
+
products_count?: number;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
export interface ProductTag {
|
|
@@ -124,6 +125,27 @@ export interface ProductTag {
|
|
|
124
125
|
deleted_at?: string | null;
|
|
125
126
|
}
|
|
126
127
|
|
|
128
|
+
export interface AddonGroupItem {
|
|
129
|
+
id: string;
|
|
130
|
+
product_id: string;
|
|
131
|
+
product?: Product;
|
|
132
|
+
addon_group_id: string;
|
|
133
|
+
created_at?: string;
|
|
134
|
+
updated_at?: string;
|
|
135
|
+
deleted_at?: string | null;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface AddonGroup {
|
|
139
|
+
id: string;
|
|
140
|
+
product_id: string;
|
|
141
|
+
title: string;
|
|
142
|
+
max_select: number;
|
|
143
|
+
items?: AddonGroupItem[];
|
|
144
|
+
created_at?: string;
|
|
145
|
+
updated_at?: string;
|
|
146
|
+
deleted_at?: string | null;
|
|
147
|
+
}
|
|
148
|
+
|
|
127
149
|
export interface ProductCategory {
|
|
128
150
|
id: string;
|
|
129
151
|
name: string;
|