@open-tender/types 0.4.10 → 0.4.11

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.
@@ -129,10 +129,10 @@ export interface BottomTabsSectionContent {
129
129
  title: string;
130
130
  }
131
131
  export interface BottomTabsTitles {
132
- [key: string]: BottomTabsSectionContent | BottomTabsSections;
132
+ [key: string]: BottomTabsSectionContent;
133
133
  }
134
- export interface BottomTabs extends BottomTabsTitles {
135
- display: BottomTabsSections;
134
+ export interface BottomTabsDisplayed {
135
+ displayed: BottomTabsSections;
136
136
  }
137
137
  export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
138
138
  export declare type MenuSections = MenuSection[];
@@ -192,7 +192,7 @@ export interface ConfigContent {
192
192
  accountSettings: ConfigContentField;
193
193
  addresses: ConfigContentField;
194
194
  allergens: ConfigContentField;
195
- bottomTabs: BottomTabs;
195
+ bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
196
196
  catering: {
197
197
  background: string;
198
198
  content: string;
@@ -129,10 +129,10 @@ export interface BottomTabsSectionContent {
129
129
  title: string;
130
130
  }
131
131
  export interface BottomTabsTitles {
132
- [key: string]: BottomTabsSectionContent | BottomTabsSections;
132
+ [key: string]: BottomTabsSectionContent;
133
133
  }
134
- export interface BottomTabs extends BottomTabsTitles {
135
- display: BottomTabsSections;
134
+ export interface BottomTabsDisplayed {
135
+ displayed: BottomTabsSections;
136
136
  }
137
137
  export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
138
138
  export declare type MenuSections = MenuSection[];
@@ -192,7 +192,7 @@ export interface ConfigContent {
192
192
  accountSettings: ConfigContentField;
193
193
  addresses: ConfigContentField;
194
194
  allergens: ConfigContentField;
195
- bottomTabs: BottomTabs;
195
+ bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
196
196
  catering: {
197
197
  background: string;
198
198
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
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",