@spinajs/session-provider-db 2.0.38 → 2.0.44
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/lib/config/session-db.d.ts +0 -1
- package/lib/config/session-db.js +5 -10
- package/lib/config/session-db.js.map +1 -1
- package/lib/index.d.ts +8 -4
- package/lib/index.js +72 -28
- package/lib/index.js.map +1 -1
- package/lib/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.js +2 -2
- package/lib/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.js.map +1 -1
- package/lib/models/DbSession.js +5 -1
- package/lib/models/DbSession.js.map +1 -1
- package/package.json +10 -10
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/config/session-db.js
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const path_1 = require("path");
|
|
4
|
-
function dir(path) {
|
|
5
|
-
return (0, path_1.resolve)((0, path_1.normalize)((0, path_1.join)(__dirname, path)));
|
|
6
|
-
}
|
|
7
1
|
module.exports = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
rbac: {
|
|
3
|
+
session: {
|
|
4
|
+
db: {
|
|
5
|
+
cleanupInterval: 10 * 60 * 1000,
|
|
6
|
+
},
|
|
12
7
|
},
|
|
13
8
|
},
|
|
14
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-db.js","sourceRoot":"","sources":["../../src/config/session-db.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"session-db.js","sourceRoot":"","sources":["../../src/config/session-db.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,GAAG;IACf,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,eAAe,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;aAChC;SACF;KACF;CACF,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { SessionProvider, Session, ISession } from '@spinajs/rbac';
|
|
2
|
-
import { Configuration } from '@spinajs/configuration';
|
|
3
2
|
import { Log } from '@spinajs/log';
|
|
3
|
+
export * from './models/DbSession';
|
|
4
|
+
export * from './migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01';
|
|
4
5
|
export declare class DbSessionStore extends SessionProvider {
|
|
5
6
|
protected Log: Log;
|
|
6
|
-
protected
|
|
7
|
-
|
|
7
|
+
protected CleanupInterval: any;
|
|
8
|
+
protected DefaultExpirationTime: number;
|
|
9
|
+
resolve(): Promise<void>;
|
|
8
10
|
restore(sessionId: string): Promise<Session>;
|
|
9
11
|
delete(sessionId: string): Promise<void>;
|
|
10
|
-
save(
|
|
12
|
+
save(sessionOrId: string | ISession, data?: object): Promise<void>;
|
|
13
|
+
touch(session: ISession): Promise<void>;
|
|
14
|
+
truncate(): Promise<void>;
|
|
11
15
|
}
|
package/lib/index.js
CHANGED
|
@@ -1,43 +1,50 @@
|
|
|
1
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
|
+
}));
|
|
2
13
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
14
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
15
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
16
|
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
17
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
18
|
};
|
|
19
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
|
+
};
|
|
8
22
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
23
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
24
|
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
11
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
29
|
exports.DbSessionStore = void 0;
|
|
13
30
|
const rbac_1 = require("@spinajs/rbac");
|
|
14
31
|
const di_1 = require("@spinajs/di");
|
|
15
|
-
const configuration_1 = require("@spinajs/configuration");
|
|
16
32
|
const log_1 = require("@spinajs/log");
|
|
17
33
|
const DbSession_1 = require("./models/DbSession");
|
|
18
34
|
const orm_1 = require("@spinajs/orm");
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return value;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function reviver(_, value) {
|
|
31
|
-
if (typeof value === 'object' && value !== null) {
|
|
32
|
-
if (value.dataType === 'Map') {
|
|
33
|
-
return new Map(value.value);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
35
|
+
const util_1 = require("@spinajs/util");
|
|
36
|
+
const configuration_1 = require("@spinajs/configuration");
|
|
37
|
+
const luxon_1 = require("luxon");
|
|
38
|
+
const lodash_1 = __importDefault(require("lodash"));
|
|
39
|
+
__exportStar(require("./models/DbSession"), exports);
|
|
40
|
+
__exportStar(require("./migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01"), exports);
|
|
38
41
|
let DbSessionStore = class DbSessionStore extends rbac_1.SessionProvider {
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
async resolve() {
|
|
43
|
+
setInterval(async () => {
|
|
44
|
+
const c = await DbSession_1.DbSession.destroy().where('Expiration', '<=', luxon_1.DateTime.now());
|
|
45
|
+
this.Log.info(`Cleaned up expired session, count: ${c}`);
|
|
46
|
+
}, this.CleanupInterval);
|
|
47
|
+
}
|
|
41
48
|
async restore(sessionId) {
|
|
42
49
|
const session = await DbSession_1.DbSession.where({
|
|
43
50
|
SessionId: sessionId,
|
|
@@ -45,29 +52,66 @@ let DbSessionStore = class DbSessionStore extends rbac_1.SessionProvider {
|
|
|
45
52
|
if (!session) {
|
|
46
53
|
return null;
|
|
47
54
|
}
|
|
55
|
+
if (session.Expiration < luxon_1.DateTime.now()) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const sData = JSON.parse(session.Data);
|
|
48
59
|
return new rbac_1.Session({
|
|
49
60
|
SessionId: session.SessionId,
|
|
50
61
|
Creation: session.CreatedAt,
|
|
51
|
-
Data:
|
|
62
|
+
Data: new Map(Object.entries(sData)),
|
|
52
63
|
Expiration: session.Expiration,
|
|
53
64
|
});
|
|
54
65
|
}
|
|
55
66
|
async delete(sessionId) {
|
|
56
67
|
await DbSession_1.DbSession.destroy(sessionId);
|
|
57
68
|
}
|
|
58
|
-
async save(
|
|
59
|
-
|
|
69
|
+
async save(sessionOrId, data) {
|
|
70
|
+
let sId = '';
|
|
71
|
+
let sData = null;
|
|
72
|
+
let sCreationTime = luxon_1.DateTime.now();
|
|
73
|
+
let sExpirationTime = luxon_1.DateTime.now().plus({ minutes: this.DefaultExpirationTime });
|
|
74
|
+
if (lodash_1.default.isString(sessionOrId)) {
|
|
75
|
+
sId = sessionOrId;
|
|
76
|
+
sData = data;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
sId = sessionOrId.SessionId;
|
|
80
|
+
sData = Object.fromEntries(sessionOrId.Data);
|
|
81
|
+
sCreationTime = sessionOrId.Creation;
|
|
82
|
+
sExpirationTime = sessionOrId.Expiration;
|
|
83
|
+
}
|
|
84
|
+
const session = new DbSession_1.DbSession({
|
|
85
|
+
SessionId: sId,
|
|
86
|
+
CreatedAt: sCreationTime,
|
|
87
|
+
Expiration: sExpirationTime,
|
|
88
|
+
Data: JSON.stringify(sData, util_1.replacer),
|
|
89
|
+
});
|
|
60
90
|
await session.insert(orm_1.InsertBehaviour.InsertOrUpdate);
|
|
61
91
|
}
|
|
92
|
+
async touch(session) {
|
|
93
|
+
await DbSession_1.DbSession.update({
|
|
94
|
+
Expiration: session.Expiration,
|
|
95
|
+
}).where('SessionId', session.SessionId);
|
|
96
|
+
}
|
|
97
|
+
async truncate() {
|
|
98
|
+
await DbSession_1.DbSession.truncate();
|
|
99
|
+
}
|
|
62
100
|
};
|
|
63
101
|
__decorate([
|
|
64
102
|
(0, log_1.Logger)('db-session-store'),
|
|
65
103
|
__metadata("design:type", log_1.Log)
|
|
66
104
|
], DbSessionStore.prototype, "Log", void 0);
|
|
67
105
|
__decorate([
|
|
68
|
-
(0,
|
|
69
|
-
|
|
70
|
-
|
|
106
|
+
(0, configuration_1.Config)('rbac.session.db.cleanupInteval', {
|
|
107
|
+
defaultValue: 100000,
|
|
108
|
+
}),
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], DbSessionStore.prototype, "CleanupInterval", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, configuration_1.Config)('rbac.session.expiration'),
|
|
113
|
+
__metadata("design:type", Number)
|
|
114
|
+
], DbSessionStore.prototype, "DefaultExpirationTime", void 0);
|
|
71
115
|
DbSessionStore = __decorate([
|
|
72
116
|
(0, di_1.Injectable)(rbac_1.SessionProvider)
|
|
73
117
|
], DbSessionStore);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -11,7 +11,7 @@ const orm_1 = require("@spinajs/orm");
|
|
|
11
11
|
let UserSessionDBSqlMigration_2022_06_28_01_01_01 = class UserSessionDBSqlMigration_2022_06_28_01_01_01 extends orm_1.OrmMigration {
|
|
12
12
|
async up(connection) {
|
|
13
13
|
await connection.schema().createTable('user_sessions', (table) => {
|
|
14
|
-
table.string('SessionId',
|
|
14
|
+
table.string('SessionId', 36).primaryKey().notNull();
|
|
15
15
|
table.date('CreatedAt').notNull();
|
|
16
16
|
table.date('Expiration');
|
|
17
17
|
table.text('Data').notNull();
|
|
@@ -23,7 +23,7 @@ let UserSessionDBSqlMigration_2022_06_28_01_01_01 = class UserSessionDBSqlMigrat
|
|
|
23
23
|
async down(_) { }
|
|
24
24
|
};
|
|
25
25
|
UserSessionDBSqlMigration_2022_06_28_01_01_01 = __decorate([
|
|
26
|
-
(0, orm_1.Migration)('
|
|
26
|
+
(0, orm_1.Migration)('session-provider-connection')
|
|
27
27
|
], UserSessionDBSqlMigration_2022_06_28_01_01_01);
|
|
28
28
|
exports.UserSessionDBSqlMigration_2022_06_28_01_01_01 = UserSessionDBSqlMigration_2022_06_28_01_01_01;
|
|
29
29
|
//# sourceMappingURL=UserSessionDBSqlMigration_2022_06_28_01_01_01.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSessionDBSqlMigration_2022_06_28_01_01_01.js","sourceRoot":"","sources":["../../src/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sCAAkE;AAGlE,IAAa,6CAA6C,GAA1D,MAAa,6CAA8C,SAAQ,kBAAY;IACtE,KAAK,CAAC,EAAE,CAAC,UAAqB;QACnC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YAC/D,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"UserSessionDBSqlMigration_2022_06_28_01_01_01.js","sourceRoot":"","sources":["../../src/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sCAAkE;AAGlE,IAAa,6CAA6C,GAA1D,MAAa,6CAA8C,SAAQ,kBAAY;IACtE,KAAK,CAAC,EAAE,CAAC,UAAqB;QACnC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YAC/D,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,CAAC;YACrD,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACzB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;QAEH,gGAAgG;QAChG,MAAM,UAAU,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtH,CAAC;IAED,qCAAqC;IAC9B,KAAK,CAAC,IAAI,CAAC,CAAY,IAAkB,CAAC;CAClD,CAAA;AAfY,6CAA6C;IADzD,IAAA,eAAS,EAAC,6BAA6B,CAAC;GAC5B,6CAA6C,CAezD;AAfY,sGAA6C"}
|
package/lib/models/DbSession.js
CHANGED
|
@@ -22,8 +22,12 @@ __decorate([
|
|
|
22
22
|
(0, orm_1.CreatedAt)(),
|
|
23
23
|
__metadata("design:type", luxon_1.DateTime)
|
|
24
24
|
], DbSession.prototype, "CreatedAt", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, orm_1.DateTime)(),
|
|
27
|
+
__metadata("design:type", luxon_1.DateTime)
|
|
28
|
+
], DbSession.prototype, "Expiration", void 0);
|
|
25
29
|
DbSession = __decorate([
|
|
26
|
-
(0, orm_1.Connection)('
|
|
30
|
+
(0, orm_1.Connection)('session-provider-connection'),
|
|
27
31
|
(0, orm_1.Model)('user_sessions')
|
|
28
32
|
], DbSession);
|
|
29
33
|
exports.DbSession = DbSession;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DbSession.js","sourceRoot":"","sources":["../../src/models/DbSession.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"DbSession.js","sourceRoot":"","sources":["../../src/models/DbSession.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAgG;AAChG,iCAAiC;AAGjC,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,eAAS;CAWvC,CAAA;AATC;IADC,IAAA,aAAO,GAAE;;4CACe;AAGzB;IADC,IAAA,eAAS,GAAE;8BACM,gBAAQ;4CAAC;AAG3B;IADC,IAAA,cAAE,GAAE;8BACc,gBAAQ;6CAAC;AARjB,SAAS;IAFrB,IAAA,gBAAU,EAAC,6BAA6B,CAAC;IACzC,IAAA,WAAK,EAAC,eAAe,CAAC;GACV,SAAS,CAWrB;AAXY,8BAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinajs/session-provider-db",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.44",
|
|
4
4
|
"description": "Simple session provider based on relational db. Usefull for testing or small projects",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/spinajs/main#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@spinajs/configuration": "^2.0.
|
|
42
|
-
"@spinajs/di": "^2.0.
|
|
43
|
-
"@spinajs/exceptions": "^2.0.
|
|
44
|
-
"@spinajs/log": "^2.0.
|
|
45
|
-
"@spinajs/orm": "^2.0.
|
|
46
|
-
"@spinajs/rbac": "^2.0.
|
|
47
|
-
"@spinajs/reflection": "^2.0.
|
|
41
|
+
"@spinajs/configuration": "^2.0.44",
|
|
42
|
+
"@spinajs/di": "^2.0.44",
|
|
43
|
+
"@spinajs/exceptions": "^2.0.39",
|
|
44
|
+
"@spinajs/log": "^2.0.44",
|
|
45
|
+
"@spinajs/orm": "^2.0.44",
|
|
46
|
+
"@spinajs/rbac": "^2.0.44",
|
|
47
|
+
"@spinajs/reflection": "^2.0.44",
|
|
48
48
|
"luxon": "^2.4.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@spinajs/orm-sqlite": "^2.0.
|
|
51
|
+
"@spinajs/orm-sqlite": "^2.0.44"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "1857a6e3626e0fed22ffb0b44b48d587c79898db"
|
|
54
54
|
}
|