mdz-enum 1.2.7 → 1.2.8
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/common/index.d.ts +3 -1
- package/dist/common/index.js +6 -0
- package/package.json +1 -1
package/dist/common/index.d.ts
CHANGED
|
@@ -34,5 +34,7 @@ export declare const TipoAbrangenciaNotificacao: {
|
|
|
34
34
|
};
|
|
35
35
|
export declare const TipoNotificacao: {
|
|
36
36
|
Teste: string;
|
|
37
|
-
|
|
37
|
+
NovoPedidoGestao: string;
|
|
38
|
+
NovoPedidoEcommerce: string;
|
|
39
|
+
description(val: string): "enum not found" | "Teste..." | "Novo pedido foi criado!" | "Novo pedido recebido pelo Ecommerce";
|
|
38
40
|
};
|
package/dist/common/index.js
CHANGED
|
@@ -100,10 +100,16 @@ exports.TipoAbrangenciaNotificacao = {
|
|
|
100
100
|
};
|
|
101
101
|
exports.TipoNotificacao = {
|
|
102
102
|
Teste: '0',
|
|
103
|
+
NovoPedidoGestao: '1',
|
|
104
|
+
NovoPedidoEcommerce: '2',
|
|
103
105
|
description(val) {
|
|
104
106
|
switch (val) {
|
|
105
107
|
case this.Teste:
|
|
106
108
|
return 'Teste...';
|
|
109
|
+
case this.NovoPedidoGestao:
|
|
110
|
+
return 'Novo pedido foi criado!';
|
|
111
|
+
case this.NovoPedidoEcommerce:
|
|
112
|
+
return 'Novo pedido recebido pelo Ecommerce';
|
|
107
113
|
default:
|
|
108
114
|
return 'enum not found';
|
|
109
115
|
}
|