@navios/core 0.2.1 → 0.2.2
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/docs/README.md +6 -0
- package/docs/recipes/prisma.md +60 -0
- package/examples/simple-test/api/index.mts +64 -0
- package/examples/simple-test/config/config.service.mts +14 -0
- package/examples/simple-test/config/configuration.mts +7 -0
- package/examples/simple-test/index.mts +16 -0
- package/examples/simple-test/src/acl/acl-modern.guard.mts +15 -0
- package/examples/simple-test/src/acl/acl.guard.mts +14 -0
- package/examples/simple-test/src/acl/app.guard.mts +27 -0
- package/examples/simple-test/src/acl/one-more.guard.mts +15 -0
- package/examples/simple-test/src/acl/public.attribute.mts +21 -0
- package/examples/simple-test/src/app.module.mts +9 -0
- package/examples/simple-test/src/user/user.controller.mts +72 -0
- package/examples/simple-test/src/user/user.module.mts +14 -0
- package/examples/simple-test/src/user/user.service.mts +14 -0
- package/{dist → lib}/_tsup-dts-rollup.d.mts +71 -50
- package/{dist → lib}/_tsup-dts-rollup.d.ts +71 -50
- package/{dist → lib}/index.d.mts +13 -4
- package/{dist → lib}/index.d.ts +13 -4
- package/{dist → lib}/index.js +270 -490
- package/lib/index.js.map +1 -0
- package/{dist → lib}/index.mjs +140 -353
- package/lib/index.mjs.map +1 -0
- package/package.json +10 -11
- package/project.json +53 -0
- package/src/__tests__/config.service.spec.mts +41 -0
- package/src/config/config-service.interface.mts +1 -1
- package/src/config/config.provider.mts +22 -50
- package/src/config/config.service.mts +25 -8
- package/src/decorators/endpoint.decorator.mts +0 -5
- package/tsconfig.json +16 -0
- package/tsup.config.mts +12 -0
- package/vitest.config.mts +9 -0
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { AnyZodObject } from 'zod';
|
|
2
2
|
import type { BaseEndpointConfig } from '@navios/common';
|
|
3
|
+
import { BaseInjectionTokenSchemaType } from '@navios/di';
|
|
3
4
|
import type { BaseStreamConfig } from '@navios/common';
|
|
4
5
|
import { BoundInjectionToken } from '@navios/di';
|
|
5
6
|
import { ChannelEmitter } from '@navios/di';
|
|
6
7
|
import { ClassType } from '@navios/di';
|
|
8
|
+
import { ClassTypeWithArgument } from '@navios/di';
|
|
7
9
|
import { ClassTypeWithInstance } from '@navios/di';
|
|
10
|
+
import { ClassTypeWithInstanceAndArgument } from '@navios/di';
|
|
11
|
+
import { ClassTypeWithInstanceAndOptionalArgument } from '@navios/di';
|
|
12
|
+
import { ClassTypeWithOptionalArgument } from '@navios/di';
|
|
8
13
|
import { CreateInjectorsOptions } from '@navios/di';
|
|
9
14
|
import type { EndpointFunctionArgs } from '@navios/common';
|
|
10
15
|
import { ErrorsEnum } from '@navios/di';
|
|
@@ -45,14 +50,15 @@ import { InjectableTokenMeta } from '@navios/di';
|
|
|
45
50
|
import { InjectableType } from '@navios/di';
|
|
46
51
|
import { InjectionFactory } from '@navios/di';
|
|
47
52
|
import { InjectionToken } from '@navios/di';
|
|
53
|
+
import { InjectionTokenSchemaType } from '@navios/di';
|
|
48
54
|
import { Injectors } from '@navios/di';
|
|
49
55
|
import { InjectorsBase } from '@navios/di';
|
|
50
56
|
import type { InspectOptions } from 'util';
|
|
51
57
|
import { InstanceDestroying } from '@navios/di';
|
|
52
58
|
import { InstanceExpired } from '@navios/di';
|
|
53
59
|
import { InstanceNotFound } from '@navios/di';
|
|
54
|
-
import { LoggerInstance as LoggerInstance_2 } from '../logger/logger.service.mjs';
|
|
55
60
|
import { makeProxyServiceLocator } from '@navios/di';
|
|
61
|
+
import { OptionalInjectionTokenSchemaType } from '@navios/di';
|
|
56
62
|
import { provideServiceLocator } from '@navios/di';
|
|
57
63
|
import { ProxyServiceLocator } from '@navios/di';
|
|
58
64
|
import { RawServerDefault } from 'fastify';
|
|
@@ -86,7 +92,7 @@ export { addLeadingSlash as addLeadingSlash_alias_1 }
|
|
|
86
92
|
export { addLeadingSlash as addLeadingSlash_alias_2 }
|
|
87
93
|
export { addLeadingSlash as addLeadingSlash_alias_3 }
|
|
88
94
|
|
|
89
|
-
declare const Application: InjectionToken<FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault>, undefined>;
|
|
95
|
+
declare const Application: InjectionToken<FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault>, undefined, false>;
|
|
90
96
|
export { Application }
|
|
91
97
|
export { Application as Application_alias_1 }
|
|
92
98
|
export { Application as Application_alias_2 }
|
|
@@ -113,6 +119,8 @@ export { BadRequestException }
|
|
|
113
119
|
export { BadRequestException as BadRequestException_alias_1 }
|
|
114
120
|
export { BadRequestException as BadRequestException_alias_2 }
|
|
115
121
|
|
|
122
|
+
export { BaseInjectionTokenSchemaType }
|
|
123
|
+
|
|
116
124
|
export { BoundInjectionToken }
|
|
117
125
|
|
|
118
126
|
declare interface CanActivate {
|
|
@@ -139,8 +147,16 @@ export { ClassSchemaAttribute as ClassSchemaAttribute_alias_1 }
|
|
|
139
147
|
|
|
140
148
|
export { ClassType }
|
|
141
149
|
|
|
150
|
+
export { ClassTypeWithArgument }
|
|
151
|
+
|
|
142
152
|
export { ClassTypeWithInstance }
|
|
143
153
|
|
|
154
|
+
export { ClassTypeWithInstanceAndArgument }
|
|
155
|
+
|
|
156
|
+
export { ClassTypeWithInstanceAndOptionalArgument }
|
|
157
|
+
|
|
158
|
+
export { ClassTypeWithOptionalArgument }
|
|
159
|
+
|
|
144
160
|
declare const clc: {
|
|
145
161
|
bold: (text: string) => string;
|
|
146
162
|
green: (text: string) => string;
|
|
@@ -154,58 +170,54 @@ export { clc as clc_alias_1 }
|
|
|
154
170
|
export { clc as clc_alias_2 }
|
|
155
171
|
export { clc as clc_alias_3 }
|
|
156
172
|
|
|
157
|
-
declare const ConfigProvider: InjectionToken<ConfigService<Record<string, unknown>>, z.ZodObject<{
|
|
158
|
-
load: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
|
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
load: (...args: unknown[]) => unknown;
|
|
161
|
-
}, {
|
|
162
|
-
load: (...args: unknown[]) => unknown;
|
|
163
|
-
}>>;
|
|
164
|
-
export { ConfigProvider }
|
|
165
|
-
export { ConfigProvider as ConfigProvider_alias_1 }
|
|
166
|
-
export { ConfigProvider as ConfigProvider_alias_2 }
|
|
167
|
-
|
|
168
|
-
declare class ConfigProviderFactory {
|
|
169
|
-
logger: LoggerInstance_2;
|
|
170
|
-
create(ctx: any, args: z.infer<typeof ConfigProviderOptions>): Promise<ConfigService>;
|
|
171
|
-
}
|
|
172
|
-
export { ConfigProviderFactory }
|
|
173
|
-
export { ConfigProviderFactory as ConfigProviderFactory_alias_1 }
|
|
174
|
-
export { ConfigProviderFactory as ConfigProviderFactory_alias_2 }
|
|
175
|
-
|
|
176
173
|
declare const ConfigProviderOptions: z.ZodObject<{
|
|
177
|
-
load: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown
|
|
174
|
+
load: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
178
175
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
load: (...args: unknown[]) => unknown
|
|
176
|
+
load: (...args: unknown[]) => Record<string, unknown>;
|
|
180
177
|
}, {
|
|
181
|
-
load: (...args: unknown[]) => unknown
|
|
178
|
+
load: (...args: unknown[]) => Record<string, unknown>;
|
|
182
179
|
}>;
|
|
183
180
|
export { ConfigProviderOptions }
|
|
184
181
|
export { ConfigProviderOptions as ConfigProviderOptions_alias_1 }
|
|
185
182
|
export { ConfigProviderOptions as ConfigProviderOptions_alias_2 }
|
|
186
183
|
|
|
187
|
-
declare
|
|
188
|
-
getConfig: () => Config;
|
|
189
|
-
get: <Key extends Path<Config>>(key: Key) => PathValue<Config, Key> | null;
|
|
190
|
-
getOrDefault: <Key extends Path<Config>>(key: Key, defaultValue: PathValue<Config, Key>) => PathValue<Config, Key>;
|
|
191
|
-
getOrThrow: <Key extends Path<Config>>(key: Key, errorMessage?: string) => PathValue<Config, Key>;
|
|
192
|
-
}
|
|
193
|
-
export { ConfigService }
|
|
194
|
-
export { ConfigService as ConfigService_alias_1 }
|
|
195
|
-
export { ConfigService as ConfigService_alias_2 }
|
|
196
|
-
|
|
197
|
-
declare class ConfigServiceInstance<Config = Record<string, unknown>> implements ConfigService<Config> {
|
|
184
|
+
declare class ConfigService<Config extends ConfigServiceOptions = Record<string, unknown>> implements ConfigServiceInterface<Config> {
|
|
198
185
|
private config;
|
|
199
|
-
private logger;
|
|
200
|
-
constructor(config
|
|
186
|
+
private readonly logger;
|
|
187
|
+
constructor(config?: Config);
|
|
201
188
|
getConfig(): Config;
|
|
202
189
|
get<Key extends Path<Config>>(key: Key): PathValue<Config, Key> | null;
|
|
203
190
|
getOrDefault<Key extends Path<Config>>(key: Key, defaultValue: PathValue<Config, Key>): PathValue<Config, Key>;
|
|
204
191
|
getOrThrow<Key extends Path<Config>>(key: Key, errorMessage?: string): PathValue<Config, Key>;
|
|
205
192
|
}
|
|
206
|
-
export {
|
|
207
|
-
export {
|
|
208
|
-
export {
|
|
193
|
+
export { ConfigService }
|
|
194
|
+
export { ConfigService as ConfigService_alias_1 }
|
|
195
|
+
export { ConfigService as ConfigService_alias_2 }
|
|
196
|
+
|
|
197
|
+
declare interface ConfigServiceInterface<Config = Record<string, unknown>> {
|
|
198
|
+
getConfig: () => Config;
|
|
199
|
+
get: <Key extends Path<Config>>(key: Key) => PathValue<Config, Key> | null;
|
|
200
|
+
getOrDefault: <Key extends Path<Config>>(key: Key, defaultValue: PathValue<Config, Key>) => PathValue<Config, Key>;
|
|
201
|
+
getOrThrow: <Key extends Path<Config>>(key: Key, errorMessage?: string) => PathValue<Config, Key>;
|
|
202
|
+
}
|
|
203
|
+
export { ConfigServiceInterface }
|
|
204
|
+
export { ConfigServiceInterface as ConfigServiceInterface_alias_1 }
|
|
205
|
+
export { ConfigServiceInterface as ConfigServiceInterface_alias_2 }
|
|
206
|
+
|
|
207
|
+
declare type ConfigServiceOptions = z.infer<typeof ConfigServiceOptionsSchema>;
|
|
208
|
+
export { ConfigServiceOptions }
|
|
209
|
+
export { ConfigServiceOptions as ConfigServiceOptions_alias_1 }
|
|
210
|
+
export { ConfigServiceOptions as ConfigServiceOptions_alias_2 }
|
|
211
|
+
|
|
212
|
+
declare const ConfigServiceOptionsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
213
|
+
export { ConfigServiceOptionsSchema }
|
|
214
|
+
export { ConfigServiceOptionsSchema as ConfigServiceOptionsSchema_alias_1 }
|
|
215
|
+
export { ConfigServiceOptionsSchema as ConfigServiceOptionsSchema_alias_2 }
|
|
216
|
+
|
|
217
|
+
declare const ConfigServiceToken: InjectionToken<ConfigServiceInterface<Record<string, unknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, true>;
|
|
218
|
+
export { ConfigServiceToken }
|
|
219
|
+
export { ConfigServiceToken as ConfigServiceToken_alias_1 }
|
|
220
|
+
export { ConfigServiceToken as ConfigServiceToken_alias_2 }
|
|
209
221
|
|
|
210
222
|
declare class ConflictException extends HttpException {
|
|
211
223
|
constructor(message: string | object, error?: Error);
|
|
@@ -412,7 +424,7 @@ export { ConsoleLoggerOptions }
|
|
|
412
424
|
export { ConsoleLoggerOptions as ConsoleLoggerOptions_alias_1 }
|
|
413
425
|
export { ConsoleLoggerOptions as ConsoleLoggerOptions_alias_2 }
|
|
414
426
|
|
|
415
|
-
declare function Controller({ guards }?: ControllerOptions): (target: ClassType, context: ClassDecoratorContext) =>
|
|
427
|
+
declare function Controller({ guards }?: ControllerOptions): (target: ClassType, context: ClassDecoratorContext) => ClassType;
|
|
416
428
|
export { Controller }
|
|
417
429
|
export { Controller as Controller_alias_1 }
|
|
418
430
|
export { Controller as Controller_alias_2 }
|
|
@@ -467,7 +479,7 @@ export { EndpointAdapterService }
|
|
|
467
479
|
export { EndpointAdapterService as EndpointAdapterService_alias_1 }
|
|
468
480
|
export { EndpointAdapterService as EndpointAdapterService_alias_2 }
|
|
469
481
|
|
|
470
|
-
declare const EndpointAdapterToken: InjectionToken<EndpointAdapterService, undefined>;
|
|
482
|
+
declare const EndpointAdapterToken: InjectionToken<EndpointAdapterService, undefined, false>;
|
|
471
483
|
export { EndpointAdapterToken }
|
|
472
484
|
export { EndpointAdapterToken as EndpointAdapterToken_alias_1 }
|
|
473
485
|
export { EndpointAdapterToken as EndpointAdapterToken_alias_2 }
|
|
@@ -491,6 +503,11 @@ export { EndpointResult }
|
|
|
491
503
|
export { EndpointResult as EndpointResult_alias_1 }
|
|
492
504
|
export { EndpointResult as EndpointResult_alias_2 }
|
|
493
505
|
|
|
506
|
+
declare const EnvConfigProvider: BoundInjectionToken<ConfigService<Record<string, string>>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
507
|
+
export { EnvConfigProvider }
|
|
508
|
+
export { EnvConfigProvider as EnvConfigProvider_alias_1 }
|
|
509
|
+
export { EnvConfigProvider as EnvConfigProvider_alias_2 }
|
|
510
|
+
|
|
494
511
|
declare function envInt(key: keyof NodeJS.ProcessEnv, defaultValue: number): number;
|
|
495
512
|
export { envInt }
|
|
496
513
|
export { envInt as envInt_alias_1 }
|
|
@@ -543,7 +560,7 @@ export { ExecutionContextInjectionToken }
|
|
|
543
560
|
export { ExecutionContextInjectionToken as ExecutionContextInjectionToken_alias_1 }
|
|
544
561
|
export { ExecutionContextInjectionToken as ExecutionContextInjectionToken_alias_2 }
|
|
545
562
|
|
|
546
|
-
declare const ExecutionContextToken: InjectionToken<ExecutionContext, undefined>;
|
|
563
|
+
declare const ExecutionContextToken: InjectionToken<ExecutionContext, undefined, false>;
|
|
547
564
|
export { ExecutionContextToken }
|
|
548
565
|
export { ExecutionContextToken as ExecutionContextToken_alias_1 }
|
|
549
566
|
export { ExecutionContextToken as ExecutionContextToken_alias_2 }
|
|
@@ -695,6 +712,8 @@ export { InjectionFactory }
|
|
|
695
712
|
|
|
696
713
|
export { InjectionToken }
|
|
697
714
|
|
|
715
|
+
export { InjectionTokenSchemaType }
|
|
716
|
+
|
|
698
717
|
export { Injectors }
|
|
699
718
|
|
|
700
719
|
export { InjectorsBase }
|
|
@@ -822,7 +841,7 @@ declare const Logger: InjectionToken<LoggerInstance, z.ZodOptional<z.ZodObject<{
|
|
|
822
841
|
timestamp?: boolean | undefined;
|
|
823
842
|
} | undefined;
|
|
824
843
|
context?: string | undefined;
|
|
825
|
-
}
|
|
844
|
+
}>>, false>;
|
|
826
845
|
export { Logger }
|
|
827
846
|
export { Logger as Logger_alias_1 }
|
|
828
847
|
export { Logger as Logger_alias_2 }
|
|
@@ -997,7 +1016,7 @@ export { LogLevel as LogLevel_alias_2 }
|
|
|
997
1016
|
|
|
998
1017
|
export { makeProxyServiceLocator }
|
|
999
1018
|
|
|
1000
|
-
declare function Module({ controllers, imports, guards }?: ModuleOptions): (target: ClassType, context: ClassDecoratorContext) =>
|
|
1019
|
+
declare function Module({ controllers, imports, guards }?: ModuleOptions): (target: ClassType, context: ClassDecoratorContext) => ClassType;
|
|
1001
1020
|
export { Module }
|
|
1002
1021
|
export { Module as Module_alias_1 }
|
|
1003
1022
|
export { Module as Module_alias_2 }
|
|
@@ -1058,7 +1077,7 @@ export { MultipartAdapterService }
|
|
|
1058
1077
|
export { MultipartAdapterService as MultipartAdapterService_alias_1 }
|
|
1059
1078
|
export { MultipartAdapterService as MultipartAdapterService_alias_2 }
|
|
1060
1079
|
|
|
1061
|
-
declare const MultipartAdapterToken: InjectionToken<MultipartAdapterService, undefined>;
|
|
1080
|
+
declare const MultipartAdapterToken: InjectionToken<MultipartAdapterService, undefined, false>;
|
|
1062
1081
|
export { MultipartAdapterToken }
|
|
1063
1082
|
export { MultipartAdapterToken as MultipartAdapterToken_alias_1 }
|
|
1064
1083
|
export { MultipartAdapterToken as MultipartAdapterToken_alias_2 }
|
|
@@ -1148,6 +1167,8 @@ export { NotFoundException }
|
|
|
1148
1167
|
export { NotFoundException as NotFoundException_alias_1 }
|
|
1149
1168
|
export { NotFoundException as NotFoundException_alias_2 }
|
|
1150
1169
|
|
|
1170
|
+
export { OptionalInjectionTokenSchemaType }
|
|
1171
|
+
|
|
1151
1172
|
declare type Path<T> = keyof T extends string ? PathImpl2<T> extends infer P ? P extends string | keyof T ? P : keyof T : keyof T : never;
|
|
1152
1173
|
export { Path }
|
|
1153
1174
|
export { Path as Path_alias_1 }
|
|
@@ -1185,7 +1206,7 @@ export { PinoWrapper }
|
|
|
1185
1206
|
export { PinoWrapper as PinoWrapper_alias_1 }
|
|
1186
1207
|
export { PinoWrapper as PinoWrapper_alias_2 }
|
|
1187
1208
|
|
|
1188
|
-
declare function provideConfig<ConfigMap extends
|
|
1209
|
+
declare function provideConfig<ConfigMap extends ConfigServiceOptions>(options: z.input<typeof ConfigProviderOptions>): FactoryInjectionToken<ConfigService<ConfigMap>, typeof ConfigServiceOptionsSchema>;
|
|
1189
1210
|
export { provideConfig }
|
|
1190
1211
|
export { provideConfig as provideConfig_alias_1 }
|
|
1191
1212
|
export { provideConfig as provideConfig_alias_2 }
|
|
@@ -1196,12 +1217,12 @@ export { ProxyServiceLocator }
|
|
|
1196
1217
|
|
|
1197
1218
|
export { Registry }
|
|
1198
1219
|
|
|
1199
|
-
declare const Reply: InjectionToken<FastifyReply<RouteGenericInterface, RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, unknown, FastifySchema, FastifyTypeProviderDefault, unknown>, undefined>;
|
|
1220
|
+
declare const Reply: InjectionToken<FastifyReply<RouteGenericInterface, RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, unknown, FastifySchema, FastifyTypeProviderDefault, unknown>, undefined, false>;
|
|
1200
1221
|
export { Reply }
|
|
1201
1222
|
export { Reply as Reply_alias_1 }
|
|
1202
1223
|
export { Reply as Reply_alias_2 }
|
|
1203
1224
|
|
|
1204
|
-
declare const Request_2: InjectionToken<FastifyRequest<RouteGenericInterface, RawServerDefault, IncomingMessage, FastifySchema, FastifyTypeProviderDefault, unknown, FastifyBaseLogger, ResolveFastifyRequestType<FastifyTypeProviderDefault, FastifySchema, RouteGenericInterface>>, undefined>;
|
|
1225
|
+
declare const Request_2: InjectionToken<FastifyRequest<RouteGenericInterface, RawServerDefault, IncomingMessage, FastifySchema, FastifyTypeProviderDefault, unknown, FastifyBaseLogger, ResolveFastifyRequestType<FastifyTypeProviderDefault, FastifySchema, RouteGenericInterface>>, undefined, false>;
|
|
1205
1226
|
export { Request_2 as Request }
|
|
1206
1227
|
export { Request_2 as Request_alias_1 }
|
|
1207
1228
|
export { Request_2 as Request_alias_2 }
|
|
@@ -1247,7 +1268,7 @@ export { StreamAdapterService }
|
|
|
1247
1268
|
export { StreamAdapterService as StreamAdapterService_alias_1 }
|
|
1248
1269
|
export { StreamAdapterService as StreamAdapterService_alias_2 }
|
|
1249
1270
|
|
|
1250
|
-
declare const StreamAdapterToken: InjectionToken<StreamAdapterService, undefined>;
|
|
1271
|
+
declare const StreamAdapterToken: InjectionToken<StreamAdapterService, undefined, false>;
|
|
1251
1272
|
export { StreamAdapterToken }
|
|
1252
1273
|
export { StreamAdapterToken as StreamAdapterToken_alias_1 }
|
|
1253
1274
|
export { StreamAdapterToken as StreamAdapterToken_alias_2 }
|
package/{dist → lib}/index.d.mts
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { Injectable } from './_tsup-dts-rollup.mjs';
|
|
2
2
|
export { InjectableOptions } from './_tsup-dts-rollup.mjs';
|
|
3
|
-
export { InjectableTokenMeta } from './_tsup-dts-rollup.mjs';
|
|
4
3
|
export { InjectableScope } from './_tsup-dts-rollup.mjs';
|
|
5
4
|
export { InjectableType } from './_tsup-dts-rollup.mjs';
|
|
6
5
|
export { ErrorsEnum } from './_tsup-dts-rollup.mjs';
|
|
@@ -25,7 +24,14 @@ export { EventEmitterInterface } from './_tsup-dts-rollup.mjs';
|
|
|
25
24
|
export { EventEmitter } from './_tsup-dts-rollup.mjs';
|
|
26
25
|
export { FactoryContext } from './_tsup-dts-rollup.mjs';
|
|
27
26
|
export { ClassType } from './_tsup-dts-rollup.mjs';
|
|
27
|
+
export { ClassTypeWithArgument } from './_tsup-dts-rollup.mjs';
|
|
28
|
+
export { ClassTypeWithOptionalArgument } from './_tsup-dts-rollup.mjs';
|
|
28
29
|
export { ClassTypeWithInstance } from './_tsup-dts-rollup.mjs';
|
|
30
|
+
export { ClassTypeWithInstanceAndArgument } from './_tsup-dts-rollup.mjs';
|
|
31
|
+
export { ClassTypeWithInstanceAndOptionalArgument } from './_tsup-dts-rollup.mjs';
|
|
32
|
+
export { BaseInjectionTokenSchemaType } from './_tsup-dts-rollup.mjs';
|
|
33
|
+
export { OptionalInjectionTokenSchemaType } from './_tsup-dts-rollup.mjs';
|
|
34
|
+
export { InjectionTokenSchemaType } from './_tsup-dts-rollup.mjs';
|
|
29
35
|
export { InjectionToken } from './_tsup-dts-rollup.mjs';
|
|
30
36
|
export { BoundInjectionToken } from './_tsup-dts-rollup.mjs';
|
|
31
37
|
export { FactoryInjectionToken } from './_tsup-dts-rollup.mjs';
|
|
@@ -52,6 +58,7 @@ export { ServiceLocatorInstanceHolderCreated } from './_tsup-dts-rollup.mjs';
|
|
|
52
58
|
export { ServiceLocatorInstanceHolderDestroying } from './_tsup-dts-rollup.mjs';
|
|
53
59
|
export { ServiceLocatorInstanceHolder } from './_tsup-dts-rollup.mjs';
|
|
54
60
|
export { ServiceLocatorManager } from './_tsup-dts-rollup.mjs';
|
|
61
|
+
export { InjectableTokenMeta } from './_tsup-dts-rollup.mjs';
|
|
55
62
|
export { EndpointAdapterToken } from './_tsup-dts-rollup.mjs';
|
|
56
63
|
export { EndpointAdapterService } from './_tsup-dts-rollup.mjs';
|
|
57
64
|
export { HandlerAdapterInterface } from './_tsup-dts-rollup.mjs';
|
|
@@ -63,10 +70,12 @@ export { envInt } from './_tsup-dts-rollup.mjs';
|
|
|
63
70
|
export { envString } from './_tsup-dts-rollup.mjs';
|
|
64
71
|
export { provideConfig } from './_tsup-dts-rollup.mjs';
|
|
65
72
|
export { ConfigProviderOptions } from './_tsup-dts-rollup.mjs';
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
73
|
+
export { EnvConfigProvider } from './_tsup-dts-rollup.mjs';
|
|
74
|
+
export { ConfigServiceOptionsSchema } from './_tsup-dts-rollup.mjs';
|
|
75
|
+
export { ConfigServiceOptions } from './_tsup-dts-rollup.mjs';
|
|
76
|
+
export { ConfigServiceToken } from './_tsup-dts-rollup.mjs';
|
|
69
77
|
export { ConfigService } from './_tsup-dts-rollup.mjs';
|
|
78
|
+
export { ConfigServiceInterface } from './_tsup-dts-rollup.mjs';
|
|
70
79
|
export { PathImpl } from './_tsup-dts-rollup.mjs';
|
|
71
80
|
export { PathImpl2 } from './_tsup-dts-rollup.mjs';
|
|
72
81
|
export { Path } from './_tsup-dts-rollup.mjs';
|
package/{dist → lib}/index.d.ts
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { Injectable } from './_tsup-dts-rollup.js';
|
|
2
2
|
export { InjectableOptions } from './_tsup-dts-rollup.js';
|
|
3
|
-
export { InjectableTokenMeta } from './_tsup-dts-rollup.js';
|
|
4
3
|
export { InjectableScope } from './_tsup-dts-rollup.js';
|
|
5
4
|
export { InjectableType } from './_tsup-dts-rollup.js';
|
|
6
5
|
export { ErrorsEnum } from './_tsup-dts-rollup.js';
|
|
@@ -25,7 +24,14 @@ export { EventEmitterInterface } from './_tsup-dts-rollup.js';
|
|
|
25
24
|
export { EventEmitter } from './_tsup-dts-rollup.js';
|
|
26
25
|
export { FactoryContext } from './_tsup-dts-rollup.js';
|
|
27
26
|
export { ClassType } from './_tsup-dts-rollup.js';
|
|
27
|
+
export { ClassTypeWithArgument } from './_tsup-dts-rollup.js';
|
|
28
|
+
export { ClassTypeWithOptionalArgument } from './_tsup-dts-rollup.js';
|
|
28
29
|
export { ClassTypeWithInstance } from './_tsup-dts-rollup.js';
|
|
30
|
+
export { ClassTypeWithInstanceAndArgument } from './_tsup-dts-rollup.js';
|
|
31
|
+
export { ClassTypeWithInstanceAndOptionalArgument } from './_tsup-dts-rollup.js';
|
|
32
|
+
export { BaseInjectionTokenSchemaType } from './_tsup-dts-rollup.js';
|
|
33
|
+
export { OptionalInjectionTokenSchemaType } from './_tsup-dts-rollup.js';
|
|
34
|
+
export { InjectionTokenSchemaType } from './_tsup-dts-rollup.js';
|
|
29
35
|
export { InjectionToken } from './_tsup-dts-rollup.js';
|
|
30
36
|
export { BoundInjectionToken } from './_tsup-dts-rollup.js';
|
|
31
37
|
export { FactoryInjectionToken } from './_tsup-dts-rollup.js';
|
|
@@ -52,6 +58,7 @@ export { ServiceLocatorInstanceHolderCreated } from './_tsup-dts-rollup.js';
|
|
|
52
58
|
export { ServiceLocatorInstanceHolderDestroying } from './_tsup-dts-rollup.js';
|
|
53
59
|
export { ServiceLocatorInstanceHolder } from './_tsup-dts-rollup.js';
|
|
54
60
|
export { ServiceLocatorManager } from './_tsup-dts-rollup.js';
|
|
61
|
+
export { InjectableTokenMeta } from './_tsup-dts-rollup.js';
|
|
55
62
|
export { EndpointAdapterToken } from './_tsup-dts-rollup.js';
|
|
56
63
|
export { EndpointAdapterService } from './_tsup-dts-rollup.js';
|
|
57
64
|
export { HandlerAdapterInterface } from './_tsup-dts-rollup.js';
|
|
@@ -63,10 +70,12 @@ export { envInt } from './_tsup-dts-rollup.js';
|
|
|
63
70
|
export { envString } from './_tsup-dts-rollup.js';
|
|
64
71
|
export { provideConfig } from './_tsup-dts-rollup.js';
|
|
65
72
|
export { ConfigProviderOptions } from './_tsup-dts-rollup.js';
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
73
|
+
export { EnvConfigProvider } from './_tsup-dts-rollup.js';
|
|
74
|
+
export { ConfigServiceOptionsSchema } from './_tsup-dts-rollup.js';
|
|
75
|
+
export { ConfigServiceOptions } from './_tsup-dts-rollup.js';
|
|
76
|
+
export { ConfigServiceToken } from './_tsup-dts-rollup.js';
|
|
69
77
|
export { ConfigService } from './_tsup-dts-rollup.js';
|
|
78
|
+
export { ConfigServiceInterface } from './_tsup-dts-rollup.js';
|
|
70
79
|
export { PathImpl } from './_tsup-dts-rollup.js';
|
|
71
80
|
export { PathImpl2 } from './_tsup-dts-rollup.js';
|
|
72
81
|
export { Path } from './_tsup-dts-rollup.js';
|