@open-tender/types 0.1.2 → 0.1.4

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.
@@ -48,8 +48,8 @@ export interface SimpleCartItem {
48
48
  id: number;
49
49
  quantity: number;
50
50
  groups: SimpleCartGroups;
51
- made_for?: string;
52
- notes?: string;
51
+ made_for?: string | null;
52
+ notes?: string | null;
53
53
  cart_guest_id?: number;
54
54
  customer_id?: number;
55
55
  }
@@ -394,8 +394,8 @@ export interface ConfigDisplaySetting {
394
394
  menuHeroChildMobile: boolean;
395
395
  menuHeroMobile: boolean;
396
396
  menuImages: boolean;
397
- menuItemDescription: string;
398
- menuItemDescriptionMobile: string;
397
+ menuItemDescription: 'SHOW' | 'SHORT' | 'HIDE';
398
+ menuItemDescriptionMobile: 'SHOW' | 'SHORT' | 'HIDE';
399
399
  menuType: string;
400
400
  menuTypeApp: string;
401
401
  menuTypeMobile: string;
@@ -427,17 +427,17 @@ export interface ConfigIcon {
427
427
  export interface ConfigSettings {
428
428
  accountSections: Array<string>;
429
429
  autoSelect: {
430
- [keys in OrderType]?: {
430
+ [keys in OrderType]: {
431
431
  [keys in ServiceType]?: boolean;
432
432
  };
433
433
  };
434
434
  checkout: {
435
435
  orderTypes: {
436
- [keys in OrderType]?: ConfigSettingsCheckout;
436
+ [keys in OrderType]: ConfigSettingsCheckout;
437
437
  };
438
438
  };
439
439
  displaySettings: {
440
- [keys in OrderType]?: ConfigDisplaySetting;
440
+ [keys in OrderType]: ConfigDisplaySetting;
441
441
  };
442
442
  googleMaps: {
443
443
  apiKey: string;
@@ -48,8 +48,8 @@ export interface SimpleCartItem {
48
48
  id: number;
49
49
  quantity: number;
50
50
  groups: SimpleCartGroups;
51
- made_for?: string;
52
- notes?: string;
51
+ made_for?: string | null;
52
+ notes?: string | null;
53
53
  cart_guest_id?: number;
54
54
  customer_id?: number;
55
55
  }
@@ -394,8 +394,8 @@ export interface ConfigDisplaySetting {
394
394
  menuHeroChildMobile: boolean;
395
395
  menuHeroMobile: boolean;
396
396
  menuImages: boolean;
397
- menuItemDescription: string;
398
- menuItemDescriptionMobile: string;
397
+ menuItemDescription: 'SHOW' | 'SHORT' | 'HIDE';
398
+ menuItemDescriptionMobile: 'SHOW' | 'SHORT' | 'HIDE';
399
399
  menuType: string;
400
400
  menuTypeApp: string;
401
401
  menuTypeMobile: string;
@@ -427,17 +427,17 @@ export interface ConfigIcon {
427
427
  export interface ConfigSettings {
428
428
  accountSections: Array<string>;
429
429
  autoSelect: {
430
- [keys in OrderType]?: {
430
+ [keys in OrderType]: {
431
431
  [keys in ServiceType]?: boolean;
432
432
  };
433
433
  };
434
434
  checkout: {
435
435
  orderTypes: {
436
- [keys in OrderType]?: ConfigSettingsCheckout;
436
+ [keys in OrderType]: ConfigSettingsCheckout;
437
437
  };
438
438
  };
439
439
  displaySettings: {
440
- [keys in OrderType]?: ConfigDisplaySetting;
440
+ [keys in OrderType]: ConfigDisplaySetting;
441
441
  };
442
442
  googleMaps: {
443
443
  apiKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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
Binary file