rxtutils 1.1.2-beta.20 → 1.1.2-beta.21

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.
@@ -58,7 +58,7 @@ var BaseValidator = /** @class */ (function () {
58
58
  * @param order 验证字段的顺序,可以指定验证的字段名数组及其顺序
59
59
  * @returns 验证错误数组,如果没有错误则返回null
60
60
  */
61
- BaseValidator.prototype.validateAll = function (itemAll, everyItem, order) {
61
+ BaseValidator.prototype.validateAll = function (order, itemAll, everyItem) {
62
62
  if (itemAll === void 0) { itemAll = false; }
63
63
  if (everyItem === void 0) { everyItem = false; }
64
64
  var validatorMap = this[this.__keySymbol];
@@ -44,7 +44,7 @@ declare class BaseValidator {
44
44
  * @param order 验证字段的顺序,可以指定验证的字段名数组及其顺序
45
45
  * @returns 验证错误数组,如果没有错误则返回null
46
46
  */
47
- validateAll(itemAll?: boolean, everyItem?: boolean, order?: string[]): Record<string, string[]>;
47
+ validateAll(order?: string[], itemAll?: boolean, everyItem?: boolean): Record<string, string[]>;
48
48
  /**
49
49
  * 装饰器创建器
50
50
  * 用于创建属性验证装饰器的工厂函数
@@ -44,7 +44,7 @@ declare class BaseValidator {
44
44
  * @param order 验证字段的顺序,可以指定验证的字段名数组及其顺序
45
45
  * @returns 验证错误数组,如果没有错误则返回null
46
46
  */
47
- validateAll(itemAll?: boolean, everyItem?: boolean, order?: string[]): Record<string, string[]>;
47
+ validateAll(order?: string[], itemAll?: boolean, everyItem?: boolean): Record<string, string[]>;
48
48
  /**
49
49
  * 装饰器创建器
50
50
  * 用于创建属性验证装饰器的工厂函数
@@ -56,7 +56,7 @@ var BaseValidator = /** @class */ (function () {
56
56
  * @param order 验证字段的顺序,可以指定验证的字段名数组及其顺序
57
57
  * @returns 验证错误数组,如果没有错误则返回null
58
58
  */
59
- BaseValidator.prototype.validateAll = function (itemAll, everyItem, order) {
59
+ BaseValidator.prototype.validateAll = function (order, itemAll, everyItem) {
60
60
  if (itemAll === void 0) { itemAll = false; }
61
61
  if (everyItem === void 0) { everyItem = false; }
62
62
  var validatorMap = this[this.__keySymbol];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rxtutils",
3
- "version": "1.1.2-beta.20",
3
+ "version": "1.1.2-beta.21",
4
4
  "type": "module",
5
5
  "main": "cjs/index.cjs",
6
6
  "module": "es/index.mjs",