@open-tender/types 0.2.94 → 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
|
}
|
|
@@ -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
|
}
|
package/package.json
CHANGED