mdz-enum 1.6.11 → 1.6.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.
@@ -1,7 +1,9 @@
1
1
  export declare const TipoProduto: {
2
2
  Simples: string;
3
3
  ComGrade: string;
4
- description(val: string): "enum not found" | "Simples" | "Com Grade";
4
+ Kit: string;
5
+ Conjunto: string;
6
+ description(val: string): "enum not found" | "Simples" | "Com Grade" | "Kit" | "Conjunto";
5
7
  };
6
8
  export declare const TipoValoracao: {
7
9
  PrecoCompra: string;
@@ -4,12 +4,18 @@ exports.ModoPreco = exports.SituacaoColecao = exports.SituacaoImagemProduto = ex
4
4
  exports.TipoProduto = {
5
5
  Simples: '0',
6
6
  ComGrade: '1',
7
+ Kit: '2',
8
+ Conjunto: '3',
7
9
  description(val) {
8
10
  switch (val) {
9
11
  case this.Simples:
10
12
  return 'Simples';
11
13
  case this.ComGrade:
12
14
  return 'Com Grade';
15
+ case this.Kit:
16
+ return 'Kit';
17
+ case this.Conjunto:
18
+ return 'Conjunto';
13
19
  default:
14
20
  return 'enum not found';
15
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.6.11",
3
+ "version": "1.6.14",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {