@itzworking/decorated-class 0.0.161 → 0.0.196

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 (147) hide show
  1. package/{dist → dist-cjs}/decorators/attribute/attribute.js +0 -16
  2. package/{dist → dist-cjs}/decorators/attribute/types/attribute-type.js +0 -1
  3. package/{dist → dist-cjs}/decorators/attribute/utils/update-attributes.js +0 -2
  4. package/{dist → dist-cjs}/decorators/validation/utils/register-constraint.js +0 -56
  5. package/dist-cjs/types.js +2 -0
  6. package/{dist → dist-cjs}/validator/list-validation-errors.js +0 -1
  7. package/dist-es/decorated-class.js +77 -0
  8. package/dist-es/decorators/attribute/attribute.js +29 -0
  9. package/dist-es/decorators/attribute/index.js +4 -0
  10. package/dist-es/decorators/attribute/is-attribute.js +4 -0
  11. package/dist-es/decorators/attribute/list-attributes.js +11 -0
  12. package/dist-es/decorators/attribute/symbol.js +1 -0
  13. package/dist-es/decorators/attribute/types/attribute-decorator.js +1 -0
  14. package/dist-es/decorators/attribute/types/attribute-definition.js +1 -0
  15. package/dist-es/decorators/attribute/types/attribute-type-alias.js +2 -0
  16. package/dist-es/decorators/attribute/types/attribute-type.js +10 -0
  17. package/dist-es/decorators/attribute/types/index.js +5 -0
  18. package/dist-es/decorators/attribute/types/primitive-type.js +8 -0
  19. package/dist-es/decorators/attribute/utils/index.js +1 -0
  20. package/dist-es/decorators/attribute/utils/update-attributes.js +27 -0
  21. package/dist-es/decorators/index.js +4 -0
  22. package/dist-es/decorators/validation/index.js +7 -0
  23. package/dist-es/decorators/validation/max.js +17 -0
  24. package/dist-es/decorators/validation/min.js +17 -0
  25. package/dist-es/decorators/validation/not-blank.js +11 -0
  26. package/dist-es/decorators/validation/not-null.js +2 -0
  27. package/dist-es/decorators/validation/pattern.js +12 -0
  28. package/dist-es/decorators/validation/types/index.js +2 -0
  29. package/dist-es/decorators/validation/types/validation-definition.js +1 -0
  30. package/dist-es/decorators/validation/types/validation-type.js +1 -0
  31. package/dist-es/decorators/validation/utils/index.js +1 -0
  32. package/dist-es/decorators/validation/utils/register-constraint.js +43 -0
  33. package/dist-es/errors/attributes-not-valid-error.js +9 -0
  34. package/dist-es/errors/index.js +3 -0
  35. package/dist-es/errors/invalid-target-error.js +6 -0
  36. package/dist-es/errors/unsupported-decorator-error.js +15 -0
  37. package/dist-es/index.js +5 -0
  38. package/dist-es/types.js +1 -0
  39. package/dist-es/validator/index.js +1 -0
  40. package/dist-es/validator/list-validation-errors.js +49 -0
  41. package/dist-es/validator/validate.js +8 -0
  42. package/dist-es/validator/validator.js +6 -0
  43. package/{dist → dist-types}/decorated-class.d.ts +0 -1
  44. package/{dist → dist-types}/decorators/attribute/attribute.d.ts +0 -1
  45. package/{dist → dist-types}/decorators/attribute/index.d.ts +0 -1
  46. package/{dist → dist-types}/decorators/attribute/is-attribute.d.ts +0 -1
  47. package/{dist → dist-types}/decorators/attribute/list-attributes.d.ts +0 -1
  48. package/{dist → dist-types}/decorators/attribute/symbol.d.ts +0 -1
  49. package/{dist → dist-types}/decorators/attribute/types/attribute-decorator.d.ts +0 -1
  50. package/{dist → dist-types}/decorators/attribute/types/attribute-definition.d.ts +0 -1
  51. package/{dist → dist-types}/decorators/attribute/types/attribute-type-alias.d.ts +0 -1
  52. package/{dist → dist-types}/decorators/attribute/types/attribute-type.d.ts +0 -1
  53. package/{dist → dist-types}/decorators/attribute/types/index.d.ts +0 -1
  54. package/{dist → dist-types}/decorators/attribute/types/primitive-type.d.ts +0 -1
  55. package/{dist → dist-types}/decorators/attribute/utils/index.d.ts +0 -1
  56. package/{dist → dist-types}/decorators/attribute/utils/update-attributes.d.ts +0 -1
  57. package/{dist → dist-types}/decorators/index.d.ts +0 -1
  58. package/{dist → dist-types}/decorators/validation/index.d.ts +0 -1
  59. package/{dist → dist-types}/decorators/validation/max.d.ts +0 -1
  60. package/{dist → dist-types}/decorators/validation/min.d.ts +0 -1
  61. package/{dist → dist-types}/decorators/validation/not-blank.d.ts +0 -1
  62. package/{dist → dist-types}/decorators/validation/not-null.d.ts +0 -1
  63. package/{dist → dist-types}/decorators/validation/pattern.d.ts +0 -1
  64. package/{dist → dist-types}/decorators/validation/types/index.d.ts +0 -1
  65. package/{dist → dist-types}/decorators/validation/types/validation-definition.d.ts +0 -1
  66. package/{dist → dist-types}/decorators/validation/types/validation-type.d.ts +0 -1
  67. package/{dist → dist-types}/decorators/validation/utils/index.d.ts +0 -1
  68. package/{dist → dist-types}/decorators/validation/utils/register-constraint.d.ts +0 -1
  69. package/{dist → dist-types}/errors/attributes-not-valid-error.d.ts +0 -1
  70. package/{dist → dist-types}/errors/index.d.ts +0 -1
  71. package/{dist → dist-types}/errors/invalid-target-error.d.ts +0 -1
  72. package/{dist → dist-types}/errors/unsupported-decorator-error.d.ts +0 -1
  73. package/{dist → dist-types}/index.d.ts +0 -1
  74. package/{dist → dist-types}/types.d.ts +0 -1
  75. package/dist-types/validator/index.d.ts +1 -0
  76. package/{dist → dist-types}/validator/list-validation-errors.d.ts +0 -1
  77. package/{dist → dist-types}/validator/validate.d.ts +0 -1
  78. package/{dist → dist-types}/validator/validator.d.ts +0 -1
  79. package/package.json +21 -21
  80. package/dist/decorated-class.d.ts.map +0 -1
  81. package/dist/decorators/attribute/attribute.d.ts.map +0 -1
  82. package/dist/decorators/attribute/index.d.ts.map +0 -1
  83. package/dist/decorators/attribute/is-attribute.d.ts.map +0 -1
  84. package/dist/decorators/attribute/list-attributes.d.ts.map +0 -1
  85. package/dist/decorators/attribute/symbol.d.ts.map +0 -1
  86. package/dist/decorators/attribute/types/attribute-decorator.d.ts.map +0 -1
  87. package/dist/decorators/attribute/types/attribute-definition.d.ts.map +0 -1
  88. package/dist/decorators/attribute/types/attribute-type-alias.d.ts.map +0 -1
  89. package/dist/decorators/attribute/types/attribute-type.d.ts.map +0 -1
  90. package/dist/decorators/attribute/types/index.d.ts.map +0 -1
  91. package/dist/decorators/attribute/types/primitive-type.d.ts.map +0 -1
  92. package/dist/decorators/attribute/utils/index.d.ts.map +0 -1
  93. package/dist/decorators/attribute/utils/update-attributes.d.ts.map +0 -1
  94. package/dist/decorators/index.d.ts.map +0 -1
  95. package/dist/decorators/validation/index.d.ts.map +0 -1
  96. package/dist/decorators/validation/max.d.ts.map +0 -1
  97. package/dist/decorators/validation/min.d.ts.map +0 -1
  98. package/dist/decorators/validation/not-blank.d.ts.map +0 -1
  99. package/dist/decorators/validation/not-null.d.ts.map +0 -1
  100. package/dist/decorators/validation/pattern.d.ts.map +0 -1
  101. package/dist/decorators/validation/types/index.d.ts.map +0 -1
  102. package/dist/decorators/validation/types/validation-definition.d.ts.map +0 -1
  103. package/dist/decorators/validation/types/validation-type.d.ts.map +0 -1
  104. package/dist/decorators/validation/utils/index.d.ts.map +0 -1
  105. package/dist/decorators/validation/utils/register-constraint.d.ts.map +0 -1
  106. package/dist/errors/attributes-not-valid-error.d.ts.map +0 -1
  107. package/dist/errors/index.d.ts.map +0 -1
  108. package/dist/errors/invalid-target-error.d.ts.map +0 -1
  109. package/dist/errors/unsupported-decorator-error.d.ts.map +0 -1
  110. package/dist/index.d.ts.map +0 -1
  111. package/dist/types.d.ts.map +0 -1
  112. package/dist/types.js +0 -3
  113. package/dist/validator/index.d.ts +0 -2
  114. package/dist/validator/index.d.ts.map +0 -1
  115. package/dist/validator/list-validation-errors.d.ts.map +0 -1
  116. package/dist/validator/validate.d.ts.map +0 -1
  117. package/dist/validator/validator.d.ts.map +0 -1
  118. /package/{dist → dist-cjs}/decorated-class.js +0 -0
  119. /package/{dist → dist-cjs}/decorators/attribute/index.js +0 -0
  120. /package/{dist → dist-cjs}/decorators/attribute/is-attribute.js +0 -0
  121. /package/{dist → dist-cjs}/decorators/attribute/list-attributes.js +0 -0
  122. /package/{dist → dist-cjs}/decorators/attribute/symbol.js +0 -0
  123. /package/{dist → dist-cjs}/decorators/attribute/types/attribute-decorator.js +0 -0
  124. /package/{dist → dist-cjs}/decorators/attribute/types/attribute-definition.js +0 -0
  125. /package/{dist → dist-cjs}/decorators/attribute/types/attribute-type-alias.js +0 -0
  126. /package/{dist → dist-cjs}/decorators/attribute/types/index.js +0 -0
  127. /package/{dist → dist-cjs}/decorators/attribute/types/primitive-type.js +0 -0
  128. /package/{dist → dist-cjs}/decorators/attribute/utils/index.js +0 -0
  129. /package/{dist → dist-cjs}/decorators/index.js +0 -0
  130. /package/{dist → dist-cjs}/decorators/validation/index.js +0 -0
  131. /package/{dist → dist-cjs}/decorators/validation/max.js +0 -0
  132. /package/{dist → dist-cjs}/decorators/validation/min.js +0 -0
  133. /package/{dist → dist-cjs}/decorators/validation/not-blank.js +0 -0
  134. /package/{dist → dist-cjs}/decorators/validation/not-null.js +0 -0
  135. /package/{dist → dist-cjs}/decorators/validation/pattern.js +0 -0
  136. /package/{dist → dist-cjs}/decorators/validation/types/index.js +0 -0
  137. /package/{dist → dist-cjs}/decorators/validation/types/validation-definition.js +0 -0
  138. /package/{dist → dist-cjs}/decorators/validation/types/validation-type.js +0 -0
  139. /package/{dist → dist-cjs}/decorators/validation/utils/index.js +0 -0
  140. /package/{dist → dist-cjs}/errors/attributes-not-valid-error.js +0 -0
  141. /package/{dist → dist-cjs}/errors/index.js +0 -0
  142. /package/{dist → dist-cjs}/errors/invalid-target-error.js +0 -0
  143. /package/{dist → dist-cjs}/errors/unsupported-decorator-error.js +0 -0
  144. /package/{dist → dist-cjs}/index.js +0 -0
  145. /package/{dist → dist-cjs}/validator/index.js +0 -0
  146. /package/{dist → dist-cjs}/validator/validate.js +0 -0
  147. /package/{dist → dist-cjs}/validator/validator.js +0 -0
@@ -1,3 +1,2 @@
1
1
  import { AttributeType as AT } from "./attribute-type";
2
2
  export { AT };
3
- //# sourceMappingURL=attribute-type-alias.d.ts.map
@@ -7,4 +7,3 @@ export declare enum AttributeType {
7
7
  List = "List",
8
8
  Object = "Object"
9
9
  }
10
- //# sourceMappingURL=attribute-type.d.ts.map
@@ -3,4 +3,3 @@ export * from "./attribute-definition";
3
3
  export * from "./attribute-type";
4
4
  export * from "./attribute-type-alias";
5
5
  export * from "./primitive-type";
6
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ export declare enum PrimitiveType {
5
5
  Boolean = "Boolean",
6
6
  Date = "Date"
7
7
  }
8
- //# sourceMappingURL=primitive-type.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "./update-attributes";
2
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ import "reflect-metadata";
2
2
  import { AttributeDecorator, AttributeType, PrimitiveType } from "../types";
3
3
  import { DecoratedClass } from "../../../decorated-class";
4
4
  export declare const updateAttributes: (attributeType: AttributeType, isValidType: (value: any, nestedType?: PrimitiveType | DecoratedClass | any) => boolean, options?: any) => AttributeDecorator;
5
- //# sourceMappingURL=update-attributes.d.ts.map
@@ -2,4 +2,3 @@ import "reflect-metadata";
2
2
  export * from "./attribute";
3
3
  export * from "./attribute/types/primitive-type";
4
4
  export * from "./validation";
5
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ export * from "./min";
5
5
  export * from "./not-blank";
6
6
  export * from "./not-null";
7
7
  export * from "./pattern";
8
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const Max: (props: number) => import("..").AttributeDecorator;
2
- //# sourceMappingURL=max.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const Min: (props: number) => import("..").AttributeDecorator;
2
- //# sourceMappingURL=min.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const NotBlank: import("..").AttributeDecorator;
2
- //# sourceMappingURL=not-blank.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const NotNull: import("..").AttributeDecorator;
2
- //# sourceMappingURL=not-null.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const Pattern: (props: string | RegExp) => import("..").AttributeDecorator;
2
- //# sourceMappingURL=pattern.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from "./validation-definition";
2
2
  export * from "./validation-type";
3
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@ export type ValidationDefinition = {
4
4
  isValidInTargetMethod: (target: any) => boolean;
5
5
  validationOptions?: any;
6
6
  };
7
- //# sourceMappingURL=validation-definition.d.ts.map
@@ -1,2 +1 @@
1
1
  export type ValidationType = "NotNull" | "Min" | "Max" | "Pattern" | "NotBlank" | "Email";
2
- //# sourceMappingURL=validation-type.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "./register-constraint";
2
- //# sourceMappingURL=index.d.ts.map
@@ -60,4 +60,3 @@ export declare const registerConstraintWithProps: <T = void>(constraintId: strin
60
60
  */
61
61
  export declare const registerConstraintWithoutProps: (constraintId: string, constraintValidator: ConstraintWithoutProps) => AttributeDecorator;
62
62
  export declare const registerConstraint: (constraintId: string, constraintValidator: ConstraintWithoutProps) => AttributeDecorator;
63
- //# sourceMappingURL=register-constraint.d.ts.map
@@ -8,4 +8,3 @@ export declare class AttributesNotValidError extends Error {
8
8
  validations: ValidationError[];
9
9
  constructor(validations: ValidationError[]);
10
10
  }
11
- //# sourceMappingURL=attributes-not-valid-error.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export * from "./attributes-not-valid-error";
2
2
  export * from "./invalid-target-error";
3
3
  export * from "./unsupported-decorator-error";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare class InvalidTargetError extends Error {
2
2
  constructor(message: string);
3
3
  }
4
- //# sourceMappingURL=invalid-target-error.d.ts.map
@@ -5,4 +5,3 @@ export declare class UnsupportedDecoratorError extends Error {
5
5
  constructor();
6
6
  setErrorProps(decorator: string, attributePath: string, attributeType: string): void;
7
7
  }
8
- //# sourceMappingURL=unsupported-decorator-error.d.ts.map
@@ -3,4 +3,3 @@ export * from "./decorators";
3
3
  export * from "./errors";
4
4
  export * from "./validator";
5
5
  export * from "./decorated-class";
6
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ export type ObjectType<T> = T extends object ? T extends Function ? never : T ex
2
2
  export type OptionalProps<C> = ({
3
3
  [Key in keyof C as C[Key] extends Function ? never : Key]?: C[Key] extends Array<infer E> ? Array<ObjectType<E>> : ObjectType<C[Key]>;
4
4
  } & Record<string, any>) | undefined | null;
5
- //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ export * from "./validator";
@@ -1,3 +1,2 @@
1
1
  import { ValidationError } from "../errors";
2
2
  export declare const listValidationErrors: (target: any) => ValidationError[];
3
- //# sourceMappingURL=list-validation-errors.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const validate: (target: any) => void;
2
- //# sourceMappingURL=validate.d.ts.map
@@ -2,4 +2,3 @@ export declare const validator: {
2
2
  validate: (target: any) => void;
3
3
  listValidationErrors: (target: any) => import("..").ValidationError[];
4
4
  };
5
- //# sourceMappingURL=validator.d.ts.map
package/package.json CHANGED
@@ -1,28 +1,34 @@
1
1
  {
2
2
  "name": "@itzworking/decorated-class",
3
- "version": "0.0.161",
4
- "type": "commonjs",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- "./package.json": "./package.json",
10
- ".": {
11
- "development": "./src/index.ts",
12
- "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js",
14
- "default": "./dist/index.js"
15
- }
3
+ "version": "0.0.196",
4
+ "main": "./dist-cjs/index.js",
5
+ "module": "./dist-es/index.js",
6
+ "types": "./dist-types/index.d.ts",
7
+ "scripts": {
8
+ "build:all": "concurrently \"npm run build:cjs\" \"npm run build:es\" \"npm run build:types\"",
9
+ "build:cjs": "tsc -p tsconfig.cjs.json",
10
+ "build:es": "tsc -p tsconfig.es.json",
11
+ "build:types": "tsc -p tsconfig.types.json"
12
+ },
13
+ "engines": {
14
+ "node": ">=18.0.0"
16
15
  },
17
16
  "files": [
18
- "dist",
17
+ "dist-*/**",
19
18
  "!**/*.tsbuildinfo"
20
19
  ],
20
+ "peerDependencies": {
21
+ "reflect-metadata": "0.2.x"
22
+ },
23
+ "dependencies": {
24
+ "tslib": "^2.3.0"
25
+ },
26
+ "homepage": "https://itzworking.io",
21
27
  "nx": {
22
28
  "targets": {
23
29
  "publish": {
24
30
  "dependsOn": [
25
- "build"
31
+ "build:all"
26
32
  ],
27
33
  "executor": "nx:run-commands",
28
34
  "options": {
@@ -33,11 +39,5 @@
33
39
  "tags": [
34
40
  "type:lib"
35
41
  ]
36
- },
37
- "dependencies": {
38
- "tslib": "^2.3.0"
39
- },
40
- "peerDependencies": {
41
- "reflect-metadata": "0.2.x"
42
42
  }
43
43
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"decorated-class.d.ts","sourceRoot":"","sources":["../src/decorated-class.ts"],"names":[],"mappings":"AAoEA,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAEjD,8BAAsB,cAAc;IAClC,SAAS,aAAa,KAAK,GAAE,8BAAmC;CAkBjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute/attribute.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,SAAS,kBACL,aAAa,YACnB;IAAE,UAAU,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,GAAG,CAAA;CAAE,yCAiC/D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-attribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute/is-attribute.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,WAAY,GAAG,eAAe,MAAM,YAE3D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-attributes.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute/list-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAG9C,eAAO,MAAM,cAAc,WAAY,GAAG,KAAG,mBAAmB,EAS/D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"symbol.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute/symbol.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,eAA0B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute-decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/attribute-decorator.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,CAC/B,MAAM,EAAE,GAAG,EACX,OAAO,EACH,MAAM,GACN,CAAC,CAAC,2BAA2B,GAAG,0BAA0B,CAAC,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,KACH,IAAI,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute-definition.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/attribute-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;IAClC,eAAe,CAAC,EAAE,GAAG,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,GAAG,CAAC;IAClD,mBAAmB,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;CAC/C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute-type-alias.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/attribute-type-alias.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,EAAE,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute-type.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/attribute-type.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa;IACvB,MAAM,WAAuB;IAC7B,KAAK,UAAsB;IAC3B,OAAO,YAAwB;IAC/B,OAAO,YAAwB;IAC/B,IAAI,SAAqB;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"primitive-type.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/types/primitive-type.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-attributes.d.ts","sourceRoot":"","sources":["../../../../src/decorators/attribute/utils/update-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,kBAAkB,EAElB,aAAa,EACb,aAAa,EACd,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,eAAO,MAAM,gBAAgB,kBAEV,aAAa,eACf,CACX,KAAK,EAAE,GAAG,EACV,UAAU,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,GAAG,KAC9C,OAAO,YACH,GAAG,KACX,kBAqCF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,cAAc,aAAa,CAAC;AAC5B,cAAc,kCAAkC,CAAC;AACjD,cAAc,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"max.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/max.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,oDAiBf,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"min.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/min.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,oDAiBf,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-blank.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/not-blank.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,iCAWpB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-null.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/not-null.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,iCAGnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pattern.d.ts","sourceRoot":"","sources":["../../../src/decorators/validation/pattern.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,6DAYnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/decorators/validation/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation-definition.d.ts","sourceRoot":"","sources":["../../../../src/decorators/validation/types/validation-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;IAChD,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation-type.d.ts","sourceRoot":"","sources":["../../../../src/decorators/validation/types/validation-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,KAAK,GACL,KAAK,GACL,SAAS,GACT,UAAU,GACV,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/decorators/validation/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"register-constraint.d.ts","sourceRoot":"","sources":["../../../../src/decorators/validation/utils/register-constraint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,iBAAiB,CAAC;AAI1E,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,CACnC,eAAe,EAAE,CAAC,KACf,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,CACnC,KAAK,EAAE,GAAG,GAAG,SAAS,GAAG,IAAI,EAC7B,MAAM,EAAE,GAAG,KACR,OAAO,CAAC;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,2BAA2B,GAAI,CAAC,uBAC7B,MAAM,uBACC,mBAAmB,CAAC,CAAC,CAAC,KAC1C,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,kBAAkB,CAiDnC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,8BAA8B,iBAC3B,MAAM,uBACC,sBAAsB,KAC1C,kBAEF,CAAC;AAEF,eAAO,MAAM,kBAAkB,iBANf,MAAM,uBACC,sBAAsB,KAC1C,kBAI6D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attributes-not-valid-error.d.ts","sourceRoot":"","sources":["../../src/errors/attributes-not-valid-error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,WAAW,EAAE,eAAe,EAAE,CAAC;gBAEnB,WAAW,EAAE,eAAe,EAAE;CAO3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"invalid-target-error.d.ts","sourceRoot":"","sources":["../../src/errors/invalid-target-error.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,OAAO,EAAE,MAAM;CAI5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"unsupported-decorator-error.d.ts","sourceRoot":"","sources":["../../src/errors/unsupported-decorator-error.ts"],"names":[],"mappings":"AAAA,qBAAa,yBAA0B,SAAQ,KAAK;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;;IAOvB,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,MAAM;CAOxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GACxC,CAAC,SAAS,QAAQ,GAChB,KAAK,GACL,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACxB,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,GACvC,CAAC,SAAS,IAAI,GACd,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GACzC,aAAa,CAAC,CAAC,CAAC,GAClB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzB,MAAM,MAAM,aAAa,CAAC,CAAC,IACvB,CAAC;KACE,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,QAAQ,GACtC,KAAK,GACL,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACpC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GACpB,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,SAAS,GACT,IAAI,CAAC"}
package/dist/types.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- /* eslint-disable @typescript-eslint/no-unsafe-function-type */
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./validator";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validator/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-validation-errors.d.ts","sourceRoot":"","sources":["../../src/validator/list-validation-errors.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,eAAe,EAAE,MAAM,WAAW,CAAC;AAGhE,eAAO,MAAM,oBAAoB,WAAY,GAAG,sBAoD/C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/validator/validate.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,WAAY,GAAG,SAKnC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator/validator.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;uBACD,GAAG;mCACS,GAAG;CACnC,CAAC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes