spartaxx.businessmodels 1.0.13 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ export interface ExcelExport {
2
+ data: any[];
3
+ columnsList: any[];
4
+ filePath: string;
5
+ sheetName?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface DBParams {
2
+ Key: string;
3
+ Value: any;
4
+ }
@@ -8,11 +8,4 @@ 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;
18
11
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { DBParams } from "./DBParams";
2
+ import { DbConnectionConfig } from "./DbConnectionConfig";
3
+
4
+ export interface OperationParams {
5
+ dbparams: DBParams[];
6
+ spname: string;
7
+ isquery?: boolean;
8
+ dbconfig: DbConnectionConfig;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spartaxx.businessmodels",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "main": "protest.js",
5
5
  "type": "commonjs",
6
6
  "scripts": {
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const DbConfig = {
4
- usermanagementdbconnection: {},
5
- spartaxxdbconnection: {},
6
- csdbtaxrolldbconnection: {}
7
- };
8
- exports.default = DbConfig;
@@ -1,15 +0,0 @@
1
- import { DbConnectionConfig } from "./DbConnectionConfig";
2
-
3
- interface DbConfigType {
4
- usermanagementdbconnection: DbConnectionConfig;
5
- spartaxxdbconnection: DbConnectionConfig;
6
- csdbtaxrolldbconnection: DbConnectionConfig;
7
- }
8
-
9
- const DbConfig: DbConfigType = {
10
- usermanagementdbconnection: {} as DbConnectionConfig,
11
- spartaxxdbconnection: {} as DbConnectionConfig,
12
- csdbtaxrolldbconnection: {} as DbConnectionConfig
13
- };
14
-
15
- export default DbConfig;