@alepha/protobuf 0.14.3 → 0.14.4
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/dist/index.d.ts +15 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -875,6 +875,7 @@ declare class Alepha {
|
|
|
875
875
|
as?: string[];
|
|
876
876
|
module?: string;
|
|
877
877
|
}>;
|
|
878
|
+
dump(): AlephaDump;
|
|
878
879
|
services<T extends object>(base: Service<T>): Array<T>;
|
|
879
880
|
/**
|
|
880
881
|
* Get all primitives of the specified type.
|
|
@@ -890,6 +891,20 @@ interface Hook<T extends keyof Hooks = any> {
|
|
|
890
891
|
priority?: "first" | "last";
|
|
891
892
|
callback: (payload: Hooks[T]) => Async<void>;
|
|
892
893
|
}
|
|
894
|
+
interface AlephaDump {
|
|
895
|
+
env: Record<string, AlephaDumpEnvVariable>;
|
|
896
|
+
providers: Record<string, {
|
|
897
|
+
from: string[];
|
|
898
|
+
as?: string[];
|
|
899
|
+
module?: string;
|
|
900
|
+
}>;
|
|
901
|
+
}
|
|
902
|
+
interface AlephaDumpEnvVariable {
|
|
903
|
+
description: string;
|
|
904
|
+
default?: string;
|
|
905
|
+
required?: boolean;
|
|
906
|
+
enum?: Array<string>;
|
|
907
|
+
}
|
|
893
908
|
/**
|
|
894
909
|
* This is how we store services in the Alepha container.
|
|
895
910
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@alepha/protobuf",
|
|
3
3
|
"description": "Protocol Buffers (Protobuf) codec support for Alepha framework.",
|
|
4
4
|
"author": "Nicolas Foures",
|
|
5
|
-
"version": "0.14.
|
|
5
|
+
"version": "0.14.4",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22.0.0"
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"protobufjs": "^8.0.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"alepha": "0.14.
|
|
21
|
+
"alepha": "0.14.4",
|
|
22
22
|
"tsdown": "^0.19.0-beta.5",
|
|
23
23
|
"typescript": "^5.9.3",
|
|
24
24
|
"vitest": "^4.0.16"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"alepha": "0.14.
|
|
27
|
+
"alepha": "0.14.4"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"lint": "alepha lint",
|