@fas-core/shared-types 1.0.43 → 1.0.44
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/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -51,6 +51,10 @@ interface ISEOMetaData {
|
|
|
51
51
|
headerTag: string;
|
|
52
52
|
canonicalUrl: string;
|
|
53
53
|
}
|
|
54
|
+
interface IMediaAsset {
|
|
55
|
+
url: string;
|
|
56
|
+
sortOrder: number;
|
|
57
|
+
}
|
|
54
58
|
interface IPrice {
|
|
55
59
|
price: number;
|
|
56
60
|
originalPrice: number;
|
|
@@ -198,8 +202,8 @@ interface IProductVariantFields {
|
|
|
198
202
|
stock: IStock;
|
|
199
203
|
category: ICategory;
|
|
200
204
|
categories: ICategory[];
|
|
201
|
-
images:
|
|
202
|
-
videos:
|
|
205
|
+
images: IMediaAsset[];
|
|
206
|
+
videos: IMediaAsset[];
|
|
203
207
|
shipping: IShipping;
|
|
204
208
|
relationships: IRelationships;
|
|
205
209
|
metaData: Metadata;
|
|
@@ -475,4 +479,4 @@ interface ICart extends BaseEntity {
|
|
|
475
479
|
totalAmount: number;
|
|
476
480
|
}
|
|
477
481
|
|
|
478
|
-
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
|
|
482
|
+
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IMediaAsset, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ interface ISEOMetaData {
|
|
|
51
51
|
headerTag: string;
|
|
52
52
|
canonicalUrl: string;
|
|
53
53
|
}
|
|
54
|
+
interface IMediaAsset {
|
|
55
|
+
url: string;
|
|
56
|
+
sortOrder: number;
|
|
57
|
+
}
|
|
54
58
|
interface IPrice {
|
|
55
59
|
price: number;
|
|
56
60
|
originalPrice: number;
|
|
@@ -198,8 +202,8 @@ interface IProductVariantFields {
|
|
|
198
202
|
stock: IStock;
|
|
199
203
|
category: ICategory;
|
|
200
204
|
categories: ICategory[];
|
|
201
|
-
images:
|
|
202
|
-
videos:
|
|
205
|
+
images: IMediaAsset[];
|
|
206
|
+
videos: IMediaAsset[];
|
|
203
207
|
shipping: IShipping;
|
|
204
208
|
relationships: IRelationships;
|
|
205
209
|
metaData: Metadata;
|
|
@@ -475,4 +479,4 @@ interface ICart extends BaseEntity {
|
|
|
475
479
|
totalAmount: number;
|
|
476
480
|
}
|
|
477
481
|
|
|
478
|
-
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
|
|
482
|
+
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IMediaAsset, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
|
package/package.json
CHANGED