@open-tender/types 0.2.12 → 0.2.14

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.
@@ -73,7 +73,7 @@ export interface CartItemGroup {
73
73
  min: number;
74
74
  name: string;
75
75
  options: CartItemOptions;
76
- quantity?: number;
76
+ quantity: number;
77
77
  }
78
78
  export declare type CartItemGroups = CartItemGroup[];
79
79
  export declare type Cart = CartItem[];
@@ -1,3 +1,4 @@
1
+ export declare type ThemeAlertType = 'alert' | 'error' | 'success' | 'toast';
1
2
  export interface ThemeAlert extends Record<string, string> {
2
3
  bgColor: string;
3
4
  color: string;
@@ -73,7 +73,7 @@ export interface CartItemGroup {
73
73
  min: number;
74
74
  name: string;
75
75
  options: CartItemOptions;
76
- quantity?: number;
76
+ quantity: number;
77
77
  }
78
78
  export declare type CartItemGroups = CartItemGroup[];
79
79
  export declare type Cart = CartItem[];
@@ -1,3 +1,4 @@
1
+ export declare type ThemeAlertType = 'alert' | 'error' | 'success' | 'toast';
1
2
  export interface ThemeAlert extends Record<string, string> {
2
3
  bgColor: string;
3
4
  color: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
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",