@orchestr-sh/orchestr 1.9.15 → 1.10.0

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 (111) hide show
  1. package/dist/Database/Contracts/QueryBuilderInterface.d.ts +11 -1
  2. package/dist/Database/Contracts/QueryBuilderInterface.d.ts.map +1 -1
  3. package/dist/Database/Query/Builder.d.ts +16 -1
  4. package/dist/Database/Query/Builder.d.ts.map +1 -1
  5. package/dist/Database/Query/Builder.js +82 -1
  6. package/dist/Database/Query/Builder.js.map +1 -1
  7. package/dist/Foundation/Http/Rule.d.ts +102 -0
  8. package/dist/Foundation/Http/Rule.d.ts.map +1 -0
  9. package/dist/Foundation/Http/Rule.js +277 -0
  10. package/dist/Foundation/Http/Rule.js.map +1 -0
  11. package/dist/Foundation/Http/Rules/AnyOfRule.d.ts +8 -0
  12. package/dist/Foundation/Http/Rules/AnyOfRule.d.ts.map +1 -0
  13. package/dist/Foundation/Http/Rules/AnyOfRule.js +28 -0
  14. package/dist/Foundation/Http/Rules/AnyOfRule.js.map +1 -0
  15. package/dist/Foundation/Http/Rules/ArrayRule.d.ts +5 -0
  16. package/dist/Foundation/Http/Rules/ArrayRule.d.ts.map +1 -0
  17. package/dist/Foundation/Http/Rules/ArrayRule.js +11 -0
  18. package/dist/Foundation/Http/Rules/ArrayRule.js.map +1 -0
  19. package/dist/Foundation/Http/Rules/Base.d.ts +13 -0
  20. package/dist/Foundation/Http/Rules/Base.d.ts.map +1 -0
  21. package/dist/Foundation/Http/Rules/Base.js +23 -0
  22. package/dist/Foundation/Http/Rules/Base.js.map +1 -0
  23. package/dist/Foundation/Http/Rules/CanRule.d.ts +5 -0
  24. package/dist/Foundation/Http/Rules/CanRule.d.ts.map +1 -0
  25. package/dist/Foundation/Http/Rules/CanRule.js +11 -0
  26. package/dist/Foundation/Http/Rules/CanRule.js.map +1 -0
  27. package/dist/Foundation/Http/Rules/ContainsRule.d.ts +8 -0
  28. package/dist/Foundation/Http/Rules/ContainsRule.d.ts.map +1 -0
  29. package/dist/Foundation/Http/Rules/ContainsRule.js +21 -0
  30. package/dist/Foundation/Http/Rules/ContainsRule.js.map +1 -0
  31. package/dist/Foundation/Http/Rules/DatabaseRule.d.ts +5 -0
  32. package/dist/Foundation/Http/Rules/DatabaseRule.d.ts.map +1 -0
  33. package/dist/Foundation/Http/Rules/DatabaseRule.js +11 -0
  34. package/dist/Foundation/Http/Rules/DatabaseRule.js.map +1 -0
  35. package/dist/Foundation/Http/Rules/DateRule.d.ts +5 -0
  36. package/dist/Foundation/Http/Rules/DateRule.d.ts.map +1 -0
  37. package/dist/Foundation/Http/Rules/DateRule.js +11 -0
  38. package/dist/Foundation/Http/Rules/DateRule.js.map +1 -0
  39. package/dist/Foundation/Http/Rules/DimensionsRule.d.ts +17 -0
  40. package/dist/Foundation/Http/Rules/DimensionsRule.d.ts.map +1 -0
  41. package/dist/Foundation/Http/Rules/DimensionsRule.js +38 -0
  42. package/dist/Foundation/Http/Rules/DimensionsRule.js.map +1 -0
  43. package/dist/Foundation/Http/Rules/DoesntContainRule.d.ts +8 -0
  44. package/dist/Foundation/Http/Rules/DoesntContainRule.d.ts.map +1 -0
  45. package/dist/Foundation/Http/Rules/DoesntContainRule.js +21 -0
  46. package/dist/Foundation/Http/Rules/DoesntContainRule.js.map +1 -0
  47. package/dist/Foundation/Http/Rules/EmailRule.d.ts +5 -0
  48. package/dist/Foundation/Http/Rules/EmailRule.d.ts.map +1 -0
  49. package/dist/Foundation/Http/Rules/EmailRule.js +11 -0
  50. package/dist/Foundation/Http/Rules/EmailRule.js.map +1 -0
  51. package/dist/Foundation/Http/Rules/EnumRule.d.ts +8 -0
  52. package/dist/Foundation/Http/Rules/EnumRule.d.ts.map +1 -0
  53. package/dist/Foundation/Http/Rules/EnumRule.js +21 -0
  54. package/dist/Foundation/Http/Rules/EnumRule.js.map +1 -0
  55. package/dist/Foundation/Http/Rules/ExcludeIfRule.d.ts +5 -0
  56. package/dist/Foundation/Http/Rules/ExcludeIfRule.d.ts.map +1 -0
  57. package/dist/Foundation/Http/Rules/ExcludeIfRule.js +11 -0
  58. package/dist/Foundation/Http/Rules/ExcludeIfRule.js.map +1 -0
  59. package/dist/Foundation/Http/Rules/ExistsRule.d.ts +5 -0
  60. package/dist/Foundation/Http/Rules/ExistsRule.d.ts.map +1 -0
  61. package/dist/Foundation/Http/Rules/ExistsRule.js +11 -0
  62. package/dist/Foundation/Http/Rules/ExistsRule.js.map +1 -0
  63. package/dist/Foundation/Http/Rules/FileRule.d.ts +7 -0
  64. package/dist/Foundation/Http/Rules/FileRule.d.ts.map +1 -0
  65. package/dist/Foundation/Http/Rules/FileRule.js +23 -0
  66. package/dist/Foundation/Http/Rules/FileRule.js.map +1 -0
  67. package/dist/Foundation/Http/Rules/ImageFileRule.d.ts +7 -0
  68. package/dist/Foundation/Http/Rules/ImageFileRule.d.ts.map +1 -0
  69. package/dist/Foundation/Http/Rules/ImageFileRule.js +22 -0
  70. package/dist/Foundation/Http/Rules/ImageFileRule.js.map +1 -0
  71. package/dist/Foundation/Http/Rules/InRule.d.ts +5 -0
  72. package/dist/Foundation/Http/Rules/InRule.d.ts.map +1 -0
  73. package/dist/Foundation/Http/Rules/InRule.js +11 -0
  74. package/dist/Foundation/Http/Rules/InRule.js.map +1 -0
  75. package/dist/Foundation/Http/Rules/NotInRule.d.ts +5 -0
  76. package/dist/Foundation/Http/Rules/NotInRule.d.ts.map +1 -0
  77. package/dist/Foundation/Http/Rules/NotInRule.js +11 -0
  78. package/dist/Foundation/Http/Rules/NotInRule.js.map +1 -0
  79. package/dist/Foundation/Http/Rules/NumericRule.d.ts +5 -0
  80. package/dist/Foundation/Http/Rules/NumericRule.d.ts.map +1 -0
  81. package/dist/Foundation/Http/Rules/NumericRule.js +11 -0
  82. package/dist/Foundation/Http/Rules/NumericRule.js.map +1 -0
  83. package/dist/Foundation/Http/Rules/PasswordRule.d.ts +5 -0
  84. package/dist/Foundation/Http/Rules/PasswordRule.d.ts.map +1 -0
  85. package/dist/Foundation/Http/Rules/PasswordRule.js +11 -0
  86. package/dist/Foundation/Http/Rules/PasswordRule.js.map +1 -0
  87. package/dist/Foundation/Http/Rules/ProhibitedIfRule.d.ts +5 -0
  88. package/dist/Foundation/Http/Rules/ProhibitedIfRule.d.ts.map +1 -0
  89. package/dist/Foundation/Http/Rules/ProhibitedIfRule.js +11 -0
  90. package/dist/Foundation/Http/Rules/ProhibitedIfRule.js.map +1 -0
  91. package/dist/Foundation/Http/Rules/RequiredIfRule.d.ts +5 -0
  92. package/dist/Foundation/Http/Rules/RequiredIfRule.d.ts.map +1 -0
  93. package/dist/Foundation/Http/Rules/RequiredIfRule.js +11 -0
  94. package/dist/Foundation/Http/Rules/RequiredIfRule.js.map +1 -0
  95. package/dist/Foundation/Http/Rules/UniqueRule.d.ts +5 -0
  96. package/dist/Foundation/Http/Rules/UniqueRule.d.ts.map +1 -0
  97. package/dist/Foundation/Http/Rules/UniqueRule.js +11 -0
  98. package/dist/Foundation/Http/Rules/UniqueRule.js.map +1 -0
  99. package/dist/Foundation/Http/Rules/index.d.ts +22 -0
  100. package/dist/Foundation/Http/Rules/index.d.ts.map +1 -0
  101. package/dist/Foundation/Http/Rules/index.js +38 -0
  102. package/dist/Foundation/Http/Rules/index.js.map +1 -0
  103. package/dist/Foundation/Http/Validator.d.ts +1 -1
  104. package/dist/Foundation/Http/Validator.d.ts.map +1 -1
  105. package/dist/Foundation/Http/Validator.js +838 -9
  106. package/dist/Foundation/Http/Validator.js.map +1 -1
  107. package/dist/index.d.ts +1 -0
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +6 -4
  110. package/dist/index.js.map +1 -1
  111. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotInRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class NotInRule extends Base_1.BaseRule {
6
+ constructor(values) {
7
+ super(`not_in:${values.map(String).join(',')}`);
8
+ }
9
+ }
10
+ exports.NotInRule = NotInRule;
11
+ //# sourceMappingURL=NotInRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotInRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/NotInRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,SAAU,SAAQ,eAAQ;IACrC,YAAY,MAA8B;QACxC,KAAK,CAAC,UAAU,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;CACF;AAJD,8BAIC"}
@@ -0,0 +1,5 @@
1
+ import { BaseRule } from './Base';
2
+ export declare class NumericRule extends BaseRule {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=NumericRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumericRule.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/NumericRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,qBAAa,WAAY,SAAQ,QAAQ;;CAIxC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NumericRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class NumericRule extends Base_1.BaseRule {
6
+ constructor() {
7
+ super('numeric');
8
+ }
9
+ }
10
+ exports.NumericRule = NumericRule;
11
+ //# sourceMappingURL=NumericRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumericRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/NumericRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,WAAY,SAAQ,eAAQ;IACvC;QACE,KAAK,CAAC,SAAS,CAAC,CAAC;IACnB,CAAC;CACF;AAJD,kCAIC"}
@@ -0,0 +1,5 @@
1
+ import { BaseRule } from './Base';
2
+ export declare class PasswordRule extends BaseRule {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=PasswordRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordRule.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/PasswordRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,qBAAa,YAAa,SAAQ,QAAQ;;CAIzC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasswordRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class PasswordRule extends Base_1.BaseRule {
6
+ constructor() {
7
+ super('password');
8
+ }
9
+ }
10
+ exports.PasswordRule = PasswordRule;
11
+ //# sourceMappingURL=PasswordRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/PasswordRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,YAAa,SAAQ,eAAQ;IACxC;QACE,KAAK,CAAC,UAAU,CAAC,CAAC;IACpB,CAAC;CACF;AAJD,oCAIC"}
@@ -0,0 +1,5 @@
1
+ import { BaseRule } from './Base';
2
+ export declare class ProhibitedIfRule extends BaseRule {
3
+ constructor(field: string, value: string | number | boolean);
4
+ }
5
+ //# sourceMappingURL=ProhibitedIfRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProhibitedIfRule.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/ProhibitedIfRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,qBAAa,gBAAiB,SAAQ,QAAQ;gBAChC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;CAG5D"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProhibitedIfRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class ProhibitedIfRule extends Base_1.BaseRule {
6
+ constructor(field, value) {
7
+ super(`prohibited_if:${field}:${String(value)}`);
8
+ }
9
+ }
10
+ exports.ProhibitedIfRule = ProhibitedIfRule;
11
+ //# sourceMappingURL=ProhibitedIfRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProhibitedIfRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/ProhibitedIfRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,gBAAiB,SAAQ,eAAQ;IAC5C,YAAY,KAAa,EAAE,KAAgC;QACzD,KAAK,CAAC,iBAAiB,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;CACF;AAJD,4CAIC"}
@@ -0,0 +1,5 @@
1
+ import { BaseRule } from './Base';
2
+ export declare class RequiredIfRule extends BaseRule {
3
+ constructor(field: string, value: string | number | boolean);
4
+ }
5
+ //# sourceMappingURL=RequiredIfRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredIfRule.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/RequiredIfRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,qBAAa,cAAe,SAAQ,QAAQ;gBAC9B,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;CAG5D"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequiredIfRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class RequiredIfRule extends Base_1.BaseRule {
6
+ constructor(field, value) {
7
+ super(`required_if:${field}:${String(value)}`);
8
+ }
9
+ }
10
+ exports.RequiredIfRule = RequiredIfRule;
11
+ //# sourceMappingURL=RequiredIfRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredIfRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/RequiredIfRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,cAAe,SAAQ,eAAQ;IAC1C,YAAY,KAAa,EAAE,KAAgC;QACzD,KAAK,CAAC,eAAe,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;CACF;AAJD,wCAIC"}
@@ -0,0 +1,5 @@
1
+ import { BaseRule } from './Base';
2
+ export declare class UniqueRule extends BaseRule {
3
+ constructor(table: string, column?: string);
4
+ }
5
+ //# sourceMappingURL=UniqueRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniqueRule.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/UniqueRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,qBAAa,UAAW,SAAQ,QAAQ;gBAC1B,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAG3C"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UniqueRule = void 0;
4
+ const Base_1 = require("./Base");
5
+ class UniqueRule extends Base_1.BaseRule {
6
+ constructor(table, column) {
7
+ super(column ? `unique:${table},${column}` : `unique:${table}`);
8
+ }
9
+ }
10
+ exports.UniqueRule = UniqueRule;
11
+ //# sourceMappingURL=UniqueRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniqueRule.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/UniqueRule.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAElC,MAAa,UAAW,SAAQ,eAAQ;IACtC,YAAY,KAAa,EAAE,MAAe;QACxC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,KAAK,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AAJD,gCAIC"}
@@ -0,0 +1,22 @@
1
+ export * from './Base';
2
+ export * from './EmailRule';
3
+ export * from './NumericRule';
4
+ export * from './InRule';
5
+ export * from './NotInRule';
6
+ export * from './ArrayRule';
7
+ export * from './ProhibitedIfRule';
8
+ export * from './RequiredIfRule';
9
+ export * from './ExcludeIfRule';
10
+ export * from './DateRule';
11
+ export * from './AnyOfRule';
12
+ export * from './ContainsRule';
13
+ export * from './DoesntContainRule';
14
+ export * from './EnumRule';
15
+ export * from './ImageFileRule';
16
+ export * from './DimensionsRule';
17
+ export * from './ExistsRule';
18
+ export * from './UniqueRule';
19
+ export * from './DatabaseRule';
20
+ export * from './CanRule';
21
+ export * from './PasswordRule';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Base"), exports);
18
+ __exportStar(require("./EmailRule"), exports);
19
+ __exportStar(require("./NumericRule"), exports);
20
+ __exportStar(require("./InRule"), exports);
21
+ __exportStar(require("./NotInRule"), exports);
22
+ __exportStar(require("./ArrayRule"), exports);
23
+ __exportStar(require("./ProhibitedIfRule"), exports);
24
+ __exportStar(require("./RequiredIfRule"), exports);
25
+ __exportStar(require("./ExcludeIfRule"), exports);
26
+ __exportStar(require("./DateRule"), exports);
27
+ __exportStar(require("./AnyOfRule"), exports);
28
+ __exportStar(require("./ContainsRule"), exports);
29
+ __exportStar(require("./DoesntContainRule"), exports);
30
+ __exportStar(require("./EnumRule"), exports);
31
+ __exportStar(require("./ImageFileRule"), exports);
32
+ __exportStar(require("./DimensionsRule"), exports);
33
+ __exportStar(require("./ExistsRule"), exports);
34
+ __exportStar(require("./UniqueRule"), exports);
35
+ __exportStar(require("./DatabaseRule"), exports);
36
+ __exportStar(require("./CanRule"), exports);
37
+ __exportStar(require("./PasswordRule"), exports);
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Foundation/Http/Rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,gDAA8B;AAC9B,2CAAyB;AACzB,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,mDAAiC;AACjC,kDAAgC;AAChC,6CAA2B;AAC3B,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC;AACpC,6CAA2B;AAC3B,kDAAgC;AAChC,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,4CAA0B;AAC1B,iDAA+B"}
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Provides validation rules and error handling
6
6
  */
7
- export type ValidationRule = string | string[] | ValidationRuleObject;
7
+ export type ValidationRule = string | Array<string | ValidationRuleObject> | ValidationRuleObject;
8
8
  export type ValidationRules = Record<string, ValidationRule>;
9
9
  export interface ValidationRuleObject {
10
10
  rule: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Validator.d.ts","sourceRoot":"","sources":["../../../src/Foundation/Http/Validator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,oBAAoB,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,SAAS;IACpB,OAAO,CAAC,IAAI,CAAsB;IAClC,OAAO,CAAC,KAAK,CAAkB;IAC/B,OAAO,CAAC,cAAc,CAAyB;IAC/C,OAAO,CAAC,gBAAgB,CAAyB;IACjD,OAAO,CAAC,aAAa,CAAgC;IACrD,OAAO,CAAC,eAAe,CAA2B;gBAGhD,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,KAAK,EAAE,eAAe,EACtB,cAAc,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EAC3C,gBAA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