@open-tender/types 0.2.93 → 0.2.95

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.
@@ -2,6 +2,7 @@ import { RequestedAt } from '../datetimes';
2
2
  import { Decimal, Money, ServiceType, TaxTypeInt, Temperature } from '../global';
3
3
  import { Cart, CartErrors } from './cart';
4
4
  import { MenuSection } from './config';
5
+ import { Favorite } from './favorite';
5
6
  export interface NutritionalInfo {
6
7
  calories: number;
7
8
  cholesterol: number;
@@ -95,6 +96,9 @@ export interface MenuItem {
95
96
  temperature: Temperature;
96
97
  upsell_items: number[];
97
98
  }
99
+ export interface MenuItemWithFavorite extends MenuItem {
100
+ favorite: Favorite;
101
+ }
98
102
  export interface OptionItem extends MenuItem {
99
103
  opt_is_default: boolean;
100
104
  }
@@ -583,16 +583,19 @@ export interface ThemeModifiersColors extends Record<string, string> {
583
583
  }
584
584
  export interface ThemeModifiersBox extends Record<string, string | number> {
585
585
  border: string;
586
+ borderMobile: string;
586
587
  borderRadius: string;
587
588
  boxShadow: string;
588
589
  gap: string;
589
590
  gapHalf: string;
590
591
  layout: string;
591
592
  margin: string;
593
+ marginMobile: string;
592
594
  minHeight: string;
593
595
  minHeightWithGap: string;
594
596
  minWidth: string;
595
597
  padding: string;
598
+ paddingMobile: string;
596
599
  perRow: number;
597
600
  transition: string;
598
601
  width: string;
@@ -2,6 +2,7 @@ import { RequestedAt } from '../datetimes';
2
2
  import { Decimal, Money, ServiceType, TaxTypeInt, Temperature } from '../global';
3
3
  import { Cart, CartErrors } from './cart';
4
4
  import { MenuSection } from './config';
5
+ import { Favorite } from './favorite';
5
6
  export interface NutritionalInfo {
6
7
  calories: number;
7
8
  cholesterol: number;
@@ -95,6 +96,9 @@ export interface MenuItem {
95
96
  temperature: Temperature;
96
97
  upsell_items: number[];
97
98
  }
99
+ export interface MenuItemWithFavorite extends MenuItem {
100
+ favorite: Favorite;
101
+ }
98
102
  export interface OptionItem extends MenuItem {
99
103
  opt_is_default: boolean;
100
104
  }
@@ -583,16 +583,19 @@ export interface ThemeModifiersColors extends Record<string, string> {
583
583
  }
584
584
  export interface ThemeModifiersBox extends Record<string, string | number> {
585
585
  border: string;
586
+ borderMobile: string;
586
587
  borderRadius: string;
587
588
  boxShadow: string;
588
589
  gap: string;
589
590
  gapHalf: string;
590
591
  layout: string;
591
592
  margin: string;
593
+ marginMobile: string;
592
594
  minHeight: string;
593
595
  minHeightWithGap: string;
594
596
  minWidth: string;
595
597
  padding: string;
598
+ paddingMobile: string;
596
599
  perRow: number;
597
600
  transition: string;
598
601
  width: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.93",
3
+ "version": "0.2.95",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",