spartaxx.businessmodels 1.0.10 → 1.0.12

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.
@@ -1,7 +1,15 @@
1
1
  import { DbConnectionConfig } from "./DbConnectionConfig";
2
2
 
3
- export interface DbConfig {
3
+ interface DbConfigType {
4
4
  usermanagementdbconnection: DbConnectionConfig;
5
5
  spartaxxdbconnection: DbConnectionConfig;
6
6
  csdbtaxrolldbconnection: DbConnectionConfig;
7
- }
7
+ }
8
+
9
+ const DbConfig: DbConfigType = {
10
+ usermanagementdbconnection: {} as DbConnectionConfig,
11
+ spartaxxdbconnection: {} as DbConnectionConfig,
12
+ csdbtaxrolldbconnection: {} as DbConnectionConfig
13
+ };
14
+
15
+ export default DbConfig;
@@ -8,4 +8,11 @@ export interface DbConnectionConfig {
8
8
  encrypt: boolean;
9
9
  requestTimeout: number;
10
10
  };
11
+ }
12
+
13
+ // Define the interface for the configuration object containing multiple connections
14
+ export interface DbConfigType {
15
+ usermanagementdbconnection: DbConnectionConfig;
16
+ spartaxxdbconnection: DbConnectionConfig;
17
+ csdbtaxrolldbconnection: DbConnectionConfig;
11
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spartaxx.businessmodels",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "main": "protest.js",
5
5
  "type": "commonjs",
6
6
  "scripts": {
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });