mdz-enum 1.7.0 → 1.7.1
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 +3 -2
- package/dist/config/index.js +5 -0
- package/package.json +1 -1
package/dist/config/index.d.ts
CHANGED
|
@@ -207,7 +207,8 @@ export declare const ModuloEmpresa: {
|
|
|
207
207
|
InformacaoNutricional: string;
|
|
208
208
|
Conferencia: string;
|
|
209
209
|
Agendamento: string;
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
Entrega: string;
|
|
211
|
+
description(val: string): "Agendamento" | "Conferência de itens" | "Conjunto" | "Controle de entregas" | "Controle de lotes" | "Grade de produtos" | "Informação nutricional" | "Kit" | "Produção" | "enum not found";
|
|
212
|
+
campo(val: string): "" | "is_informacao_nutricional" | "is_lote" | "is_modulo_agendamento" | "is_modulo_conferencia" | "is_modulo_entrega" | "is_modulo_producao" | "is_produto_conjunto" | "is_produto_grade" | "is_produto_kit";
|
|
212
213
|
doTipoProduto(tipoProduto: string): string | null;
|
|
213
214
|
};
|
package/dist/config/index.js
CHANGED
|
@@ -584,6 +584,7 @@ exports.ModuloEmpresa = {
|
|
|
584
584
|
InformacaoNutricional: '5',
|
|
585
585
|
Conferencia: '6',
|
|
586
586
|
Agendamento: '7',
|
|
587
|
+
Entrega: '8',
|
|
587
588
|
description(val) {
|
|
588
589
|
switch (val) {
|
|
589
590
|
case this.Grade:
|
|
@@ -602,6 +603,8 @@ exports.ModuloEmpresa = {
|
|
|
602
603
|
return 'Conferência de itens';
|
|
603
604
|
case this.Agendamento:
|
|
604
605
|
return 'Agendamento';
|
|
606
|
+
case this.Entrega:
|
|
607
|
+
return 'Controle de entregas';
|
|
605
608
|
default:
|
|
606
609
|
return 'enum not found';
|
|
607
610
|
}
|
|
@@ -624,6 +627,8 @@ exports.ModuloEmpresa = {
|
|
|
624
627
|
return 'is_modulo_conferencia';
|
|
625
628
|
case this.Agendamento:
|
|
626
629
|
return 'is_modulo_agendamento';
|
|
630
|
+
case this.Entrega:
|
|
631
|
+
return 'is_modulo_entrega';
|
|
627
632
|
default:
|
|
628
633
|
return '';
|
|
629
634
|
}
|