apeframework 0.0.0-dev.30 → 0.0.0-dev.31
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.
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type
|
|
1
|
+
import type { Request } from './Request.js';
|
|
2
|
+
import type { Response } from './Response.js';
|
|
3
|
+
import type { FastifyError } from 'fastify';
|
|
4
|
+
type ErrorHandler = (error: FastifyError, request: Request, response: Response) => Promise<void>;
|
|
3
5
|
export { type ErrorHandler, };
|
package/dist/server/Handler.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type
|
|
1
|
+
import type { Request } from './Request.js';
|
|
2
|
+
import type { Response } from './Response.js';
|
|
3
|
+
type Handler = (request: Request, response: Response) => Promise<void>;
|
|
3
4
|
export { type Handler, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CookieSerializeOptions } from '@fastify/cookie';
|
|
2
|
+
import type { FastifyReply } from 'fastify';
|
|
3
|
+
interface Response extends FastifyReply {
|
|
4
|
+
cookies: Record<string, string | undefined>;
|
|
5
|
+
setCookie: (name: string, value: string, options?: CookieSerializeOptions) => this;
|
|
6
|
+
clearCookie: (name: string, options?: CookieSerializeOptions) => this;
|
|
7
|
+
}
|
|
8
|
+
export { type Response, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apeframework",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.31",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
"@types/nodemailer": "^6.4",
|
|
31
31
|
"@types/yargs-parser": "^21.0",
|
|
32
32
|
"ajv": "^8.17",
|
|
33
|
-
"argon2": "^0.
|
|
34
|
-
"bullmq": "^5.
|
|
33
|
+
"argon2": "^0.43",
|
|
34
|
+
"bullmq": "^5.53",
|
|
35
35
|
"dotenv": "^16.5",
|
|
36
36
|
"fast-uri": "^3.0",
|
|
37
37
|
"fastify": "^5.3",
|
|
38
38
|
"fs-extra": "^11.3",
|
|
39
|
-
"ical-generator": "^
|
|
39
|
+
"ical-generator": "^9.0",
|
|
40
40
|
"ioredis": "^5.6",
|
|
41
41
|
"jose": "^6.0",
|
|
42
|
-
"nodemailer": "^
|
|
42
|
+
"nodemailer": "^7.0",
|
|
43
43
|
"openapi-types": "^12.1",
|
|
44
|
-
"pino": "^9.
|
|
44
|
+
"pino": "^9.7",
|
|
45
45
|
"pino-pretty": "^13.0",
|
|
46
|
-
"yargs-parser": "^
|
|
46
|
+
"yargs-parser": "^22.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^24.0",
|
|
50
50
|
"typescript": "^5.8"
|
|
51
51
|
},
|
|
52
52
|
"exports": {
|
|
@@ -608,6 +608,18 @@
|
|
|
608
608
|
"default": "./dist/server/OpenApiFormat.js"
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
|
+
"./server/Request": {
|
|
612
|
+
"import": {
|
|
613
|
+
"types": "./dist/server/Request.d.ts",
|
|
614
|
+
"default": "./dist/server/Request.js"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"./server/Response": {
|
|
618
|
+
"import": {
|
|
619
|
+
"types": "./dist/server/Response.d.ts",
|
|
620
|
+
"default": "./dist/server/Response.js"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
611
623
|
"./server/Route": {
|
|
612
624
|
"import": {
|
|
613
625
|
"types": "./dist/server/Route.d.ts",
|