@win2win/shared 1.0.81 → 1.0.82

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.
@@ -39,7 +39,12 @@ export declare const ESTADO_RULE_OPERATORS: readonly [">", "<", "=", "!=", ">=",
39
39
  export type EstadoRuleOperator = (typeof ESTADO_RULE_OPERATORS)[number];
40
40
  export interface EstadoRule {
41
41
  id: string;
42
- idFlag: string | null;
42
+ idFlags: string | null;
43
43
  operator: EstadoRuleOperator;
44
+ valueType: RuleValueType;
44
45
  value: any;
45
46
  }
47
+ export declare enum RuleValueType {
48
+ CONST = "const",
49
+ FLAG = "flag"
50
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESTADO_RULE_OPERATORS = exports.EstadoFlagType = void 0;
3
+ exports.RuleValueType = exports.ESTADO_RULE_OPERATORS = exports.EstadoFlagType = void 0;
4
4
  var EstadoFlagType;
5
5
  (function (EstadoFlagType) {
6
6
  EstadoFlagType["FIELD"] = "field";
@@ -17,3 +17,8 @@ exports.ESTADO_RULE_OPERATORS = [
17
17
  "not in",
18
18
  "like",
19
19
  ];
20
+ var RuleValueType;
21
+ (function (RuleValueType) {
22
+ RuleValueType["CONST"] = "const";
23
+ RuleValueType["FLAG"] = "flag";
24
+ })(RuleValueType || (exports.RuleValueType = RuleValueType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",