@nathapp/nestjs-common 3.2.1 → 3.2.2
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/clock/clock.interface.d.ts +18 -0
- package/dist/clock/clock.interface.js +6 -0
- package/dist/clock/clock.interface.js.map +1 -0
- package/dist/clock/clock.module.d.ts +8 -0
- package/dist/clock/clock.module.js +44 -0
- package/dist/clock/clock.module.js.map +1 -0
- package/dist/clock/index.d.ts +3 -0
- package/dist/clock/index.js +20 -0
- package/dist/clock/index.js.map +1 -0
- package/dist/clock/system-clock.d.ts +4 -0
- package/dist/clock/system-clock.js +10 -0
- package/dist/clock/system-clock.js.map +1 -0
- package/dist/id-generator/id-generator.interface.d.ts +18 -0
- package/dist/id-generator/id-generator.interface.js +6 -0
- package/dist/id-generator/id-generator.interface.js.map +1 -0
- package/dist/id-generator/id-generator.module.d.ts +8 -0
- package/dist/id-generator/id-generator.module.js +44 -0
- package/dist/id-generator/id-generator.module.js.map +1 -0
- package/dist/id-generator/index.d.ts +3 -0
- package/dist/id-generator/index.js +20 -0
- package/dist/id-generator/index.js.map +1 -0
- package/dist/id-generator/uuid-id-generator.d.ts +4 -0
- package/dist/id-generator/uuid-id-generator.js +11 -0
- package/dist/id-generator/uuid-id-generator.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ModuleMetadata, Type } from '@nestjs/common';
|
|
2
|
+
export declare const CLOCK: unique symbol;
|
|
3
|
+
export declare const CLOCK_MODULE_OPTIONS = "CLOCK_MODULE_OPTIONS";
|
|
4
|
+
export interface IClock {
|
|
5
|
+
now(): Date;
|
|
6
|
+
}
|
|
7
|
+
export interface ClockModuleOptions {
|
|
8
|
+
clock?: IClock;
|
|
9
|
+
}
|
|
10
|
+
export interface ClockModuleOptionsFactory {
|
|
11
|
+
createOptions(): Promise<ClockModuleOptions> | ClockModuleOptions;
|
|
12
|
+
}
|
|
13
|
+
export interface ClockAsyncModuleOptions extends Pick<ModuleMetadata, 'imports'> {
|
|
14
|
+
useExisting?: Type<ClockModuleOptionsFactory>;
|
|
15
|
+
useClass?: Type<ClockModuleOptionsFactory>;
|
|
16
|
+
useFactory?: (...args: any[]) => Promise<ClockModuleOptions> | ClockModuleOptions;
|
|
17
|
+
inject?: any[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CLOCK_MODULE_OPTIONS = exports.CLOCK = void 0;
|
|
4
|
+
exports.CLOCK = Symbol.for('CLOCK');
|
|
5
|
+
exports.CLOCK_MODULE_OPTIONS = 'CLOCK_MODULE_OPTIONS';
|
|
6
|
+
//# sourceMappingURL=clock.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clock.interface.js","sourceRoot":"","sources":["../../lib/clock/clock.interface.ts"],"names":[],"mappings":";;;AAMa,QAAA,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAG5B,QAAA,oBAAoB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DynamicModule } from '@nestjs/common';
|
|
2
|
+
import { ClockAsyncModuleOptions, ClockModuleOptions } from './clock.interface';
|
|
3
|
+
declare const ClockModule_base: import("../module").ConfigurableModuleCls<ClockModuleOptions, "register", "createOptions", {}>;
|
|
4
|
+
export declare class ClockModule extends ClockModule_base {
|
|
5
|
+
static register(options?: ClockModuleOptions): DynamicModule;
|
|
6
|
+
static registerAsync(options: ClockAsyncModuleOptions): DynamicModule;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var ClockModule_1;
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ClockModule = void 0;
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const module_1 = require("../module");
|
|
13
|
+
const clock_interface_1 = require("./clock.interface");
|
|
14
|
+
const system_clock_1 = require("./system-clock");
|
|
15
|
+
let ClockModule = ClockModule_1 = class ClockModule extends (0, module_1.ConfigurableModuleClass)(clock_interface_1.CLOCK_MODULE_OPTIONS) {
|
|
16
|
+
static register(options) {
|
|
17
|
+
return {
|
|
18
|
+
...super.register(options !== null && options !== void 0 ? options : {}),
|
|
19
|
+
module: ClockModule_1,
|
|
20
|
+
global: true,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static registerAsync(options) {
|
|
24
|
+
return {
|
|
25
|
+
...super.registerAsync(options),
|
|
26
|
+
module: ClockModule_1,
|
|
27
|
+
global: true,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.ClockModule = ClockModule;
|
|
32
|
+
exports.ClockModule = ClockModule = ClockModule_1 = __decorate([
|
|
33
|
+
(0, common_1.Module)({
|
|
34
|
+
providers: [
|
|
35
|
+
{
|
|
36
|
+
provide: clock_interface_1.CLOCK,
|
|
37
|
+
useFactory: (options) => { var _a; return (_a = options === null || options === void 0 ? void 0 : options.clock) !== null && _a !== void 0 ? _a : new system_clock_1.SystemClock(); },
|
|
38
|
+
inject: [clock_interface_1.CLOCK_MODULE_OPTIONS],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
exports: [clock_interface_1.CLOCK],
|
|
42
|
+
})
|
|
43
|
+
], ClockModule);
|
|
44
|
+
//# sourceMappingURL=clock.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clock.module.js","sourceRoot":"","sources":["../../lib/clock/clock.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,sCAAoD;AACpD,uDAM2B;AAC3B,iDAA6C;AAatC,IAAM,WAAW,mBAAjB,MAAM,WAAY,SAAQ,IAAA,gCAAuB,EACtD,sCAAoB,CACrB;IACC,MAAM,CAAC,QAAQ,CAAC,OAA4B;QAC1C,OAAO;YACL,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;YAChC,MAAM,EAAE,aAAW;YACnB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,aAAa,CAClB,OAAgC;QAEhC,OAAO;YACL,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;YAC/B,MAAM,EAAE,aAAW;YACnB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AApBY,kCAAW;sBAAX,WAAW;IAXvB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,uBAAK;gBACd,UAAU,EAAE,CAAC,OAA4B,EAAU,EAAE,WACnD,OAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,0BAAW,EAAE,CAAA,EAAA;gBACrC,MAAM,EAAE,CAAC,sCAAoB,CAAC;aAC/B;SACF;QACD,OAAO,EAAE,CAAC,uBAAK,CAAC;KACjB,CAAC;GACW,WAAW,CAoBvB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./clock.interface"), exports);
|
|
18
|
+
__exportStar(require("./system-clock"), exports);
|
|
19
|
+
__exportStar(require("./clock.module"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/clock/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,iDAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-clock.js","sourceRoot":"","sources":["../../lib/clock/system-clock.ts"],"names":[],"mappings":";;;AAGA,MAAa,WAAW;IACtB,GAAG;QACD,OAAO,IAAI,IAAI,EAAE,CAAC;IACpB,CAAC;CACF;AAJD,kCAIC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ModuleMetadata, Type } from '@nestjs/common';
|
|
2
|
+
export declare const ID_GENERATOR: unique symbol;
|
|
3
|
+
export declare const ID_GENERATOR_MODULE_OPTIONS = "ID_GENERATOR_MODULE_OPTIONS";
|
|
4
|
+
export interface IIdGenerator {
|
|
5
|
+
generate(): string;
|
|
6
|
+
}
|
|
7
|
+
export interface IdGeneratorModuleOptions {
|
|
8
|
+
idGenerator?: IIdGenerator;
|
|
9
|
+
}
|
|
10
|
+
export interface IdGeneratorModuleOptionsFactory {
|
|
11
|
+
createOptions(): Promise<IdGeneratorModuleOptions> | IdGeneratorModuleOptions;
|
|
12
|
+
}
|
|
13
|
+
export interface IdGeneratorAsyncModuleOptions extends Pick<ModuleMetadata, 'imports'> {
|
|
14
|
+
useExisting?: Type<IdGeneratorModuleOptionsFactory>;
|
|
15
|
+
useClass?: Type<IdGeneratorModuleOptionsFactory>;
|
|
16
|
+
useFactory?: (...args: any[]) => Promise<IdGeneratorModuleOptions> | IdGeneratorModuleOptions;
|
|
17
|
+
inject?: any[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ID_GENERATOR_MODULE_OPTIONS = exports.ID_GENERATOR = void 0;
|
|
4
|
+
exports.ID_GENERATOR = Symbol.for('ID_GENERATOR');
|
|
5
|
+
exports.ID_GENERATOR_MODULE_OPTIONS = 'ID_GENERATOR_MODULE_OPTIONS';
|
|
6
|
+
//# sourceMappingURL=id-generator.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-generator.interface.js","sourceRoot":"","sources":["../../lib/id-generator/id-generator.interface.ts"],"names":[],"mappings":";;;AAOa,QAAA,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAG1C,QAAA,2BAA2B,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DynamicModule } from '@nestjs/common';
|
|
2
|
+
import { IdGeneratorAsyncModuleOptions, IdGeneratorModuleOptions } from './id-generator.interface';
|
|
3
|
+
declare const IdGeneratorModule_base: import("../module").ConfigurableModuleCls<IdGeneratorModuleOptions, "register", "createOptions", {}>;
|
|
4
|
+
export declare class IdGeneratorModule extends IdGeneratorModule_base {
|
|
5
|
+
static register(options?: IdGeneratorModuleOptions): DynamicModule;
|
|
6
|
+
static registerAsync(options: IdGeneratorAsyncModuleOptions): DynamicModule;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var IdGeneratorModule_1;
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.IdGeneratorModule = void 0;
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const module_1 = require("../module");
|
|
13
|
+
const id_generator_interface_1 = require("./id-generator.interface");
|
|
14
|
+
const uuid_id_generator_1 = require("./uuid-id-generator");
|
|
15
|
+
let IdGeneratorModule = IdGeneratorModule_1 = class IdGeneratorModule extends (0, module_1.ConfigurableModuleClass)(id_generator_interface_1.ID_GENERATOR_MODULE_OPTIONS) {
|
|
16
|
+
static register(options) {
|
|
17
|
+
return {
|
|
18
|
+
...super.register(options !== null && options !== void 0 ? options : {}),
|
|
19
|
+
module: IdGeneratorModule_1,
|
|
20
|
+
global: true,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static registerAsync(options) {
|
|
24
|
+
return {
|
|
25
|
+
...super.registerAsync(options),
|
|
26
|
+
module: IdGeneratorModule_1,
|
|
27
|
+
global: true,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.IdGeneratorModule = IdGeneratorModule;
|
|
32
|
+
exports.IdGeneratorModule = IdGeneratorModule = IdGeneratorModule_1 = __decorate([
|
|
33
|
+
(0, common_1.Module)({
|
|
34
|
+
providers: [
|
|
35
|
+
{
|
|
36
|
+
provide: id_generator_interface_1.ID_GENERATOR,
|
|
37
|
+
useFactory: (options) => { var _a; return (_a = options === null || options === void 0 ? void 0 : options.idGenerator) !== null && _a !== void 0 ? _a : new uuid_id_generator_1.UuidIdGenerator(); },
|
|
38
|
+
inject: [id_generator_interface_1.ID_GENERATOR_MODULE_OPTIONS],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
exports: [id_generator_interface_1.ID_GENERATOR],
|
|
42
|
+
})
|
|
43
|
+
], IdGeneratorModule);
|
|
44
|
+
//# sourceMappingURL=id-generator.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-generator.module.js","sourceRoot":"","sources":["../../lib/id-generator/id-generator.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,sCAAoD;AACpD,qEAMkC;AAClC,2DAAsD;AAa/C,IAAM,iBAAiB,yBAAvB,MAAM,iBAAkB,SAAQ,IAAA,gCAAuB,EAC5D,oDAA2B,CAC5B;IACC,MAAM,CAAC,QAAQ,CAAC,OAAkC;QAChD,OAAO;YACL,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;YAChC,MAAM,EAAE,mBAAiB;YACzB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,aAAa,CAClB,OAAsC;QAEtC,OAAO;YACL,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;YAC/B,MAAM,EAAE,mBAAiB;YACzB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AApBY,8CAAiB;4BAAjB,iBAAiB;IAX7B,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,qCAAY;gBACrB,UAAU,EAAE,CAAC,OAAkC,EAAgB,EAAE,WAC/D,OAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,mCAAe,EAAE,CAAA,EAAA;gBAC/C,MAAM,EAAE,CAAC,oDAA2B,CAAC;aACtC;SACF;QACD,OAAO,EAAE,CAAC,qCAAY,CAAC;KACxB,CAAC;GACW,iBAAiB,CAoB7B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./id-generator.interface"), exports);
|
|
18
|
+
__exportStar(require("./uuid-id-generator"), exports);
|
|
19
|
+
__exportStar(require("./id-generator.module"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/id-generator/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,sDAAoC;AACpC,wDAAsC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UuidIdGenerator = void 0;
|
|
4
|
+
const crypto_1 = require("crypto");
|
|
5
|
+
class UuidIdGenerator {
|
|
6
|
+
generate() {
|
|
7
|
+
return (0, crypto_1.randomUUID)();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.UuidIdGenerator = UuidIdGenerator;
|
|
11
|
+
//# sourceMappingURL=uuid-id-generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid-id-generator.js","sourceRoot":"","sources":["../../lib/id-generator/uuid-id-generator.ts"],"names":[],"mappings":";;;AAAA,mCAAoC;AAIpC,MAAa,eAAe;IAC1B,QAAQ;QACN,OAAO,IAAA,mBAAU,GAAE,CAAC;IACtB,CAAC;CACF;AAJD,0CAIC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
export * from "./clock";
|
|
1
2
|
export * from "./config";
|
|
2
3
|
export * from "./constant";
|
|
3
4
|
export * from "./decorator";
|
|
4
5
|
export * from "./entities";
|
|
5
6
|
export * from "./exception";
|
|
6
7
|
export * from "./http";
|
|
8
|
+
export * from "./id-generator";
|
|
7
9
|
export * from "./i18n";
|
|
8
10
|
export * from "./interceptor";
|
|
9
11
|
export * from "./ip";
|
package/dist/index.js
CHANGED
|
@@ -14,12 +14,14 @@ 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("./clock"), exports);
|
|
17
18
|
__exportStar(require("./config"), exports);
|
|
18
19
|
__exportStar(require("./constant"), exports);
|
|
19
20
|
__exportStar(require("./decorator"), exports);
|
|
20
21
|
__exportStar(require("./entities"), exports);
|
|
21
22
|
__exportStar(require("./exception"), exports);
|
|
22
23
|
__exportStar(require("./http"), exports);
|
|
24
|
+
__exportStar(require("./id-generator"), exports);
|
|
23
25
|
__exportStar(require("./i18n"), exports);
|
|
24
26
|
__exportStar(require("./interceptor"), exports);
|
|
25
27
|
__exportStar(require("./ip"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,yCAAuB;AACvB,yCAAuB;AACvB,gDAA8B;AAC9B,uCAAqB;AACrB,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,yCAAuB;AACvB,iDAA+B;AAC/B,yCAAuB;AACvB,gDAA8B;AAC9B,uCAAqB;AACrB,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B"}
|