mdz-enum 1.0.61 → 1.0.62
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.
|
@@ -28,7 +28,7 @@ export declare const TipoFrete: {
|
|
|
28
28
|
export declare const SituacaoPromocao: {
|
|
29
29
|
Ativo: string;
|
|
30
30
|
Inativo: string;
|
|
31
|
-
description(val: string): "enum not found" | "
|
|
31
|
+
description(val: string): "enum not found" | "Ativa" | "Inativa";
|
|
32
32
|
};
|
|
33
33
|
export declare const TipoDescontoPromocao: {
|
|
34
34
|
Valor: string;
|
package/dist/commercial/index.js
CHANGED
package/dist/general/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const Situacao: {
|
|
2
2
|
Inativo: string;
|
|
3
3
|
Ativo: string;
|
|
4
|
-
description(val: string): "enum not found" | "
|
|
4
|
+
description(val: string): "enum not found" | "Inativo" | "Ativo";
|
|
5
5
|
};
|
|
6
6
|
export declare const TipoCompartilhamento: {
|
|
7
7
|
NotaFiscal: string;
|
package/package.json
CHANGED
package/src/commercial/index.ts
CHANGED
|
@@ -105,10 +105,10 @@ export const SituacaoPromocao = {
|
|
|
105
105
|
description(val: string) {
|
|
106
106
|
switch (val) {
|
|
107
107
|
case this.Ativo:
|
|
108
|
-
return '
|
|
108
|
+
return 'Ativa'
|
|
109
109
|
|
|
110
110
|
case this.Inativo:
|
|
111
|
-
return '
|
|
111
|
+
return 'Inativa'
|
|
112
112
|
|
|
113
113
|
default:
|
|
114
114
|
return 'enum not found'
|