@nicefer/types 1.0.43 → 1.0.45

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.
@@ -6,12 +6,16 @@ export interface ProductFirstOptionTypeValue {
6
6
  value: string;
7
7
  codeColor?: string;
8
8
  }
9
+ type clothesOptions = 'talla' | 'color';
10
+ type giftsOptions = 'color' | 'tipo de flor';
11
+ type perfumesOptions = 'onzas';
12
+ type electricOptions = 'watts' | 'ah';
9
13
  export interface ProductOptionValue {
10
14
  value: string;
11
15
  code?: string;
12
16
  }
13
17
  export interface ProductOptionToSelect {
14
- option: 'talla' | 'color' | 'onzas';
18
+ option: clothesOptions | perfumesOptions | giftsOptions | electricOptions;
15
19
  valuesAllowed: ProductOptionValue[];
16
20
  }
17
21
  /**
@@ -123,3 +127,4 @@ export interface ProductGroupVariant {
123
127
  /** Indica si la información se cargó desde el servidor o se creó automaticamente */
124
128
  dataFromServer: boolean;
125
129
  }
130
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",