mm-share-lib 0.0.30 → 0.0.32
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/src/exception/bad-request-error.exception.d.ts +1 -1
- package/dist/src/exception/bad-request-error.exception.js +2 -2
- package/dist/src/exception/bad-request-error.exception.js.map +1 -1
- package/dist/src/exception/base.exception.d.ts +1 -1
- package/dist/src/exception/base.exception.js +4 -1
- package/dist/src/exception/base.exception.js.map +1 -1
- package/dist/src/exception/conflict-error.exception.d.ts +1 -1
- package/dist/src/exception/conflict-error.exception.js +2 -2
- package/dist/src/exception/conflict-error.exception.js.map +1 -1
- package/dist/src/exception/forbidden-error.exception.d.ts +1 -1
- package/dist/src/exception/forbidden-error.exception.js +2 -2
- package/dist/src/exception/forbidden-error.exception.js.map +1 -1
- package/dist/src/exception/internal-server-error.exception.d.ts +1 -1
- package/dist/src/exception/internal-server-error.exception.js +2 -2
- package/dist/src/exception/internal-server-error.exception.js.map +1 -1
- package/dist/src/exception/not-found-error.exception.d.ts +1 -1
- package/dist/src/exception/not-found-error.exception.js +2 -2
- package/dist/src/exception/not-found-error.exception.js.map +1 -1
- package/dist/src/exception/unauthorized-error.exception.d.ts +1 -1
- package/dist/src/exception/unauthorized-error.exception.js +2 -2
- package/dist/src/exception/unauthorized-error.exception.js.map +1 -1
- package/dist/src/lib/{datasource-mapper/datasource-mapper.d.ts → datasource/datasource-manager.d.ts} +3 -3
- package/dist/src/lib/{datasource-mapper/datasource-mapper.js → datasource/datasource-manager.js} +14 -7
- package/dist/src/lib/datasource/datasource-manager.js.map +1 -0
- package/dist/src/lib/datasource/index.d.ts +1 -0
- package/dist/src/lib/{datasource-mapper → datasource}/index.js +1 -1
- package/dist/src/lib/datasource/index.js.map +1 -0
- package/dist/src/lib/index.d.ts +1 -1
- package/dist/src/lib/index.js +1 -1
- package/dist/src/lib/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/exception/bad-request-error.exception.ts +7 -2
- package/src/exception/base.exception.ts +4 -1
- package/src/exception/conflict-error.exception.ts +7 -2
- package/src/exception/forbidden-error.exception.ts +7 -2
- package/src/exception/internal-server-error.exception.ts +2 -1
- package/src/exception/not-found-error.exception.ts +7 -2
- package/src/exception/unauthorized-error.exception.ts +2 -1
- package/src/lib/{datasource-mapper/datasource-mapper.ts → datasource/datasource-manager.ts} +17 -5
- package/src/lib/datasource/index.ts +1 -0
- package/src/lib/index.ts +1 -1
- package/dist/src/lib/datasource-mapper/datasource-mapper.js.map +0 -1
- package/dist/src/lib/datasource-mapper/index.d.ts +0 -1
- package/dist/src/lib/datasource-mapper/index.js.map +0 -1
- package/src/lib/datasource-mapper/index.ts +0 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class BadRequestException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.BadRequestException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class BadRequestException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'BadRequestException', common_1.HttpStatus.BAD_REQUEST, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'BadRequestException', common_1.HttpStatus.BAD_REQUEST, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.BadRequestException = BadRequestException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bad-request-error.exception.js","sourceRoot":"","sources":["../../../src/exception/bad-request-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,mBAAoB,SAAQ,8BAAa;IACpD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"bad-request-error.exception.js","sourceRoot":"","sources":["../../../src/exception/bad-request-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,mBAAoB,SAAQ,8BAAa;IACpD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,qBAAqB,EAChC,mBAAU,CAAC,WAAW,EACtB,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,kDASC"}
|
@@ -17,5 +17,5 @@ export declare class BaseException extends HttpException {
|
|
17
17
|
readonly statusCode: number;
|
18
18
|
readonly code?: string;
|
19
19
|
readonly parameters: ParametersType;
|
20
|
-
constructor(message: string, status: HttpStatus, parameters?: ParametersType);
|
20
|
+
constructor(message: string, status: HttpStatus, code?: string, parameters?: ParametersType);
|
21
21
|
}
|
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BaseException = void 0;
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
class BaseException extends common_1.HttpException {
|
6
|
-
constructor(message, status, parameters) {
|
6
|
+
constructor(message, status, code, parameters) {
|
7
7
|
super(message, status);
|
8
|
+
if (code) {
|
9
|
+
this.code = code;
|
10
|
+
}
|
8
11
|
if (parameters) {
|
9
12
|
this.parameters = parameters;
|
10
13
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.exception.js","sourceRoot":"","sources":["../../../src/exception/base.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAc3D,MAAa,aAAc,SAAQ,sBAAa;IAO9C,YACE,OAAe,EACf,MAAkB,EAClB,UAA2B;QAE3B,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAEvB,IAAI,UAAU,EAAE;YACd,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;SAC9B;
|
1
|
+
{"version":3,"file":"base.exception.js","sourceRoot":"","sources":["../../../src/exception/base.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAc3D,MAAa,aAAc,SAAQ,sBAAa;IAO9C,YACE,OAAe,EACf,MAAkB,EAClB,IAAa,EACb,UAA2B;QAE3B,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAEvB,IAAI,IAAI,EAAE;YACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;SAClB;QACD,IAAI,UAAU,EAAE;YACd,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;SAC9B;QACD,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QACpC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAxBD,sCAwBC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class ConflictException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.ConflictException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class ConflictException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'ConflictException', common_1.HttpStatus.CONFLICT, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'ConflictException', common_1.HttpStatus.CONFLICT, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.ConflictException = ConflictException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"conflict-error.exception.js","sourceRoot":"","sources":["../../../src/exception/conflict-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,iBAAkB,SAAQ,8BAAa;IAClD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"conflict-error.exception.js","sourceRoot":"","sources":["../../../src/exception/conflict-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,iBAAkB,SAAQ,8BAAa;IAClD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,mBAAmB,EAC9B,mBAAU,CAAC,QAAQ,EACnB,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,8CASC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class ForbiddenException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.ForbiddenException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class ForbiddenException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'BadRequestException', common_1.HttpStatus.FORBIDDEN, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'BadRequestException', common_1.HttpStatus.FORBIDDEN, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.ForbiddenException = ForbiddenException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"forbidden-error.exception.js","sourceRoot":"","sources":["../../../src/exception/forbidden-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,kBAAmB,SAAQ,8BAAa;IACnD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"forbidden-error.exception.js","sourceRoot":"","sources":["../../../src/exception/forbidden-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,kBAAmB,SAAQ,8BAAa;IACnD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,qBAAqB,EAChC,mBAAU,CAAC,SAAS,EACpB,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,gDASC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class InternalServerException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.InternalServerException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class InternalServerException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'InternalServerException', common_1.HttpStatus.INTERNAL_SERVER_ERROR, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'InternalServerException', common_1.HttpStatus.INTERNAL_SERVER_ERROR, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.InternalServerException = InternalServerException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"internal-server-error.exception.js","sourceRoot":"","sources":["../../../src/exception/internal-server-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,uBAAwB,SAAQ,8BAAa;IACxD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"internal-server-error.exception.js","sourceRoot":"","sources":["../../../src/exception/internal-server-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,uBAAwB,SAAQ,8BAAa;IACxD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,yBAAyB,EACpC,mBAAU,CAAC,qBAAqB,EAChC,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,0DASC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class NotFoundException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.NotFoundException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class NotFoundException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'NotFoundException', common_1.HttpStatus.NOT_FOUND, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'NotFoundException', common_1.HttpStatus.NOT_FOUND, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.NotFoundException = NotFoundException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"not-found-error.exception.js","sourceRoot":"","sources":["../../../src/exception/not-found-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,iBAAkB,SAAQ,8BAAa;IAClD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"not-found-error.exception.js","sourceRoot":"","sources":["../../../src/exception/not-found-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,iBAAkB,SAAQ,8BAAa;IAClD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,mBAAmB,EAC9B,mBAAU,CAAC,SAAS,EACpB,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,8CASC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BaseException, ParametersType } from './base.exception';
|
2
2
|
export declare class UnauthorizedException extends BaseException {
|
3
|
-
constructor(message?: string, parameters?: ParametersType);
|
3
|
+
constructor(message?: string, code?: string, parameters?: ParametersType);
|
4
4
|
}
|
@@ -4,8 +4,8 @@ exports.UnauthorizedException = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const base_exception_1 = require("./base.exception");
|
6
6
|
class UnauthorizedException extends base_exception_1.BaseException {
|
7
|
-
constructor(message, parameters) {
|
8
|
-
super(message !== null && message !== void 0 ? message : 'UnauthorizedException', common_1.HttpStatus.UNAUTHORIZED, parameters);
|
7
|
+
constructor(message, code, parameters) {
|
8
|
+
super(message !== null && message !== void 0 ? message : 'UnauthorizedException', common_1.HttpStatus.UNAUTHORIZED, code, parameters);
|
9
9
|
}
|
10
10
|
}
|
11
11
|
exports.UnauthorizedException = UnauthorizedException;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"unauthorized-error.exception.js","sourceRoot":"","sources":["../../../src/exception/unauthorized-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,qBAAsB,SAAQ,8BAAa;IACtD,YAAY,OAAgB,EAAE,UAA2B;
|
1
|
+
{"version":3,"file":"unauthorized-error.exception.js","sourceRoot":"","sources":["../../../src/exception/unauthorized-error.exception.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,qDAAiE;AAEjE,MAAa,qBAAsB,SAAQ,8BAAa;IACtD,YAAY,OAAgB,EAAE,IAAa,EAAE,UAA2B;QACtE,KAAK,CACH,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,uBAAuB,EAClC,mBAAU,CAAC,YAAY,EACvB,IAAI,EACJ,UAAU,CACX,CAAC;IACJ,CAAC;CACF;AATD,sDASC"}
|
package/dist/src/lib/{datasource-mapper/datasource-mapper.d.ts → datasource/datasource-manager.d.ts}
RENAMED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { DataSource, DataSourceOptions } from 'typeorm';
|
2
2
|
export declare class DataSourceManager {
|
3
|
-
private options;
|
4
3
|
private static instance;
|
5
4
|
private readonly dataSources;
|
6
5
|
private constructor();
|
7
|
-
static getInstance(
|
8
|
-
getDataSource(dataSourceName: string): Promise<DataSource>;
|
6
|
+
static getInstance(): DataSourceManager;
|
7
|
+
getDataSource(dataSourceName: string, options: DataSourceOptions): Promise<DataSource>;
|
8
|
+
close(): Promise<void>;
|
9
9
|
}
|
package/dist/src/lib/{datasource-mapper/datasource-mapper.js → datasource/datasource-manager.js}
RENAMED
@@ -3,27 +3,34 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DataSourceManager = void 0;
|
4
4
|
const typeorm_1 = require("typeorm");
|
5
5
|
class DataSourceManager {
|
6
|
-
constructor(
|
7
|
-
this.options = options;
|
6
|
+
constructor() {
|
8
7
|
this.dataSources = {};
|
9
8
|
}
|
10
|
-
static getInstance(
|
9
|
+
static getInstance() {
|
11
10
|
if (!DataSourceManager.instance) {
|
12
|
-
DataSourceManager.instance = new DataSourceManager(
|
11
|
+
DataSourceManager.instance = new DataSourceManager();
|
13
12
|
}
|
14
13
|
return DataSourceManager.instance;
|
15
14
|
}
|
16
|
-
async getDataSource(dataSourceName) {
|
15
|
+
async getDataSource(dataSourceName, options) {
|
17
16
|
if (this.dataSources[dataSourceName]) {
|
18
17
|
const dataSource = this.dataSources[dataSourceName];
|
19
18
|
return dataSource.isInitialized
|
20
19
|
? dataSource
|
21
20
|
: await dataSource.initialize();
|
22
21
|
}
|
23
|
-
const newDataSource = new typeorm_1.DataSource(
|
22
|
+
const newDataSource = new typeorm_1.DataSource(options);
|
24
23
|
this.dataSources[dataSourceName] = newDataSource;
|
25
24
|
return newDataSource.initialize();
|
26
25
|
}
|
26
|
+
async close() {
|
27
|
+
for (const key in this.dataSources) {
|
28
|
+
const dataSource = this.dataSources[key];
|
29
|
+
if (dataSource.isInitialized) {
|
30
|
+
await dataSource.destroy();
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
27
34
|
}
|
28
35
|
exports.DataSourceManager = DataSourceManager;
|
29
|
-
//# sourceMappingURL=datasource-
|
36
|
+
//# sourceMappingURL=datasource-manager.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"datasource-manager.js","sourceRoot":"","sources":["../../../../src/lib/datasource/datasource-manager.ts"],"names":[],"mappings":";;;AAAA,qCAAwD;AAExD,MAAa,iBAAiB;IAK5B;QAFiB,gBAAW,GAAkC,EAAE,CAAC;IAE1C,CAAC;IAEjB,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE;YAC/B,iBAAiB,CAAC,QAAQ,GAAG,IAAI,iBAAiB,EAAE,CAAC;SACtD;QAED,OAAO,iBAAiB,CAAC,QAAQ,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,aAAa,CACjB,cAAsB,EACtB,OAA0B;QAE1B,IAAI,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE;YACpC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;YACpD,OAAO,UAAU,CAAC,aAAa;gBAC7B,CAAC,CAAC,UAAU;gBACZ,CAAC,CAAC,MAAM,UAAU,CAAC,UAAU,EAAE,CAAC;SACnC;QAED,MAAM,aAAa,GAAG,IAAI,oBAAU,CAAC,OAAO,CAAC,CAAC;QAE9C,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC;QAEjD,OAAO,aAAa,CAAC,UAAU,EAAE,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,KAAK;QACT,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,WAAW,EAAE;YAClC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;YACzC,IAAI,UAAU,CAAC,aAAa,EAAE;gBAC5B,MAAM,UAAU,CAAC,OAAO,EAAE,CAAC;aAC5B;SACF;IACH,CAAC;CACF;AAzCD,8CAyCC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './datasource-manager';
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./datasource-
|
17
|
+
__exportStar(require("./datasource-manager"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/datasource/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
package/dist/src/lib/index.d.ts
CHANGED
package/dist/src/lib/index.js
CHANGED
@@ -18,5 +18,5 @@ __exportStar(require("./search-engine"), exports);
|
|
18
18
|
__exportStar(require("./mailer"), exports);
|
19
19
|
__exportStar(require("./redis"), exports);
|
20
20
|
__exportStar(require("./storage"), exports);
|
21
|
-
__exportStar(require("./datasource
|
21
|
+
__exportStar(require("./datasource"), exports);
|
22
22
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,+CAA6B"}
|