mdz-enum 1.2.40 → 1.2.41
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 +2 -1
- package/dist/config/index.js +3 -0
- package/package.json +1 -1
package/dist/config/index.d.ts
CHANGED
|
@@ -99,7 +99,8 @@ export declare const TipoImportacao: {
|
|
|
99
99
|
Produto: string;
|
|
100
100
|
Pessoa: string;
|
|
101
101
|
Estoque: string;
|
|
102
|
-
|
|
102
|
+
CodigoBarras: string;
|
|
103
|
+
description(val: string): "enum not found" | "Produto" | "Pessoa" | "Estoque" | "Código de Barras";
|
|
103
104
|
};
|
|
104
105
|
export declare const TipoArquivoExportacao: {
|
|
105
106
|
Pdf: string;
|
package/dist/config/index.js
CHANGED
|
@@ -281,6 +281,7 @@ exports.TipoImportacao = {
|
|
|
281
281
|
Produto: '1',
|
|
282
282
|
Pessoa: '2',
|
|
283
283
|
Estoque: '3',
|
|
284
|
+
CodigoBarras: '4',
|
|
284
285
|
description(val) {
|
|
285
286
|
switch (val) {
|
|
286
287
|
case this.Produto:
|
|
@@ -289,6 +290,8 @@ exports.TipoImportacao = {
|
|
|
289
290
|
return 'Pessoa';
|
|
290
291
|
case this.Estoque:
|
|
291
292
|
return 'Estoque';
|
|
293
|
+
case this.CodigoBarras:
|
|
294
|
+
return 'Código de Barras';
|
|
292
295
|
default:
|
|
293
296
|
return 'enum not found';
|
|
294
297
|
}
|