@dipscope/type-manager 4.1.0 → 4.1.1
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.
- package/CHANGELOG.md +197 -197
- package/{LICENSE.txt → LICENSE.md} +201 -201
- package/README.md +2037 -2020
- package/alias.d.ts +10 -10
- package/core/alias.d.ts +6 -6
- package/core/custom-data.d.ts +6 -6
- package/core/default-value-resolver.d.ts +7 -7
- package/core/default-value.d.ts +7 -7
- package/core/discriminant.d.ts +8 -8
- package/core/discriminator.d.ts +6 -6
- package/core/factory.d.ts +18 -18
- package/core/fn.d.ts +316 -316
- package/core/generic-argument.d.ts +7 -7
- package/core/generic-metadata.d.ts +7 -7
- package/core/index.d.ts +44 -44
- package/core/index.js +1 -1
- package/core/index.js.map +1 -0
- package/core/inject-index.d.ts +6 -6
- package/core/inject-metadata.d.ts +72 -72
- package/core/inject-options.d.ts +22 -22
- package/core/injector.d.ts +16 -16
- package/core/log-level.d.ts +11 -11
- package/core/log.d.ts +65 -65
- package/core/metadata.d.ts +42 -42
- package/core/naming-convention.d.ts +15 -15
- package/core/property-metadata.d.ts +178 -178
- package/core/property-name.d.ts +6 -6
- package/core/property-options.d.ts +100 -100
- package/core/reference-callback.d.ts +7 -7
- package/core/reference-handler.d.ts +32 -32
- package/core/reference-key.d.ts +6 -6
- package/core/reference-value-initializer.d.ts +8 -8
- package/core/reference-value-resolver.d.ts +8 -8
- package/core/reference-value.d.ts +6 -6
- package/core/serializer-context-options.d.ts +63 -63
- package/core/serializer-context.d.ts +296 -296
- package/core/serializer.d.ts +27 -27
- package/core/type-abstraction.d.ts +8 -8
- package/core/type-argument.d.ts +9 -9
- package/core/type-context-entry.d.ts +36 -36
- package/core/type-context.d.ts +58 -58
- package/core/type-ctor.d.ts +6 -6
- package/core/type-fn.d.ts +8 -8
- package/core/type-like.d.ts +7 -7
- package/core/type-metadata-resolver.d.ts +8 -8
- package/core/type-metadata-symbol.d.ts +6 -6
- package/core/type-metadata.d.ts +304 -304
- package/core/type-name.d.ts +6 -6
- package/core/type-options-base.d.ts +100 -100
- package/core/type-options.d.ts +53 -53
- package/core/type-resolver.d.ts +7 -7
- package/custom-data.d.ts +11 -11
- package/default-value.d.ts +11 -11
- package/deserializable.d.ts +11 -11
- package/deserialized-default-value.d.ts +11 -11
- package/discriminant.d.ts +11 -11
- package/discriminator.d.ts +11 -11
- package/factories/index.d.ts +1 -1
- package/factories/index.js +1 -1
- package/factories/index.js.map +1 -0
- package/factories/type-factory.d.ts +19 -19
- package/factory.d.ts +11 -11
- package/index.d.ts +24 -24
- package/index.js +1 -1
- package/index.js.map +1 -0
- package/inject.d.ts +10 -10
- package/injectable.d.ts +10 -10
- package/injector.d.ts +11 -11
- package/injectors/index.d.ts +1 -1
- package/injectors/index.js +1 -1
- package/injectors/index.js.map +1 -0
- package/injectors/singleton-injector.d.ts +31 -31
- package/naming-convention.d.ts +11 -11
- package/naming-conventions/camel-case-naming-convention.d.ts +26 -26
- package/naming-conventions/flat-case-naming-convention.d.ts +25 -25
- package/naming-conventions/flat-upper-case-naming-convention.d.ts +25 -25
- package/naming-conventions/index.d.ts +8 -8
- package/naming-conventions/index.js +1 -1
- package/naming-conventions/index.js.map +1 -0
- package/naming-conventions/kebab-case-naming-convention.d.ts +26 -26
- package/naming-conventions/kebab-upper-case-naming-convention.d.ts +26 -26
- package/naming-conventions/pascal-case-naming-convention.d.ts +26 -26
- package/naming-conventions/snake-case-naming-convention.d.ts +26 -26
- package/naming-conventions/snake-upper-case-naming-convention.d.ts +26 -26
- package/package.json +48 -48
- package/preserve-discriminator.d.ts +10 -10
- package/property.d.ts +12 -12
- package/reference-handler.d.ts +11 -11
- package/reference-handlers/direct-reference-handler.d.ts +33 -33
- package/reference-handlers/index.d.ts +3 -3
- package/reference-handlers/index.js +1 -1
- package/reference-handlers/index.js.map +1 -0
- package/reference-handlers/lead-reference-handler.d.ts +34 -34
- package/reference-handlers/path-reference-handler.d.ts +56 -56
- package/serializable.d.ts +11 -11
- package/serialized-default-value.d.ts +11 -11
- package/serializer.d.ts +11 -11
- package/serializers/array-buffer-serializer.d.ts +28 -28
- package/serializers/array-serializer.d.ts +28 -28
- package/serializers/boolean-serializer.d.ts +37 -37
- package/serializers/data-view-serializer.d.ts +28 -28
- package/serializers/date-serializer.d.ts +28 -28
- package/serializers/float-32-array-serializer.d.ts +28 -28
- package/serializers/float-64-array-serializer.d.ts +28 -28
- package/serializers/index.d.ts +19 -19
- package/serializers/index.js +1 -1
- package/serializers/index.js.map +1 -0
- package/serializers/int-16-array-serializer.d.ts +28 -28
- package/serializers/int-32-array-serializer.d.ts +28 -28
- package/serializers/int-8-array-serializer.d.ts +28 -28
- package/serializers/map-serializer.d.ts +28 -28
- package/serializers/number-serializer.d.ts +37 -37
- package/serializers/set-serializer.d.ts +28 -28
- package/serializers/string-serializer.d.ts +37 -37
- package/serializers/type-serializer.d.ts +28 -28
- package/serializers/uint-16-array-serializer.d.ts +28 -28
- package/serializers/uint-32-array-serializer.d.ts +28 -28
- package/serializers/uint-8-array-serializer.d.ts +28 -28
- package/serializers/uint-8-clamped-array-serializer.d.ts +28 -28
- package/type-and-property.d.ts +12 -12
- package/type-manager-options.d.ts +24 -24
- package/type-manager.d.ts +331 -331
- package/type.d.ts +9 -9
- package/use-default-value.d.ts +10 -10
- package/use-implicit-conversion.d.ts +10 -10
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { TypeFn } from './core';
|
|
2
|
-
import { TypeOptions } from './core/type-options';
|
|
3
|
-
import { TypeOptionsBase } from './core/type-options-base';
|
|
4
|
-
/**
|
|
5
|
-
* Type manager options.
|
|
6
|
-
*
|
|
7
|
-
* @type {TypeManagerOptions}
|
|
8
|
-
*/
|
|
9
|
-
export interface TypeManagerOptions {
|
|
10
|
-
/**
|
|
11
|
-
* Global type options shared among all types.
|
|
12
|
-
*
|
|
13
|
-
* @type {Partial<TypeOptionsBase<any>>}
|
|
14
|
-
*/
|
|
15
|
-
typeOptionsBase?: Partial<TypeOptionsBase<any>>;
|
|
16
|
-
/**
|
|
17
|
-
* Type options per type.
|
|
18
|
-
*
|
|
19
|
-
* Overrides global type options.
|
|
20
|
-
*
|
|
21
|
-
* @type {Map<TypeFn<any>, TypeOptions<any>>}
|
|
22
|
-
*/
|
|
23
|
-
typeOptionsMap?: Map<TypeFn<any>, TypeOptions<any>>;
|
|
24
|
-
}
|
|
1
|
+
import { TypeFn } from './core';
|
|
2
|
+
import { TypeOptions } from './core/type-options';
|
|
3
|
+
import { TypeOptionsBase } from './core/type-options-base';
|
|
4
|
+
/**
|
|
5
|
+
* Type manager options.
|
|
6
|
+
*
|
|
7
|
+
* @type {TypeManagerOptions}
|
|
8
|
+
*/
|
|
9
|
+
export interface TypeManagerOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Global type options shared among all types.
|
|
12
|
+
*
|
|
13
|
+
* @type {Partial<TypeOptionsBase<any>>}
|
|
14
|
+
*/
|
|
15
|
+
typeOptionsBase?: Partial<TypeOptionsBase<any>>;
|
|
16
|
+
/**
|
|
17
|
+
* Type options per type.
|
|
18
|
+
*
|
|
19
|
+
* Overrides global type options.
|
|
20
|
+
*
|
|
21
|
+
* @type {Map<TypeFn<any>, TypeOptions<any>>}
|
|
22
|
+
*/
|
|
23
|
+
typeOptionsMap?: Map<TypeFn<any>, TypeOptions<any>>;
|
|
24
|
+
}
|