@posx/core 5.5.266 → 5.5.267
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 +21 -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
|
|
2995
|
-
* category,Beverages
|
|
2996
|
-
* product,Americano,AME001,4.00
|
|
2997
|
-
* product,Espresso,ESP001,3.50
|
|
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
|
|
2994
|
+
* Type,Name,SKU,Price,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,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,,,,,0
|
|
2999
|
+
* modifier,Extra Sugar,SUGAR001,0.50,,,0
|
|
3000
|
+
* modifier,Extra Milk,MILK001,1.00,,,1
|
|
3001
|
+
* category,Food,,,https://example.com/food.jpg,https://example.com/food-thumb.jpg,1
|
|
3002
|
+
* product,Burger,BUR001,12.00,https://example.com/burger.jpg,https://example.com/burger-thumb.jpg,0
|
|
3003
3003
|
*/
|
|
3004
3004
|
export interface IExportRow {
|
|
3005
3005
|
/**
|
|
@@ -3018,6 +3018,18 @@ declare module '@posx/core/types/csv.type' {
|
|
|
3018
3018
|
* Price - only for products and modifiers
|
|
3019
3019
|
*/
|
|
3020
3020
|
price?: number;
|
|
3021
|
+
/**
|
|
3022
|
+
* Image URL - for categories and products
|
|
3023
|
+
*/
|
|
3024
|
+
image_url?: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* Image thumbnail URL - for categories and products
|
|
3027
|
+
*/
|
|
3028
|
+
image_thumbnail_url?: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* Sequence number for sorting
|
|
3031
|
+
*/
|
|
3032
|
+
sequence?: number;
|
|
3021
3033
|
}
|
|
3022
3034
|
|
|
3023
3035
|
}
|