@forklaunch/core 0.12.0 → 0.12.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/lib/http/index.d.mts +3 -3
- package/lib/http/index.d.ts +3 -3
- package/lib/http/index.js +113 -75
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +87 -49
- package/lib/http/index.mjs.map +1 -1
- package/lib/services/index.d.mts +1 -6
- package/lib/services/index.d.ts +1 -6
- package/package.json +2 -2
package/lib/services/index.d.mts
CHANGED
@@ -80,14 +80,9 @@ declare class ValidConfigInjector<SV extends AnySchemaValidator, CV extends Conf
|
|
80
80
|
type EntityManager = {
|
81
81
|
fork: <Options>(options?: Options) => EntityManager;
|
82
82
|
};
|
83
|
-
type DependencyShapes<CreateDependencies extends (...args: never[]) => {
|
84
|
-
serviceDependencies: {
|
85
|
-
configShapes: unknown;
|
86
|
-
};
|
87
|
-
}> = ReturnType<CreateDependencies>['serviceDependencies']['configShapes'];
|
88
83
|
|
89
84
|
type MapNestedDtoArraysToCollections<Dto, Keys extends string> = Omit<Dto, Keys> & {
|
90
85
|
[K in Keys]: Collection<object>;
|
91
86
|
};
|
92
87
|
|
93
|
-
export { ConfigInjector, type ConfigTypes, type ConfigValidator, type Constructed, type ConstructedSingleton, type Constructor, type
|
88
|
+
export { ConfigInjector, type ConfigTypes, type ConfigValidator, type Constructed, type ConstructedSingleton, type Constructor, type EntityManager, type Function, type FunctionToConstructor, Lifetime, type MapNestedDtoArraysToCollections, type ResolvedConfigValidator, type SchemaConstructor, type SchemaFunction, type ScopedDependencyFactory, type Singleton, ValidConfigInjector, createConfigInjector, getEnvVar };
|
package/lib/services/index.d.ts
CHANGED
@@ -80,14 +80,9 @@ declare class ValidConfigInjector<SV extends AnySchemaValidator, CV extends Conf
|
|
80
80
|
type EntityManager = {
|
81
81
|
fork: <Options>(options?: Options) => EntityManager;
|
82
82
|
};
|
83
|
-
type DependencyShapes<CreateDependencies extends (...args: never[]) => {
|
84
|
-
serviceDependencies: {
|
85
|
-
configShapes: unknown;
|
86
|
-
};
|
87
|
-
}> = ReturnType<CreateDependencies>['serviceDependencies']['configShapes'];
|
88
83
|
|
89
84
|
type MapNestedDtoArraysToCollections<Dto, Keys extends string> = Omit<Dto, Keys> & {
|
90
85
|
[K in Keys]: Collection<object>;
|
91
86
|
};
|
92
87
|
|
93
|
-
export { ConfigInjector, type ConfigTypes, type ConfigValidator, type Constructed, type ConstructedSingleton, type Constructor, type
|
88
|
+
export { ConfigInjector, type ConfigTypes, type ConfigValidator, type Constructed, type ConstructedSingleton, type Constructor, type EntityManager, type Function, type FunctionToConstructor, Lifetime, type MapNestedDtoArraysToCollections, type ResolvedConfigValidator, type SchemaConstructor, type SchemaFunction, type ScopedDependencyFactory, type Singleton, ValidConfigInjector, createConfigInjector, getEnvVar };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@forklaunch/core",
|
3
|
-
"version": "0.12.
|
3
|
+
"version": "0.12.2",
|
4
4
|
"description": "forklaunch-js core package. Contains useful building blocks.",
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
6
6
|
"bugs": {
|
@@ -64,6 +64,7 @@
|
|
64
64
|
"lib/**"
|
65
65
|
],
|
66
66
|
"dependencies": {
|
67
|
+
"@forklaunch/fastmcp-fork": "^1.0.3",
|
67
68
|
"@forklaunch/opentelemetry-instrumentation-hyper-express": "0.0.5",
|
68
69
|
"@mikro-orm/core": "^6.4.16",
|
69
70
|
"@mikro-orm/mongodb": "^6.4.16",
|
@@ -83,7 +84,6 @@
|
|
83
84
|
"@opentelemetry/semantic-conventions": "^1.36.0",
|
84
85
|
"cors": "^2.8.5",
|
85
86
|
"dotenv": "^17.2.1",
|
86
|
-
"fastmcp": "^3.13.0",
|
87
87
|
"jose": "^6.0.12",
|
88
88
|
"openapi3-ts": "^4.5.0",
|
89
89
|
"pino": "^9.7.0",
|