@tstdl/base 0.81.34 → 0.82.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 (247) hide show
  1. package/api/client/client.d.ts +3 -3
  2. package/api/default-error-handlers.d.ts +1 -1
  3. package/api/response.d.ts +8 -8
  4. package/api/server/api-controller.d.ts +1 -1
  5. package/api/server/gateway.d.ts +9 -9
  6. package/api/server/middlewares/cors.middleware.d.ts +1 -1
  7. package/api/server/module.d.ts +1 -1
  8. package/api/types.d.ts +30 -30
  9. package/api/utils.d.ts +1 -1
  10. package/authentication/authentication-credentials.service.d.ts +6 -0
  11. package/authentication/authentication-credentials.service.js +17 -0
  12. package/authentication/authentication-credentials.service.js.map +1 -0
  13. package/authentication/authentication-session.service.d.ts +6 -0
  14. package/authentication/authentication-session.service.js +17 -0
  15. package/authentication/authentication-session.service.js.map +1 -0
  16. package/authentication/authentication-token-payload.provider.d.ts +3 -0
  17. package/authentication/authentication-token-payload.provider.js +17 -0
  18. package/authentication/authentication-token-payload.provider.js.map +1 -0
  19. package/authentication/authentication.service.d.ts +42 -0
  20. package/authentication/authentication.service.js +133 -0
  21. package/authentication/authentication.service.js.map +1 -0
  22. package/authentication/models/authentication-credentials.model.d.ts +6 -0
  23. package/authentication/models/authentication-credentials.model.js +37 -0
  24. package/authentication/models/authentication-credentials.model.js.map +1 -0
  25. package/authentication/models/authentication-session.model.d.ts +9 -0
  26. package/authentication/models/authentication-session.model.js +52 -0
  27. package/authentication/models/authentication-session.model.js.map +1 -0
  28. package/authentication/models/index.d.ts +2 -0
  29. package/authentication/models/index.js +19 -0
  30. package/authentication/models/index.js.map +1 -0
  31. package/authentication/tokens.d.ts +2 -0
  32. package/authentication/tokens.js +6 -0
  33. package/authentication/tokens.js.map +1 -0
  34. package/collections/keyed-set.d.ts +1 -1
  35. package/collections/observable/observable-collection.d.ts +1 -1
  36. package/collections/observable/observable-list.d.ts +2 -2
  37. package/container/container.d.ts +3 -3
  38. package/container/decorators.d.ts +3 -3
  39. package/container/interfaces.d.ts +1 -1
  40. package/container/provider.d.ts +6 -6
  41. package/container/resolve-chain.d.ts +2 -2
  42. package/container/token.d.ts +3 -3
  43. package/container/type-info.d.ts +1 -1
  44. package/container/types.d.ts +4 -4
  45. package/core.d.ts +1 -1
  46. package/data-structures/linked-list.d.ts +1 -1
  47. package/data-structures/multi-key-map.d.ts +2 -2
  48. package/data-structures/sorted-array-list.d.ts +1 -1
  49. package/database/entity-repository.d.ts +2 -2
  50. package/database/entity.d.ts +3 -3
  51. package/database/module.d.ts +1 -1
  52. package/database/mongo/classes.d.ts +3 -3
  53. package/database/mongo/model/document.d.ts +3 -3
  54. package/database/mongo/module.d.ts +1 -1
  55. package/database/mongo/mongo-base.repository.d.ts +11 -11
  56. package/database/mongo/mongo-bulk.d.ts +1 -1
  57. package/database/mongo/mongo-entity-repository.d.ts +7 -7
  58. package/database/mongo/types.d.ts +16 -16
  59. package/database/query.d.ts +38 -38
  60. package/disposable/async-disposer.d.ts +3 -3
  61. package/distributed-loop/distributed-loop.d.ts +2 -2
  62. package/error/custom.error.d.ts +1 -1
  63. package/http/client/adapters/undici-http-client.adapter.d.ts +1 -1
  64. package/http/client/http-client-request.d.ts +5 -5
  65. package/http/client/http-client-response.d.ts +2 -2
  66. package/http/client/http-client.d.ts +5 -5
  67. package/http/http-body.d.ts +3 -1
  68. package/http/http-body.js +18 -12
  69. package/http/http-body.js.map +1 -1
  70. package/http/http-form.d.ts +2 -2
  71. package/http/http-headers.d.ts +3 -3
  72. package/http/http-query.d.ts +2 -2
  73. package/http/http-url-parameters.d.ts +2 -2
  74. package/http/http-value-map.d.ts +1 -1
  75. package/http/server/http-server-request.d.ts +1 -1
  76. package/http/server/http-server-response.d.ts +1 -1
  77. package/http/server/http-server.d.ts +1 -1
  78. package/http/server/node/node-http-server.d.ts +1 -1
  79. package/http/types.d.ts +5 -5
  80. package/http/utils.d.ts +3 -3
  81. package/image-service/imgproxy/imgproxy-image-service.d.ts +1 -1
  82. package/json-path/json-path.d.ts +4 -4
  83. package/key-value-store/key-value.store.d.ts +1 -1
  84. package/key-value-store/mongo/module.d.ts +1 -1
  85. package/key-value-store/mongo/mongo-key-value.model.d.ts +1 -1
  86. package/lock/lock.d.ts +4 -4
  87. package/lock/mongo/model.d.ts +1 -1
  88. package/lock/mongo/module.d.ts +1 -1
  89. package/lock/provider.d.ts +1 -1
  90. package/logger/logger.d.ts +6 -6
  91. package/mail/mail.client.d.ts +1 -1
  92. package/mail/models/mail-address.model.d.ts +1 -1
  93. package/mail/models/mail-content.model.d.ts +1 -1
  94. package/mail/models/mail-data.model.d.ts +1 -1
  95. package/mail/models/mail-log.model.d.ts +2 -2
  96. package/mail/models/mail-send-result.model.d.ts +1 -1
  97. package/mail/models/mail-template.model.d.ts +1 -1
  98. package/mail/module.d.ts +1 -1
  99. package/mail/repositories/mongo-mail-log.repository.d.ts +2 -2
  100. package/message-bus/local/types.d.ts +1 -1
  101. package/message-bus/message-bus.d.ts +1 -1
  102. package/migration/migration-state.d.ts +2 -2
  103. package/migration/migrator.d.ts +4 -4
  104. package/migration/mongo/module.d.ts +1 -1
  105. package/module/module-metric-reporter.d.ts +2 -2
  106. package/module/module.d.ts +1 -1
  107. package/module/modules/function.module.d.ts +1 -1
  108. package/module/modules/web-server.module.d.ts +1 -1
  109. package/notification/api.d.ts +1 -1
  110. package/notification/module.d.ts +1 -1
  111. package/object-storage/object-storage.d.ts +2 -2
  112. package/object-storage/object.d.ts +1 -1
  113. package/object-storage/s3/s3.object-storage-provider.d.ts +1 -1
  114. package/openid-connect/mongo-oidc-state.repository.d.ts +1 -1
  115. package/openid-connect/oidc-configuration.service.d.ts +1 -1
  116. package/openid-connect/oidc-state.model.d.ts +2 -2
  117. package/openid-connect/oidc.service-model.d.ts +8 -8
  118. package/orm/types.d.ts +4 -4
  119. package/package.json +4 -4
  120. package/pdf/pdf.service.d.ts +3 -3
  121. package/pool/pool.d.ts +4 -4
  122. package/promise/cancelable-promise.d.ts +1 -1
  123. package/promise/lazy-promise.d.ts +1 -1
  124. package/queue/mongo/job.d.ts +2 -2
  125. package/queue/mongo/queue.js +2 -2
  126. package/queue/mongo/queue.js.map +1 -1
  127. package/queue/queue.d.ts +11 -6
  128. package/queue/queue.js +2 -1
  129. package/queue/queue.js.map +1 -1
  130. package/reflection/registry.d.ts +9 -9
  131. package/reflection/types.d.ts +32 -32
  132. package/reflection/utils.d.ts +5 -5
  133. package/rpc/endpoints/message-port.rpc-endpoint.d.ts +3 -3
  134. package/rpc/model.d.ts +22 -22
  135. package/rpc/rpc.d.ts +1 -1
  136. package/rxjs/intersection-observer.d.ts +1 -1
  137. package/rxjs/mutation-observer.d.ts +1 -1
  138. package/rxjs/performance-observer.d.ts +1 -1
  139. package/rxjs/resize-observer.d.ts +1 -1
  140. package/rxjs/slow-array.d.ts +1 -1
  141. package/rxjs/touch.d.ts +1 -1
  142. package/schema/constraints/generic.d.ts +2 -2
  143. package/schema/constraints/length.d.ts +1 -1
  144. package/schema/decorators/types.d.ts +3 -3
  145. package/schema/schema.d.ts +4 -4
  146. package/schema/schema.error.d.ts +1 -1
  147. package/schema/schema.js +10 -13
  148. package/schema/schema.js.map +1 -1
  149. package/schema/schemas/any.d.ts +1 -1
  150. package/schema/schemas/array.d.ts +1 -1
  151. package/schema/schemas/assign.d.ts +2 -0
  152. package/schema/schemas/assign.js.map +1 -1
  153. package/schema/schemas/boolean.d.ts +1 -1
  154. package/schema/schemas/date.d.ts +1 -1
  155. package/schema/schemas/enumeration.d.ts +1 -1
  156. package/schema/schemas/instance.d.ts +1 -1
  157. package/schema/schemas/literal.d.ts +1 -1
  158. package/schema/schemas/nullable.d.ts +1 -1
  159. package/schema/schemas/number.d.ts +1 -1
  160. package/schema/schemas/object.d.ts +1 -1
  161. package/schema/schemas/one-or-many.d.ts +2 -2
  162. package/schema/schemas/optional.d.ts +1 -1
  163. package/schema/schemas/readable-stream.d.ts +1 -1
  164. package/schema/schemas/record.d.ts +1 -1
  165. package/schema/schemas/regexp.d.ts +1 -1
  166. package/schema/schemas/string.d.ts +1 -1
  167. package/schema/schemas/uint8-array.d.ts +1 -1
  168. package/schema/schemas/union.d.ts +1 -1
  169. package/schema/schemas/unknown.d.ts +1 -1
  170. package/schema/transformers/generic.d.ts +1 -1
  171. package/schema/types.d.ts +31 -31
  172. package/schema/utils/schema.js.map +1 -1
  173. package/search-index/elastic/config.d.ts +1 -1
  174. package/search-index/elastic/model/elastic-query.d.ts +15 -15
  175. package/search-index/elastic/model/index-mapping.d.ts +14 -14
  176. package/search-index/elastic/model/sort.d.ts +3 -3
  177. package/search-index/elastic/module.d.ts +1 -1
  178. package/search-index/search-index.d.ts +1 -1
  179. package/search-index/search-result.d.ts +2 -2
  180. package/serializer/handlers/error.d.ts +1 -1
  181. package/serializer/handlers/map.d.ts +1 -1
  182. package/serializer/handlers/regex.d.ts +1 -1
  183. package/serializer/handlers/set.d.ts +1 -1
  184. package/serializer/serializable.d.ts +6 -6
  185. package/serializer/serializer.d.ts +1 -1
  186. package/serializer/types.d.ts +15 -15
  187. package/sse/server-sent-events.d.ts +3 -3
  188. package/tailwind/theme-adapter.d.ts +1 -1
  189. package/templates/module.d.ts +1 -1
  190. package/templates/providers/file.provider-template.d.ts +2 -2
  191. package/templates/providers/file.provider-template.js +2 -1
  192. package/templates/providers/file.provider-template.js.map +1 -1
  193. package/templates/renderers/handlebars.template-renderer.d.ts +9 -9
  194. package/templates/renderers/mjml.template-renderer.d.ts +3 -3
  195. package/templates/renderers/string.template-renderer.d.ts +1 -1
  196. package/templates/resolvers/file.template-resolver.d.ts +2 -2
  197. package/templates/template.model.d.ts +1 -1
  198. package/templates/template.renderer.d.ts +4 -4
  199. package/templates/template.service.d.ts +1 -1
  200. package/text/dynamic-text.model.d.ts +1 -1
  201. package/text/localizable-text.model.d.ts +1 -1
  202. package/text/localization.service.d.ts +11 -11
  203. package/theme/theme-service.d.ts +6 -6
  204. package/threading/thread-pool.d.ts +1 -1
  205. package/threading/thread-worker.d.ts +1 -1
  206. package/types/geo-json.d.ts +12 -12
  207. package/types.d.ts +91 -91
  208. package/utils/any-iterable-iterator.d.ts +3 -3
  209. package/utils/async-iterable-helpers/parallel/types.d.ts +2 -2
  210. package/utils/async-iterable-helpers/types.d.ts +7 -7
  211. package/utils/backoff.d.ts +5 -5
  212. package/utils/benchmark.d.ts +1 -1
  213. package/utils/binary-search.d.ts +1 -1
  214. package/utils/binary.js.map +1 -1
  215. package/utils/cancellation-token.d.ts +1 -1
  216. package/utils/compression.d.ts +1 -1
  217. package/utils/cryptography.d.ts +11 -11
  218. package/utils/date-time.d.ts +8 -7
  219. package/utils/date-time.js +6 -2
  220. package/utils/date-time.js.map +1 -1
  221. package/utils/equals.d.ts +3 -3
  222. package/utils/factory-map.d.ts +1 -1
  223. package/utils/format-error.d.ts +1 -1
  224. package/utils/function/memoize.d.ts +1 -1
  225. package/utils/helpers.d.ts +1 -1
  226. package/utils/iterable-helpers/types.d.ts +6 -6
  227. package/utils/jwt.d.ts +4 -4
  228. package/utils/math.d.ts +1 -1
  229. package/utils/merge.d.ts +1 -1
  230. package/utils/middleware.d.ts +9 -9
  231. package/utils/moving-metric.d.ts +1 -1
  232. package/utils/object/decycle.d.ts +1 -1
  233. package/utils/object/dereference.d.ts +1 -1
  234. package/utils/object/forward-ref.d.ts +2 -2
  235. package/utils/object/lazy-property.d.ts +5 -5
  236. package/utils/object/merge.d.ts +1 -1
  237. package/utils/object/property-name.d.ts +5 -5
  238. package/utils/patch-worker.d.ts +1 -1
  239. package/utils/periodic-sampler.d.ts +1 -1
  240. package/utils/provider-function-iterable.d.ts +2 -2
  241. package/utils/proxy.d.ts +1 -1
  242. package/utils/singleton.d.ts +2 -2
  243. package/utils/sort.d.ts +2 -2
  244. package/utils/stream/stream-helper-types.d.ts +5 -5
  245. package/utils/type-guards.d.ts +3 -3
  246. package/utils/url-builder.d.ts +4 -4
  247. package/web-types.d.ts +4 -4
@@ -1,12 +1,12 @@
1
1
  import type { AbstractConstructor } from "../types";
2
2
  import { ReflectionDataMap } from './reflection-data-map';
3
3
  import type { DecoratorData } from './types';
4
- export declare type ReflectionMetadata = TypeMetadata | PropertyMetadata | MethodMetadata | ConstructorParameterMetadata | MethodParameterMetadata;
5
- export declare type MetadataType = 'type' | 'property' | 'method' | 'method-parameter' | 'constructor-parameter';
6
- export declare type MetadataBase<T extends MetadataType> = {
4
+ export type ReflectionMetadata = TypeMetadata | PropertyMetadata | MethodMetadata | ConstructorParameterMetadata | MethodParameterMetadata;
5
+ export type MetadataType = 'type' | 'property' | 'method' | 'method-parameter' | 'constructor-parameter';
6
+ export type MetadataBase<T extends MetadataType> = {
7
7
  metadataType: T;
8
8
  };
9
- export declare type TypeMetadata = MetadataBase<'type'> & {
9
+ export type TypeMetadata = MetadataBase<'type'> & {
10
10
  readonly constructor: AbstractConstructor;
11
11
  /** may be undefined if class has no constructor */
12
12
  readonly parameters: ConstructorParameterMetadata[] | undefined;
@@ -18,28 +18,28 @@ export declare type TypeMetadata = MetadataBase<'type'> & {
18
18
  /** whether the type is known in reflection registry and contains metadata */
19
19
  readonly registered: boolean;
20
20
  };
21
- export declare type PropertyMetadata = MetadataBase<'property'> & {
21
+ export type PropertyMetadata = MetadataBase<'property'> & {
22
22
  key: string | symbol;
23
23
  type: AbstractConstructor;
24
24
  isAccessor: boolean;
25
25
  data: ReflectionDataMap;
26
26
  };
27
- export declare type MethodMetadata = MetadataBase<'method'> & {
27
+ export type MethodMetadata = MetadataBase<'method'> & {
28
28
  parameters: MethodParameterMetadata[];
29
29
  returnType: AbstractConstructor | undefined;
30
30
  data: ReflectionDataMap;
31
31
  };
32
- export declare type ConstructorParameterMetadata = MetadataBase<'constructor-parameter'> & {
32
+ export type ConstructorParameterMetadata = MetadataBase<'constructor-parameter'> & {
33
33
  type: AbstractConstructor | undefined;
34
34
  index: number;
35
35
  data: ReflectionDataMap;
36
36
  };
37
- export declare type MethodParameterMetadata = MetadataBase<'method-parameter'> & {
37
+ export type MethodParameterMetadata = MetadataBase<'method-parameter'> & {
38
38
  type: AbstractConstructor;
39
39
  index: number;
40
40
  data: ReflectionDataMap;
41
41
  };
42
- export declare type ParameterMetadata = ConstructorParameterMetadata | MethodParameterMetadata;
42
+ export type ParameterMetadata = ConstructorParameterMetadata | MethodParameterMetadata;
43
43
  export declare class ReflectionRegistry {
44
44
  private readonly metadataMap;
45
45
  constructor();
@@ -1,20 +1,20 @@
1
1
  import type { Constructor, Record } from "../types";
2
2
  import type { UnionToIntersection } from 'type-fest';
3
3
  import type { ConstructorParameterMetadata, MethodMetadata, MethodParameterMetadata, ParameterMetadata, PropertyMetadata, TypeMetadata } from './registry';
4
- export declare type DecoratorType = 'class' | 'property' | 'accessor' | 'method' | 'parameter' | 'methodParameter' | 'constructorParameter';
5
- export declare type DecoratorHandler<T extends DecoratorType = DecoratorType> = (data: DecoratorData<T>, metadata: DecoratorMetadata<T>, originalArguments: Parameters<DecoratorUnion<T>>) => DecoratorHandlerReturnType<T>;
6
- export declare type DecoratorHandlerReturnType<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorHandlerReturnTypeMap, T>;
7
- export declare type Decorator<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMapIntersection<DecoratorMap, T>;
8
- export declare type DecoratorUnion<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorMap, T>;
9
- export declare type DecoratorData<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorDataMap, T>;
10
- export declare type DecoratorMetadata<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorMetadataMap, T>;
11
- export declare type CombinedDecoratorParameters = [target: object, propertyKey?: string | symbol, descriptorOrParameterIndex?: PropertyDescriptor | number];
12
- export declare type DecoratorTypeMap<T extends Record<DecoratorType> = Record<DecoratorType>> = T;
13
- export declare type DecoratorOptionsTypeMap<T extends DecoratorTypeMap, U extends DecoratorType> = {
4
+ export type DecoratorType = 'class' | 'property' | 'accessor' | 'method' | 'parameter' | 'methodParameter' | 'constructorParameter';
5
+ export type DecoratorHandler<T extends DecoratorType = DecoratorType> = (data: DecoratorData<T>, metadata: DecoratorMetadata<T>, originalArguments: Parameters<DecoratorUnion<T>>) => DecoratorHandlerReturnType<T>;
6
+ export type DecoratorHandlerReturnType<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorHandlerReturnTypeMap, T>;
7
+ export type Decorator<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMapIntersection<DecoratorMap, T>;
8
+ export type DecoratorUnion<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorMap, T>;
9
+ export type DecoratorData<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorDataMap, T>;
10
+ export type DecoratorMetadata<T extends DecoratorType = DecoratorType> = DecoratorOptionsTypeMap<DecoratorMetadataMap, T>;
11
+ export type CombinedDecoratorParameters = [target: object, propertyKey?: string | symbol, descriptorOrParameterIndex?: PropertyDescriptor | number];
12
+ export type DecoratorTypeMap<T extends Record<DecoratorType> = Record<DecoratorType>> = T;
13
+ export type DecoratorOptionsTypeMap<T extends DecoratorTypeMap, U extends DecoratorType> = {
14
14
  [D in U]: T[D];
15
15
  }[U];
16
- export declare type DecoratorOptionsTypeMapIntersection<T extends DecoratorTypeMap, U extends DecoratorType> = UnionToIntersection<DecoratorOptionsTypeMap<T, U>>;
17
- export declare type DecoratorDataMap = DecoratorTypeMap<{
16
+ export type DecoratorOptionsTypeMapIntersection<T extends DecoratorTypeMap, U extends DecoratorType> = UnionToIntersection<DecoratorOptionsTypeMap<T, U>>;
17
+ export type DecoratorDataMap = DecoratorTypeMap<{
18
18
  class: ClassDecoratorData;
19
19
  property: PropertyDecoratorData;
20
20
  accessor: AccessorDecoratorData;
@@ -23,7 +23,7 @@ export declare type DecoratorDataMap = DecoratorTypeMap<{
23
23
  methodParameter: MethodParameterDecoratorData;
24
24
  constructorParameter: ConstructorParameterDecoratorData;
25
25
  }>;
26
- export declare type DecoratorMetadataMap = DecoratorTypeMap<{
26
+ export type DecoratorMetadataMap = DecoratorTypeMap<{
27
27
  class: TypeMetadata;
28
28
  property: PropertyMetadata;
29
29
  accessor: PropertyMetadata;
@@ -32,7 +32,7 @@ export declare type DecoratorMetadataMap = DecoratorTypeMap<{
32
32
  methodParameter: MethodParameterMetadata;
33
33
  constructorParameter: ConstructorParameterMetadata;
34
34
  }>;
35
- export declare type DecoratorHandlerReturnTypeMap = DecoratorTypeMap<{
35
+ export type DecoratorHandlerReturnTypeMap = DecoratorTypeMap<{
36
36
  class: void | undefined | Constructor;
37
37
  property: void;
38
38
  accessor: void;
@@ -41,7 +41,7 @@ export declare type DecoratorHandlerReturnTypeMap = DecoratorTypeMap<{
41
41
  methodParameter: void;
42
42
  constructorParameter: void;
43
43
  }>;
44
- export declare type DecoratorMap = DecoratorTypeMap<{
44
+ export type DecoratorMap = DecoratorTypeMap<{
45
45
  class: ClassDecorator;
46
46
  property: PropertyDecorator;
47
47
  accessor: MethodDecorator;
@@ -50,41 +50,41 @@ export declare type DecoratorMap = DecoratorTypeMap<{
50
50
  methodParameter: ParameterDecorator;
51
51
  constructorParameter: ParameterDecorator;
52
52
  }>;
53
- export declare type DecoratorDataBase<Type extends string> = {
53
+ export type DecoratorDataBase<Type extends string> = {
54
54
  type: Type;
55
55
  constructor: Constructor;
56
56
  prototype: object;
57
57
  };
58
- export declare type ClassDecoratorData = DecoratorDataBase<'class'>;
59
- export declare type PropertyDecoratorData = DecoratorDataBase<'property'> & {
58
+ export type ClassDecoratorData = DecoratorDataBase<'class'>;
59
+ export type PropertyDecoratorData = DecoratorDataBase<'property'> & {
60
60
  static: boolean;
61
61
  propertyKey: string | symbol;
62
62
  };
63
- export declare type AccessorDecoratorData = DecoratorDataBase<'accessor'> & {
63
+ export type AccessorDecoratorData = DecoratorDataBase<'accessor'> & {
64
64
  static: boolean;
65
65
  propertyKey: string | symbol;
66
66
  descriptor: PropertyDescriptor;
67
67
  };
68
- export declare type PropertyOrAccessorDecoratorData = PropertyDecoratorData | AccessorDecoratorData;
69
- export declare type MethodDecoratorData = DecoratorDataBase<'method'> & {
68
+ export type PropertyOrAccessorDecoratorData = PropertyDecoratorData | AccessorDecoratorData;
69
+ export type MethodDecoratorData = DecoratorDataBase<'method'> & {
70
70
  static: boolean;
71
71
  methodKey: string | symbol;
72
72
  descriptor: PropertyDescriptor;
73
73
  };
74
- export declare type MethodParameterDecoratorData = DecoratorDataBase<'method-parameter'> & {
74
+ export type MethodParameterDecoratorData = DecoratorDataBase<'method-parameter'> & {
75
75
  static: boolean;
76
76
  methodKey: string | symbol;
77
77
  index: number;
78
78
  };
79
- export declare type ConstructorParameterDecoratorData = DecoratorDataBase<'constructor-parameter'> & {
79
+ export type ConstructorParameterDecoratorData = DecoratorDataBase<'constructor-parameter'> & {
80
80
  index: number;
81
81
  };
82
- export declare type ParameterDecoratorData = MethodParameterDecoratorData | ConstructorParameterDecoratorData;
83
- export declare type ClassDecoratorHandler = DecoratorHandler<'class'>;
84
- export declare type PropertyDecoratorHandler = DecoratorHandler<'property'>;
85
- export declare type AccessorDecoratorHandler = DecoratorHandler<'accessor'>;
86
- export declare type PropertyOrAccessorDecoratorHandler = DecoratorHandler<'property' | 'accessor'>;
87
- export declare type MethodDecoratorHandler = DecoratorHandler<'method'>;
88
- export declare type ParameterDecoratorHandler = DecoratorHandler<'parameter'>;
89
- export declare type ConstructorParameterDecoratorHandler = DecoratorHandler<'constructorParameter'>;
90
- export declare type MethodParameterDecoratorHandler = DecoratorHandler<'methodParameter'>;
82
+ export type ParameterDecoratorData = MethodParameterDecoratorData | ConstructorParameterDecoratorData;
83
+ export type ClassDecoratorHandler = DecoratorHandler<'class'>;
84
+ export type PropertyDecoratorHandler = DecoratorHandler<'property'>;
85
+ export type AccessorDecoratorHandler = DecoratorHandler<'accessor'>;
86
+ export type PropertyOrAccessorDecoratorHandler = DecoratorHandler<'property' | 'accessor'>;
87
+ export type MethodDecoratorHandler = DecoratorHandler<'method'>;
88
+ export type ParameterDecoratorHandler = DecoratorHandler<'parameter'>;
89
+ export type ConstructorParameterDecoratorHandler = DecoratorHandler<'constructorParameter'>;
90
+ export type MethodParameterDecoratorHandler = DecoratorHandler<'methodParameter'>;
@@ -1,23 +1,23 @@
1
1
  import type { Constructor, OneOrMany, PropertiesOfType, Record, TypedOmit } from "../types";
2
2
  import type { CombinedDecoratorParameters, Decorator, DecoratorData, DecoratorHandler, DecoratorMetadata, DecoratorType, DecoratorUnion } from './types';
3
- export declare type CreateDecoratorTypeOptions = {
3
+ export type CreateDecoratorTypeOptions = {
4
4
  [P in DecoratorType]?: boolean;
5
5
  };
6
- export declare type CreateDecoratorOptions = {
6
+ export type CreateDecoratorOptions = {
7
7
  data?: Record<string | symbol>;
8
8
  /** merge data values instead of replacing them (requires them to be objects, arrays, maps or sets) */
9
9
  mergeData?: boolean;
10
10
  /** return values of these decorators are not used */
11
11
  include?: OneOrMany<DecoratorUnion>;
12
12
  };
13
- export declare type SpecificCreateDecoratorOptions<T extends DecoratorType> = TypedOmit<CreateDecoratorOptions, 'include'> & {
13
+ export type SpecificCreateDecoratorOptions<T extends DecoratorType> = TypedOmit<CreateDecoratorOptions, 'include'> & {
14
14
  handler?: DecoratorHandler<T>;
15
15
  include?: OneOrMany<DecoratorUnion<T>>;
16
16
  };
17
- export declare type WrapDecoratorOptions = CreateDecoratorOptions & {
17
+ export type WrapDecoratorOptions = CreateDecoratorOptions & {
18
18
  handler?: (data: DecoratorData, metadata: DecoratorMetadata, originalArguments: CombinedDecoratorParameters) => void;
19
19
  };
20
- declare type CreateDecoratorType<T extends CreateDecoratorOptions> = Extract<PropertiesOfType<T, true>, DecoratorType>;
20
+ type CreateDecoratorType<T extends CreateDecoratorOptions> = Extract<PropertiesOfType<T, true>, DecoratorType>;
21
21
  export declare function createDecorator<T extends CreateDecoratorTypeOptions & CreateDecoratorOptions>(options: T, handler?: DecoratorHandler<CreateDecoratorType<T>>): Decorator<CreateDecoratorType<T>>;
22
22
  export declare function createClassDecorator(options?: SpecificCreateDecoratorOptions<'class'>): ClassDecorator;
23
23
  export declare function createPropertyDecorator(options?: SpecificCreateDecoratorOptions<'property'>): PropertyDecorator;
@@ -3,9 +3,9 @@ import type { Observable } from 'rxjs';
3
3
  import type * as NodeWorkerThreads from 'worker_threads';
4
4
  import type { RpcMessage } from '../model';
5
5
  import { RpcEndpoint } from '../rpc-endpoint';
6
- declare type BrowserSource = Worker | MessagePort | Window | SharedWorker;
7
- declare type NodeSource = NodeWorkerThreads.MessagePort | NodeWorkerThreads.Worker;
8
- export declare type MessagePortRpcEndpointSource = BrowserSource | NodeSource;
6
+ type BrowserSource = Worker | MessagePort | Window | SharedWorker;
7
+ type NodeSource = NodeWorkerThreads.MessagePort | NodeWorkerThreads.Worker;
8
+ export type MessagePortRpcEndpointSource = BrowserSource | NodeSource;
9
9
  export declare class MessagePortRpcEndpoint extends RpcEndpoint {
10
10
  private readonly source;
11
11
  private readonly _postMessage;
package/rpc/model.d.ts CHANGED
@@ -1,67 +1,67 @@
1
1
  import type { SerializationOptions } from "../serializer";
2
2
  import type { Constructor, Record } from "../types";
3
- export declare type RpcConstructor<T extends Constructor> = T extends Constructor<any, infer R> ? Constructor<Promise<RpcRemote<InstanceType<T>>>, R> : never;
4
- export declare type RpcFunction<T extends (...args: any) => any> = T extends (...args: infer Args) => infer R ? (...args: Args) => Promise<Awaited<R>> : never;
5
- export declare type RpcObject<T extends Record> = {
3
+ export type RpcConstructor<T extends Constructor> = T extends Constructor<any, infer R> ? Constructor<Promise<RpcRemote<InstanceType<T>>>, R> : never;
4
+ export type RpcFunction<T extends (...args: any) => any> = T extends (...args: infer Args) => infer R ? (...args: Args) => Promise<Awaited<R>> : never;
5
+ export type RpcObject<T extends Record> = {
6
6
  [P in keyof T]: T[P] extends (...args: any) => any ? RpcFunction<T[P]> : Promise<Awaited<T[P]>>;
7
7
  };
8
- export declare type RpcRemoteInput = ((...args: any) => any) | Record;
9
- export declare type RpcRemote<T extends RpcRemoteInput = RpcRemoteInput> = T extends Constructor ? RpcConstructor<T> : T extends (...args: any) => any ? RpcFunction<T> : RpcObject<T>;
10
- export declare type RpcMessageBase<Type extends string = string> = {
8
+ export type RpcRemoteInput = ((...args: any) => any) | Record;
9
+ export type RpcRemote<T extends RpcRemoteInput = RpcRemoteInput> = T extends Constructor ? RpcConstructor<T> : T extends (...args: any) => any ? RpcFunction<T> : RpcObject<T>;
10
+ export type RpcMessageBase<Type extends string = string> = {
11
11
  type: Type;
12
12
  id: string;
13
13
  metadata?: any;
14
14
  };
15
- export declare type RpcMessageWithProxyIdBase<Type extends string = string> = RpcMessageBase<Type> & {
15
+ export type RpcMessageWithProxyIdBase<Type extends string = string> = RpcMessageBase<Type> & {
16
16
  proxyId: string;
17
17
  };
18
- export declare type RpcConnectMessage = RpcMessageBase<'connect'> & {
18
+ export type RpcConnectMessage = RpcMessageBase<'connect'> & {
19
19
  name: string;
20
20
  };
21
- export declare type RpcApplyMessage = RpcMessageWithProxyIdBase<'apply'> & {
21
+ export type RpcApplyMessage = RpcMessageWithProxyIdBase<'apply'> & {
22
22
  path: PropertyKey[];
23
23
  args: RpcMessageValue[];
24
24
  };
25
- export declare type RpcConstructMessage = RpcMessageWithProxyIdBase<'construct'> & {
25
+ export type RpcConstructMessage = RpcMessageWithProxyIdBase<'construct'> & {
26
26
  path: PropertyKey[];
27
27
  args: RpcMessageValue[];
28
28
  };
29
- export declare type RpcGetMessage = RpcMessageWithProxyIdBase<'get'> & {
29
+ export type RpcGetMessage = RpcMessageWithProxyIdBase<'get'> & {
30
30
  path: PropertyKey[];
31
31
  };
32
- export declare type RpcSetMessage = RpcMessageWithProxyIdBase<'set'> & {
32
+ export type RpcSetMessage = RpcMessageWithProxyIdBase<'set'> & {
33
33
  path: PropertyKey[];
34
34
  value: RpcMessageValue;
35
35
  };
36
- export declare type RpcReleaseProxyMessage = RpcMessageWithProxyIdBase<'release-proxy'>;
37
- export declare type RpcResponseMessage = RpcMessageBase<'response'> & {
36
+ export type RpcReleaseProxyMessage = RpcMessageWithProxyIdBase<'release-proxy'>;
37
+ export type RpcResponseMessage = RpcMessageBase<'response'> & {
38
38
  value: RpcMessageValue;
39
39
  };
40
- export declare type RpcMessage = RpcConnectMessage | RpcApplyMessage | RpcConstructMessage | RpcGetMessage | RpcSetMessage | RpcReleaseProxyMessage | RpcResponseMessage;
41
- export declare type RpcMessageRawValue = {
40
+ export type RpcMessage = RpcConnectMessage | RpcApplyMessage | RpcConstructMessage | RpcGetMessage | RpcSetMessage | RpcReleaseProxyMessage | RpcResponseMessage;
41
+ export type RpcMessageRawValue = {
42
42
  type: 'raw';
43
43
  value: any;
44
44
  };
45
- export declare type RpcMessageSerializedValue = {
45
+ export type RpcMessageSerializedValue = {
46
46
  type: 'serialized';
47
47
  value: any;
48
48
  options?: SerializationOptions;
49
49
  };
50
- export declare type RpcMessageProxyValue = {
50
+ export type RpcMessageProxyValue = {
51
51
  type: 'proxy';
52
52
  id: string;
53
53
  port?: MessagePort;
54
54
  };
55
- export declare type RpcMessageThrowValue = {
55
+ export type RpcMessageThrowValue = {
56
56
  type: 'throw';
57
57
  error: unknown;
58
58
  };
59
- export declare type RpcMessageValue = RpcMessageRawValue | RpcMessageSerializedValue | RpcMessageProxyValue | RpcMessageThrowValue;
60
- export declare type RpcPostMessageArrayData = {
59
+ export type RpcMessageValue = RpcMessageRawValue | RpcMessageSerializedValue | RpcMessageProxyValue | RpcMessageThrowValue;
60
+ export type RpcPostMessageArrayData = {
61
61
  value: RpcMessageValue[];
62
62
  transfer?: any[];
63
63
  };
64
- export declare type RpcPostMessageData = {
64
+ export type RpcPostMessageData = {
65
65
  value: RpcMessageValue;
66
66
  transfer?: any[];
67
67
  };
package/rpc/rpc.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { SerializationOptions } from "../serializer";
2
2
  import type { MessagePortRpcEndpointSource } from './endpoints/message-port.rpc-endpoint';
3
3
  import type { RpcRemote, RpcRemoteInput } from './model';
4
4
  import { RpcEndpoint } from './rpc-endpoint';
5
- export declare type RpcEndpointSource = RpcEndpoint | MessagePortRpcEndpointSource;
5
+ export type RpcEndpointSource = RpcEndpoint | MessagePortRpcEndpointSource;
6
6
  export declare const Rpc: {
7
7
  connect<T extends RpcRemoteInput>(endpointOrSource: RpcEndpointSource, name?: string): Promise<RpcRemote<T>>;
8
8
  expose(object: RpcRemoteInput, endpointOrSource: RpcEndpointSource, name?: string): void;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- export declare type ObserveIntersectionOptions = IntersectionObserverInit & {
2
+ export type ObserveIntersectionOptions = IntersectionObserverInit & {
3
3
  takeRecordsTrigger?: Observable<any>;
4
4
  observeTrigger?: Observable<Element>;
5
5
  unobserveTrigger?: Observable<Element>;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- export declare type ObserveMutationOptions = MutationObserverInit & {
2
+ export type ObserveMutationOptions = MutationObserverInit & {
3
3
  takeRecordsTrigger?: Observable<any>;
4
4
  observeTrigger?: Observable<Node | [Node, MutationObserverInit?]>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- export declare type ObservePerformanceOptions = {
2
+ export type ObservePerformanceOptions = {
3
3
  takeRecordsTrigger?: Observable<any>;
4
4
  observeTrigger?: Observable<PerformanceObserverInit>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- export declare type ObserveResizeOptions = ResizeObserverOptions & {
2
+ export type ObserveResizeOptions = ResizeObserverOptions & {
3
3
  observeTrigger?: Observable<Element>;
4
4
  unobserveTrigger?: Observable<Element>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import type { MonoTypeOperatorFunction, Observable } from 'rxjs';
2
- export declare type SlowArrayOptions = {
2
+ export type SlowArrayOptions = {
3
3
  /**
4
4
  * delay before emitting the first array
5
5
  */
package/rxjs/touch.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { Observable } from 'rxjs';
2
2
  import type { EventListenerOptions } from 'rxjs/internal/observable/fromEvent';
3
- export declare type TouchEvents = {
3
+ export type TouchEvents = {
4
4
  start: TouchEvent | undefined;
5
5
  move: TouchEvent | undefined;
6
6
  end: TouchEvent | undefined;
@@ -3,14 +3,14 @@ import type { OneOrMany } from "../../types";
3
3
  import { SchemaError } from '../schema.error';
4
4
  import type { ConstraintContext, ConstraintResult } from '../types';
5
5
  import { SchemaValueConstraint } from '../types';
6
- export declare type GenericConstraintResult = {
6
+ export type GenericConstraintResult = {
7
7
  success: true;
8
8
  error?: undefined;
9
9
  } | {
10
10
  success: false;
11
11
  error: string | SchemaError;
12
12
  };
13
- export declare type GenericConstraintFunction<T> = (value: T, path: JsonPath) => boolean | ConstraintResult;
13
+ export type GenericConstraintFunction<T> = (value: T, path: JsonPath) => boolean | ConstraintResult;
14
14
  export declare class GenericConstraint<T> extends SchemaValueConstraint {
15
15
  readonly suitableTypes: NumberConstructor;
16
16
  readonly expects: OneOrMany<string>;
@@ -1,5 +1,5 @@
1
1
  import type { Decorator } from "../../reflection";
2
- export declare type LengthConstraintOptions = {
2
+ export type LengthConstraintOptions = {
3
3
  minimum?: number;
4
4
  maximum?: number;
5
5
  };
@@ -1,11 +1,11 @@
1
1
  import type { OneOrMany } from "../../types";
2
2
  import type { SchemaTestable } from '../schema';
3
3
  import type { ObjectSchema, SchemaArrayConstraint, SchemaFactoryFunction, SchemaValueCoercer, SchemaValueConstraint, SchemaValueTransformer, TypeSchema, ValueSchema, ValueType } from '../types';
4
- export declare type SchemaTypeReflectionData = Partial<Pick<ObjectSchema, 'mask' | 'allowUnknownProperties'>> & {
4
+ export type SchemaTypeReflectionData = Partial<Pick<ObjectSchema, 'mask' | 'allowUnknownProperties'>> & {
5
5
  schema?: ObjectSchema | TypeSchema | ValueType;
6
6
  factory?: SchemaFactoryFunction<any>;
7
7
  };
8
- export declare type SchemaPropertyReflectionData = {
8
+ export type SchemaPropertyReflectionData = {
9
9
  schema?: OneOrMany<SchemaTestable>;
10
10
  array?: boolean;
11
11
  optional?: boolean;
@@ -16,4 +16,4 @@ export declare type SchemaPropertyReflectionData = {
16
16
  arrayConstraints?: readonly SchemaArrayConstraint[];
17
17
  valueConstraints?: readonly SchemaValueConstraint[];
18
18
  };
19
- export declare type PropertyOptions = Partial<ValueSchema<any>>;
19
+ export type PropertyOptions = Partial<ValueSchema<any>>;
@@ -1,8 +1,8 @@
1
1
  import { JsonPath } from "../json-path";
2
- import { NormalizedObjectSchema, NormalizedTypeSchema, NormalizedValueSchema, ObjectSchema, SchemaOutput, SchemaTestOptions, SchemaTestResult, SchemaValueCoercer, TupleSchemaOutput, TypeSchema, ValueSchema, ValueType } from './types';
3
- export declare type Schema<T = any> = ObjectSchema<T> | ValueSchema<T> | TypeSchema<T>;
4
- export declare type SchemaTestable<T = any> = Schema<T> | ValueType<T>;
5
- export declare type NormalizedSchema<T = any> = NormalizedObjectSchema<T> | NormalizedValueSchema<T> | NormalizedTypeSchema<T>;
2
+ import type { NormalizedObjectSchema, NormalizedTypeSchema, NormalizedValueSchema, ObjectSchema, SchemaOutput, SchemaTestOptions, SchemaTestResult, SchemaValueCoercer, TupleSchemaOutput, TypeSchema, ValueSchema, ValueType } from './types';
3
+ export type Schema<T = any> = ObjectSchema<T> | ValueSchema<T> | TypeSchema<T>;
4
+ export type SchemaTestable<T = any> = Schema<T> | ValueType<T>;
5
+ export type NormalizedSchema<T = any> = NormalizedObjectSchema<T> | NormalizedValueSchema<T> | NormalizedTypeSchema<T>;
6
6
  export declare const Schema: {
7
7
  registerDefaultCoercer(coercer: SchemaValueCoercer): void;
8
8
  test<T>(schemaOrValueType: SchemaTestable<T>, value: unknown, options?: SchemaTestOptions, path?: JsonPath): SchemaTestResult<T>;
@@ -4,7 +4,7 @@ import type { JsonPath } from "../json-path";
4
4
  import type { OneOrMany, TypedOmit, UndefinableJson } from "../types";
5
5
  import type { ErrorExtraInfo } from "../utils/format-error";
6
6
  import type { ValueType } from './types';
7
- export declare type SchemaErrorOptions = Pick<CustomErrorOptions, 'fast'> & {
7
+ export type SchemaErrorOptions = Pick<CustomErrorOptions, 'fast'> & {
8
8
  path: string | JsonPath;
9
9
  inner?: OneOrMany<SchemaError>;
10
10
  details?: UndefinableJson;
package/schema/schema.js CHANGED
@@ -7,23 +7,18 @@ const noop_1 = require("../utils/noop");
7
7
  const object_1 = require("../utils/object/object");
8
8
  const set_1 = require("../utils/set");
9
9
  const type_guards_1 = require("../utils/type-guards");
10
- const boolean_coercer_1 = require("./coercers/boolean.coercer");
11
- const date_coercer_1 = require("./coercers/date.coercer");
12
- const number_coercer_1 = require("./coercers/number.coercer");
13
- const regexp_coercer_1 = require("./coercers/regexp.coercer");
14
- const string_coercer_1 = require("./coercers/string.coercer");
15
- const uint8_array_coercer_1 = require("./coercers/uint8-array.coercer");
10
+ const coercers_1 = require("./coercers");
16
11
  const schema_error_1 = require("./schema.error");
17
12
  const types_1 = require("./types");
18
13
  const utils_1 = require("./utils");
19
14
  const defaultCoercers = new Map();
20
15
  let initialize = () => {
21
- exports.Schema.registerDefaultCoercer(number_coercer_1.numberCoercer);
22
- exports.Schema.registerDefaultCoercer(string_coercer_1.stringCoercer);
23
- exports.Schema.registerDefaultCoercer(boolean_coercer_1.booleanCoercer);
24
- exports.Schema.registerDefaultCoercer(date_coercer_1.dateCoercer);
25
- exports.Schema.registerDefaultCoercer(regexp_coercer_1.regExpCoercer);
26
- exports.Schema.registerDefaultCoercer(uint8_array_coercer_1.uint8ArrayCoercer);
16
+ exports.Schema.registerDefaultCoercer(coercers_1.numberCoercer);
17
+ exports.Schema.registerDefaultCoercer(coercers_1.booleanCoercer);
18
+ exports.Schema.registerDefaultCoercer(coercers_1.stringCoercer);
19
+ exports.Schema.registerDefaultCoercer(coercers_1.dateCoercer);
20
+ exports.Schema.registerDefaultCoercer(coercers_1.regExpCoercer);
21
+ exports.Schema.registerDefaultCoercer(coercers_1.uint8ArrayCoercer);
27
22
  initialize = noop_1.noop;
28
23
  };
29
24
  // eslint-disable-next-line @typescript-eslint/no-redeclare, @typescript-eslint/naming-convention
@@ -207,10 +202,12 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
207
202
  updateCurrentState(value);
208
203
  /** try to coerce */
209
204
  if (!valueTestResult.valid) {
205
+ const targetTypes = (0, utils_1.getSchemaValueTypes)(schema);
210
206
  const coercers = [
211
207
  ...(normalizedValueSchema.coercers.get(valueType) ?? []),
212
208
  ...((normalizedValueSchema.coerce || options.coerce == true) ? (defaultCoercers.get(valueType) ?? []) : [])
213
- ];
209
+ ]
210
+ .filter((coercer) => (0, utils_1.includesValueType)(coercer.targetType, targetTypes));
214
211
  const errors = [];
215
212
  let success = false;
216
213
  for (const coercer of coercers) {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../source/schema/schema.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AAEvC,gDAA8C;AAC9C,wCAAoC;AACpC,mDAAmD;AACnD,sCAA6C;AAC7C,sDAAqG;AACrG,gEAA4D;AAC5D,0DAAsD;AACtD,8DAA0D;AAC1D,8DAA0D;AAC1D,8DAA0D;AAC1D,wEAAmE;AACnE,iDAA6C;AAC7C,mCAAwc;AACxc,mCAAiL;AAOjL,MAAM,eAAe,GAAG,IAAI,GAAG,EAAmC,CAAC;AAEnE,IAAI,UAAU,GAAG,GAAS,EAAE;IAC1B,cAAM,CAAC,sBAAsB,CAAC,8BAAa,CAAC,CAAC;IAC7C,cAAM,CAAC,sBAAsB,CAAC,8BAAa,CAAC,CAAC;IAC7C,cAAM,CAAC,sBAAsB,CAAC,gCAAc,CAAC,CAAC;IAC9C,cAAM,CAAC,sBAAsB,CAAC,0BAAW,CAAC,CAAC;IAC3C,cAAM,CAAC,sBAAsB,CAAC,8BAAa,CAAC,CAAC;IAC7C,cAAM,CAAC,sBAAsB,CAAC,uCAAiB,CAAC,CAAC;IAEjD,UAAU,GAAG,WAAI,CAAC;AACpB,CAAC,CAAC;AAEF,iGAA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orator } from "../../reflection";
2
2
  import type { ValueSchema, ValueSchemaOptions } from '../types';
3
- export declare type AnyOptions = ValueSchemaOptions;
3
+ export type AnyOptions = ValueSchemaOptions;
4
4
  export declare function any(options?: AnyOptions): ValueSchema<any>;
5
5
  export declare function Any(options?: AnyOptions): Decorator<'property' | 'accessor'>;
@@ -2,7 +2,7 @@ import type { Decorator } from "../../reflection";
2
2
  import type { OneOrMany } from "../../types";
3
3
  import type { SchemaTestable } from '../schema';
4
4
  import type { ValueSchema, ValueSchemaOptions } from '../types';
5
- export declare type ArrayOptions = ValueSchemaOptions & {
5
+ export type ArrayOptions = ValueSchemaOptions & {
6
6
  /** minimum array length */
7
7
  minimumLength?: number;
8
8
  /** maximum array length */
@@ -3,3 +3,5 @@ import type { ObjectSchema, ObjectSchemaOrType } from '../types';
3
3
  export declare function assign<T1, T2>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>): ObjectSchema<Merge<T1, T2>>;
4
4
  export declare function assign<T1, T2, T3>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>): ObjectSchema<Merge<Merge<T1, T2>, T3>>;
5
5
  export declare function assign<T1, T2, T3, T4>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>, schema4: ObjectSchemaOrType<T4>): ObjectSchema<Merge<Merge<Merge<T1, T2>, T3>, T4>>;
6
+ export declare function assign<T1, T2, T3, T4, T5>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>, schema4: ObjectSchemaOrType<T4>, schema5: ObjectSchemaOrType<T5>): ObjectSchema<Merge<Merge<Merge<Merge<T1, T2>, T3>, T4>, T5>>;
7
+ export declare function assign<T1, T2, T3, T4, T5, T6>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>, schema4: ObjectSchemaOrType<T4>, schema5: ObjectSchemaOrType<T5>, schema6: ObjectSchemaOrType<T6>): ObjectSchema<Merge<Merge<Merge<Merge<Merge<T1, T2>, T3>, T4>, T5>, T6>>;
@@ -1 +1 @@
1
- {"version":3,"file":"assign.js","sourceRoot":"","sources":["../../../source/schema/schemas/assign.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,yDAA6C;AAG7C,oCAA2C;AAK3C,SAAgB,MAAM,CAAC,GAAG,MAA4B;IACpD,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IAC5C,IAAA,oBAAM,EAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAE,qCAAqC,CAAC,CAAC;IAEnE,IAAI,MAAM,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC;IAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACvC,MAAM,GAAG;YACP,GAAG,MAAM;YACT,GAAG,OAAO,CAAC,CAAC,CAAE;YACd,UAAU,EAAE;gBACV,GAAG,MAAM,CAAC,UAAU;gBACpB,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC,UAAU;aAC1B;YACD,sBAAsB,EAAE,CAAC,GAAG,IAAA,eAAO,EAAC,MAAM,CAAC,sBAAsB,IAAI,EAAE,CAAC,EAAE,GAAG,IAAA,eAAO,EAAC,OAAO,CAAC,CAAC,CAAE,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC;SAChI,CAAC;KACH;IAED,IAAK,MAAM,CAAC,sBAAgC,CAAC,MAAM,IAAI,CAAC,EAAE;QACxD,MAAM,EAAE,sBAAsB,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,MAAM,GAAG,IAAI,CAAC;KACf;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAxBD,wBAwBC"}
1
+ {"version":3,"file":"assign.js","sourceRoot":"","sources":["../../../source/schema/schemas/assign.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,yDAA6C;AAG7C,oCAA2C;AAO3C,SAAgB,MAAM,CAAC,GAAG,MAA4B;IACpD,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IAC5C,IAAA,oBAAM,EAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAE,qCAAqC,CAAC,CAAC;IAEnE,IAAI,MAAM,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC;IAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACvC,MAAM,GAAG;YACP,GAAG,MAAM;YACT,GAAG,OAAO,CAAC,CAAC,CAAE;YACd,UAAU,EAAE;gBACV,GAAG,MAAM,CAAC,UAAU;gBACpB,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC,UAAU;aAC1B;YACD,sBAAsB,EAAE,CAAC,GAAG,IAAA,eAAO,EAAC,MAAM,CAAC,sBAAsB,IAAI,EAAE,CAAC,EAAE,GAAG,IAAA,eAAO,EAAC,OAAO,CAAC,CAAC,CAAE,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC;SAChI,CAAC;KACH;IAED,IAAK,MAAM,CAAC,sBAAgC,CAAC,MAAM,IAAI,CAAC,EAAE;QACxD,MAAM,EAAE,sBAAsB,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,MAAM,GAAG,IAAI,CAAC;KACf;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAxBD,wBAwBC"}
@@ -1,5 +1,5 @@
1
1
  import type { Decorator } from "../../reflection";
2
2
  import type { ValueSchema, ValueSchemaOptions } from '../types';
3
- export declare type BooleanOptions = ValueSchemaOptions;
3
+ export type BooleanOptions = ValueSchemaOptions;
4
4
  export declare function boolean(options?: BooleanOptions): ValueSchema<boolean>;
5
5
  export declare function BooleanProperty(options?: BooleanOptions): Decorator<'property' | 'accessor'>;
@@ -1,6 +1,6 @@
1
1
  import type { Decorator } from "../../reflection";
2
2
  import type { ValueSchema, ValueSchemaOptions } from '../types';
3
- export declare type DateOptions = ValueSchemaOptions & {
3
+ export type DateOptions = ValueSchemaOptions & {
4
4
  minimum?: Date | number;
5
5
  maximum?: Date | number;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import type { Decorator } from "../../reflection";
2
2
  import type { Enumeration as EnumerationType, EnumerationValue } from "../../types";
3
3
  import type { ValueSchema, ValueSchemaOptions } from '../types';
4
- export declare type EnumerationOptions = ValueSchemaOptions;
4
+ export type EnumerationOptions = ValueSchemaOptions;
5
5
  export declare function enumeration<T extends EnumerationType>(enumerationValue: T, options?: EnumerationOptions): ValueSchema<EnumerationValue<T>>;
6
6
  export declare function Enumeration(enumerationValue: EnumerationType, options?: EnumerationOptions): Decorator<'property' | 'accessor'>;
@@ -1,3 +1,3 @@
1
1
  import type { ValueSchema, ValueSchemaOptions, ValueType } from '../types';
2
- export declare type InstanceOptions = ValueSchemaOptions;
2
+ export type InstanceOptions = ValueSchemaOptions;
3
3
  export declare function instance<T>(type: ValueType<T>, options?: InstanceOptions): ValueSchema<T>;