@nextage/nx-frame-be 1.0.42 → 1.0.43

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.
@@ -18,7 +18,7 @@ exports.APP = {
18
18
  dataScr: process.env.SECRET,
19
19
  nxPubSub: new pubsub_manager_1.PubSubManager(),
20
20
  shutdownMng: new shutdown_manager_1.ShutdownManager(),
21
- config: { endpoint: {}, email: {}, jwt: {}, aws: {}, mongo: {}, logging: {}, invite: {}, msg: {} }
21
+ config: { endpoint: {}, email: {}, jwt: {}, aws: {}, mongo: {}, logging: {}, invite: {}, msg: {}, app: {} }
22
22
  };
23
23
  exports.FILE_CONTENT_TYPES = {
24
24
  none: '',
@@ -42,7 +42,20 @@ export type AppConfig = {
42
42
  mongo: AppMongoDB;
43
43
  invite: AppInvitation;
44
44
  logging: AppLogging;
45
+ app: AppCustomConfig;
45
46
  };
47
+ /**
48
+ * Application-specific configuration slot.
49
+ *
50
+ * Intentionally EMPTY in the framework: each consuming application augments this
51
+ * interface (declaration merging: `declare module '@nextage/nx-frame-be'`) to
52
+ * add its own strongly-typed settings, and populates `APP.config.app` at bootstrap
53
+ * (after env is read). This keeps CORE config (`endpoint`, `jwt`, `mongo`, …) in
54
+ * the framework while APP-ONLY settings live here — typed by the app, not by env
55
+ * reads scattered across the codebase.
56
+ */
57
+ export interface AppCustomConfig {
58
+ }
46
59
  export type AppMongoDB = {
47
60
  auth?: {
48
61
  us: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextage/nx-frame-be",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",