@open-tender/types 0.4.4 → 0.4.6

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,7 +2,7 @@ import { Images } from '../global';
2
2
  export interface Allergen {
3
3
  allergen_id: number;
4
4
  description: string;
5
- images: Images;
5
+ images: Images | null;
6
6
  name: string;
7
7
  }
8
8
  export declare type Allergens = Allergen[];
@@ -480,3 +480,9 @@ export interface ConfigSettings {
480
480
  orderTypes: ConfigOrderTypes[];
481
481
  recaptcha: ConfigRecaptcha;
482
482
  }
483
+ export interface ConfigAccordion {
484
+ hasCals: boolean;
485
+ hasCustomize: boolean;
486
+ hasMadeFor: boolean;
487
+ hasNotes: boolean;
488
+ }
@@ -2,7 +2,7 @@ import { Images } from '../global';
2
2
  export interface Tag {
3
3
  tag_id: number;
4
4
  description: string;
5
- images: Images;
5
+ images: Images | null;
6
6
  name: string;
7
7
  }
8
8
  export declare type Tags = Tag[];
@@ -2,7 +2,7 @@ import { Images } from '../global';
2
2
  export interface Allergen {
3
3
  allergen_id: number;
4
4
  description: string;
5
- images: Images;
5
+ images: Images | null;
6
6
  name: string;
7
7
  }
8
8
  export declare type Allergens = Allergen[];
@@ -480,3 +480,9 @@ export interface ConfigSettings {
480
480
  orderTypes: ConfigOrderTypes[];
481
481
  recaptcha: ConfigRecaptcha;
482
482
  }
483
+ export interface ConfigAccordion {
484
+ hasCals: boolean;
485
+ hasCustomize: boolean;
486
+ hasMadeFor: boolean;
487
+ hasNotes: boolean;
488
+ }
@@ -2,7 +2,7 @@ import { Images } from '../global';
2
2
  export interface Tag {
3
3
  tag_id: number;
4
4
  description: string;
5
- images: Images;
5
+ images: Images | null;
6
6
  name: string;
7
7
  }
8
8
  export declare type Tags = Tag[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
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",