@posx/core 5.5.268 → 5.5.269
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/build/index.d.ts +25 -9
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2991,15 +2991,15 @@ declare module '@posx/core/types/csv.type' {
|
|
|
2991
2991
|
* Interface for CSV export rows
|
|
2992
2992
|
*
|
|
2993
2993
|
* CSV Structure:
|
|
2994
|
-
* Type,Name,SKU,Price,Image URL,Thumbnail URL,Sequence
|
|
2995
|
-
* category,Beverages
|
|
2996
|
-
* product,Americano,AME001,4.00,https://example.com/americano.jpg,https://example.com/americano-thumb.jpg,0
|
|
2997
|
-
* product,Espresso,ESP001,3.50,https://example.com/espresso.jpg,https://example.com/espresso-thumb.jpg,1
|
|
2998
|
-
* modifier_category,Extras
|
|
2999
|
-
* modifier,Extra Sugar,SUGAR001,0.50
|
|
3000
|
-
* modifier,Extra Milk,MILK001,1.00
|
|
3001
|
-
* category,Food
|
|
3002
|
-
* product,Burger,BUR001,12.00,https://example.com/burger.jpg,https://example.com/burger-thumb.jpg,0
|
|
2994
|
+
* Type,Name,SKU,Price,Stock,Is Internal,Min Order,Max Order,Image URL,Thumbnail URL,Sequence
|
|
2995
|
+
* category,Beverages,,,,,,https://example.com/beverages.jpg,https://example.com/beverages-thumb.jpg,0
|
|
2996
|
+
* product,Americano,AME001,4.00,100,false,,,https://example.com/americano.jpg,https://example.com/americano-thumb.jpg,0
|
|
2997
|
+
* product,Espresso,ESP001,3.50,50,false,,,https://example.com/espresso.jpg,https://example.com/espresso-thumb.jpg,1
|
|
2998
|
+
* modifier_category,Extras,,,,,,1,5,,0
|
|
2999
|
+
* modifier,Extra Sugar,SUGAR001,0.50,1000,false,,,,,0
|
|
3000
|
+
* modifier,Extra Milk,MILK001,1.00,1000,false,,,,,1
|
|
3001
|
+
* category,Food,,,,,,https://example.com/food.jpg,https://example.com/food-thumb.jpg,1
|
|
3002
|
+
* product,Burger,BUR001,12.00,25,false,,,https://example.com/burger.jpg,https://example.com/burger-thumb.jpg,0
|
|
3003
3003
|
*/
|
|
3004
3004
|
export interface IExportRow {
|
|
3005
3005
|
/**
|
|
@@ -3018,6 +3018,22 @@ declare module '@posx/core/types/csv.type' {
|
|
|
3018
3018
|
* Price - only for products and modifiers
|
|
3019
3019
|
*/
|
|
3020
3020
|
price?: number;
|
|
3021
|
+
/**
|
|
3022
|
+
* Stock level - only for products and modifiers
|
|
3023
|
+
*/
|
|
3024
|
+
stock?: number;
|
|
3025
|
+
/**
|
|
3026
|
+
* Is internal flag - only for products and modifiers
|
|
3027
|
+
*/
|
|
3028
|
+
is_internal?: boolean;
|
|
3029
|
+
/**
|
|
3030
|
+
* Minimum order quantity - only for modifier_categories
|
|
3031
|
+
*/
|
|
3032
|
+
min_order?: number;
|
|
3033
|
+
/**
|
|
3034
|
+
* Maximum order quantity - only for modifier_categories
|
|
3035
|
+
*/
|
|
3036
|
+
max_order?: number;
|
|
3021
3037
|
/**
|
|
3022
3038
|
* Image URL - for categories and products
|
|
3023
3039
|
*/
|