@degenerate/rules 0.0.3 → 0.0.4

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.
Files changed (126) hide show
  1. package/dist/generic/src/errors/base-error.d.ts +23 -0
  2. package/dist/generic/src/errors/base-error.d.ts.map +1 -0
  3. package/dist/generic/src/errors/base-error.js +34 -0
  4. package/dist/generic/src/errors/generic/generic-errors.d.ts +35 -0
  5. package/dist/generic/src/errors/generic/generic-errors.d.ts.map +1 -0
  6. package/dist/generic/src/errors/generic/generic-errors.js +47 -0
  7. package/dist/generic/src/errors/index.d.ts +7 -0
  8. package/dist/generic/src/errors/index.d.ts.map +1 -0
  9. package/dist/generic/src/errors/index.js +22 -0
  10. package/dist/generic/src/errors/request/request-errors.d.ts +89 -0
  11. package/dist/generic/src/errors/request/request-errors.d.ts.map +1 -0
  12. package/dist/generic/src/errors/request/request-errors.js +120 -0
  13. package/dist/generic/src/errors/safe/safe-rules-errors.d.ts +30 -0
  14. package/dist/generic/src/errors/safe/safe-rules-errors.d.ts.map +1 -0
  15. package/dist/generic/src/errors/safe/safe-rules-errors.js +40 -0
  16. package/dist/generic/src/errors/scheduler/scheduler-errors.d.ts +8 -0
  17. package/dist/generic/src/errors/scheduler/scheduler-errors.d.ts.map +1 -0
  18. package/dist/generic/src/errors/scheduler/scheduler-errors.js +14 -0
  19. package/dist/generic/src/errors/share-data/share-data-errors.d.ts +49 -0
  20. package/dist/generic/src/errors/share-data/share-data-errors.d.ts.map +1 -0
  21. package/dist/generic/src/errors/share-data/share-data-errors.js +66 -0
  22. package/dist/generic/src/models/data/data-models.d.ts +24 -0
  23. package/dist/generic/src/models/data/data-models.d.ts.map +1 -0
  24. package/dist/generic/src/models/data/data-models.js +3 -0
  25. package/dist/generic/src/models/dynamic-execution/dynamic-execution-models.d.ts +9 -0
  26. package/dist/generic/src/models/dynamic-execution/dynamic-execution-models.d.ts.map +1 -0
  27. package/dist/generic/src/models/dynamic-execution/dynamic-execution-models.js +2 -0
  28. package/dist/generic/src/models/events/share-event-models.d.ts +65 -0
  29. package/dist/generic/src/models/events/share-event-models.d.ts.map +1 -0
  30. package/dist/generic/src/models/events/share-event-models.js +70 -0
  31. package/dist/generic/src/models/functions/share-data-function-models.d.ts +86 -0
  32. package/dist/generic/src/models/functions/share-data-function-models.d.ts.map +1 -0
  33. package/dist/generic/src/models/functions/share-data-function-models.js +17 -0
  34. package/dist/generic/src/models/generic/request-response-models.d.ts +8 -0
  35. package/dist/generic/src/models/generic/request-response-models.d.ts.map +1 -0
  36. package/dist/generic/src/models/generic/request-response-models.js +2 -0
  37. package/dist/generic/src/models/index.d.ts +8 -0
  38. package/dist/generic/src/models/index.d.ts.map +1 -0
  39. package/dist/generic/src/models/index.js +24 -0
  40. package/dist/generic/src/models/rules/share-rule-models.d.ts +277 -0
  41. package/dist/generic/src/models/rules/share-rule-models.d.ts.map +1 -0
  42. package/dist/generic/src/models/rules/share-rule-models.js +107 -0
  43. package/dist/generic/src/models/share-data/share-data.d.ts +55 -0
  44. package/dist/generic/src/models/share-data/share-data.d.ts.map +1 -0
  45. package/dist/generic/src/models/share-data/share-data.js +19 -0
  46. package/dist/rules/src/evaluation/check-function-integrity.d.ts.map +1 -0
  47. package/dist/rules/src/evaluation/check-if-proposal-is-valid.d.ts.map +1 -0
  48. package/dist/rules/src/evaluation/conditions/boolean-conditions.d.ts.map +1 -0
  49. package/dist/rules/src/evaluation/conditions/contains-conditions.d.ts.map +1 -0
  50. package/dist/rules/src/evaluation/conditions/empty-conditions.d.ts.map +1 -0
  51. package/dist/rules/src/evaluation/conditions/equality-conditions.d.ts.map +1 -0
  52. package/dist/rules/src/evaluation/conditions/null-conditions.d.ts.map +1 -0
  53. package/dist/rules/src/evaluation/conditions/range-conditions.d.ts.map +1 -0
  54. package/dist/rules/src/evaluation/conditions/special-conditions.d.ts.map +1 -0
  55. package/dist/{evaluation → rules/src/evaluation}/conditions/starts-end-with-conditions.d.ts +1 -1
  56. package/dist/rules/src/evaluation/conditions/starts-end-with-conditions.d.ts.map +1 -0
  57. package/dist/{evaluation → rules/src/evaluation}/conditions/starts-end-with-conditions.js +19 -0
  58. package/dist/rules/src/evaluation/conditions/typeof-rule-conditions.d.ts.map +1 -0
  59. package/dist/rules/src/evaluation/determine-if-data-has-changed.d.ts.map +1 -0
  60. package/dist/rules/src/evaluation/evaluate-rule-conditions.d.ts.map +1 -0
  61. package/dist/rules/src/evaluation/evaluate-rule.d.ts.map +1 -0
  62. package/dist/rules/src/evaluation/evaluate-rules.d.ts.map +1 -0
  63. package/dist/rules/src/evaluation/get-data-changed-information.d.ts.map +1 -0
  64. package/dist/rules/src/evaluation/get-root-property-results.d.ts.map +1 -0
  65. package/dist/{evaluation → rules/src/evaluation}/index.d.ts +9 -0
  66. package/dist/rules/src/evaluation/index.d.ts.map +1 -0
  67. package/dist/{evaluation → rules/src/evaluation}/index.js +9 -0
  68. package/dist/rules/src/evaluation/start-rule-evaluation.d.ts.map +1 -0
  69. package/dist/rules/src/index.d.ts.map +1 -0
  70. package/package.json +1 -1
  71. package/dist/evaluation/check-function-integrity.d.ts.map +0 -1
  72. package/dist/evaluation/check-if-proposal-is-valid.d.ts.map +0 -1
  73. package/dist/evaluation/conditions/boolean-conditions.d.ts.map +0 -1
  74. package/dist/evaluation/conditions/contains-conditions.d.ts.map +0 -1
  75. package/dist/evaluation/conditions/empty-conditions.d.ts.map +0 -1
  76. package/dist/evaluation/conditions/equality-conditions.d.ts.map +0 -1
  77. package/dist/evaluation/conditions/null-conditions.d.ts.map +0 -1
  78. package/dist/evaluation/conditions/range-conditions.d.ts.map +0 -1
  79. package/dist/evaluation/conditions/special-conditions.d.ts.map +0 -1
  80. package/dist/evaluation/conditions/starts-end-with-conditions.d.ts.map +0 -1
  81. package/dist/evaluation/conditions/typeof-rule-conditions.d.ts.map +0 -1
  82. package/dist/evaluation/determine-if-data-has-changed.d.ts.map +0 -1
  83. package/dist/evaluation/evaluate-rule-conditions.d.ts.map +0 -1
  84. package/dist/evaluation/evaluate-rule.d.ts.map +0 -1
  85. package/dist/evaluation/evaluate-rules.d.ts.map +0 -1
  86. package/dist/evaluation/get-data-changed-information.d.ts.map +0 -1
  87. package/dist/evaluation/get-root-property-results.d.ts.map +0 -1
  88. package/dist/evaluation/index.d.ts.map +0 -1
  89. package/dist/evaluation/start-rule-evaluation.d.ts.map +0 -1
  90. package/dist/index.d.ts.map +0 -1
  91. /package/dist/{evaluation → rules/src/evaluation}/check-function-integrity.d.ts +0 -0
  92. /package/dist/{evaluation → rules/src/evaluation}/check-function-integrity.js +0 -0
  93. /package/dist/{evaluation → rules/src/evaluation}/check-if-proposal-is-valid.d.ts +0 -0
  94. /package/dist/{evaluation → rules/src/evaluation}/check-if-proposal-is-valid.js +0 -0
  95. /package/dist/{evaluation → rules/src/evaluation}/conditions/boolean-conditions.d.ts +0 -0
  96. /package/dist/{evaluation → rules/src/evaluation}/conditions/boolean-conditions.js +0 -0
  97. /package/dist/{evaluation → rules/src/evaluation}/conditions/contains-conditions.d.ts +0 -0
  98. /package/dist/{evaluation → rules/src/evaluation}/conditions/contains-conditions.js +0 -0
  99. /package/dist/{evaluation → rules/src/evaluation}/conditions/empty-conditions.d.ts +0 -0
  100. /package/dist/{evaluation → rules/src/evaluation}/conditions/empty-conditions.js +0 -0
  101. /package/dist/{evaluation → rules/src/evaluation}/conditions/equality-conditions.d.ts +0 -0
  102. /package/dist/{evaluation → rules/src/evaluation}/conditions/equality-conditions.js +0 -0
  103. /package/dist/{evaluation → rules/src/evaluation}/conditions/null-conditions.d.ts +0 -0
  104. /package/dist/{evaluation → rules/src/evaluation}/conditions/null-conditions.js +0 -0
  105. /package/dist/{evaluation → rules/src/evaluation}/conditions/range-conditions.d.ts +0 -0
  106. /package/dist/{evaluation → rules/src/evaluation}/conditions/range-conditions.js +0 -0
  107. /package/dist/{evaluation → rules/src/evaluation}/conditions/special-conditions.d.ts +0 -0
  108. /package/dist/{evaluation → rules/src/evaluation}/conditions/special-conditions.js +0 -0
  109. /package/dist/{evaluation → rules/src/evaluation}/conditions/typeof-rule-conditions.d.ts +0 -0
  110. /package/dist/{evaluation → rules/src/evaluation}/conditions/typeof-rule-conditions.js +0 -0
  111. /package/dist/{evaluation → rules/src/evaluation}/determine-if-data-has-changed.d.ts +0 -0
  112. /package/dist/{evaluation → rules/src/evaluation}/determine-if-data-has-changed.js +0 -0
  113. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rule-conditions.d.ts +0 -0
  114. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rule-conditions.js +0 -0
  115. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rule.d.ts +0 -0
  116. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rule.js +0 -0
  117. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rules.d.ts +0 -0
  118. /package/dist/{evaluation → rules/src/evaluation}/evaluate-rules.js +0 -0
  119. /package/dist/{evaluation → rules/src/evaluation}/get-data-changed-information.d.ts +0 -0
  120. /package/dist/{evaluation → rules/src/evaluation}/get-data-changed-information.js +0 -0
  121. /package/dist/{evaluation → rules/src/evaluation}/get-root-property-results.d.ts +0 -0
  122. /package/dist/{evaluation → rules/src/evaluation}/get-root-property-results.js +0 -0
  123. /package/dist/{evaluation → rules/src/evaluation}/start-rule-evaluation.d.ts +0 -0
  124. /package/dist/{evaluation → rules/src/evaluation}/start-rule-evaluation.js +0 -0
  125. /package/dist/{index.d.ts → rules/src/index.d.ts} +0 -0
  126. /package/dist/{index.js → rules/src/index.js} +0 -0
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ /**
3
+ * This file contains the models for the rules used in the share data.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ConditionTypeOf = exports.ConditionTypeSpecial = exports.ConditionTypeEmpty = exports.ConditionTypeBoolean = exports.ConditionTypeNull = exports.ConditionTypeStartsEndsWith = exports.ConditionTypeContains = exports.ConditionTypeRange = exports.ConditionTypeEquality = exports.ConditionTypeTypeOf = exports.LogicalOperator = void 0;
7
+ //#endregion RuleSet
8
+ //#region RuleGroup
9
+ /**
10
+ * This contains the logical operators for combining rules.
11
+ */
12
+ var LogicalOperator;
13
+ (function (LogicalOperator) {
14
+ LogicalOperator["AND"] = "AND";
15
+ LogicalOperator["OR"] = "OR";
16
+ })(LogicalOperator || (exports.LogicalOperator = LogicalOperator = {}));
17
+ /**
18
+ * This contains the choices for the typeof conditions.
19
+ */
20
+ var ConditionTypeTypeOf;
21
+ (function (ConditionTypeTypeOf) {
22
+ ConditionTypeTypeOf["IS_TYPEOF"] = "is typeof";
23
+ ConditionTypeTypeOf["IS_NOT_TYPEOF"] = "is not typeof";
24
+ })(ConditionTypeTypeOf || (exports.ConditionTypeTypeOf = ConditionTypeTypeOf = {}));
25
+ /**
26
+ * This contains the choices for the equality conditions.
27
+ */
28
+ var ConditionTypeEquality;
29
+ (function (ConditionTypeEquality) {
30
+ ConditionTypeEquality["EQUAL"] = "equal";
31
+ ConditionTypeEquality["NOT_EQUAL"] = "not equal";
32
+ })(ConditionTypeEquality || (exports.ConditionTypeEquality = ConditionTypeEquality = {}));
33
+ /**
34
+ * This contains the choices for the range conditions.
35
+ */
36
+ var ConditionTypeRange;
37
+ (function (ConditionTypeRange) {
38
+ ConditionTypeRange["GREATER_THAN"] = "greater than";
39
+ ConditionTypeRange["LESS_THAN"] = "less than";
40
+ ConditionTypeRange["GREATER_THAN_OR_EQUAL"] = "greater than or equal";
41
+ ConditionTypeRange["LESS_THAN_OR_EQUAL"] = "less than or equal";
42
+ })(ConditionTypeRange || (exports.ConditionTypeRange = ConditionTypeRange = {}));
43
+ /**
44
+ * This contains the choices for the contains conditions.
45
+ */
46
+ var ConditionTypeContains;
47
+ (function (ConditionTypeContains) {
48
+ ConditionTypeContains["CONTAINS"] = "contains";
49
+ ConditionTypeContains["NOT_CONTAINS"] = "not contains";
50
+ })(ConditionTypeContains || (exports.ConditionTypeContains = ConditionTypeContains = {}));
51
+ /**
52
+ * This contains the choices for the starts with and ends with conditions.
53
+ */
54
+ var ConditionTypeStartsEndsWith;
55
+ (function (ConditionTypeStartsEndsWith) {
56
+ ConditionTypeStartsEndsWith["STARTS_WITH"] = "starts with";
57
+ ConditionTypeStartsEndsWith["ENDS_WITH"] = "ends with";
58
+ })(ConditionTypeStartsEndsWith || (exports.ConditionTypeStartsEndsWith = ConditionTypeStartsEndsWith = {}));
59
+ /**
60
+ * This contains the choices for the null conditions.
61
+ */
62
+ var ConditionTypeNull;
63
+ (function (ConditionTypeNull) {
64
+ ConditionTypeNull["IS_NULL"] = "is null";
65
+ ConditionTypeNull["IS_NOT_NULL"] = "is not null";
66
+ })(ConditionTypeNull || (exports.ConditionTypeNull = ConditionTypeNull = {}));
67
+ /**
68
+ * This contains the choices for the boolean conditions.
69
+ */
70
+ var ConditionTypeBoolean;
71
+ (function (ConditionTypeBoolean) {
72
+ ConditionTypeBoolean["IS_TRUE"] = "is true";
73
+ ConditionTypeBoolean["IS_FALSE"] = "is false";
74
+ })(ConditionTypeBoolean || (exports.ConditionTypeBoolean = ConditionTypeBoolean = {}));
75
+ /**
76
+ * This contains the choices for the empty conditions.
77
+ */
78
+ var ConditionTypeEmpty;
79
+ (function (ConditionTypeEmpty) {
80
+ ConditionTypeEmpty["IS_EMPTY"] = "is empty";
81
+ ConditionTypeEmpty["IS_NOT_EMPTY"] = "is not empty";
82
+ })(ConditionTypeEmpty || (exports.ConditionTypeEmpty = ConditionTypeEmpty = {}));
83
+ /**
84
+ * This contains the choices for the special conditions.
85
+ */
86
+ var ConditionTypeSpecial;
87
+ (function (ConditionTypeSpecial) {
88
+ ConditionTypeSpecial["PATTERN"] = "pattern";
89
+ })(ConditionTypeSpecial || (exports.ConditionTypeSpecial = ConditionTypeSpecial = {}));
90
+ /**
91
+ * These are the different choices for the types of data in a condition.
92
+ */
93
+ var ConditionTypeOf;
94
+ (function (ConditionTypeOf) {
95
+ ConditionTypeOf["STRING"] = "string";
96
+ ConditionTypeOf["NUMBER"] = "number";
97
+ ConditionTypeOf["INTEGER"] = "integer";
98
+ ConditionTypeOf["BOOLEAN"] = "boolean";
99
+ ConditionTypeOf["OBJECT"] = "object";
100
+ ConditionTypeOf["ARRAY"] = "array";
101
+ ConditionTypeOf["NULL"] = "null";
102
+ ConditionTypeOf["UNDEFINED"] = "undefined";
103
+ ConditionTypeOf["FUNCTION"] = "function";
104
+ // SYMBOL = 'symbol',
105
+ ConditionTypeOf["BIGINT"] = "bigint";
106
+ })(ConditionTypeOf || (exports.ConditionTypeOf = ConditionTypeOf = {}));
107
+ //#endregion Conditions
@@ -0,0 +1,55 @@
1
+ /**
2
+ * This contains the data for the share data object
3
+ */
4
+ export declare enum ShareDataTypes {
5
+ RULE = "RULE",
6
+ FUNCTION = "FUNCTION",
7
+ TRANSACTION_HISTORY = "TRANSACTION_HISTORY",
8
+ DATA = "DATA"
9
+ }
10
+ export interface IShareData {
11
+ [key: string]: any;
12
+ }
13
+ /**
14
+ * This contains the interface for a share function record in the share data object
15
+ */
16
+ export interface IShareFunctionRecord {
17
+ id: string;
18
+ groupingId: string;
19
+ groupingName: string;
20
+ name: string;
21
+ description: string;
22
+ hash: string;
23
+ stringifiedFunction: string;
24
+ }
25
+ /**
26
+ * This contains the interface for a share function in the share data object
27
+ */
28
+ export interface IShareFunction<TInput, TFunction extends (...args: any[]) => any, TOutput> {
29
+ input: TInput;
30
+ func: TFunction;
31
+ output: TOutput;
32
+ }
33
+ /**
34
+ * This contains the interface for the share transaction history in the share data object
35
+ */
36
+ export interface IShareTransactionBase {
37
+ ruleOutcome: boolean;
38
+ ruleFailures: IRuleFailures[];
39
+ transactionFunction: IShareFunction<any, (...args: any[]) => any, any>;
40
+ }
41
+ /**
42
+ * This contains the interface for the share transaction history in the share data object
43
+ * This is done for storage
44
+ */
45
+ export interface IShareTransactionHistory extends IShareTransactionBase {
46
+ transactionId: string;
47
+ transactionTime: number;
48
+ }
49
+ /**
50
+ * This contains the interface for the rule success in the share data object
51
+ */
52
+ export interface IRuleFailures {
53
+ ruleId: string;
54
+ }
55
+ //# sourceMappingURL=share-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"share-data.d.ts","sourceRoot":"","sources":["../../../../../../generic/src/models/share-data/share-data.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,oBAAY,cAAc;IACtB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;CAChB;AAGD,MAAM,WAAW,UAAU;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,MAAM,EAAE,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,OAAO;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,mBAAmB,EAAE,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,CAAC;CAC1E;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACnE,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShareDataTypes = void 0;
4
+ /**
5
+ * This contains the data for the share data object
6
+ */
7
+ var ShareDataTypes;
8
+ (function (ShareDataTypes) {
9
+ ShareDataTypes["RULE"] = "RULE";
10
+ ShareDataTypes["FUNCTION"] = "FUNCTION";
11
+ ShareDataTypes["TRANSACTION_HISTORY"] = "TRANSACTION_HISTORY";
12
+ ShareDataTypes["DATA"] = "DATA";
13
+ })(ShareDataTypes || (exports.ShareDataTypes = ShareDataTypes = {}));
14
+ // export interface IShareData {
15
+ // rules: IShareRule[]; // the rules for the share data
16
+ // functions: IShareFunction[]; // the functions for the share data
17
+ // transactionHistory: IShareTransactionHistory[]; // The transaction history for the share data
18
+ // data
19
+ // }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-function-integrity.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/check-function-integrity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,QAAA,MAAM,sBAAsB,sBAAuB,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,sBAC5E,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,EAAE,KAAG,OAK7E,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-if-proposal-is-valid.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/check-if-proposal-is-valid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;;;GAMG;AACH,QAAA,MAAM,sBAAsB,wBACH,MAAM,gBACb,2BAA2B,EAAE,KAC5C,OAGF,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boolean-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/boolean-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAmB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,cAAe,OAAO,iBAAiB,oBAAoB,KAAG,OAWtF,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contains-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/contains-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;;GAQG;AACH,QAAA,MAAM,oBAAoB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,iBACnF,qBAAqB,KAAG,OAQ1C,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/empty-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAiB,MAAM,qBAAqB,CAAC;AAExE;;;;;;;GAOG;AACH,QAAA,MAAM,iBAAiB,cAAe,OAAO,iBAAiB,kBAAkB,KAAG,OAiBlF,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"equality-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/equality-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,cAAe,OAAO,kBAAkB,OAAO,iBAAiB,qBAAqB,KAAG,OAOjH,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"null-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/null-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,cAAe,GAAG,iBAAiB,iBAAiB,KAAG,OAO5E,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/range-conditions.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;;;GAOG;AACH,QAAA,MAAM,iBAAiB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,MAAM,iBAAiB,kBAAkB,KAAG,OAW3H,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"special-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/special-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAkD,MAAM,qBAAqB,CAAC;AAE3G;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,cAAe,OAAO,kBAAkB,OAAO,iBAAiB,oBAAoB,KAAG,OAK/G,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -11,6 +11,6 @@ import { ConditionTypeStartsEndsWith } from '@degenerate/generic';
11
11
  *
12
12
  * @returns
13
13
  */
14
- declare const isValidStartEndWithValue: (dataValue: string | number, conditionValue: string | (number | string)[], conditionType: ConditionTypeStartsEndsWith) => boolean;
14
+ declare const isValidStartEndWithValue: (dataValue: string | number, conditionValue: string | number, conditionType: ConditionTypeStartsEndsWith) => boolean;
15
15
  export { isValidStartEndWithValue };
16
16
  //# sourceMappingURL=starts-end-with-conditions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"starts-end-with-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/starts-end-with-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAiB,MAAM,qBAAqB,CAAC;AAGjF;;;;;;;;GAQG;AACH,QAAA,MAAM,wBAAwB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,MAAM,iBAC1E,2BAA2B,KAAG,OAWhD,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -15,6 +15,10 @@ const generic_1 = require("@degenerate/generic");
15
15
  * @returns
16
16
  */
17
17
  const isValidStartEndWithValue = (dataValue, conditionValue, conditionType) => {
18
+ // Make sure the data type is correct
19
+ // if (!dataValue) SafeRuleEvaluationConditionDataValueError()
20
+ // Array.isArray(incomingObject)
21
+ // const isArray = validateArray
18
22
  switch (conditionType) {
19
23
  case generic_1.ConditionTypeStartsEndsWith.STARTS_WITH:
20
24
  return dataValue.toString().startsWith(conditionValue.toString());
@@ -23,3 +27,18 @@ const isValidStartEndWithValue = (dataValue, conditionValue, conditionType) => {
23
27
  }
24
28
  };
25
29
  exports.isValidStartEndWithValue = isValidStartEndWithValue;
30
+ /**
31
+ * This takes a value and checks if the value starts or ends with value for a string or number
32
+ * @param dataValue the value to check
33
+ * @param conditionValue the value to check against
34
+ * @param conditionType the type of equality condition to check for
35
+ * @returns
36
+ */
37
+ const isValidStartEndWithStringNumberValue = (dataValue, conditionValue, conditionType) => {
38
+ switch (conditionType) {
39
+ case generic_1.ConditionTypeStartsEndsWith.STARTS_WITH:
40
+ return dataValue.toString().startsWith(conditionValue.toString());
41
+ case generic_1.ConditionTypeStartsEndsWith.ENDS_WITH:
42
+ return dataValue.toString().endsWith(conditionValue.toString());
43
+ }
44
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typeof-rule-conditions.d.ts","sourceRoot":"","sources":["../../../../../src/evaluation/conditions/typeof-rule-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE3E;;;;;;;;GAQG;AACH,QAAA,MAAM,kBAAkB,cAAe,OAAO,eAAe,eAAe,iBAAiB,mBAAmB,KAAG,OAGlH,CAAC;AAsCF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"determine-if-data-has-changed.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/determine-if-data-has-changed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;;;;GAMG;AACH,QAAA,MAAM,yBAAyB,YAAa,UAAU,WAAW,UAAU,KAAG,OAE7E,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-rule-conditions.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/evaluate-rule-conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAUH,UAAU,EACV,aAAa,EAChB,MAAM,qBAAqB,CAAC;AAW7B;;;;;GAKG;AACH,QAAA,MAAM,sBAAsB,iBAAkB,aAAa,aAAa,UAAU,KAAG,OAkCpF,CAAC;AAGF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-rule.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/evaluate-rule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAG/F;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,SACR,iBAAiB,oBACL,UAAU,qBACT,UAAU,wBAE9B,yBAmCF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-rules.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/evaluate-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,2BAA2B,EAA6B,MAAM,qBAAqB,CAAC;AAG5H;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,cACJ,MAAM,gBACH,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,2BA2BF,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-data-changed-information.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/get-data-changed-information.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD;;;;;;GAMG;AACH,QAAA,MAAM,0BAA0B,qBAAsB,UAAU,qBACzC,UAAU,KAAG,MAAM,EAsBzC,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-root-property-results.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/get-root-property-results.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAGjG;;;;;;;;;GASG;AACH,QAAA,MAAM,sBAAsB,4BACC,MAAM,EAAE,gBACnB,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,2BAA2B,EAa7B,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -7,4 +7,13 @@ export * from './conditions/range-conditions';
7
7
  export * from './conditions/special-conditions';
8
8
  export * from './conditions/starts-end-with-conditions';
9
9
  export * from './conditions/typeof-rule-conditions';
10
+ export * from './check-function-integrity';
11
+ export * from './check-if-proposal-is-valid';
12
+ export * from './determine-if-data-has-changed';
13
+ export * from './evaluate-rule';
14
+ export * from './evaluate-rule-conditions';
15
+ export * from './evaluate-rules';
16
+ export * from './get-data-changed-information';
17
+ export * from './get-root-property-results';
18
+ export * from './start-rule-evaluation';
10
19
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/index.ts"],"names":[],"mappings":"AAEA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AAIpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC"}
@@ -25,3 +25,12 @@ __exportStar(require("./conditions/special-conditions"), exports);
25
25
  __exportStar(require("./conditions/starts-end-with-conditions"), exports);
26
26
  __exportStar(require("./conditions/typeof-rule-conditions"), exports);
27
27
  //#endregion Conditional Functions
28
+ __exportStar(require("./check-function-integrity"), exports);
29
+ __exportStar(require("./check-if-proposal-is-valid"), exports);
30
+ __exportStar(require("./determine-if-data-has-changed"), exports);
31
+ __exportStar(require("./evaluate-rule"), exports);
32
+ __exportStar(require("./evaluate-rule-conditions"), exports);
33
+ __exportStar(require("./evaluate-rules"), exports);
34
+ __exportStar(require("./get-data-changed-information"), exports);
35
+ __exportStar(require("./get-root-property-results"), exports);
36
+ __exportStar(require("./start-rule-evaluation"), exports);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start-rule-evaluation.d.ts","sourceRoot":"","sources":["../../../../src/evaluation/start-rule-evaluation.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,sBAAsB,EAGzB,MAAM,qBAAqB,CAAC;AAO7B;;;;;;;;GAQG;AACH,QAAA,MAAM,mBAAmB,gBACR,MAAM,qBACA,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,sBAChD,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,EAAE,gBACzD,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,sBA4BF,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@degenerate/rules",
3
3
  "description": "This contains the rules information needed for the ShareData Adaptive Framework Ecosystem (SAFE) network.",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "devDependencies": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-function-integrity.d.ts","sourceRoot":"","sources":["../../src/evaluation/check-function-integrity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,QAAA,MAAM,sBAAsB,sBAAuB,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,sBAC5E,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,EAAE,KAAG,OAK7E,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-if-proposal-is-valid.d.ts","sourceRoot":"","sources":["../../src/evaluation/check-if-proposal-is-valid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;;;GAMG;AACH,QAAA,MAAM,sBAAsB,wBACH,MAAM,gBACb,2BAA2B,EAAE,KAC5C,OAGF,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"boolean-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/boolean-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAmB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,cAAe,OAAO,iBAAiB,oBAAoB,KAAG,OAWtF,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contains-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/contains-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;;GAQG;AACH,QAAA,MAAM,oBAAoB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,iBACnF,qBAAqB,KAAG,OAQ1C,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"empty-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/empty-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAiB,MAAM,qBAAqB,CAAC;AAExE;;;;;;;GAOG;AACH,QAAA,MAAM,iBAAiB,cAAe,OAAO,iBAAiB,kBAAkB,KAAG,OAiBlF,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"equality-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/equality-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,cAAe,OAAO,kBAAkB,OAAO,iBAAiB,qBAAqB,KAAG,OAOjH,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"null-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/null-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,cAAe,GAAG,iBAAiB,iBAAiB,KAAG,OAO5E,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"range-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/range-conditions.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;;;GAOG;AACH,QAAA,MAAM,iBAAiB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,MAAM,iBAAiB,kBAAkB,KAAG,OAW3H,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"special-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/special-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAkD,MAAM,qBAAqB,CAAC;AAE3G;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,cAAe,OAAO,kBAAkB,OAAO,iBAAiB,oBAAoB,KAAG,OAK/G,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"starts-end-with-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/starts-end-with-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;;;;;GAQG;AACH,QAAA,MAAM,wBAAwB,cAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,iBACvF,2BAA2B,KAAG,OAOhD,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typeof-rule-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/typeof-rule-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE3E;;;;;;;;GAQG;AACH,QAAA,MAAM,kBAAkB,cAAe,OAAO,eAAe,eAAe,iBAAiB,mBAAmB,KAAG,OAGlH,CAAC;AAsCF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"determine-if-data-has-changed.d.ts","sourceRoot":"","sources":["../../src/evaluation/determine-if-data-has-changed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;;;;GAMG;AACH,QAAA,MAAM,yBAAyB,YAAa,UAAU,WAAW,UAAU,KAAG,OAE7E,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluate-rule-conditions.d.ts","sourceRoot":"","sources":["../../src/evaluation/evaluate-rule-conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAUH,UAAU,EACV,aAAa,EAChB,MAAM,qBAAqB,CAAC;AAW7B;;;;;GAKG;AACH,QAAA,MAAM,sBAAsB,iBAAkB,aAAa,aAAa,UAAU,KAAG,OAkCpF,CAAC;AAGF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluate-rule.d.ts","sourceRoot":"","sources":["../../src/evaluation/evaluate-rule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAG/F;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,SACR,iBAAiB,oBACL,UAAU,qBACT,UAAU,wBAE9B,yBAmCF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluate-rules.d.ts","sourceRoot":"","sources":["../../src/evaluation/evaluate-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,2BAA2B,EAA6B,MAAM,qBAAqB,CAAC;AAG5H;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,cACJ,MAAM,gBACH,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,2BA2BF,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-data-changed-information.d.ts","sourceRoot":"","sources":["../../src/evaluation/get-data-changed-information.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD;;;;;;GAMG;AACH,QAAA,MAAM,0BAA0B,qBAAsB,UAAU,qBACzC,UAAU,KAAG,MAAM,EAsBzC,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-root-property-results.d.ts","sourceRoot":"","sources":["../../src/evaluation/get-root-property-results.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAGjG;;;;;;;;;GASG;AACH,QAAA,MAAM,sBAAsB,4BACC,MAAM,EAAE,gBACnB,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,2BAA2B,EAa7B,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/evaluation/index.ts"],"names":[],"mappings":"AAEA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"start-rule-evaluation.d.ts","sourceRoot":"","sources":["../../src/evaluation/start-rule-evaluation.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,sBAAsB,EAGzB,MAAM,qBAAqB,CAAC;AAO7B;;;;;;;;GAQG;AACH,QAAA,MAAM,mBAAmB,gBACR,MAAM,qBACA,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,sBAChD,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,EAAE,gBACzD,iBAAiB,EAAE,oBACf,UAAU,qBACT,UAAU,wBAE9B,sBA4BF,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
File without changes
File without changes