@miguelmorales13/nestkit 0.5.1 → 0.7.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 +250 -6
- package/dist/auth/index.cjs +12 -70
- package/dist/auth/index.js +11 -69
- package/dist/auth/oauth/http.d.ts +38 -0
- package/dist/auth/oauth/index.cjs +610 -0
- package/dist/auth/oauth/index.d.ts +12 -0
- package/dist/auth/oauth/index.js +610 -0
- package/dist/auth/oauth/oauth-auth.module.d.ts +28 -0
- package/dist/auth/oauth/oauth-auth.service.d.ts +101 -0
- package/dist/auth/oauth/oauth-callback.filter.d.ts +20 -0
- package/dist/auth/oauth/oauth-provider.d.ts +73 -0
- package/dist/auth/oauth/oauth.controller.d.ts +38 -0
- package/dist/auth/oauth/oauth.options.d.ts +89 -0
- package/dist/auth/oauth/oauth.ports.d.ts +86 -0
- package/dist/bootstrap/index.cjs +3 -3
- package/dist/bootstrap/index.js +2 -2
- package/dist/chunk-A3B2EY4V.js +75 -0
- package/dist/chunk-NVCI3CQI.cjs +75 -0
- package/dist/database/typeorm/index.cjs +79 -0
- package/dist/database/typeorm/index.d.ts +3 -0
- package/dist/database/typeorm/index.js +79 -0
- package/dist/database/typeorm/tenant-scope.d.ts +18 -0
- package/dist/database/typeorm/typeorm.module.d.ts +35 -0
- package/dist/index.cjs +17 -17
- package/dist/index.js +24 -24
- package/dist/umami/index.cjs +109 -0
- package/dist/umami/index.d.ts +4 -0
- package/dist/umami/index.js +109 -0
- package/dist/umami/umami.module.d.ts +6 -0
- package/dist/umami/umami.options.d.ts +20 -0
- package/dist/umami/umami.service.d.ts +40 -0
- package/dist/umami/umami.types.d.ts +24 -0
- package/package.json +22 -2
- package/dist/{chunk-AOCF5QCZ.js → chunk-ANQ3YPDI.js} +3 -3
- package/dist/{chunk-54ZXIB5T.cjs → chunk-YARLPYG5.cjs} +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miguelmorales13/nestkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
"import": "./dist/database/postgres/index.js",
|
|
52
52
|
"require": "./dist/database/postgres/index.cjs"
|
|
53
53
|
},
|
|
54
|
+
"./database/typeorm": {
|
|
55
|
+
"types": "./dist/database/typeorm/index.d.ts",
|
|
56
|
+
"import": "./dist/database/typeorm/index.js",
|
|
57
|
+
"require": "./dist/database/typeorm/index.cjs"
|
|
58
|
+
},
|
|
54
59
|
"./database/supabase": {
|
|
55
60
|
"types": "./dist/database/supabase/index.d.ts",
|
|
56
61
|
"import": "./dist/database/supabase/index.js",
|
|
@@ -81,6 +86,11 @@
|
|
|
81
86
|
"import": "./dist/auth/index.js",
|
|
82
87
|
"require": "./dist/auth/index.cjs"
|
|
83
88
|
},
|
|
89
|
+
"./auth/oauth": {
|
|
90
|
+
"types": "./dist/auth/oauth/index.d.ts",
|
|
91
|
+
"import": "./dist/auth/oauth/index.js",
|
|
92
|
+
"require": "./dist/auth/oauth/index.cjs"
|
|
93
|
+
},
|
|
84
94
|
"./email/resend": {
|
|
85
95
|
"types": "./dist/email/resend/index.d.ts",
|
|
86
96
|
"import": "./dist/email/resend/index.js",
|
|
@@ -111,6 +121,11 @@
|
|
|
111
121
|
"import": "./dist/media/index.js",
|
|
112
122
|
"require": "./dist/media/index.cjs"
|
|
113
123
|
},
|
|
124
|
+
"./umami": {
|
|
125
|
+
"types": "./dist/umami/index.d.ts",
|
|
126
|
+
"import": "./dist/umami/index.js",
|
|
127
|
+
"require": "./dist/umami/index.cjs"
|
|
128
|
+
},
|
|
114
129
|
"./storage": {
|
|
115
130
|
"types": "./dist/storage/index.d.ts",
|
|
116
131
|
"import": "./dist/storage/index.js",
|
|
@@ -139,7 +154,8 @@
|
|
|
139
154
|
"nodemailer": "^9.0.5",
|
|
140
155
|
"@aws-sdk/client-s3": "^3.0.0",
|
|
141
156
|
"@aws-sdk/s3-request-presigner": "^3.0.0",
|
|
142
|
-
"@aws-sdk/lib-storage": "^3.0.0"
|
|
157
|
+
"@aws-sdk/lib-storage": "^3.0.0",
|
|
158
|
+
"typeorm": "^0.3.0 || ^1.0.0"
|
|
143
159
|
},
|
|
144
160
|
"peerDependenciesMeta": {
|
|
145
161
|
"@aws-sdk/client-s3": {
|
|
@@ -180,6 +196,9 @@
|
|
|
180
196
|
},
|
|
181
197
|
"nodemailer": {
|
|
182
198
|
"optional": true
|
|
199
|
+
},
|
|
200
|
+
"typeorm": {
|
|
201
|
+
"optional": true
|
|
183
202
|
}
|
|
184
203
|
},
|
|
185
204
|
"dependencies": {
|
|
@@ -212,6 +231,7 @@
|
|
|
212
231
|
"stripe": "^22.5.0",
|
|
213
232
|
"telegraf": "^4.16.3",
|
|
214
233
|
"tsup": "^8.5.1",
|
|
234
|
+
"typeorm": "^1.1.0",
|
|
215
235
|
"typescript": "^5.6.0"
|
|
216
236
|
},
|
|
217
237
|
"overrides": {
|
|
@@ -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 _chunkJ7TURDALcjs = require('./chunk-J7TURDAL.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkTJHRABMLcjs = require('./chunk-TJHRABML.cjs');
|
|
7
7
|
|
|
8
8
|
// src/bootstrap/apply-defaults.ts
|
|
9
9
|
|