@open-tender/types 0.2.48 → 0.2.50

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.
@@ -1,6 +1,7 @@
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';
4
5
  export interface NutritionalInfo {
5
6
  calories: number;
6
7
  cholesterol: number;
@@ -150,3 +151,4 @@ export interface MenuCartErrors {
150
151
  newCart: Cart;
151
152
  errors: CartErrors | null;
152
153
  }
154
+ export declare type MenuDisplayedSections = Record<MenuSection, MenuItems>;
@@ -1,6 +1,7 @@
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';
4
5
  export interface NutritionalInfo {
5
6
  calories: number;
6
7
  cholesterol: number;
@@ -150,3 +151,4 @@ export interface MenuCartErrors {
150
151
  newCart: Cart;
151
152
  errors: CartErrors | null;
152
153
  }
154
+ export declare type MenuDisplayedSections = Record<MenuSection, MenuItems>;
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.50",
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",
package/dist/.DS_Store DELETED
Binary file