@miguelmorales13/nestkit 0.18.0 → 0.19.0
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/README.md +67 -40
- package/dist/auth/index.cjs +4 -4
- package/dist/auth/index.js +2 -2
- package/dist/auth/oauth/index.cjs +6 -6
- package/dist/auth/oauth/index.js +2 -2
- package/dist/email/adapters/brevo.email.d.ts +22 -0
- package/dist/email/adapters/memory.email.d.ts +14 -0
- package/dist/email/adapters/message.d.ts +13 -0
- package/dist/email/adapters/resend.email.d.ts +28 -0
- package/dist/email/adapters/smtp.email.d.ts +22 -0
- package/dist/email/address.d.ts +15 -0
- package/dist/email/email.module.d.ts +37 -0
- package/dist/email/email.options.d.ts +39 -0
- package/dist/email/email.port.d.ts +62 -0
- package/dist/email/index.cjs +314 -0
- package/dist/email/index.d.ts +12 -0
- package/dist/email/index.js +314 -0
- package/dist/errors/index.cjs +5 -5
- package/dist/errors/index.js +6 -6
- package/dist/index.cjs +14 -14
- package/dist/index.js +18 -18
- package/package.json +6 -1
- package/dist/{chunk-4HHZFOVC.cjs → chunk-FH5UNWWW.cjs} +2 -2
- package/dist/{chunk-IKXSVEJ7.js → chunk-TUNDBBQF.js} +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-KVBQBT3D.cjs');
|
|
2
|
+
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
|
|
@@ -14,53 +15,52 @@ require('./chunk-H2EHN366.cjs');
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
var _chunkHVHYZXBBcjs = require('./chunk-HVHYZXBB.cjs');
|
|
17
|
-
require('./chunk-KVBQBT3D.cjs');
|
|
18
|
-
require('./chunk-7SOM7EZP.cjs');
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
var _chunkFNUZGYUFcjs = require('./chunk-FNUZGYUF.cjs');
|
|
22
20
|
|
|
23
21
|
|
|
24
|
-
var _chunk3AUOOEQOcjs = require('./chunk-3AUOOEQO.cjs');
|
|
25
22
|
|
|
26
23
|
|
|
27
|
-
var
|
|
24
|
+
var _chunkAPUFKA4Kcjs = require('./chunk-APUFKA4K.cjs');
|
|
28
25
|
|
|
29
26
|
|
|
27
|
+
var _chunkFNUZGYUFcjs = require('./chunk-FNUZGYUF.cjs');
|
|
30
28
|
|
|
31
29
|
|
|
32
|
-
var
|
|
33
|
-
require('./chunk-W2T2VFLC.cjs');
|
|
30
|
+
var _chunk3AUOOEQOcjs = require('./chunk-3AUOOEQO.cjs');
|
|
34
31
|
|
|
35
32
|
|
|
36
|
-
var _chunkQS2W5XCQcjs = require('./chunk-QS2W5XCQ.cjs');
|
|
37
33
|
|
|
38
34
|
|
|
35
|
+
var _chunk52IOOHNXcjs = require('./chunk-52IOOHNX.cjs');
|
|
36
|
+
require('./chunk-W2T2VFLC.cjs');
|
|
39
37
|
|
|
40
38
|
|
|
39
|
+
var _chunkQS2W5XCQcjs = require('./chunk-QS2W5XCQ.cjs');
|
|
40
|
+
require('./chunk-7SOM7EZP.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var _chunkAPUFKA4Kcjs = require('./chunk-APUFKA4K.cjs');
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
|
|
48
|
-
var
|
|
47
|
+
var _chunkHDFPSA2Vcjs = require('./chunk-HDFPSA2V.cjs');
|
|
49
48
|
|
|
50
49
|
|
|
50
|
+
var _chunkMSTXS3MUcjs = require('./chunk-MSTXS3MU.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var _chunkY72D5L6Icjs = require('./chunk-Y72D5L6I.cjs');
|
|
54
53
|
|
|
55
54
|
|
|
56
|
-
var
|
|
55
|
+
var _chunkAXMW5JF7cjs = require('./chunk-AXMW5JF7.cjs');
|
|
57
56
|
|
|
58
57
|
|
|
59
58
|
|
|
60
59
|
|
|
60
|
+
var _chunkY72D5L6Icjs = require('./chunk-Y72D5L6I.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunkSDWHKPXIcjs = require('./chunk-SDWHKPXI.cjs');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
var _chunkQ5Y33L7Bcjs = require('./chunk-Q5Y33L7B.cjs');
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-EPVKCBPT.js";
|
|
1
2
|
import {
|
|
2
3
|
PG_POOL,
|
|
3
4
|
PgModule,
|
|
@@ -14,17 +15,19 @@ import {
|
|
|
14
15
|
RequestIdMiddleware,
|
|
15
16
|
TrackingModule
|
|
16
17
|
} from "./chunk-4PFAKLT3.js";
|
|
17
|
-
import
|
|
18
|
-
|
|
18
|
+
import {
|
|
19
|
+
I18nInterceptor,
|
|
20
|
+
I18nModule,
|
|
21
|
+
NestI18nTranslator,
|
|
22
|
+
matchLanguage,
|
|
23
|
+
translateOr
|
|
24
|
+
} from "./chunk-6RAPVLJM.js";
|
|
19
25
|
import {
|
|
20
26
|
applyNestKitDefaults
|
|
21
27
|
} from "./chunk-UNEVXCFW.js";
|
|
22
28
|
import {
|
|
23
29
|
ResponseInterceptor
|
|
24
30
|
} from "./chunk-DYHSOULW.js";
|
|
25
|
-
import {
|
|
26
|
-
GlobalExceptionFilter
|
|
27
|
-
} from "./chunk-A2DGK4ZL.js";
|
|
28
31
|
import {
|
|
29
32
|
BaseCrudService,
|
|
30
33
|
ListQuery,
|
|
@@ -34,13 +37,17 @@ import "./chunk-ZJMLEP5H.js";
|
|
|
34
37
|
import {
|
|
35
38
|
BaseResponseDto
|
|
36
39
|
} from "./chunk-XX2HPTRU.js";
|
|
40
|
+
import "./chunk-DQYAIQQ5.js";
|
|
37
41
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
ConflictAppException,
|
|
43
|
+
ForbiddenAppException,
|
|
44
|
+
NotFoundAppException,
|
|
45
|
+
UnauthorizedAppException,
|
|
46
|
+
ValidationAppException
|
|
47
|
+
} from "./chunk-ZFIDAX7K.js";
|
|
48
|
+
import {
|
|
49
|
+
GlobalExceptionFilter
|
|
50
|
+
} from "./chunk-A2DGK4ZL.js";
|
|
44
51
|
import {
|
|
45
52
|
currentLanguage,
|
|
46
53
|
translate,
|
|
@@ -54,13 +61,6 @@ import {
|
|
|
54
61
|
import {
|
|
55
62
|
RequestContext
|
|
56
63
|
} from "./chunk-ETRUVZTJ.js";
|
|
57
|
-
import {
|
|
58
|
-
ConflictAppException,
|
|
59
|
-
ForbiddenAppException,
|
|
60
|
-
NotFoundAppException,
|
|
61
|
-
UnauthorizedAppException,
|
|
62
|
-
ValidationAppException
|
|
63
|
-
} from "./chunk-ZFIDAX7K.js";
|
|
64
64
|
import {
|
|
65
65
|
AppException
|
|
66
66
|
} from "./chunk-M3GQDRWR.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miguelmorales13/nestkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -91,6 +91,11 @@
|
|
|
91
91
|
"import": "./dist/auth/oauth/index.js",
|
|
92
92
|
"require": "./dist/auth/oauth/index.cjs"
|
|
93
93
|
},
|
|
94
|
+
"./email": {
|
|
95
|
+
"types": "./dist/email/index.d.ts",
|
|
96
|
+
"import": "./dist/email/index.js",
|
|
97
|
+
"require": "./dist/email/index.cjs"
|
|
98
|
+
},
|
|
94
99
|
"./email/resend": {
|
|
95
100
|
"types": "./dist/email/resend/index.d.ts",
|
|
96
101
|
"import": "./dist/email/resend/index.js",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHDFPSA2Vcjs = require('./chunk-HDFPSA2V.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSDWHKPXIcjs = require('./chunk-SDWHKPXI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk2REOCMUDcjs = require('./chunk-2REOCMUD.cjs');
|