mdz-enum 1.6.1 → 1.6.2

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.
@@ -129,7 +129,7 @@ export declare const SituacaoImagemProduto: {
129
129
  description(val: string): "enum not found" | "Com Imagem" | "Sem Imagem";
130
130
  };
131
131
  export declare const SituacaoColecao: {
132
- EmAndamento: string;
133
132
  Encerrada: string;
133
+ EmAndamento: string;
134
134
  description(val: string): "enum not found" | "Em Andamento" | "Encerrada";
135
135
  };
@@ -375,14 +375,14 @@ exports.SituacaoImagemProduto = {
375
375
  },
376
376
  };
377
377
  exports.SituacaoColecao = {
378
- EmAndamento: '0',
379
- Encerrada: '1',
378
+ Encerrada: '0',
379
+ EmAndamento: '1',
380
380
  description(val) {
381
381
  switch (val) {
382
- case this.EmAndamento:
383
- return 'Em Andamento';
384
382
  case this.Encerrada:
385
383
  return 'Encerrada';
384
+ case this.EmAndamento:
385
+ return 'Em Andamento';
386
386
  default:
387
387
  return 'enum not found';
388
388
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {