@eggjs/session 5.0.0-beta.15 → 5.0.0-beta.18
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.
|
@@ -33,11 +33,5 @@ declare class SessionApplication extends Application {
|
|
|
33
33
|
*/
|
|
34
34
|
get sessionStore(): SessionStore | undefined;
|
|
35
35
|
}
|
|
36
|
-
declare module 'egg' {
|
|
37
|
-
interface Application {
|
|
38
|
-
set sessionStore(store: SessionStoreOrAppSessionStoreClass | null | undefined);
|
|
39
|
-
get sessionStore(): SessionStore | undefined;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
36
|
//#endregion
|
|
43
37
|
export { SessionStore, SessionStoreOrAppSessionStoreClass, SessionApplication as default };
|
|
@@ -205,10 +205,5 @@ declare const _default: {
|
|
|
205
205
|
beforeSave?: ((args_0: any, args_1: any, ...args: unknown[]) => void) | undefined;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
|
-
declare module 'egg' {
|
|
209
|
-
interface EggAppConfig {
|
|
210
|
-
session: SessionConfig;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
208
|
//#endregion
|
|
214
209
|
export { SessionConfig, _default as default };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SessionConfig } from "./config/config.default.js";
|
|
2
|
+
import { SessionStore, SessionStoreOrAppSessionStoreClass } from "./app/extend/application.js";
|
|
3
|
+
|
|
4
|
+
//#region src/types.d.ts
|
|
5
|
+
declare module 'egg' {
|
|
6
|
+
interface EggAppConfig {
|
|
7
|
+
session: SessionConfig;
|
|
8
|
+
}
|
|
9
|
+
interface Application {
|
|
10
|
+
set sessionStore(store: SessionStoreOrAppSessionStoreClass | null | undefined);
|
|
11
|
+
get sessionStore(): SessionStore | undefined;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/session",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.18",
|
|
4
4
|
"description": "session plugin for egg",
|
|
5
5
|
"eggPlugin": {
|
|
6
6
|
"name": "session"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git
|
|
10
|
+
"url": "git://github.com/eggjs/egg.git",
|
|
11
11
|
"directory": "plugins/session"
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/eggjs/egg/tree/next/plugins/session#readme",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"./app/extend/application": "./dist/app/extend/application.js",
|
|
33
33
|
"./app/middleware/session": "./dist/app/middleware/session.js",
|
|
34
34
|
"./config/config.default": "./dist/config/config.default.js",
|
|
35
|
+
"./types": "./dist/types.js",
|
|
35
36
|
"./package.json": "./package.json"
|
|
36
37
|
},
|
|
37
38
|
"publishConfig": {
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"zod": "^3.24.1"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
45
|
-
"egg": "4.1.0-beta.
|
|
46
|
+
"egg": "4.1.0-beta.18"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@eggjs/redis": "^3.0.0",
|
|
@@ -50,9 +51,9 @@
|
|
|
50
51
|
"tsdown": "^0.15.4",
|
|
51
52
|
"typescript": "5.9.2",
|
|
52
53
|
"vitest": "4.0.0-beta.13",
|
|
53
|
-
"@eggjs/
|
|
54
|
-
"@eggjs/tsconfig": "3.1.0-beta.
|
|
55
|
-
"@eggjs/
|
|
54
|
+
"@eggjs/mock": "7.0.0-beta.18",
|
|
55
|
+
"@eggjs/tsconfig": "3.1.0-beta.18",
|
|
56
|
+
"@eggjs/supertest": "9.0.0-beta.18"
|
|
56
57
|
},
|
|
57
58
|
"files": [
|
|
58
59
|
"dist"
|