@open-tender/types 0.2.48 → 0.2.49

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/dist/.DS_Store CHANGED
Binary file
@@ -1,6 +1,8 @@
1
1
  import { RequestedAt } from '../datetimes';
2
2
  import { Decimal, Money, ServiceType, TaxTypeInt, Temperature } from '../global';
3
3
  import { Cart, CartErrors } from './cart';
4
+ import { MenuSection } from './config';
5
+ import { Discounts } from './discounts';
4
6
  export interface NutritionalInfo {
5
7
  calories: number;
6
8
  cholesterol: number;
@@ -150,3 +152,4 @@ export interface MenuCartErrors {
150
152
  newCart: Cart;
151
153
  errors: CartErrors | null;
152
154
  }
155
+ export declare type MenuDisplayedSections = Record<MenuSection, MenuItems | Discounts>;
@@ -1,6 +1,8 @@
1
1
  import { RequestedAt } from '../datetimes';
2
2
  import { Decimal, Money, ServiceType, TaxTypeInt, Temperature } from '../global';
3
3
  import { Cart, CartErrors } from './cart';
4
+ import { MenuSection } from './config';
5
+ import { Discounts } from './discounts';
4
6
  export interface NutritionalInfo {
5
7
  calories: number;
6
8
  cholesterol: number;
@@ -150,3 +152,4 @@ export interface MenuCartErrors {
150
152
  newCart: Cart;
151
153
  errors: CartErrors | null;
152
154
  }
155
+ export declare type MenuDisplayedSections = Record<MenuSection, MenuItems | Discounts>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
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",