mdz-enum 1.5.17 → 1.5.18
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.
package/dist/config/index.d.ts
CHANGED
|
@@ -107,7 +107,8 @@ export declare const TipoImportacao: {
|
|
|
107
107
|
Pessoa: string;
|
|
108
108
|
Estoque: string;
|
|
109
109
|
CodigoBarras: string;
|
|
110
|
-
|
|
110
|
+
Grade: string;
|
|
111
|
+
description(val: string): "enum not found" | "Produto" | "Pessoa" | "Estoque" | "Código de Barras" | "Grade";
|
|
111
112
|
};
|
|
112
113
|
export declare const ModeloImportacao: {
|
|
113
114
|
Importacao: string;
|
package/dist/config/index.js
CHANGED
|
@@ -302,6 +302,7 @@ exports.TipoImportacao = {
|
|
|
302
302
|
Pessoa: '2',
|
|
303
303
|
Estoque: '3',
|
|
304
304
|
CodigoBarras: '4',
|
|
305
|
+
Grade: '5',
|
|
305
306
|
description(val) {
|
|
306
307
|
switch (val) {
|
|
307
308
|
case this.Produto:
|
|
@@ -312,6 +313,8 @@ exports.TipoImportacao = {
|
|
|
312
313
|
return 'Estoque';
|
|
313
314
|
case this.CodigoBarras:
|
|
314
315
|
return 'Código de Barras';
|
|
316
|
+
case this.Grade:
|
|
317
|
+
return 'Grade';
|
|
315
318
|
default:
|
|
316
319
|
return 'enum not found';
|
|
317
320
|
}
|