@posx/core 5.5.657 → 5.5.659

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.
Files changed (2) hide show
  1. package/build/index.d.ts +6 -0
  2. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -2056,6 +2056,12 @@ type ProductPartialConfig = {
2056
2056
  * display large image for online order, if false, small image will be displayed
2057
2057
  */
2058
2058
  online_order_display_large_image: boolean;
2059
+ /** optional custom badges for product / modifier */
2060
+ custom_badges?: {
2061
+ text: string;
2062
+ text_translations?: Record<string, string>;
2063
+ background?: string;
2064
+ }[];
2059
2065
  };
2060
2066
  declare class ProductBase extends AppExtraModel implements IProductBase {
2061
2067
  meta: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posx/core",
3
- "version": "5.5.657",
3
+ "version": "5.5.659",
4
4
  "description": "POSX core libraries",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",