create-fastify-flux 2.31.2 → 3.0.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.
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fastify/swagger": "8.
|
|
20
|
+
"@fastify/swagger": "8.13.0",
|
|
21
21
|
"@fastify/swagger-ui": "2.0.1",
|
|
22
22
|
"@prisma/client": "4.16.2",
|
|
23
|
-
"fastify": "4.25.
|
|
23
|
+
"fastify": "4.25.2",
|
|
24
24
|
"fastify-flux": "workspace:*",
|
|
25
25
|
"tsconfig-paths": "4.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/jest": "29.5.11",
|
|
29
|
-
"@types/node": "20.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
31
|
-
"@typescript-eslint/parser": "6.
|
|
32
|
-
"axios": "1.6.
|
|
33
|
-
"esbuild": "0.19.
|
|
29
|
+
"@types/node": "20.11.0",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "6.18.1",
|
|
31
|
+
"@typescript-eslint/parser": "6.18.1",
|
|
32
|
+
"axios": "1.6.5",
|
|
33
|
+
"esbuild": "0.19.11",
|
|
34
34
|
"eslint": "8.56.0",
|
|
35
35
|
"fastify-flux-cli": "workspace:*",
|
|
36
36
|
"jest": "29.7.0",
|
|
37
|
-
"pino-pretty": "10.3.
|
|
37
|
+
"pino-pretty": "10.3.1",
|
|
38
38
|
"prisma": "4.16.2",
|
|
39
39
|
"ts-jest": "29.1.1",
|
|
40
40
|
"typescript": "5.3.3"
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
* ---------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
export interface ListTodoQuery {
|
|
13
|
-
includeDone?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
export interface TodoResponse {
|
|
17
13
|
id: number;
|
|
18
14
|
/** @format date-time */
|
|
@@ -22,19 +18,6 @@ export interface TodoResponse {
|
|
|
22
18
|
done: boolean;
|
|
23
19
|
}
|
|
24
20
|
|
|
25
|
-
export interface CreateTodo {
|
|
26
|
-
text: string;
|
|
27
|
-
priority: number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface UpdateTodo {
|
|
31
|
-
/** @format date-time */
|
|
32
|
-
createdAt?: string;
|
|
33
|
-
text?: string;
|
|
34
|
-
priority?: number;
|
|
35
|
-
done?: boolean;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
21
|
import axios, { AxiosInstance, AxiosRequestConfig, ResponseType } from 'axios';
|
|
39
22
|
|
|
40
23
|
export type QueryParamsType = Record<string | number, any>;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/fs-extra": "11.0.4",
|
|
19
19
|
"@types/jest": "29.5.11",
|
|
20
|
-
"@types/node": "20.
|
|
20
|
+
"@types/node": "20.11.0",
|
|
21
21
|
"jest": "29.7.0",
|
|
22
22
|
"ts-jest": "29.1.1",
|
|
23
23
|
"typescript": "5.3.3"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"templates/"
|
|
29
29
|
],
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": "20.
|
|
31
|
+
"node": "20.11.0"
|
|
32
32
|
},
|
|
33
|
-
"version": "
|
|
33
|
+
"version": "3.0.0",
|
|
34
34
|
"scripts": {
|
|
35
35
|
"clean": "rm -rf dist/",
|
|
36
36
|
"test": "exit 0",
|