@navios/core 0.5.1 → 0.7.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.
- package/CHANGELOG.md +93 -0
- package/README.md +18 -1
- package/docs/README.md +1 -0
- package/docs/legacy-compat.md +320 -0
- package/docs/testing.md +140 -17
- package/lib/index-BFwNx9WQ.d.cts +1951 -0
- package/lib/index-BFwNx9WQ.d.cts.map +1 -0
- package/lib/index-D657ijFO.d.mts +1951 -0
- package/lib/index-D657ijFO.d.mts.map +1 -0
- package/lib/index.cjs +157 -0
- package/lib/index.d.cts +3 -0
- package/lib/index.d.mts +3 -188
- package/lib/index.mjs +4 -1439
- package/lib/legacy-compat/index.cjs +315 -0
- package/lib/legacy-compat/index.cjs.map +1 -0
- package/lib/legacy-compat/index.d.cts +219 -0
- package/lib/legacy-compat/index.d.cts.map +1 -0
- package/lib/legacy-compat/index.d.mts +219 -0
- package/lib/legacy-compat/index.d.mts.map +1 -0
- package/lib/legacy-compat/index.mjs +308 -0
- package/lib/legacy-compat/index.mjs.map +1 -0
- package/lib/src-Cb1aTjl0.cjs +5710 -0
- package/lib/src-Cb1aTjl0.cjs.map +1 -0
- package/lib/src-DzPY5s6d.mjs +5353 -0
- package/lib/src-DzPY5s6d.mjs.map +1 -0
- package/lib/testing/index.cjs +106 -0
- package/lib/testing/index.cjs.map +1 -0
- package/lib/testing/index.d.cts +156 -0
- package/lib/testing/index.d.cts.map +1 -0
- package/lib/testing/index.d.mts +156 -0
- package/lib/testing/index.d.mts.map +1 -0
- package/lib/testing/index.mjs +100 -0
- package/lib/testing/index.mjs.map +1 -0
- package/lib/use-guards.decorator-DdvUhB03.cjs +622 -0
- package/lib/use-guards.decorator-DdvUhB03.cjs.map +1 -0
- package/lib/use-guards.decorator-kZ3lNK8v.mjs +454 -0
- package/lib/use-guards.decorator-kZ3lNK8v.mjs.map +1 -0
- package/package.json +26 -6
- package/project.json +2 -2
- package/src/attribute.factory.d.mts +175 -0
- package/src/attribute.factory.d.mts.map +1 -0
- package/src/attribute.factory.mts +154 -0
- package/src/config/config-service.interface.d.mts +39 -0
- package/src/config/config-service.interface.d.mts.map +1 -0
- package/src/config/config-service.interface.mts +31 -0
- package/src/config/config.provider.d.mts +46 -0
- package/src/config/config.provider.d.mts.map +1 -0
- package/src/config/config.provider.mts +36 -0
- package/src/config/config.service.d.mts +108 -0
- package/src/config/config.service.d.mts.map +1 -0
- package/src/config/config.service.mts +94 -4
- package/src/config/index.d.mts +6 -0
- package/src/config/index.d.mts.map +1 -0
- package/src/config/types.d.mts +13 -0
- package/src/config/types.d.mts.map +1 -0
- package/src/config/utils/helpers.d.mts +3 -0
- package/src/config/utils/helpers.d.mts.map +1 -0
- package/src/config/utils/index.d.mts +2 -0
- package/src/config/utils/index.d.mts.map +1 -0
- package/src/decorators/controller.decorator.d.mts +33 -0
- package/src/decorators/controller.decorator.d.mts.map +1 -0
- package/src/decorators/controller.decorator.mts +28 -0
- package/src/decorators/endpoint.decorator.d.mts +89 -0
- package/src/decorators/endpoint.decorator.d.mts.map +1 -0
- package/src/decorators/endpoint.decorator.mts +76 -0
- package/src/decorators/header.decorator.d.mts +22 -0
- package/src/decorators/header.decorator.d.mts.map +1 -0
- package/src/decorators/header.decorator.mts +19 -0
- package/src/decorators/http-code.decorator.d.mts +22 -0
- package/src/decorators/http-code.decorator.d.mts.map +1 -0
- package/src/decorators/http-code.decorator.mts +20 -0
- package/src/decorators/index.d.mts +9 -0
- package/src/decorators/index.d.mts.map +1 -0
- package/src/decorators/module.decorator.d.mts +42 -0
- package/src/decorators/module.decorator.d.mts.map +1 -0
- package/src/decorators/module.decorator.mts +34 -0
- package/src/decorators/multipart.decorator.d.mts +54 -0
- package/src/decorators/multipart.decorator.d.mts.map +1 -0
- package/src/decorators/multipart.decorator.mts +41 -0
- package/src/decorators/stream.decorator.d.mts +42 -0
- package/src/decorators/stream.decorator.d.mts.map +1 -0
- package/src/decorators/stream.decorator.mts +33 -0
- package/src/decorators/use-guards.decorator.d.mts +33 -0
- package/src/decorators/use-guards.decorator.d.mts.map +1 -0
- package/src/decorators/use-guards.decorator.mts +29 -0
- package/src/exceptions/bad-request.exception.d.mts +26 -0
- package/src/exceptions/bad-request.exception.d.mts.map +1 -0
- package/src/exceptions/bad-request.exception.mts +21 -0
- package/src/exceptions/conflict.exception.d.mts +29 -0
- package/src/exceptions/conflict.exception.d.mts.map +1 -0
- package/src/exceptions/conflict.exception.mts +24 -0
- package/src/exceptions/forbidden.exception.d.mts +28 -0
- package/src/exceptions/forbidden.exception.d.mts.map +1 -0
- package/src/exceptions/forbidden.exception.mts +23 -0
- package/src/exceptions/http.exception.d.mts +33 -0
- package/src/exceptions/http.exception.d.mts.map +1 -0
- package/src/exceptions/http.exception.mts +26 -0
- package/src/exceptions/index.d.mts +8 -0
- package/src/exceptions/index.d.mts.map +1 -0
- package/src/exceptions/internal-server-error.exception.d.mts +31 -0
- package/src/exceptions/internal-server-error.exception.d.mts.map +1 -0
- package/src/exceptions/internal-server-error.exception.mts +26 -0
- package/src/exceptions/not-found.exception.d.mts +30 -0
- package/src/exceptions/not-found.exception.d.mts.map +1 -0
- package/src/exceptions/not-found.exception.mts +23 -0
- package/src/exceptions/unauthorized.exception.d.mts +28 -0
- package/src/exceptions/unauthorized.exception.d.mts.map +1 -0
- package/src/exceptions/unauthorized.exception.mts +23 -0
- package/src/factories/endpoint-adapter.factory.d.mts +6 -0
- package/src/factories/endpoint-adapter.factory.d.mts.map +1 -0
- package/src/factories/http-adapter.factory.d.mts +6 -0
- package/src/factories/http-adapter.factory.d.mts.map +1 -0
- package/src/factories/index.d.mts +8 -0
- package/src/factories/index.d.mts.map +1 -0
- package/src/factories/index.mts +1 -0
- package/src/factories/multipart-adapter.factory.d.mts +6 -0
- package/src/factories/multipart-adapter.factory.d.mts.map +1 -0
- package/src/factories/reply.factory.d.mts +6 -0
- package/src/factories/reply.factory.d.mts.map +1 -0
- package/src/factories/request.factory.d.mts +6 -0
- package/src/factories/request.factory.d.mts.map +1 -0
- package/src/factories/stream-adapter.factory.d.mts +6 -0
- package/src/factories/stream-adapter.factory.d.mts.map +1 -0
- package/src/factories/xml-stream-adapter.factory.d.mts +6 -0
- package/src/factories/xml-stream-adapter.factory.d.mts.map +1 -0
- package/src/factories/xml-stream-adapter.factory.mts +20 -0
- package/src/index.d.mts +15 -0
- package/src/index.d.mts.map +1 -0
- package/src/index.mts +1 -0
- package/src/interfaces/abstract-execution-context.inteface.d.mts +44 -0
- package/src/interfaces/abstract-execution-context.inteface.d.mts.map +1 -0
- package/src/interfaces/abstract-execution-context.inteface.mts +35 -0
- package/src/interfaces/abstract-http-adapter.interface.d.mts +15 -0
- package/src/interfaces/abstract-http-adapter.interface.d.mts.map +1 -0
- package/src/interfaces/abstract-http-cors-options.interface.d.mts +58 -0
- package/src/interfaces/abstract-http-cors-options.interface.d.mts.map +1 -0
- package/src/interfaces/abstract-http-handler-adapter.interface.d.mts +7 -0
- package/src/interfaces/abstract-http-handler-adapter.interface.d.mts.map +1 -0
- package/src/interfaces/abstract-http-handler-adapter.interface.mts +2 -2
- package/src/interfaces/abstract-http-listen-options.interface.d.mts +5 -0
- package/src/interfaces/abstract-http-listen-options.interface.d.mts.map +1 -0
- package/src/interfaces/can-activate.d.mts +36 -0
- package/src/interfaces/can-activate.d.mts.map +1 -0
- package/src/interfaces/can-activate.mts +31 -0
- package/src/interfaces/http-header.d.mts +10 -0
- package/src/interfaces/http-header.d.mts.map +1 -0
- package/src/interfaces/index.d.mts +9 -0
- package/src/interfaces/index.d.mts.map +1 -0
- package/src/interfaces/navios-module.d.mts +29 -0
- package/src/interfaces/navios-module.d.mts.map +1 -0
- package/src/interfaces/navios-module.mts +25 -0
- package/src/legacy-compat/__type-tests__/legacy-decorators.spec-d.mts +420 -0
- package/src/legacy-compat/__type-tests__/tsconfig.json +15 -0
- package/src/legacy-compat/context-compat.d.mts +19 -0
- package/src/legacy-compat/context-compat.d.mts.map +1 -0
- package/src/legacy-compat/context-compat.mts +93 -0
- package/src/legacy-compat/decorators/controller.decorator.d.mts +21 -0
- package/src/legacy-compat/decorators/controller.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/controller.decorator.mts +31 -0
- package/src/legacy-compat/decorators/endpoint.decorator.d.mts +33 -0
- package/src/legacy-compat/decorators/endpoint.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/endpoint.decorator.mts +99 -0
- package/src/legacy-compat/decorators/header.decorator.d.mts +24 -0
- package/src/legacy-compat/decorators/header.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/header.decorator.mts +42 -0
- package/src/legacy-compat/decorators/http-code.decorator.d.mts +22 -0
- package/src/legacy-compat/decorators/http-code.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/http-code.decorator.mts +38 -0
- package/src/legacy-compat/decorators/index.d.mts +9 -0
- package/src/legacy-compat/decorators/index.d.mts.map +1 -0
- package/src/legacy-compat/decorators/index.mts +9 -0
- package/src/legacy-compat/decorators/module.decorator.d.mts +22 -0
- package/src/legacy-compat/decorators/module.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/module.decorator.mts +37 -0
- package/src/legacy-compat/decorators/multipart.decorator.d.mts +34 -0
- package/src/legacy-compat/decorators/multipart.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/multipart.decorator.mts +93 -0
- package/src/legacy-compat/decorators/stream.decorator.d.mts +34 -0
- package/src/legacy-compat/decorators/stream.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/stream.decorator.mts +76 -0
- package/src/legacy-compat/decorators/use-guards.decorator.d.mts +29 -0
- package/src/legacy-compat/decorators/use-guards.decorator.d.mts.map +1 -0
- package/src/legacy-compat/decorators/use-guards.decorator.mts +80 -0
- package/src/legacy-compat/index.d.mts +19 -0
- package/src/legacy-compat/index.d.mts.map +1 -0
- package/src/legacy-compat/index.mts +40 -0
- package/src/logger/console-logger.service.d.mts +196 -0
- package/src/logger/console-logger.service.d.mts.map +1 -0
- package/src/logger/console-logger.service.mts +15 -2
- package/src/logger/index.d.mts +7 -0
- package/src/logger/index.d.mts.map +1 -0
- package/src/logger/log-levels.d.mts +14 -0
- package/src/logger/log-levels.d.mts.map +1 -0
- package/src/logger/log-levels.mts +9 -0
- package/src/logger/logger-service.interface.d.mts +36 -0
- package/src/logger/logger-service.interface.d.mts.map +1 -0
- package/src/logger/logger.service.d.mts +57 -0
- package/src/logger/logger.service.d.mts.map +1 -0
- package/src/logger/logger.service.mts +19 -0
- package/src/logger/logger.tokens.d.mts +36 -0
- package/src/logger/logger.tokens.d.mts.map +1 -0
- package/src/logger/logger.tokens.mts +23 -0
- package/src/logger/utils/cli-colors.util.d.mts +10 -0
- package/src/logger/utils/cli-colors.util.d.mts.map +1 -0
- package/src/logger/utils/filter-log-levelts.util.d.mts +6 -0
- package/src/logger/utils/filter-log-levelts.util.d.mts.map +1 -0
- package/src/logger/utils/index.d.mts +6 -0
- package/src/logger/utils/index.d.mts.map +1 -0
- package/src/logger/utils/is-log-level-enabled.d.mts +8 -0
- package/src/logger/utils/is-log-level-enabled.d.mts.map +1 -0
- package/src/logger/utils/is-log-level.util.d.mts +6 -0
- package/src/logger/utils/is-log-level.util.d.mts.map +1 -0
- package/src/logger/utils/shared.utils.d.mts +14 -0
- package/src/logger/utils/shared.utils.d.mts.map +1 -0
- package/src/metadata/controller.metadata.d.mts +13 -0
- package/src/metadata/controller.metadata.d.mts.map +1 -0
- package/src/metadata/handler.metadata.d.mts +18 -0
- package/src/metadata/handler.metadata.d.mts.map +1 -0
- package/src/metadata/index.d.mts +4 -0
- package/src/metadata/index.d.mts.map +1 -0
- package/src/metadata/module.metadata.d.mts +13 -0
- package/src/metadata/module.metadata.d.mts.map +1 -0
- package/src/navios.application.d.mts +210 -0
- package/src/navios.application.d.mts.map +1 -0
- package/src/navios.application.mts +176 -2
- package/src/navios.environment.d.mts +11 -0
- package/src/navios.environment.d.mts.map +1 -0
- package/src/navios.factory.d.mts +68 -0
- package/src/navios.factory.d.mts.map +1 -0
- package/src/navios.factory.mts +59 -1
- package/src/services/guard-runner.service.d.mts +10 -0
- package/src/services/guard-runner.service.d.mts.map +1 -0
- package/src/services/guard-runner.service.mts +12 -11
- package/src/services/index.d.mts +3 -0
- package/src/services/index.d.mts.map +1 -0
- package/src/services/module-loader.service.d.mts +17 -0
- package/src/services/module-loader.service.d.mts.map +1 -0
- package/src/services/module-loader.service.mts +16 -11
- package/src/stores/index.d.mts +2 -0
- package/src/stores/index.d.mts.map +1 -0
- package/src/stores/index.mts +1 -0
- package/src/stores/request-id.store.d.mts +37 -0
- package/src/stores/request-id.store.d.mts.map +1 -0
- package/src/stores/request-id.store.mts +43 -0
- package/src/testing/index.mts +2 -0
- package/src/testing/testing-module.mts +231 -0
- package/src/tokens/endpoint-adapter.token.d.mts +4 -0
- package/src/tokens/endpoint-adapter.token.d.mts.map +1 -0
- package/src/tokens/execution-context.token.d.mts +5 -0
- package/src/tokens/execution-context.token.d.mts.map +1 -0
- package/src/tokens/http-adapter.token.d.mts +4 -0
- package/src/tokens/http-adapter.token.d.mts.map +1 -0
- package/src/tokens/index.d.mts +9 -0
- package/src/tokens/index.d.mts.map +1 -0
- package/src/tokens/index.mts +1 -0
- package/src/tokens/multipart-adapter.token.d.mts +4 -0
- package/src/tokens/multipart-adapter.token.d.mts.map +1 -0
- package/src/tokens/reply.token.d.mts +3 -0
- package/src/tokens/reply.token.d.mts.map +1 -0
- package/src/tokens/request.token.d.mts +3 -0
- package/src/tokens/request.token.d.mts.map +1 -0
- package/src/tokens/stream-adapter.token.d.mts +4 -0
- package/src/tokens/stream-adapter.token.d.mts.map +1 -0
- package/src/tokens/xml-stream-adapter.token.d.mts +4 -0
- package/src/tokens/xml-stream-adapter.token.d.mts.map +1 -0
- package/src/tokens/xml-stream-adapter.token.mts +8 -0
- package/tsconfig.lib.json +1 -1
- package/tsconfig.spec.json +3 -0
- package/tsdown.config.mts +35 -0
- package/vitest.config.mts +6 -0
- package/lib/_tsup-dts-rollup.d.mts +0 -1352
- package/lib/_tsup-dts-rollup.d.ts +0 -1352
- package/lib/index.d.ts +0 -188
- package/lib/index.js +0 -1519
- package/lib/index.js.map +0 -1
- package/lib/index.mjs.map +0 -1
- package/tsup.config.mts +0 -13
|
@@ -1,1352 +0,0 @@
|
|
|
1
|
-
import { AnyInjectableType } from '@navios/di';
|
|
2
|
-
import { asyncInject } from '@navios/di';
|
|
3
|
-
import type { BaseEndpointConfig } from '@navios/builder';
|
|
4
|
-
import { BaseInjectionTokenSchemaType } from '@navios/di';
|
|
5
|
-
import { BaseInstanceHolderManager } from '@navios/di';
|
|
6
|
-
import type { BaseStreamConfig } from '@navios/builder';
|
|
7
|
-
import { BoundInjectionToken } from '@navios/di';
|
|
8
|
-
import { ChannelEmitter } from '@navios/di';
|
|
9
|
-
import { ClassType } from '@navios/di';
|
|
10
|
-
import { ClassTypeWithArgument } from '@navios/di';
|
|
11
|
-
import { ClassTypeWithInstance } from '@navios/di';
|
|
12
|
-
import { ClassTypeWithInstanceAndArgument } from '@navios/di';
|
|
13
|
-
import { ClassTypeWithInstanceAndOptionalArgument } from '@navios/di';
|
|
14
|
-
import { ClassTypeWithOptionalArgument } from '@navios/di';
|
|
15
|
-
import { ClassTypeWithoutArguments } from '@navios/di';
|
|
16
|
-
import { Container } from '@navios/di';
|
|
17
|
-
import { createRequestContextHolder } from '@navios/di';
|
|
18
|
-
import { defaultInjectors } from '@navios/di';
|
|
19
|
-
import { DefaultRequestContextHolder } from '@navios/di';
|
|
20
|
-
import { DIError } from '@navios/di';
|
|
21
|
-
import { DIErrorCode } from '@navios/di';
|
|
22
|
-
import type { EndpointFunctionArgs } from '@navios/builder';
|
|
23
|
-
import { ErrorsEnum } from '@navios/di';
|
|
24
|
-
import { EventEmitter } from '@navios/di';
|
|
25
|
-
import { EventEmitterInterface } from '@navios/di';
|
|
26
|
-
import { EventsArgs } from '@navios/di';
|
|
27
|
-
import { EventsConfig } from '@navios/di';
|
|
28
|
-
import { EventsNames } from '@navios/di';
|
|
29
|
-
import { Factorable } from '@navios/di';
|
|
30
|
-
import { FactorableWithArgs } from '@navios/di';
|
|
31
|
-
import { Factory } from '@navios/di';
|
|
32
|
-
import { FactoryContext } from '@navios/di';
|
|
33
|
-
import { FactoryInjectionToken } from '@navios/di';
|
|
34
|
-
import { FactoryNotFound } from '@navios/di';
|
|
35
|
-
import { FactoryOptions } from '@navios/di';
|
|
36
|
-
import { FactoryRecord } from '@navios/di';
|
|
37
|
-
import { FactoryTokenNotResolved } from '@navios/di';
|
|
38
|
-
import { getInjectableToken } from '@navios/di';
|
|
39
|
-
import { getInjectors } from '@navios/di';
|
|
40
|
-
import { globalRegistry } from '@navios/di';
|
|
41
|
-
import type { HttpMethod } from '@navios/builder';
|
|
42
|
-
import { inject } from '@navios/di';
|
|
43
|
-
import { Injectable } from '@navios/di';
|
|
44
|
-
import { InjectableOptions } from '@navios/di';
|
|
45
|
-
import { InjectableScope } from '@navios/di';
|
|
46
|
-
import { InjectableTokenMeta } from '@navios/di';
|
|
47
|
-
import { InjectableType } from '@navios/di';
|
|
48
|
-
import { InjectionToken } from '@navios/di';
|
|
49
|
-
import { InjectionTokenSchemaType } from '@navios/di';
|
|
50
|
-
import { InjectionTokenType } from '@navios/di';
|
|
51
|
-
import { Injectors } from '@navios/di';
|
|
52
|
-
import { InjectRequest } from '@navios/di';
|
|
53
|
-
import { InjectState } from '@navios/di';
|
|
54
|
-
import type { InspectOptions } from 'util';
|
|
55
|
-
import { InstanceDestroying } from '@navios/di';
|
|
56
|
-
import { InstanceNotFound } from '@navios/di';
|
|
57
|
-
import { IsUnion } from '@navios/di';
|
|
58
|
-
import { Join } from '@navios/di';
|
|
59
|
-
import { OnServiceDestroy } from '@navios/di';
|
|
60
|
-
import { OnServiceInit } from '@navios/di';
|
|
61
|
-
import { optional } from '@navios/di';
|
|
62
|
-
import { OptionalInjectionTokenSchemaType } from '@navios/di';
|
|
63
|
-
import type { OutgoingHttpHeaders } from 'http';
|
|
64
|
-
import { PopUnion } from '@navios/di';
|
|
65
|
-
import { provideFactoryContext } from '@navios/di';
|
|
66
|
-
import { Registry } from '@navios/di';
|
|
67
|
-
import { RequestContextHolder } from '@navios/di';
|
|
68
|
-
import { ServiceInstantiator } from '@navios/di';
|
|
69
|
-
import { ServiceLocator } from '@navios/di';
|
|
70
|
-
import { ServiceLocatorEventBus } from '@navios/di';
|
|
71
|
-
import { ServiceLocatorInstanceDestroyListener } from '@navios/di';
|
|
72
|
-
import { ServiceLocatorInstanceEffect } from '@navios/di';
|
|
73
|
-
import { ServiceLocatorInstanceHolder } from '@navios/di';
|
|
74
|
-
import { ServiceLocatorInstanceHolderCreated } from '@navios/di';
|
|
75
|
-
import { ServiceLocatorInstanceHolderCreating } from '@navios/di';
|
|
76
|
-
import { ServiceLocatorInstanceHolderDestroying } from '@navios/di';
|
|
77
|
-
import { ServiceLocatorInstanceHolderError } from '@navios/di';
|
|
78
|
-
import { ServiceLocatorInstanceHolderStatus } from '@navios/di';
|
|
79
|
-
import { ServiceLocatorManager } from '@navios/di';
|
|
80
|
-
import { UnionToArray } from '@navios/di';
|
|
81
|
-
import { UnionToIntersection } from '@navios/di';
|
|
82
|
-
import { UnionToOvlds } from '@navios/di';
|
|
83
|
-
import { UnknownError } from '@navios/di';
|
|
84
|
-
import type { Util_FlatObject } from '@navios/builder';
|
|
85
|
-
import { wrapSyncInit } from '@navios/di';
|
|
86
|
-
import { z } from 'zod/v4';
|
|
87
|
-
import { ZodDiscriminatedUnion } from 'zod/v4';
|
|
88
|
-
import type { ZodObject } from 'zod/v4';
|
|
89
|
-
import type { ZodType } from 'zod/v4';
|
|
90
|
-
|
|
91
|
-
declare interface AbstractExecutionContext {
|
|
92
|
-
getModule(): ModuleMetadata;
|
|
93
|
-
getController(): ControllerMetadata;
|
|
94
|
-
getHandler(): HandlerMetadata;
|
|
95
|
-
getRequest(): any;
|
|
96
|
-
getReply(): any;
|
|
97
|
-
}
|
|
98
|
-
export { AbstractExecutionContext }
|
|
99
|
-
export { AbstractExecutionContext as AbstractExecutionContext_alias_1 }
|
|
100
|
-
export { AbstractExecutionContext as AbstractExecutionContext_alias_2 }
|
|
101
|
-
|
|
102
|
-
declare interface AbstractHttpAdapterInterface<ServerInstance, CorsOptions = AbstractHttpCorsOptions, Options = {}, MultipartOptions = {}> {
|
|
103
|
-
setupHttpServer(options: Options): Promise<void>;
|
|
104
|
-
onModulesInit(modules: Map<string, ModuleMetadata>): Promise<void>;
|
|
105
|
-
ready(): Promise<void>;
|
|
106
|
-
getServer(): ServerInstance;
|
|
107
|
-
setGlobalPrefix(prefix: string): void;
|
|
108
|
-
enableCors(options: CorsOptions): void;
|
|
109
|
-
enableMultipart(options: MultipartOptions): void;
|
|
110
|
-
listen(options: AbstractHttpListenOptions): Promise<string>;
|
|
111
|
-
dispose(): Promise<void>;
|
|
112
|
-
}
|
|
113
|
-
export { AbstractHttpAdapterInterface }
|
|
114
|
-
export { AbstractHttpAdapterInterface as AbstractHttpAdapterInterface_alias_1 }
|
|
115
|
-
export { AbstractHttpAdapterInterface as AbstractHttpAdapterInterface_alias_2 }
|
|
116
|
-
|
|
117
|
-
declare interface AbstractHttpCorsOptions {
|
|
118
|
-
/**
|
|
119
|
-
* Configures the Access-Control-Allow-Origin CORS header.
|
|
120
|
-
*/
|
|
121
|
-
origin?: ValueOrArray<OriginType>;
|
|
122
|
-
/**
|
|
123
|
-
* Configures the Access-Control-Allow-Credentials CORS header.
|
|
124
|
-
* Set to true to pass the header, otherwise it is omitted.
|
|
125
|
-
*/
|
|
126
|
-
credentials?: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Configures the Access-Control-Expose-Headers CORS header.
|
|
129
|
-
* Expects a comma-delimited string (ex: 'Content-Range,X-Content-Range')
|
|
130
|
-
* or an array (ex: ['Content-Range', 'X-Content-Range']).
|
|
131
|
-
* If not specified, no custom headers are exposed.
|
|
132
|
-
*/
|
|
133
|
-
exposedHeaders?: string | string[];
|
|
134
|
-
/**
|
|
135
|
-
* Configures the Access-Control-Allow-Headers CORS header.
|
|
136
|
-
* Expects a comma-delimited string (ex: 'Content-Type,Authorization')
|
|
137
|
-
* or an array (ex: ['Content-Type', 'Authorization']). If not
|
|
138
|
-
* specified, defaults to reflecting the headers specified in the
|
|
139
|
-
* request's Access-Control-Request-Headers header.
|
|
140
|
-
*/
|
|
141
|
-
allowedHeaders?: string | string[];
|
|
142
|
-
/**
|
|
143
|
-
* Configures the Access-Control-Allow-Methods CORS header.
|
|
144
|
-
* Expects a comma-delimited string (ex: 'GET,PUT,POST') or an array (ex: ['GET', 'PUT', 'POST']).
|
|
145
|
-
*/
|
|
146
|
-
methods?: string | string[];
|
|
147
|
-
/**
|
|
148
|
-
* Configures the Access-Control-Max-Age CORS header.
|
|
149
|
-
* Set to an integer to pass the header, otherwise it is omitted.
|
|
150
|
-
*/
|
|
151
|
-
maxAge?: number;
|
|
152
|
-
/**
|
|
153
|
-
* Configures the Cache-Control header for CORS preflight responses.
|
|
154
|
-
* Set to an integer to pass the header as `Cache-Control: max-age=${cacheControl}`,
|
|
155
|
-
* or set to a string to pass the header as `Cache-Control: ${cacheControl}` (fully define
|
|
156
|
-
* the header value), otherwise the header is omitted.
|
|
157
|
-
*/
|
|
158
|
-
cacheControl?: number | string;
|
|
159
|
-
/**
|
|
160
|
-
* Sets the Fastify log level specifically for the internal OPTIONS route
|
|
161
|
-
* used to handle CORS preflight requests. For example, setting this to `'silent'`
|
|
162
|
-
* will prevent these requests from being logged.
|
|
163
|
-
* Useful for reducing noise in application logs.
|
|
164
|
-
* Default: inherits Fastify's global log level.
|
|
165
|
-
*/
|
|
166
|
-
logLevel?: LogLevel;
|
|
167
|
-
}
|
|
168
|
-
export { AbstractHttpCorsOptions }
|
|
169
|
-
export { AbstractHttpCorsOptions as AbstractHttpCorsOptions_alias_1 }
|
|
170
|
-
export { AbstractHttpCorsOptions as AbstractHttpCorsOptions_alias_2 }
|
|
171
|
-
|
|
172
|
-
declare interface AbstractHttpHandlerAdapterInterface {
|
|
173
|
-
prepareArguments?: (handlerMetadata: HandlerMetadata<any>) => ((target: Record<string, any>, request: any) => Promise<void> | void)[];
|
|
174
|
-
provideHandler: (controller: ClassType, handlerMetadata: HandlerMetadata<any>) => (context: RequestContextHolder, request: any, reply: any) => Promise<any>;
|
|
175
|
-
}
|
|
176
|
-
export { AbstractHttpHandlerAdapterInterface }
|
|
177
|
-
export { AbstractHttpHandlerAdapterInterface as AbstractHttpHandlerAdapterInterface_alias_1 }
|
|
178
|
-
export { AbstractHttpHandlerAdapterInterface as AbstractHttpHandlerAdapterInterface_alias_2 }
|
|
179
|
-
|
|
180
|
-
declare interface AbstractHttpListenOptions {
|
|
181
|
-
port: number;
|
|
182
|
-
host?: string;
|
|
183
|
-
}
|
|
184
|
-
export { AbstractHttpListenOptions }
|
|
185
|
-
export { AbstractHttpListenOptions as AbstractHttpListenOptions_alias_1 }
|
|
186
|
-
export { AbstractHttpListenOptions as AbstractHttpListenOptions_alias_2 }
|
|
187
|
-
|
|
188
|
-
declare const addLeadingSlash: (path?: string) => string;
|
|
189
|
-
export { addLeadingSlash }
|
|
190
|
-
export { addLeadingSlash as addLeadingSlash_alias_1 }
|
|
191
|
-
export { addLeadingSlash as addLeadingSlash_alias_2 }
|
|
192
|
-
export { addLeadingSlash as addLeadingSlash_alias_3 }
|
|
193
|
-
|
|
194
|
-
export { AnyInjectableType }
|
|
195
|
-
|
|
196
|
-
declare interface ArrayOfValueOrArray<T> extends Array<ValueOrArray<T>> {
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export { asyncInject }
|
|
200
|
-
|
|
201
|
-
declare class AttributeFactory {
|
|
202
|
-
static createAttribute(token: symbol): ClassAttribute;
|
|
203
|
-
static createAttribute<T extends ZodType>(token: symbol, schema: T): ClassSchemaAttribute<T>;
|
|
204
|
-
static get(attribute: ClassAttribute, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): true | null;
|
|
205
|
-
static get<T extends ZodType>(attribute: ClassSchemaAttribute<T>, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): z.output<T> | null;
|
|
206
|
-
static getAll(attribute: ClassAttribute, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): Array<true> | null;
|
|
207
|
-
static getAll<T extends ZodType>(attribute: ClassSchemaAttribute<T>, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): Array<z.output<T>> | null;
|
|
208
|
-
static getLast(attribute: ClassAttribute, target: (ModuleMetadata | ControllerMetadata | HandlerMetadata<any>)[]): true | null;
|
|
209
|
-
static getLast<T extends ZodType>(attribute: ClassSchemaAttribute<T>, target: (ModuleMetadata | ControllerMetadata | HandlerMetadata<any>)[]): z.output<T> | null;
|
|
210
|
-
static has(attribute: ClassAttribute, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): boolean;
|
|
211
|
-
static has<T extends ZodType>(attribute: ClassSchemaAttribute<T>, target: ModuleMetadata | ControllerMetadata | HandlerMetadata<any>): boolean;
|
|
212
|
-
}
|
|
213
|
-
export { AttributeFactory }
|
|
214
|
-
export { AttributeFactory as AttributeFactory_alias_1 }
|
|
215
|
-
|
|
216
|
-
declare class BadRequestException extends HttpException {
|
|
217
|
-
constructor(message: string | object);
|
|
218
|
-
}
|
|
219
|
-
export { BadRequestException }
|
|
220
|
-
export { BadRequestException as BadRequestException_alias_1 }
|
|
221
|
-
export { BadRequestException as BadRequestException_alias_2 }
|
|
222
|
-
|
|
223
|
-
export { BaseInjectionTokenSchemaType }
|
|
224
|
-
|
|
225
|
-
export { BaseInstanceHolderManager }
|
|
226
|
-
|
|
227
|
-
export { BoundInjectionToken }
|
|
228
|
-
|
|
229
|
-
declare interface CanActivate {
|
|
230
|
-
canActivate(executionContext: AbstractExecutionContext): Promise<boolean> | boolean;
|
|
231
|
-
}
|
|
232
|
-
export { CanActivate }
|
|
233
|
-
export { CanActivate as CanActivate_alias_1 }
|
|
234
|
-
export { CanActivate as CanActivate_alias_2 }
|
|
235
|
-
|
|
236
|
-
export { ChannelEmitter }
|
|
237
|
-
|
|
238
|
-
declare type ClassAttribute = (() => <T>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
|
|
239
|
-
token: symbol;
|
|
240
|
-
};
|
|
241
|
-
export { ClassAttribute }
|
|
242
|
-
export { ClassAttribute as ClassAttribute_alias_1 }
|
|
243
|
-
|
|
244
|
-
declare type ClassSchemaAttribute<T extends ZodType> = ((value: z.input<T>) => <T>(target: T, context: ClassDecoratorContext | ClassMethodDecoratorContext) => T) & {
|
|
245
|
-
token: symbol;
|
|
246
|
-
schema: ZodType;
|
|
247
|
-
};
|
|
248
|
-
export { ClassSchemaAttribute }
|
|
249
|
-
export { ClassSchemaAttribute as ClassSchemaAttribute_alias_1 }
|
|
250
|
-
|
|
251
|
-
export { ClassType }
|
|
252
|
-
|
|
253
|
-
export { ClassTypeWithArgument }
|
|
254
|
-
|
|
255
|
-
export { ClassTypeWithInstance }
|
|
256
|
-
|
|
257
|
-
export { ClassTypeWithInstanceAndArgument }
|
|
258
|
-
|
|
259
|
-
export { ClassTypeWithInstanceAndOptionalArgument }
|
|
260
|
-
|
|
261
|
-
export { ClassTypeWithOptionalArgument }
|
|
262
|
-
|
|
263
|
-
export { ClassTypeWithoutArguments }
|
|
264
|
-
|
|
265
|
-
declare const clc: {
|
|
266
|
-
bold: (text: string) => string;
|
|
267
|
-
green: (text: string) => string;
|
|
268
|
-
yellow: (text: string) => string;
|
|
269
|
-
red: (text: string) => string;
|
|
270
|
-
magentaBright: (text: string) => string;
|
|
271
|
-
cyanBright: (text: string) => string;
|
|
272
|
-
};
|
|
273
|
-
export { clc }
|
|
274
|
-
export { clc as clc_alias_1 }
|
|
275
|
-
export { clc as clc_alias_2 }
|
|
276
|
-
export { clc as clc_alias_3 }
|
|
277
|
-
|
|
278
|
-
declare const ConfigProviderOptions: z.ZodObject<{
|
|
279
|
-
load: z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
280
|
-
}, z.core.$strip>;
|
|
281
|
-
export { ConfigProviderOptions }
|
|
282
|
-
export { ConfigProviderOptions as ConfigProviderOptions_alias_1 }
|
|
283
|
-
export { ConfigProviderOptions as ConfigProviderOptions_alias_2 }
|
|
284
|
-
|
|
285
|
-
declare class ConfigService<Config extends ConfigServiceOptions = Record<string, unknown>> implements ConfigServiceInterface<Config> {
|
|
286
|
-
private config;
|
|
287
|
-
private readonly logger;
|
|
288
|
-
constructor(config?: Config);
|
|
289
|
-
getConfig(): Config;
|
|
290
|
-
get<Key extends Path<Config>>(key: Key): PathValue<Config, Key> | null;
|
|
291
|
-
getOrDefault<Key extends Path<Config>>(key: Key, defaultValue: PathValue<Config, Key>): PathValue<Config, Key>;
|
|
292
|
-
getOrThrow<Key extends Path<Config>>(key: Key, errorMessage?: string): PathValue<Config, Key>;
|
|
293
|
-
}
|
|
294
|
-
export { ConfigService }
|
|
295
|
-
export { ConfigService as ConfigService_alias_1 }
|
|
296
|
-
export { ConfigService as ConfigService_alias_2 }
|
|
297
|
-
|
|
298
|
-
declare interface ConfigServiceInterface<Config = Record<string, unknown>> {
|
|
299
|
-
getConfig: () => Config;
|
|
300
|
-
get: <Key extends Path<Config>>(key: Key) => PathValue<Config, Key> | null;
|
|
301
|
-
getOrDefault: <Key extends Path<Config>>(key: Key, defaultValue: PathValue<Config, Key>) => PathValue<Config, Key>;
|
|
302
|
-
getOrThrow: <Key extends Path<Config>>(key: Key, errorMessage?: string) => PathValue<Config, Key>;
|
|
303
|
-
}
|
|
304
|
-
export { ConfigServiceInterface }
|
|
305
|
-
export { ConfigServiceInterface as ConfigServiceInterface_alias_1 }
|
|
306
|
-
export { ConfigServiceInterface as ConfigServiceInterface_alias_2 }
|
|
307
|
-
|
|
308
|
-
declare type ConfigServiceOptions = z.infer<typeof ConfigServiceOptionsSchema>;
|
|
309
|
-
export { ConfigServiceOptions }
|
|
310
|
-
export { ConfigServiceOptions as ConfigServiceOptions_alias_1 }
|
|
311
|
-
export { ConfigServiceOptions as ConfigServiceOptions_alias_2 }
|
|
312
|
-
|
|
313
|
-
declare const ConfigServiceOptionsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
314
|
-
export { ConfigServiceOptionsSchema }
|
|
315
|
-
export { ConfigServiceOptionsSchema as ConfigServiceOptionsSchema_alias_1 }
|
|
316
|
-
export { ConfigServiceOptionsSchema as ConfigServiceOptionsSchema_alias_2 }
|
|
317
|
-
|
|
318
|
-
declare const ConfigServiceToken: InjectionToken<ConfigServiceInterface<Record<string, unknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, true>;
|
|
319
|
-
export { ConfigServiceToken }
|
|
320
|
-
export { ConfigServiceToken as ConfigServiceToken_alias_1 }
|
|
321
|
-
export { ConfigServiceToken as ConfigServiceToken_alias_2 }
|
|
322
|
-
|
|
323
|
-
declare class ConflictException extends HttpException {
|
|
324
|
-
constructor(message: string | object, error?: Error);
|
|
325
|
-
}
|
|
326
|
-
export { ConflictException }
|
|
327
|
-
export { ConflictException as ConflictException_alias_1 }
|
|
328
|
-
export { ConflictException as ConflictException_alias_2 }
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* @publicApi
|
|
332
|
-
*/
|
|
333
|
-
declare class ConsoleLogger implements LoggerService {
|
|
334
|
-
/**
|
|
335
|
-
* The options of the logger.
|
|
336
|
-
*/
|
|
337
|
-
protected options: ConsoleLoggerOptions;
|
|
338
|
-
/**
|
|
339
|
-
* The context of the logger (can be set manually or automatically inferred).
|
|
340
|
-
*/
|
|
341
|
-
protected context?: string;
|
|
342
|
-
/**
|
|
343
|
-
* The original context of the logger (set in the constructor).
|
|
344
|
-
*/
|
|
345
|
-
protected originalContext?: string;
|
|
346
|
-
/**
|
|
347
|
-
* The options used for the "inspect" method.
|
|
348
|
-
*/
|
|
349
|
-
protected inspectOptions: InspectOptions;
|
|
350
|
-
/**
|
|
351
|
-
* The last timestamp at which the log message was printed.
|
|
352
|
-
*/
|
|
353
|
-
protected lastTimestampAt?: number;
|
|
354
|
-
setup(): void;
|
|
355
|
-
setup(context: string): void;
|
|
356
|
-
setup(options: ConsoleLoggerOptions): void;
|
|
357
|
-
setup(context: string, options: ConsoleLoggerOptions): void;
|
|
358
|
-
/**
|
|
359
|
-
* Write a 'log' level log, if the configured level allows for it.
|
|
360
|
-
* Prints to `stdout` with newline.
|
|
361
|
-
*/
|
|
362
|
-
log(message: any, context?: string): void;
|
|
363
|
-
log(message: any, ...optionalParams: [...any, string?]): void;
|
|
364
|
-
/**
|
|
365
|
-
* Write an 'error' level log, if the configured level allows for it.
|
|
366
|
-
* Prints to `stderr` with newline.
|
|
367
|
-
*/
|
|
368
|
-
error(message: any, stackOrContext?: string): void;
|
|
369
|
-
error(message: any, stack?: string, context?: string): void;
|
|
370
|
-
error(message: any, ...optionalParams: [...any, string?, string?]): void;
|
|
371
|
-
/**
|
|
372
|
-
* Write a 'warn' level log, if the configured level allows for it.
|
|
373
|
-
* Prints to `stdout` with newline.
|
|
374
|
-
*/
|
|
375
|
-
warn(message: any, context?: string): void;
|
|
376
|
-
warn(message: any, ...optionalParams: [...any, string?]): void;
|
|
377
|
-
/**
|
|
378
|
-
* Write a 'debug' level log, if the configured level allows for it.
|
|
379
|
-
* Prints to `stdout` with newline.
|
|
380
|
-
*/
|
|
381
|
-
debug(message: any, context?: string): void;
|
|
382
|
-
debug(message: any, ...optionalParams: [...any, string?]): void;
|
|
383
|
-
/**
|
|
384
|
-
* Write a 'verbose' level log, if the configured level allows for it.
|
|
385
|
-
* Prints to `stdout` with newline.
|
|
386
|
-
*/
|
|
387
|
-
verbose(message: any, context?: string): void;
|
|
388
|
-
verbose(message: any, ...optionalParams: [...any, string?]): void;
|
|
389
|
-
/**
|
|
390
|
-
* Write a 'fatal' level log, if the configured level allows for it.
|
|
391
|
-
* Prints to `stdout` with newline.
|
|
392
|
-
*/
|
|
393
|
-
fatal(message: any, context?: string): void;
|
|
394
|
-
fatal(message: any, ...optionalParams: [...any, string?]): void;
|
|
395
|
-
/**
|
|
396
|
-
* Set log levels
|
|
397
|
-
* @param levels log levels
|
|
398
|
-
*/
|
|
399
|
-
setLogLevels(levels: LogLevel[]): void;
|
|
400
|
-
/**
|
|
401
|
-
* Set logger context
|
|
402
|
-
* @param context context
|
|
403
|
-
*/
|
|
404
|
-
setContext(context: string): void;
|
|
405
|
-
/**
|
|
406
|
-
* Resets the logger context to the value that was passed in the constructor.
|
|
407
|
-
*/
|
|
408
|
-
resetContext(): void;
|
|
409
|
-
isLevelEnabled(level: LogLevel): boolean;
|
|
410
|
-
protected getTimestamp(): string;
|
|
411
|
-
protected printMessages(messages: unknown[], context?: string, logLevel?: LogLevel, requestId?: string, writeStreamType?: 'stdout' | 'stderr', errorStack?: unknown): void;
|
|
412
|
-
protected printAsJson(message: unknown, options: {
|
|
413
|
-
context: string;
|
|
414
|
-
logLevel: LogLevel;
|
|
415
|
-
writeStreamType?: 'stdout' | 'stderr';
|
|
416
|
-
errorStack?: unknown;
|
|
417
|
-
requestId?: string;
|
|
418
|
-
}): void;
|
|
419
|
-
protected formatPid(pid: number): string;
|
|
420
|
-
protected formatContext(context: string): string;
|
|
421
|
-
protected formatMessage(logLevel: LogLevel, message: unknown, pidMessage: string, formattedLogLevel: string, contextMessage: string, timestampDiff: string, requestId?: string): string;
|
|
422
|
-
protected getRequestId(requestId?: string): string;
|
|
423
|
-
protected stringifyMessage(message: unknown, logLevel: LogLevel): string;
|
|
424
|
-
protected colorize(message: string, logLevel: LogLevel): string;
|
|
425
|
-
protected printStackTrace(stack: string): void;
|
|
426
|
-
protected updateAndGetTimestampDiff(): string;
|
|
427
|
-
protected formatTimestampDiff(timestampDiff: number): string;
|
|
428
|
-
protected getInspectOptions(): InspectOptions;
|
|
429
|
-
protected stringifyReplacer(key: string, value: unknown): unknown;
|
|
430
|
-
private getContextAndMessagesToPrint;
|
|
431
|
-
private getContextAndStackAndMessagesToPrint;
|
|
432
|
-
private isStackFormat;
|
|
433
|
-
private getColorByLogLevel;
|
|
434
|
-
}
|
|
435
|
-
export { ConsoleLogger }
|
|
436
|
-
export { ConsoleLogger as ConsoleLogger_alias_1 }
|
|
437
|
-
export { ConsoleLogger as ConsoleLogger_alias_2 }
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @publicApi
|
|
441
|
-
*/
|
|
442
|
-
declare interface ConsoleLoggerOptions {
|
|
443
|
-
/**
|
|
444
|
-
* Enabled log levels.
|
|
445
|
-
*/
|
|
446
|
-
logLevels?: LogLevel[];
|
|
447
|
-
/**
|
|
448
|
-
* If enabled, will print timestamp (time difference) between current and previous log message.
|
|
449
|
-
* Note: This option is not used when `json` is enabled.
|
|
450
|
-
*/
|
|
451
|
-
timestamp?: boolean;
|
|
452
|
-
/**
|
|
453
|
-
* A prefix to be used for each log message.
|
|
454
|
-
* Note: This option is not used when `json` is enabled.
|
|
455
|
-
*/
|
|
456
|
-
prefix?: string;
|
|
457
|
-
/**
|
|
458
|
-
* If enabled, will add a request ID to the log message.
|
|
459
|
-
*/
|
|
460
|
-
requestId?: boolean;
|
|
461
|
-
/**
|
|
462
|
-
* If enabled, will print the log message in JSON format.
|
|
463
|
-
*/
|
|
464
|
-
json?: boolean;
|
|
465
|
-
/**
|
|
466
|
-
* If enabled, will print the log message in color.
|
|
467
|
-
* Default true if json is disabled, false otherwise
|
|
468
|
-
*/
|
|
469
|
-
colors?: boolean;
|
|
470
|
-
/**
|
|
471
|
-
* The context of the logger.
|
|
472
|
-
*/
|
|
473
|
-
context?: string;
|
|
474
|
-
/**
|
|
475
|
-
* If enabled, will print the log message in a single line, even if it is an object with multiple properties.
|
|
476
|
-
* If set to a number, the most n inner elements are united on a single line as long as all properties fit into breakLength. Short array elements are also grouped together.
|
|
477
|
-
* Default true when `json` is enabled, false otherwise.
|
|
478
|
-
*/
|
|
479
|
-
compact?: boolean | number;
|
|
480
|
-
/**
|
|
481
|
-
* Specifies the maximum number of Array, TypedArray, Map, Set, WeakMap, and WeakSet elements to include when formatting.
|
|
482
|
-
* Set to null or Infinity to show all elements. Set to 0 or negative to show no elements.
|
|
483
|
-
* Ignored when `json` is enabled, colors are disabled, and `compact` is set to true as it produces a parseable JSON output.
|
|
484
|
-
* @default 100
|
|
485
|
-
*/
|
|
486
|
-
maxArrayLength?: number;
|
|
487
|
-
/**
|
|
488
|
-
* Specifies the maximum number of characters to include when formatting.
|
|
489
|
-
* Set to null or Infinity to show all elements. Set to 0 or negative to show no characters.
|
|
490
|
-
* Ignored when `json` is enabled, colors are disabled, and `compact` is set to true as it produces a parseable JSON output.
|
|
491
|
-
* @default 10000.
|
|
492
|
-
*/
|
|
493
|
-
maxStringLength?: number;
|
|
494
|
-
/**
|
|
495
|
-
* If enabled, will sort keys while formatting objects.
|
|
496
|
-
* Can also be a custom sorting function.
|
|
497
|
-
* Ignored when `json` is enabled, colors are disabled, and `compact` is set to true as it produces a parseable JSON output.
|
|
498
|
-
* @default false
|
|
499
|
-
*/
|
|
500
|
-
sorted?: boolean | ((a: string, b: string) => number);
|
|
501
|
-
/**
|
|
502
|
-
* Specifies the number of times to recurse while formatting object. T
|
|
503
|
-
* This is useful for inspecting large objects. To recurse up to the maximum call stack size pass Infinity or null.
|
|
504
|
-
* Ignored when `json` is enabled, colors are disabled, and `compact` is set to true as it produces a parseable JSON output.
|
|
505
|
-
* @default 5
|
|
506
|
-
*/
|
|
507
|
-
depth?: number;
|
|
508
|
-
/**
|
|
509
|
-
* If true, object's non-enumerable symbols and properties are included in the formatted result.
|
|
510
|
-
* WeakMap and WeakSet entries are also included as well as user defined prototype properties
|
|
511
|
-
* @default false
|
|
512
|
-
*/
|
|
513
|
-
showHidden?: boolean;
|
|
514
|
-
/**
|
|
515
|
-
* The length at which input values are split across multiple lines. Set to Infinity to format the input as a single line (in combination with "compact" set to true).
|
|
516
|
-
* Default Infinity when "compact" is true, 80 otherwise.
|
|
517
|
-
* Ignored when `json` is enabled, colors are disabled, and `compact` is set to true as it produces a parseable JSON output.
|
|
518
|
-
*/
|
|
519
|
-
breakLength?: number;
|
|
520
|
-
}
|
|
521
|
-
export { ConsoleLoggerOptions }
|
|
522
|
-
export { ConsoleLoggerOptions as ConsoleLoggerOptions_alias_1 }
|
|
523
|
-
export { ConsoleLoggerOptions as ConsoleLoggerOptions_alias_2 }
|
|
524
|
-
|
|
525
|
-
export { Container }
|
|
526
|
-
|
|
527
|
-
declare function Controller({ guards }?: ControllerOptions): (target: ClassType, context: ClassDecoratorContext) => ClassType;
|
|
528
|
-
export { Controller }
|
|
529
|
-
export { Controller as Controller_alias_1 }
|
|
530
|
-
export { Controller as Controller_alias_2 }
|
|
531
|
-
|
|
532
|
-
declare interface ControllerMetadata {
|
|
533
|
-
endpoints: Set<HandlerMetadata>;
|
|
534
|
-
guards: Set<ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>>;
|
|
535
|
-
customAttributes: Map<string | symbol, any>;
|
|
536
|
-
}
|
|
537
|
-
export { ControllerMetadata }
|
|
538
|
-
export { ControllerMetadata as ControllerMetadata_alias_1 }
|
|
539
|
-
export { ControllerMetadata as ControllerMetadata_alias_2 }
|
|
540
|
-
|
|
541
|
-
declare const ControllerMetadataKey: unique symbol;
|
|
542
|
-
export { ControllerMetadataKey }
|
|
543
|
-
export { ControllerMetadataKey as ControllerMetadataKey_alias_1 }
|
|
544
|
-
export { ControllerMetadataKey as ControllerMetadataKey_alias_2 }
|
|
545
|
-
|
|
546
|
-
declare interface ControllerOptions {
|
|
547
|
-
guards?: ClassType[] | Set<ClassType>;
|
|
548
|
-
}
|
|
549
|
-
export { ControllerOptions }
|
|
550
|
-
export { ControllerOptions as ControllerOptions_alias_1 }
|
|
551
|
-
export { ControllerOptions as ControllerOptions_alias_2 }
|
|
552
|
-
|
|
553
|
-
export { createRequestContextHolder }
|
|
554
|
-
|
|
555
|
-
export { defaultInjectors }
|
|
556
|
-
|
|
557
|
-
export { DefaultRequestContextHolder }
|
|
558
|
-
|
|
559
|
-
export { DIError }
|
|
560
|
-
|
|
561
|
-
export { DIErrorCode }
|
|
562
|
-
|
|
563
|
-
declare function Endpoint<Method extends HttpMethod = HttpMethod, Url extends string = string, QuerySchema = undefined, ResponseSchema extends ZodType = ZodType, RequestSchema = ZodType>(endpoint: {
|
|
564
|
-
config: BaseEndpointConfig<Method, Url, QuerySchema, ResponseSchema, RequestSchema>;
|
|
565
|
-
}): (target: (params: QuerySchema extends ZodType ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>) => Promise<z.input<ResponseSchema>>, context: ClassMethodDecoratorContext) => (params: QuerySchema extends ZodType ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema, true> : EndpointFunctionArgs<Url, QuerySchema, undefined, true> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema, true> : EndpointFunctionArgs<Url, undefined, undefined, true>) => Promise<z.input<ResponseSchema>>;
|
|
566
|
-
export { Endpoint }
|
|
567
|
-
export { Endpoint as Endpoint_alias_1 }
|
|
568
|
-
export { Endpoint as Endpoint_alias_2 }
|
|
569
|
-
|
|
570
|
-
declare class EndpointAdapterFactory {
|
|
571
|
-
private readonly environment;
|
|
572
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
573
|
-
}
|
|
574
|
-
export { EndpointAdapterFactory }
|
|
575
|
-
export { EndpointAdapterFactory as EndpointAdapterFactory_alias_1 }
|
|
576
|
-
export { EndpointAdapterFactory as EndpointAdapterFactory_alias_2 }
|
|
577
|
-
|
|
578
|
-
declare const EndpointAdapterToken: InjectionToken<AbstractHttpHandlerAdapterInterface, undefined, false>;
|
|
579
|
-
export { EndpointAdapterToken }
|
|
580
|
-
export { EndpointAdapterToken as EndpointAdapterToken_alias_1 }
|
|
581
|
-
export { EndpointAdapterToken as EndpointAdapterToken_alias_2 }
|
|
582
|
-
|
|
583
|
-
declare const EndpointMetadataKey: unique symbol;
|
|
584
|
-
export { EndpointMetadataKey }
|
|
585
|
-
export { EndpointMetadataKey as EndpointMetadataKey_alias_1 }
|
|
586
|
-
export { EndpointMetadataKey as EndpointMetadataKey_alias_2 }
|
|
587
|
-
|
|
588
|
-
declare type EndpointParams<EndpointDeclaration extends {
|
|
589
|
-
config: BaseEndpointConfig<any, any, any, any, any>;
|
|
590
|
-
}, Url extends string = EndpointDeclaration['config']['url'], QuerySchema = EndpointDeclaration['config']['querySchema']> = QuerySchema extends ZodType ? EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, undefined, true>> : EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, undefined, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, undefined, undefined, true>>;
|
|
591
|
-
export { EndpointParams }
|
|
592
|
-
export { EndpointParams as EndpointParams_alias_1 }
|
|
593
|
-
export { EndpointParams as EndpointParams_alias_2 }
|
|
594
|
-
|
|
595
|
-
declare type EndpointResult<EndpointDeclaration extends {
|
|
596
|
-
config: BaseEndpointConfig<any, any, any, any, any>;
|
|
597
|
-
}> = EndpointDeclaration['config']['responseSchema'] extends ZodDiscriminatedUnion<infer Options> ? Promise<z.input<Options[number]>> : Promise<z.input<EndpointDeclaration['config']['responseSchema']>>;
|
|
598
|
-
export { EndpointResult }
|
|
599
|
-
export { EndpointResult as EndpointResult_alias_1 }
|
|
600
|
-
export { EndpointResult as EndpointResult_alias_2 }
|
|
601
|
-
|
|
602
|
-
declare const EnvConfigProvider: BoundInjectionToken<ConfigService<Record<string, string>>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
603
|
-
export { EnvConfigProvider }
|
|
604
|
-
export { EnvConfigProvider as EnvConfigProvider_alias_1 }
|
|
605
|
-
export { EnvConfigProvider as EnvConfigProvider_alias_2 }
|
|
606
|
-
|
|
607
|
-
declare function envInt(key: keyof NodeJS.ProcessEnv, defaultValue: number): number;
|
|
608
|
-
export { envInt }
|
|
609
|
-
export { envInt as envInt_alias_1 }
|
|
610
|
-
export { envInt as envInt_alias_2 }
|
|
611
|
-
export { envInt as envInt_alias_3 }
|
|
612
|
-
|
|
613
|
-
declare function envString<DefaultValue extends string | undefined, Ensured = DefaultValue extends string ? true : false>(key: keyof NodeJS.ProcessEnv, defaultValue?: DefaultValue): Ensured extends true ? string : string | undefined;
|
|
614
|
-
export { envString }
|
|
615
|
-
export { envString as envString_alias_1 }
|
|
616
|
-
export { envString as envString_alias_2 }
|
|
617
|
-
export { envString as envString_alias_3 }
|
|
618
|
-
|
|
619
|
-
export { ErrorsEnum }
|
|
620
|
-
|
|
621
|
-
export { EventEmitter }
|
|
622
|
-
|
|
623
|
-
export { EventEmitterInterface }
|
|
624
|
-
|
|
625
|
-
export { EventsArgs }
|
|
626
|
-
|
|
627
|
-
export { EventsConfig }
|
|
628
|
-
|
|
629
|
-
export { EventsNames }
|
|
630
|
-
|
|
631
|
-
declare type ExcludedKeys = 'computedTimeRates' | 'aiModelsRates' | 'aiModel';
|
|
632
|
-
|
|
633
|
-
declare type ExcludedParts = 'services' | 'mailer' | 'aws' | 'computedTimeRates' | 'aiModelsRates';
|
|
634
|
-
|
|
635
|
-
declare const ExecutionContext: InjectionToken<AbstractExecutionContext, undefined, false>;
|
|
636
|
-
export { ExecutionContext }
|
|
637
|
-
export { ExecutionContext as ExecutionContext_alias_1 }
|
|
638
|
-
export { ExecutionContext as ExecutionContext_alias_2 }
|
|
639
|
-
|
|
640
|
-
declare const ExecutionContextInjectionToken = "ExecutionContextInjectionToken";
|
|
641
|
-
export { ExecutionContextInjectionToken }
|
|
642
|
-
export { ExecutionContextInjectionToken as ExecutionContextInjectionToken_alias_1 }
|
|
643
|
-
export { ExecutionContextInjectionToken as ExecutionContextInjectionToken_alias_2 }
|
|
644
|
-
|
|
645
|
-
declare function extractControllerMetadata(target: ClassType): ControllerMetadata;
|
|
646
|
-
export { extractControllerMetadata }
|
|
647
|
-
export { extractControllerMetadata as extractControllerMetadata_alias_1 }
|
|
648
|
-
export { extractControllerMetadata as extractControllerMetadata_alias_2 }
|
|
649
|
-
|
|
650
|
-
declare function extractModuleMetadata(target: ClassType): ModuleMetadata;
|
|
651
|
-
export { extractModuleMetadata }
|
|
652
|
-
export { extractModuleMetadata as extractModuleMetadata_alias_1 }
|
|
653
|
-
export { extractModuleMetadata as extractModuleMetadata_alias_2 }
|
|
654
|
-
|
|
655
|
-
export { Factorable }
|
|
656
|
-
|
|
657
|
-
export { FactorableWithArgs }
|
|
658
|
-
|
|
659
|
-
export { Factory }
|
|
660
|
-
|
|
661
|
-
export { FactoryContext }
|
|
662
|
-
|
|
663
|
-
export { FactoryInjectionToken }
|
|
664
|
-
|
|
665
|
-
export { FactoryNotFound }
|
|
666
|
-
|
|
667
|
-
export { FactoryOptions }
|
|
668
|
-
|
|
669
|
-
export { FactoryRecord }
|
|
670
|
-
|
|
671
|
-
export { FactoryTokenNotResolved }
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* @publicApi
|
|
675
|
-
*/
|
|
676
|
-
declare function filterLogLevels(parseableString?: string): LogLevel[];
|
|
677
|
-
export { filterLogLevels }
|
|
678
|
-
export { filterLogLevels as filterLogLevels_alias_1 }
|
|
679
|
-
export { filterLogLevels as filterLogLevels_alias_2 }
|
|
680
|
-
export { filterLogLevels as filterLogLevels_alias_3 }
|
|
681
|
-
|
|
682
|
-
declare class ForbiddenException extends HttpException {
|
|
683
|
-
constructor(message: string);
|
|
684
|
-
}
|
|
685
|
-
export { ForbiddenException }
|
|
686
|
-
export { ForbiddenException as ForbiddenException_alias_1 }
|
|
687
|
-
export { ForbiddenException as ForbiddenException_alias_2 }
|
|
688
|
-
|
|
689
|
-
declare function getAllEndpointMetadata(context: ClassMethodDecoratorContext | ClassDecoratorContext): Set<HandlerMetadata<any>>;
|
|
690
|
-
export { getAllEndpointMetadata }
|
|
691
|
-
export { getAllEndpointMetadata as getAllEndpointMetadata_alias_1 }
|
|
692
|
-
export { getAllEndpointMetadata as getAllEndpointMetadata_alias_2 }
|
|
693
|
-
|
|
694
|
-
declare function getControllerMetadata(target: ClassType, context: ClassDecoratorContext): ControllerMetadata;
|
|
695
|
-
export { getControllerMetadata }
|
|
696
|
-
export { getControllerMetadata as getControllerMetadata_alias_1 }
|
|
697
|
-
export { getControllerMetadata as getControllerMetadata_alias_2 }
|
|
698
|
-
|
|
699
|
-
declare function getEndpointMetadata<Config = any>(target: Function, context: ClassMethodDecoratorContext): HandlerMetadata<Config>;
|
|
700
|
-
export { getEndpointMetadata }
|
|
701
|
-
export { getEndpointMetadata as getEndpointMetadata_alias_1 }
|
|
702
|
-
export { getEndpointMetadata as getEndpointMetadata_alias_2 }
|
|
703
|
-
|
|
704
|
-
export { getInjectableToken }
|
|
705
|
-
|
|
706
|
-
export { getInjectors }
|
|
707
|
-
|
|
708
|
-
declare function getModuleMetadata(target: ClassType, context: ClassDecoratorContext): ModuleMetadata;
|
|
709
|
-
export { getModuleMetadata }
|
|
710
|
-
export { getModuleMetadata as getModuleMetadata_alias_1 }
|
|
711
|
-
export { getModuleMetadata as getModuleMetadata_alias_2 }
|
|
712
|
-
|
|
713
|
-
export { globalRegistry }
|
|
714
|
-
|
|
715
|
-
declare class GuardRunnerService {
|
|
716
|
-
protected container: Container;
|
|
717
|
-
runGuards(allGuards: Set<ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>>, executionContext: AbstractExecutionContext): Promise<boolean>;
|
|
718
|
-
makeContext(moduleMetadata: ModuleMetadata, controllerMetadata: ControllerMetadata, endpoint: HandlerMetadata): Set<ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>>;
|
|
719
|
-
}
|
|
720
|
-
export { GuardRunnerService }
|
|
721
|
-
export { GuardRunnerService as GuardRunnerService_alias_1 }
|
|
722
|
-
export { GuardRunnerService as GuardRunnerService_alias_2 }
|
|
723
|
-
|
|
724
|
-
declare interface HandlerMetadata<Config = null> {
|
|
725
|
-
classMethod: string;
|
|
726
|
-
url: string;
|
|
727
|
-
successStatusCode: number;
|
|
728
|
-
adapterToken: InjectionToken<AbstractHttpHandlerAdapterInterface, undefined> | ClassTypeWithInstance<AbstractHttpHandlerAdapterInterface> | null;
|
|
729
|
-
headers: Partial<Record<HttpHeader, number | string | string[] | undefined>>;
|
|
730
|
-
httpMethod: HttpMethod;
|
|
731
|
-
config: Config;
|
|
732
|
-
guards: Set<ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>>;
|
|
733
|
-
customAttributes: Map<string | symbol, any>;
|
|
734
|
-
}
|
|
735
|
-
export { HandlerMetadata }
|
|
736
|
-
export { HandlerMetadata as HandlerMetadata_alias_1 }
|
|
737
|
-
export { HandlerMetadata as HandlerMetadata_alias_2 }
|
|
738
|
-
|
|
739
|
-
declare function hasControllerMetadata(target: ClassType): boolean;
|
|
740
|
-
export { hasControllerMetadata }
|
|
741
|
-
export { hasControllerMetadata as hasControllerMetadata_alias_1 }
|
|
742
|
-
export { hasControllerMetadata as hasControllerMetadata_alias_2 }
|
|
743
|
-
|
|
744
|
-
declare function hasModuleMetadata(target: ClassType): boolean;
|
|
745
|
-
export { hasModuleMetadata }
|
|
746
|
-
export { hasModuleMetadata as hasModuleMetadata_alias_1 }
|
|
747
|
-
export { hasModuleMetadata as hasModuleMetadata_alias_2 }
|
|
748
|
-
|
|
749
|
-
declare function Header(name: HttpHeader, value: string | number | string[]): <T extends Function>(target: T, context: ClassMethodDecoratorContext) => T;
|
|
750
|
-
export { Header }
|
|
751
|
-
export { Header as Header_alias_1 }
|
|
752
|
-
export { Header as Header_alias_2 }
|
|
753
|
-
|
|
754
|
-
declare class HttpAdapterFactory {
|
|
755
|
-
private readonly environment;
|
|
756
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
757
|
-
}
|
|
758
|
-
export { HttpAdapterFactory }
|
|
759
|
-
export { HttpAdapterFactory as HttpAdapterFactory_alias_1 }
|
|
760
|
-
export { HttpAdapterFactory as HttpAdapterFactory_alias_2 }
|
|
761
|
-
|
|
762
|
-
declare const HttpAdapterToken: InjectionToken<AbstractHttpAdapterInterface<any, any, any, any>, undefined, false>;
|
|
763
|
-
export { HttpAdapterToken }
|
|
764
|
-
export { HttpAdapterToken as HttpAdapterToken_alias_1 }
|
|
765
|
-
export { HttpAdapterToken as HttpAdapterToken_alias_2 }
|
|
766
|
-
|
|
767
|
-
declare function HttpCode(code: number): <T extends Function>(target: T, context: ClassMethodDecoratorContext) => T;
|
|
768
|
-
export { HttpCode }
|
|
769
|
-
export { HttpCode as HttpCode_alias_1 }
|
|
770
|
-
export { HttpCode as HttpCode_alias_2 }
|
|
771
|
-
|
|
772
|
-
declare class HttpException {
|
|
773
|
-
readonly statusCode: number;
|
|
774
|
-
readonly response: string | object;
|
|
775
|
-
readonly error?: Error | undefined;
|
|
776
|
-
constructor(statusCode: number, response: string | object, error?: Error | undefined);
|
|
777
|
-
}
|
|
778
|
-
export { HttpException }
|
|
779
|
-
export { HttpException as HttpException_alias_1 }
|
|
780
|
-
export { HttpException as HttpException_alias_2 }
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* HTTP header strings
|
|
784
|
-
* Use this type only for input values, not for output values.
|
|
785
|
-
*/
|
|
786
|
-
declare type HttpHeader = keyof OmitIndexSignature<OutgoingHttpHeaders> | (string & Record<never, never>);
|
|
787
|
-
export { HttpHeader }
|
|
788
|
-
export { HttpHeader as HttpHeader_alias_1 }
|
|
789
|
-
export { HttpHeader as HttpHeader_alias_2 }
|
|
790
|
-
|
|
791
|
-
export { inject }
|
|
792
|
-
|
|
793
|
-
export { Injectable }
|
|
794
|
-
|
|
795
|
-
export { InjectableOptions }
|
|
796
|
-
|
|
797
|
-
export { InjectableScope }
|
|
798
|
-
|
|
799
|
-
export { InjectableTokenMeta }
|
|
800
|
-
|
|
801
|
-
export { InjectableType }
|
|
802
|
-
|
|
803
|
-
export { InjectionToken }
|
|
804
|
-
|
|
805
|
-
export { InjectionTokenSchemaType }
|
|
806
|
-
|
|
807
|
-
export { InjectionTokenType }
|
|
808
|
-
|
|
809
|
-
export { Injectors }
|
|
810
|
-
|
|
811
|
-
export { InjectRequest }
|
|
812
|
-
|
|
813
|
-
export { InjectState }
|
|
814
|
-
|
|
815
|
-
export { InstanceDestroying }
|
|
816
|
-
|
|
817
|
-
export { InstanceNotFound }
|
|
818
|
-
|
|
819
|
-
declare class InternalServerErrorException extends HttpException {
|
|
820
|
-
constructor(message: string | object, error?: Error);
|
|
821
|
-
}
|
|
822
|
-
export { InternalServerErrorException }
|
|
823
|
-
export { InternalServerErrorException as InternalServerErrorException_alias_1 }
|
|
824
|
-
export { InternalServerErrorException as InternalServerErrorException_alias_2 }
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* Evaluates to `true` if `T` is `any`. `false` otherwise.
|
|
828
|
-
* (c) https://stackoverflow.com/a/68633327/5290447
|
|
829
|
-
*/
|
|
830
|
-
declare type IsAny<T> = unknown extends T ? [keyof T] extends [never] ? false : true : false;
|
|
831
|
-
|
|
832
|
-
declare const isConstructor: (val: any) => boolean;
|
|
833
|
-
export { isConstructor }
|
|
834
|
-
export { isConstructor as isConstructor_alias_1 }
|
|
835
|
-
export { isConstructor as isConstructor_alias_2 }
|
|
836
|
-
export { isConstructor as isConstructor_alias_3 }
|
|
837
|
-
|
|
838
|
-
declare const isEmpty: (array: any) => boolean;
|
|
839
|
-
export { isEmpty }
|
|
840
|
-
export { isEmpty as isEmpty_alias_1 }
|
|
841
|
-
export { isEmpty as isEmpty_alias_2 }
|
|
842
|
-
export { isEmpty as isEmpty_alias_3 }
|
|
843
|
-
|
|
844
|
-
declare const isFunction: (val: any) => val is Function;
|
|
845
|
-
export { isFunction }
|
|
846
|
-
export { isFunction as isFunction_alias_1 }
|
|
847
|
-
export { isFunction as isFunction_alias_2 }
|
|
848
|
-
export { isFunction as isFunction_alias_3 }
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* @publicApi
|
|
852
|
-
*/
|
|
853
|
-
declare function isLogLevel(maybeLogLevel: any): maybeLogLevel is LogLevel;
|
|
854
|
-
export { isLogLevel }
|
|
855
|
-
export { isLogLevel as isLogLevel_alias_1 }
|
|
856
|
-
export { isLogLevel as isLogLevel_alias_2 }
|
|
857
|
-
export { isLogLevel as isLogLevel_alias_3 }
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* Checks if target level is enabled.
|
|
861
|
-
* @param targetLevel target level
|
|
862
|
-
* @param logLevels array of enabled log levels
|
|
863
|
-
*/
|
|
864
|
-
declare function isLogLevelEnabled(targetLevel: LogLevel, logLevels: LogLevel[] | undefined): boolean;
|
|
865
|
-
export { isLogLevelEnabled }
|
|
866
|
-
export { isLogLevelEnabled as isLogLevelEnabled_alias_1 }
|
|
867
|
-
export { isLogLevelEnabled as isLogLevelEnabled_alias_2 }
|
|
868
|
-
export { isLogLevelEnabled as isLogLevelEnabled_alias_3 }
|
|
869
|
-
|
|
870
|
-
declare const isNil: (val: any) => val is null | undefined;
|
|
871
|
-
export { isNil }
|
|
872
|
-
export { isNil as isNil_alias_1 }
|
|
873
|
-
export { isNil as isNil_alias_2 }
|
|
874
|
-
export { isNil as isNil_alias_3 }
|
|
875
|
-
|
|
876
|
-
declare const isNumber: (val: any) => val is number;
|
|
877
|
-
export { isNumber }
|
|
878
|
-
export { isNumber as isNumber_alias_1 }
|
|
879
|
-
export { isNumber as isNumber_alias_2 }
|
|
880
|
-
export { isNumber as isNumber_alias_3 }
|
|
881
|
-
|
|
882
|
-
declare const isObject: (fn: any) => fn is object;
|
|
883
|
-
export { isObject }
|
|
884
|
-
export { isObject as isObject_alias_1 }
|
|
885
|
-
export { isObject as isObject_alias_2 }
|
|
886
|
-
export { isObject as isObject_alias_3 }
|
|
887
|
-
|
|
888
|
-
declare const isPlainObject: (fn: any) => fn is object;
|
|
889
|
-
export { isPlainObject }
|
|
890
|
-
export { isPlainObject as isPlainObject_alias_1 }
|
|
891
|
-
export { isPlainObject as isPlainObject_alias_2 }
|
|
892
|
-
export { isPlainObject as isPlainObject_alias_3 }
|
|
893
|
-
|
|
894
|
-
declare const isString: (val: any) => val is string;
|
|
895
|
-
export { isString }
|
|
896
|
-
export { isString as isString_alias_1 }
|
|
897
|
-
export { isString as isString_alias_2 }
|
|
898
|
-
export { isString as isString_alias_3 }
|
|
899
|
-
|
|
900
|
-
declare const isSymbol: (val: any) => val is symbol;
|
|
901
|
-
export { isSymbol }
|
|
902
|
-
export { isSymbol as isSymbol_alias_1 }
|
|
903
|
-
export { isSymbol as isSymbol_alias_2 }
|
|
904
|
-
export { isSymbol as isSymbol_alias_3 }
|
|
905
|
-
|
|
906
|
-
declare const isUndefined: (obj: any) => obj is undefined;
|
|
907
|
-
export { isUndefined }
|
|
908
|
-
export { isUndefined as isUndefined_alias_1 }
|
|
909
|
-
export { isUndefined as isUndefined_alias_2 }
|
|
910
|
-
export { isUndefined as isUndefined_alias_3 }
|
|
911
|
-
|
|
912
|
-
export { IsUnion }
|
|
913
|
-
|
|
914
|
-
export { Join }
|
|
915
|
-
|
|
916
|
-
declare const LOG_LEVELS: ["verbose", "debug", "log", "warn", "error", "fatal"];
|
|
917
|
-
export { LOG_LEVELS }
|
|
918
|
-
export { LOG_LEVELS as LOG_LEVELS_alias_1 }
|
|
919
|
-
export { LOG_LEVELS as LOG_LEVELS_alias_2 }
|
|
920
|
-
|
|
921
|
-
declare const Logger: InjectionToken<LoggerInstance, z.ZodOptional<z.ZodObject<{
|
|
922
|
-
context: z.ZodOptional<z.ZodString>;
|
|
923
|
-
}, z.core.$strip>>, false>;
|
|
924
|
-
export { Logger }
|
|
925
|
-
export { Logger as Logger_alias_1 }
|
|
926
|
-
export { Logger as Logger_alias_2 }
|
|
927
|
-
|
|
928
|
-
declare class LoggerInstance implements LoggerService {
|
|
929
|
-
protected localInstance: LoggerService;
|
|
930
|
-
protected context?: string;
|
|
931
|
-
constructor(config?: LoggerOptions);
|
|
932
|
-
/**
|
|
933
|
-
* Write an 'error' level log.
|
|
934
|
-
*/
|
|
935
|
-
error(message: any, stack?: string, context?: string): void;
|
|
936
|
-
error(message: any, ...optionalParams: [...any, string?, string?]): void;
|
|
937
|
-
/**
|
|
938
|
-
* Write a 'log' level log.
|
|
939
|
-
*/
|
|
940
|
-
log(message: any, context?: string): void;
|
|
941
|
-
log(message: any, ...optionalParams: [...any, string?]): void;
|
|
942
|
-
/**
|
|
943
|
-
* Write a 'warn' level log.
|
|
944
|
-
*/
|
|
945
|
-
warn(message: any, context?: string): void;
|
|
946
|
-
warn(message: any, ...optionalParams: [...any, string?]): void;
|
|
947
|
-
/**
|
|
948
|
-
* Write a 'debug' level log.
|
|
949
|
-
*/
|
|
950
|
-
debug(message: any, context?: string): void;
|
|
951
|
-
debug(message: any, ...optionalParams: [...any, string?]): void;
|
|
952
|
-
/**
|
|
953
|
-
* Write a 'verbose' level log.
|
|
954
|
-
*/
|
|
955
|
-
verbose(message: any, context?: string): void;
|
|
956
|
-
verbose(message: any, ...optionalParams: [...any, string?]): void;
|
|
957
|
-
/**
|
|
958
|
-
* Write a 'fatal' level log.
|
|
959
|
-
*/
|
|
960
|
-
fatal(message: any, context?: string): void;
|
|
961
|
-
fatal(message: any, ...optionalParams: [...any, string?]): void;
|
|
962
|
-
}
|
|
963
|
-
export { LoggerInstance }
|
|
964
|
-
export { LoggerInstance as LoggerInstance_alias_1 }
|
|
965
|
-
export { LoggerInstance as LoggerInstance_alias_2 }
|
|
966
|
-
|
|
967
|
-
declare type LoggerOptions = z.infer<typeof loggerOptionsSchema>;
|
|
968
|
-
export { LoggerOptions }
|
|
969
|
-
export { LoggerOptions as LoggerOptions_alias_1 }
|
|
970
|
-
export { LoggerOptions as LoggerOptions_alias_2 }
|
|
971
|
-
|
|
972
|
-
declare const loggerOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
973
|
-
context: z.ZodOptional<z.ZodString>;
|
|
974
|
-
}, z.core.$strip>>;
|
|
975
|
-
export { loggerOptionsSchema }
|
|
976
|
-
export { loggerOptionsSchema as loggerOptionsSchema_alias_1 }
|
|
977
|
-
export { loggerOptionsSchema as loggerOptionsSchema_alias_2 }
|
|
978
|
-
|
|
979
|
-
declare const LoggerOutput: InjectionToken<LoggerService, undefined, false>;
|
|
980
|
-
export { LoggerOutput }
|
|
981
|
-
export { LoggerOutput as LoggerOutput_alias_1 }
|
|
982
|
-
export { LoggerOutput as LoggerOutput_alias_2 }
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* @publicApi
|
|
986
|
-
*/
|
|
987
|
-
declare interface LoggerService {
|
|
988
|
-
/**
|
|
989
|
-
* Write a 'log' level log.
|
|
990
|
-
*/
|
|
991
|
-
log(message: any, ...optionalParams: any[]): any;
|
|
992
|
-
/**
|
|
993
|
-
* Write an 'error' level log.
|
|
994
|
-
*/
|
|
995
|
-
error(message: any, ...optionalParams: any[]): any;
|
|
996
|
-
/**
|
|
997
|
-
* Write a 'warn' level log.
|
|
998
|
-
*/
|
|
999
|
-
warn(message: any, ...optionalParams: any[]): any;
|
|
1000
|
-
/**
|
|
1001
|
-
* Write a 'debug' level log.
|
|
1002
|
-
*/
|
|
1003
|
-
debug?(message: any, ...optionalParams: any[]): any;
|
|
1004
|
-
/**
|
|
1005
|
-
* Write a 'verbose' level log.
|
|
1006
|
-
*/
|
|
1007
|
-
verbose?(message: any, ...optionalParams: any[]): any;
|
|
1008
|
-
/**
|
|
1009
|
-
* Write a 'fatal' level log.
|
|
1010
|
-
*/
|
|
1011
|
-
fatal?(message: any, ...optionalParams: any[]): any;
|
|
1012
|
-
/**
|
|
1013
|
-
* Set log levels.
|
|
1014
|
-
* @param levels log levels
|
|
1015
|
-
*/
|
|
1016
|
-
setLogLevels?(levels: LogLevel[]): any;
|
|
1017
|
-
}
|
|
1018
|
-
export { LoggerService }
|
|
1019
|
-
export { LoggerService as LoggerService_alias_1 }
|
|
1020
|
-
export { LoggerService as LoggerService_alias_2 }
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* @publicApi
|
|
1024
|
-
*/
|
|
1025
|
-
declare type LogLevel = (typeof LOG_LEVELS)[number];
|
|
1026
|
-
export { LogLevel }
|
|
1027
|
-
export { LogLevel as LogLevel_alias_1 }
|
|
1028
|
-
export { LogLevel as LogLevel_alias_2 }
|
|
1029
|
-
|
|
1030
|
-
declare function Module({ controllers, imports, guards }?: ModuleOptions): (target: ClassType, context: ClassDecoratorContext) => ClassType;
|
|
1031
|
-
export { Module }
|
|
1032
|
-
export { Module as Module_alias_1 }
|
|
1033
|
-
export { Module as Module_alias_2 }
|
|
1034
|
-
|
|
1035
|
-
declare class ModuleLoaderService {
|
|
1036
|
-
private logger;
|
|
1037
|
-
protected container: Container;
|
|
1038
|
-
private modulesMetadata;
|
|
1039
|
-
private loadedModules;
|
|
1040
|
-
private initialized;
|
|
1041
|
-
loadModules(appModule: ClassTypeWithInstance<NaviosModule>): Promise<void>;
|
|
1042
|
-
private traverseModules;
|
|
1043
|
-
private mergeMetadata;
|
|
1044
|
-
getAllModules(): Map<string, ModuleMetadata>;
|
|
1045
|
-
dispose(): void;
|
|
1046
|
-
}
|
|
1047
|
-
export { ModuleLoaderService }
|
|
1048
|
-
export { ModuleLoaderService as ModuleLoaderService_alias_1 }
|
|
1049
|
-
export { ModuleLoaderService as ModuleLoaderService_alias_2 }
|
|
1050
|
-
|
|
1051
|
-
declare interface ModuleMetadata {
|
|
1052
|
-
controllers: Set<ClassType>;
|
|
1053
|
-
imports: Set<ClassType>;
|
|
1054
|
-
guards: Set<ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>>;
|
|
1055
|
-
customAttributes: Map<string | symbol, any>;
|
|
1056
|
-
}
|
|
1057
|
-
export { ModuleMetadata }
|
|
1058
|
-
export { ModuleMetadata as ModuleMetadata_alias_1 }
|
|
1059
|
-
export { ModuleMetadata as ModuleMetadata_alias_2 }
|
|
1060
|
-
|
|
1061
|
-
declare const ModuleMetadataKey: unique symbol;
|
|
1062
|
-
export { ModuleMetadataKey }
|
|
1063
|
-
export { ModuleMetadataKey as ModuleMetadataKey_alias_1 }
|
|
1064
|
-
export { ModuleMetadataKey as ModuleMetadataKey_alias_2 }
|
|
1065
|
-
|
|
1066
|
-
declare interface ModuleOptions {
|
|
1067
|
-
controllers?: ClassType[] | Set<ClassType>;
|
|
1068
|
-
imports?: ClassType[] | Set<ClassType>;
|
|
1069
|
-
guards?: ClassType[] | Set<ClassType>;
|
|
1070
|
-
}
|
|
1071
|
-
export { ModuleOptions }
|
|
1072
|
-
export { ModuleOptions as ModuleOptions_alias_1 }
|
|
1073
|
-
export { ModuleOptions as ModuleOptions_alias_2 }
|
|
1074
|
-
|
|
1075
|
-
declare function Multipart<Method extends HttpMethod = HttpMethod, Url extends string = string, QuerySchema = undefined, ResponseSchema extends ZodType = ZodType, RequestSchema = ZodType>(endpoint: {
|
|
1076
|
-
config: BaseEndpointConfig<Method, Url, QuerySchema, ResponseSchema, RequestSchema>;
|
|
1077
|
-
}): (target: (params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>) => Promise<z.input<ResponseSchema>>, context: ClassMethodDecoratorContext) => (params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>) => Promise<z.input<ResponseSchema>>;
|
|
1078
|
-
export { Multipart }
|
|
1079
|
-
export { Multipart as Multipart_alias_1 }
|
|
1080
|
-
export { Multipart as Multipart_alias_2 }
|
|
1081
|
-
|
|
1082
|
-
declare class MultipartAdapterFactory {
|
|
1083
|
-
private readonly environment;
|
|
1084
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
1085
|
-
}
|
|
1086
|
-
export { MultipartAdapterFactory }
|
|
1087
|
-
export { MultipartAdapterFactory as MultipartAdapterFactory_alias_1 }
|
|
1088
|
-
export { MultipartAdapterFactory as MultipartAdapterFactory_alias_2 }
|
|
1089
|
-
|
|
1090
|
-
declare const MultipartAdapterToken: InjectionToken<AbstractHttpHandlerAdapterInterface, undefined, false>;
|
|
1091
|
-
export { MultipartAdapterToken }
|
|
1092
|
-
export { MultipartAdapterToken as MultipartAdapterToken_alias_1 }
|
|
1093
|
-
export { MultipartAdapterToken as MultipartAdapterToken_alias_2 }
|
|
1094
|
-
|
|
1095
|
-
declare type MultipartParams<EndpointDeclaration extends {
|
|
1096
|
-
config: BaseEndpointConfig<any, any, any, any, any>;
|
|
1097
|
-
}, Url extends string = EndpointDeclaration['config']['url'], QuerySchema = EndpointDeclaration['config']['querySchema']> = QuerySchema extends ZodObject ? EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, undefined, true>> : EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, undefined, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, undefined, undefined, true>>;
|
|
1098
|
-
export { MultipartParams }
|
|
1099
|
-
export { MultipartParams as MultipartParams_alias_1 }
|
|
1100
|
-
export { MultipartParams as MultipartParams_alias_2 }
|
|
1101
|
-
|
|
1102
|
-
declare type MultipartResult<EndpointDeclaration extends {
|
|
1103
|
-
config: BaseEndpointConfig<any, any, any, any, any>;
|
|
1104
|
-
}> = EndpointDeclaration['config']['responseSchema'] extends ZodDiscriminatedUnion<infer Options> ? Promise<z.input<Options[number]>> : Promise<z.input<EndpointDeclaration['config']['responseSchema']>>;
|
|
1105
|
-
export { MultipartResult }
|
|
1106
|
-
export { MultipartResult as MultipartResult_alias_1 }
|
|
1107
|
-
export { MultipartResult as MultipartResult_alias_2 }
|
|
1108
|
-
|
|
1109
|
-
declare class NaviosApplication {
|
|
1110
|
-
private environment;
|
|
1111
|
-
private moduleLoader;
|
|
1112
|
-
private httpApplication;
|
|
1113
|
-
private logger;
|
|
1114
|
-
protected container: Container;
|
|
1115
|
-
private appModule;
|
|
1116
|
-
private options;
|
|
1117
|
-
isInitialized: boolean;
|
|
1118
|
-
setup(appModule: ClassTypeWithInstance<NaviosModule>, options?: NaviosApplicationOptions): Promise<void>;
|
|
1119
|
-
getContainer(): Container;
|
|
1120
|
-
init(): Promise<void>;
|
|
1121
|
-
private initModules;
|
|
1122
|
-
enableCors(options: any): void;
|
|
1123
|
-
enableMultipart(options: any): void;
|
|
1124
|
-
setGlobalPrefix(prefix: string): void;
|
|
1125
|
-
getServer(): any;
|
|
1126
|
-
listen(options: AbstractHttpListenOptions): Promise<void>;
|
|
1127
|
-
dispose(): Promise<void>;
|
|
1128
|
-
close(): Promise<void>;
|
|
1129
|
-
}
|
|
1130
|
-
export { NaviosApplication }
|
|
1131
|
-
export { NaviosApplication as NaviosApplication_alias_1 }
|
|
1132
|
-
|
|
1133
|
-
declare interface NaviosApplicationContextOptions {
|
|
1134
|
-
/**
|
|
1135
|
-
* Specifies the logger to use. Pass `false` to turn off logging.
|
|
1136
|
-
*/
|
|
1137
|
-
logger?: LoggerService | LogLevel[] | false;
|
|
1138
|
-
}
|
|
1139
|
-
export { NaviosApplicationContextOptions }
|
|
1140
|
-
export { NaviosApplicationContextOptions as NaviosApplicationContextOptions_alias_1 }
|
|
1141
|
-
|
|
1142
|
-
declare interface NaviosApplicationOptions extends NaviosApplicationContextOptions {
|
|
1143
|
-
adapter: NaviosEnvironmentOptions | NaviosEnvironmentOptions[];
|
|
1144
|
-
}
|
|
1145
|
-
export { NaviosApplicationOptions }
|
|
1146
|
-
export { NaviosApplicationOptions as NaviosApplicationOptions_alias_1 }
|
|
1147
|
-
|
|
1148
|
-
export declare class NaviosEnvironment {
|
|
1149
|
-
private httpTokens;
|
|
1150
|
-
setupHttpEnvironment(tokens: Map<InjectionToken<any, undefined>, AnyInjectableType>): void;
|
|
1151
|
-
getHttpToken(token: InjectionToken<any, undefined>): AnyInjectableType | undefined;
|
|
1152
|
-
hasHttpSetup(): boolean;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
export declare interface NaviosEnvironmentOptions {
|
|
1156
|
-
httpTokens?: Map<InjectionToken<any, undefined>, AnyInjectableType>;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
declare class NaviosFactory {
|
|
1160
|
-
static create(appModule: ClassTypeWithInstance<NaviosModule>, options?: NaviosApplicationOptions): Promise<NaviosApplication>;
|
|
1161
|
-
private static registerEnvironment;
|
|
1162
|
-
private static registerLoggerConfiguration;
|
|
1163
|
-
}
|
|
1164
|
-
export { NaviosFactory }
|
|
1165
|
-
export { NaviosFactory as NaviosFactory_alias_1 }
|
|
1166
|
-
|
|
1167
|
-
declare interface NaviosModule {
|
|
1168
|
-
onModuleInit?: () => Promise<void> | void;
|
|
1169
|
-
}
|
|
1170
|
-
export { NaviosModule }
|
|
1171
|
-
export { NaviosModule as NaviosModule_alias_1 }
|
|
1172
|
-
export { NaviosModule as NaviosModule_alias_2 }
|
|
1173
|
-
|
|
1174
|
-
declare const normalizePath: (path?: string) => string;
|
|
1175
|
-
export { normalizePath }
|
|
1176
|
-
export { normalizePath as normalizePath_alias_1 }
|
|
1177
|
-
export { normalizePath as normalizePath_alias_2 }
|
|
1178
|
-
export { normalizePath as normalizePath_alias_3 }
|
|
1179
|
-
|
|
1180
|
-
declare class NotFoundException extends HttpException {
|
|
1181
|
-
readonly response: string | object;
|
|
1182
|
-
readonly error?: Error | undefined;
|
|
1183
|
-
constructor(response: string | object, error?: Error | undefined);
|
|
1184
|
-
}
|
|
1185
|
-
export { NotFoundException }
|
|
1186
|
-
export { NotFoundException as NotFoundException_alias_1 }
|
|
1187
|
-
export { NotFoundException as NotFoundException_alias_2 }
|
|
1188
|
-
|
|
1189
|
-
declare type OmitIndexSignature<T> = {
|
|
1190
|
-
[K in keyof T as string extends K ? never : number extends K ? never : K]: T[K];
|
|
1191
|
-
};
|
|
1192
|
-
export { OmitIndexSignature }
|
|
1193
|
-
export { OmitIndexSignature as OmitIndexSignature_alias_1 }
|
|
1194
|
-
export { OmitIndexSignature as OmitIndexSignature_alias_2 }
|
|
1195
|
-
|
|
1196
|
-
export { OnServiceDestroy }
|
|
1197
|
-
|
|
1198
|
-
export { OnServiceInit }
|
|
1199
|
-
|
|
1200
|
-
export { optional }
|
|
1201
|
-
|
|
1202
|
-
export { OptionalInjectionTokenSchemaType }
|
|
1203
|
-
|
|
1204
|
-
declare type OriginType = string | boolean | RegExp;
|
|
1205
|
-
|
|
1206
|
-
declare type Path<T> = keyof T extends string ? PathImpl2<T> extends infer P ? P extends string | keyof T ? P : keyof T : keyof T : never;
|
|
1207
|
-
export { Path }
|
|
1208
|
-
export { Path as Path_alias_1 }
|
|
1209
|
-
export { Path as Path_alias_2 }
|
|
1210
|
-
|
|
1211
|
-
declare type PathImpl<T, Key extends keyof T> = Key extends string ? Key extends ExcludedKeys ? never : IsAny<T[Key]> extends true ? never : T[Key] extends string ? never : T[Key] extends any[] ? never : T[Key] extends Record<string, any> ? Key extends ExcludedParts ? `${Key}.${Exclude<keyof T[Key], keyof any[]> & string}` : `${Key}.${PathImpl<T[Key], Exclude<keyof T[Key], keyof any[]>> & string}` | `${Key}.${Exclude<keyof T[Key], keyof any[]> & string}` : never : never;
|
|
1212
|
-
export { PathImpl }
|
|
1213
|
-
export { PathImpl as PathImpl_alias_1 }
|
|
1214
|
-
export { PathImpl as PathImpl_alias_2 }
|
|
1215
|
-
|
|
1216
|
-
declare type PathImpl2<T> = PathImpl<T, keyof T> | keyof T;
|
|
1217
|
-
export { PathImpl2 }
|
|
1218
|
-
export { PathImpl2 as PathImpl2_alias_1 }
|
|
1219
|
-
export { PathImpl2 as PathImpl2_alias_2 }
|
|
1220
|
-
|
|
1221
|
-
declare type PathValue<T, P extends Path<T>> = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? Rest extends Path<T[Key]> ? PathValue<T[Key], Rest> : never : never : P extends keyof T ? T[P] : never;
|
|
1222
|
-
export { PathValue }
|
|
1223
|
-
export { PathValue as PathValue_alias_1 }
|
|
1224
|
-
export { PathValue as PathValue_alias_2 }
|
|
1225
|
-
|
|
1226
|
-
export { PopUnion }
|
|
1227
|
-
|
|
1228
|
-
declare function provideConfig<ConfigMap extends ConfigServiceOptions>(options: z.input<typeof ConfigProviderOptions>): FactoryInjectionToken<ConfigService<ConfigMap>, typeof ConfigServiceOptionsSchema>;
|
|
1229
|
-
export { provideConfig }
|
|
1230
|
-
export { provideConfig as provideConfig_alias_1 }
|
|
1231
|
-
export { provideConfig as provideConfig_alias_2 }
|
|
1232
|
-
|
|
1233
|
-
export { provideFactoryContext }
|
|
1234
|
-
|
|
1235
|
-
export { Registry }
|
|
1236
|
-
|
|
1237
|
-
declare const Reply: InjectionToken<any, undefined, false>;
|
|
1238
|
-
export { Reply }
|
|
1239
|
-
export { Reply as Reply_alias_1 }
|
|
1240
|
-
export { Reply as Reply_alias_2 }
|
|
1241
|
-
|
|
1242
|
-
declare class ReplyFactory {
|
|
1243
|
-
private readonly environment;
|
|
1244
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
1245
|
-
}
|
|
1246
|
-
export { ReplyFactory }
|
|
1247
|
-
export { ReplyFactory as ReplyFactory_alias_1 }
|
|
1248
|
-
export { ReplyFactory as ReplyFactory_alias_2 }
|
|
1249
|
-
|
|
1250
|
-
declare const Request_2: InjectionToken<any, undefined, false>;
|
|
1251
|
-
export { Request_2 as Request }
|
|
1252
|
-
export { Request_2 as Request_alias_1 }
|
|
1253
|
-
export { Request_2 as Request_alias_2 }
|
|
1254
|
-
|
|
1255
|
-
export { RequestContextHolder }
|
|
1256
|
-
|
|
1257
|
-
declare class RequestFactory {
|
|
1258
|
-
private readonly environment;
|
|
1259
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
1260
|
-
}
|
|
1261
|
-
export { RequestFactory }
|
|
1262
|
-
export { RequestFactory as RequestFactory_alias_1 }
|
|
1263
|
-
export { RequestFactory as RequestFactory_alias_2 }
|
|
1264
|
-
|
|
1265
|
-
export { ServiceInstantiator }
|
|
1266
|
-
|
|
1267
|
-
export { ServiceLocator }
|
|
1268
|
-
|
|
1269
|
-
export { ServiceLocatorEventBus }
|
|
1270
|
-
|
|
1271
|
-
export { ServiceLocatorInstanceDestroyListener }
|
|
1272
|
-
|
|
1273
|
-
export { ServiceLocatorInstanceEffect }
|
|
1274
|
-
|
|
1275
|
-
export { ServiceLocatorInstanceHolder }
|
|
1276
|
-
|
|
1277
|
-
export { ServiceLocatorInstanceHolderCreated }
|
|
1278
|
-
|
|
1279
|
-
export { ServiceLocatorInstanceHolderCreating }
|
|
1280
|
-
|
|
1281
|
-
export { ServiceLocatorInstanceHolderDestroying }
|
|
1282
|
-
|
|
1283
|
-
export { ServiceLocatorInstanceHolderError }
|
|
1284
|
-
|
|
1285
|
-
export { ServiceLocatorInstanceHolderStatus }
|
|
1286
|
-
|
|
1287
|
-
export { ServiceLocatorManager }
|
|
1288
|
-
|
|
1289
|
-
declare function Stream<Method extends HttpMethod = HttpMethod, Url extends string = string, QuerySchema = undefined, RequestSchema = ZodType>(endpoint: {
|
|
1290
|
-
config: BaseStreamConfig<Method, Url, QuerySchema, RequestSchema>;
|
|
1291
|
-
}): (target: (params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>, reply: any) => Promise<void>, context: ClassMethodDecoratorContext) => (params: QuerySchema extends ZodObject ? RequestSchema extends ZodType ? EndpointFunctionArgs<Url, QuerySchema, RequestSchema> : EndpointFunctionArgs<Url, QuerySchema, undefined> : RequestSchema extends ZodType ? EndpointFunctionArgs<Url, undefined, RequestSchema> : EndpointFunctionArgs<Url, undefined, undefined>, reply: any) => Promise<void>;
|
|
1292
|
-
export { Stream }
|
|
1293
|
-
export { Stream as Stream_alias_1 }
|
|
1294
|
-
export { Stream as Stream_alias_2 }
|
|
1295
|
-
|
|
1296
|
-
declare class StreamAdapterFactory {
|
|
1297
|
-
private readonly environment;
|
|
1298
|
-
create(ctx: FactoryContext): Promise<any>;
|
|
1299
|
-
}
|
|
1300
|
-
export { StreamAdapterFactory }
|
|
1301
|
-
export { StreamAdapterFactory as StreamAdapterFactory_alias_1 }
|
|
1302
|
-
export { StreamAdapterFactory as StreamAdapterFactory_alias_2 }
|
|
1303
|
-
|
|
1304
|
-
declare const StreamAdapterToken: InjectionToken<AbstractHttpHandlerAdapterInterface, undefined, false>;
|
|
1305
|
-
export { StreamAdapterToken }
|
|
1306
|
-
export { StreamAdapterToken as StreamAdapterToken_alias_1 }
|
|
1307
|
-
export { StreamAdapterToken as StreamAdapterToken_alias_2 }
|
|
1308
|
-
|
|
1309
|
-
declare type StreamParams<EndpointDeclaration extends {
|
|
1310
|
-
config: BaseStreamConfig<any, any, any, any>;
|
|
1311
|
-
}, Url extends string = EndpointDeclaration['config']['url'], QuerySchema = EndpointDeclaration['config']['querySchema']> = QuerySchema extends ZodObject ? EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, QuerySchema, undefined, true>> : EndpointDeclaration['config']['requestSchema'] extends ZodType ? Util_FlatObject<EndpointFunctionArgs<Url, undefined, EndpointDeclaration['config']['requestSchema'], true>> : Util_FlatObject<EndpointFunctionArgs<Url, undefined, undefined, true>>;
|
|
1312
|
-
export { StreamParams }
|
|
1313
|
-
export { StreamParams as StreamParams_alias_1 }
|
|
1314
|
-
export { StreamParams as StreamParams_alias_2 }
|
|
1315
|
-
|
|
1316
|
-
declare const stripEndSlash: (path: string) => string;
|
|
1317
|
-
export { stripEndSlash }
|
|
1318
|
-
export { stripEndSlash as stripEndSlash_alias_1 }
|
|
1319
|
-
export { stripEndSlash as stripEndSlash_alias_2 }
|
|
1320
|
-
export { stripEndSlash as stripEndSlash_alias_3 }
|
|
1321
|
-
|
|
1322
|
-
declare class UnauthorizedException extends HttpException {
|
|
1323
|
-
constructor(message: string | object, error?: Error);
|
|
1324
|
-
}
|
|
1325
|
-
export { UnauthorizedException }
|
|
1326
|
-
export { UnauthorizedException as UnauthorizedException_alias_1 }
|
|
1327
|
-
export { UnauthorizedException as UnauthorizedException_alias_2 }
|
|
1328
|
-
|
|
1329
|
-
export { UnionToArray }
|
|
1330
|
-
|
|
1331
|
-
export { UnionToIntersection }
|
|
1332
|
-
|
|
1333
|
-
export { UnionToOvlds }
|
|
1334
|
-
|
|
1335
|
-
export { UnknownError }
|
|
1336
|
-
|
|
1337
|
-
declare function UseGuards(...guards: (ClassTypeWithInstance<CanActivate> | InjectionToken<CanActivate, undefined>)[]): <T extends Function>(target: T, context: ClassMethodDecoratorContext | ClassDecoratorContext) => T;
|
|
1338
|
-
export { UseGuards }
|
|
1339
|
-
export { UseGuards as UseGuards_alias_1 }
|
|
1340
|
-
export { UseGuards as UseGuards_alias_2 }
|
|
1341
|
-
|
|
1342
|
-
declare type ValueOrArray<T> = T | ArrayOfValueOrArray<T>;
|
|
1343
|
-
|
|
1344
|
-
export { wrapSyncInit }
|
|
1345
|
-
|
|
1346
|
-
declare const yellow: (text: string) => string;
|
|
1347
|
-
export { yellow }
|
|
1348
|
-
export { yellow as yellow_alias_1 }
|
|
1349
|
-
export { yellow as yellow_alias_2 }
|
|
1350
|
-
export { yellow as yellow_alias_3 }
|
|
1351
|
-
|
|
1352
|
-
export { }
|