@vitnode/blog 1.2.0-canary.55 → 1.2.0-canary.56
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/dist/src/api/modules/admin/admin.module.d.ts +161 -309
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts +75 -143
- package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/create.route.d.ts +28 -49
- package/dist/src/api/modules/admin/categories/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts +16 -31
- package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts +34 -66
- package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts +87 -167
- package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/create.route.d.ts +36 -63
- package/dist/src/api/modules/admin/posts/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts +16 -31
- package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts +39 -77
- package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/categories.module.d.ts +59 -104
- package/dist/src/api/modules/categories/categories.module.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/get.route.d.ts +41 -82
- package/dist/src/api/modules/categories/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/test.route.d.ts +19 -23
- package/dist/src/api/modules/categories/test.route.d.ts.map +1 -1
- package/dist/src/api/modules/posts/posts.module.d.ts +46 -94
- package/dist/src/api/modules/posts/posts.module.d.ts.map +1 -1
- package/dist/src/api/modules/posts/routes/get.route.d.ts +46 -94
- package/dist/src/api/modules/posts/routes/get.route.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +20 -20
|
@@ -1,116 +1,71 @@
|
|
|
1
|
-
export declare const categoriesModule: import("@vitnode/core/api/lib/module").BuildModuleReturn<"@vitnode/blog", "categories", [{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
totalCount: number;
|
|
38
|
-
};
|
|
39
|
-
}, 200, "json">>;
|
|
40
|
-
pluginId: "@vitnode/blog";
|
|
41
|
-
route: {
|
|
42
|
-
method: "get";
|
|
43
|
-
path: "/";
|
|
44
|
-
request: {
|
|
45
|
-
query: import("zod").ZodObject<{
|
|
46
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
-
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
-
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
-
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
50
|
-
asc: "asc";
|
|
51
|
-
desc: "desc";
|
|
52
|
-
}>>;
|
|
53
|
-
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
54
|
-
updatedAt: "updatedAt";
|
|
55
|
-
}>>;
|
|
56
|
-
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
|
-
}, import("zod/v4/core").$strip>;
|
|
58
|
-
};
|
|
59
|
-
responses: {
|
|
60
|
-
200: {
|
|
61
|
-
content: {
|
|
62
|
-
"application/json": {
|
|
63
|
-
schema: import("zod").ZodObject<{
|
|
64
|
-
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
65
|
-
id: import("zod").ZodNumber;
|
|
66
|
-
title: import("zod").ZodString;
|
|
67
|
-
createdAt: import("zod").ZodDate;
|
|
68
|
-
updatedAt: import("zod").ZodDate;
|
|
69
|
-
}, import("zod/v4/core").$strip>>;
|
|
70
|
-
pageInfo: import("zod").ZodObject<{
|
|
71
|
-
totalCount: import("zod").ZodNumber;
|
|
72
|
-
count: import("zod").ZodNumber;
|
|
73
|
-
hasNextPage: import("zod").ZodBoolean;
|
|
74
|
-
hasPreviousPage: import("zod").ZodBoolean;
|
|
75
|
-
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
76
|
-
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
77
|
-
}, import("zod/v4/core").$strip>;
|
|
1
|
+
export declare const categoriesModule: import("@vitnode/core/api/lib/module").BuildModuleReturn<"@vitnode/blog", "categories", [import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
2
|
+
method: "get";
|
|
3
|
+
path: "/";
|
|
4
|
+
request: {
|
|
5
|
+
query: import("zod").ZodObject<{
|
|
6
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
10
|
+
asc: "asc";
|
|
11
|
+
desc: "desc";
|
|
12
|
+
}>>;
|
|
13
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
14
|
+
updatedAt: "updatedAt";
|
|
15
|
+
}>>;
|
|
16
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
}, import("zod/v4/core").$strip>;
|
|
18
|
+
};
|
|
19
|
+
responses: {
|
|
20
|
+
200: {
|
|
21
|
+
content: {
|
|
22
|
+
"application/json": {
|
|
23
|
+
schema: import("zod").ZodObject<{
|
|
24
|
+
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
25
|
+
id: import("zod").ZodNumber;
|
|
26
|
+
title: import("zod").ZodString;
|
|
27
|
+
createdAt: import("zod").ZodDate;
|
|
28
|
+
updatedAt: import("zod").ZodDate;
|
|
29
|
+
}, import("zod/v4/core").$strip>>;
|
|
30
|
+
pageInfo: import("zod").ZodObject<{
|
|
31
|
+
totalCount: import("zod").ZodNumber;
|
|
32
|
+
count: import("zod").ZodNumber;
|
|
33
|
+
hasNextPage: import("zod").ZodBoolean;
|
|
34
|
+
hasPreviousPage: import("zod").ZodBoolean;
|
|
35
|
+
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
36
|
+
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
78
37
|
}, import("zod/v4/core").$strip>;
|
|
79
|
-
}
|
|
38
|
+
}, import("zod/v4/core").$strip>;
|
|
80
39
|
};
|
|
81
|
-
description: string;
|
|
82
40
|
};
|
|
41
|
+
description: string;
|
|
83
42
|
};
|
|
84
|
-
} & {
|
|
85
|
-
getRoutingPath: () => "/";
|
|
86
43
|
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
schema: import("zod").ZodString;
|
|
99
|
-
};
|
|
44
|
+
} & {
|
|
45
|
+
path: string;
|
|
46
|
+
}>, import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
47
|
+
method: "post";
|
|
48
|
+
description: string;
|
|
49
|
+
path: "/test";
|
|
50
|
+
responses: {
|
|
51
|
+
200: {
|
|
52
|
+
content: {
|
|
53
|
+
"text/plain": {
|
|
54
|
+
schema: import("zod").ZodString;
|
|
100
55
|
};
|
|
101
|
-
description: string;
|
|
102
56
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
201: {
|
|
60
|
+
content: {
|
|
61
|
+
"text/plain": {
|
|
62
|
+
schema: import("zod").ZodString;
|
|
108
63
|
};
|
|
109
|
-
description: string;
|
|
110
64
|
};
|
|
65
|
+
description: string;
|
|
111
66
|
};
|
|
112
|
-
} & {
|
|
113
|
-
getRoutingPath: () => "/test";
|
|
114
67
|
};
|
|
115
|
-
}
|
|
68
|
+
} & {
|
|
69
|
+
path: string;
|
|
70
|
+
}>], import("@vitnode/core/api/lib/module").BaseBuildModuleReturn<"@vitnode/blog", string, import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", import("@hono/zod-openapi").RouteConfig>[]>[]>;
|
|
116
71
|
//# sourceMappingURL=categories.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/categories.module.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"categories.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/categories.module.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sMAI3B,CAAC"}
|
|
@@ -1,89 +1,48 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
export declare const categoriesRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
totalCount: number;
|
|
39
|
-
};
|
|
40
|
-
}, 200, "json">>;
|
|
41
|
-
pluginId: "@vitnode/blog";
|
|
42
|
-
route: {
|
|
43
|
-
method: "get";
|
|
44
|
-
path: "/";
|
|
45
|
-
request: {
|
|
46
|
-
query: z.ZodObject<{
|
|
47
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
48
|
-
first: z.ZodOptional<z.ZodString>;
|
|
49
|
-
last: z.ZodOptional<z.ZodString>;
|
|
50
|
-
order: z.ZodOptional<z.ZodEnum<{
|
|
51
|
-
asc: "asc";
|
|
52
|
-
desc: "desc";
|
|
53
|
-
}>>;
|
|
54
|
-
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
55
|
-
updatedAt: "updatedAt";
|
|
56
|
-
}>>;
|
|
57
|
-
search: z.ZodOptional<z.ZodString>;
|
|
58
|
-
}, z.core.$strip>;
|
|
59
|
-
};
|
|
60
|
-
responses: {
|
|
61
|
-
200: {
|
|
62
|
-
content: {
|
|
63
|
-
"application/json": {
|
|
64
|
-
schema: z.ZodObject<{
|
|
65
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
66
|
-
id: z.ZodNumber;
|
|
67
|
-
title: z.ZodString;
|
|
68
|
-
createdAt: z.ZodDate;
|
|
69
|
-
updatedAt: z.ZodDate;
|
|
70
|
-
}, z.core.$strip>>;
|
|
71
|
-
pageInfo: z.ZodObject<{
|
|
72
|
-
totalCount: z.ZodNumber;
|
|
73
|
-
count: z.ZodNumber;
|
|
74
|
-
hasNextPage: z.ZodBoolean;
|
|
75
|
-
hasPreviousPage: z.ZodBoolean;
|
|
76
|
-
startCursor: z.ZodNullable<z.ZodNumber>;
|
|
77
|
-
endCursor: z.ZodNullable<z.ZodNumber>;
|
|
78
|
-
}, z.core.$strip>;
|
|
2
|
+
export declare const categoriesRoute: import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
3
|
+
method: "get";
|
|
4
|
+
path: "/";
|
|
5
|
+
request: {
|
|
6
|
+
query: z.ZodObject<{
|
|
7
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
+
first: z.ZodOptional<z.ZodString>;
|
|
9
|
+
last: z.ZodOptional<z.ZodString>;
|
|
10
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
asc: "asc";
|
|
12
|
+
desc: "desc";
|
|
13
|
+
}>>;
|
|
14
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
updatedAt: "updatedAt";
|
|
16
|
+
}>>;
|
|
17
|
+
search: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
};
|
|
20
|
+
responses: {
|
|
21
|
+
200: {
|
|
22
|
+
content: {
|
|
23
|
+
"application/json": {
|
|
24
|
+
schema: z.ZodObject<{
|
|
25
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
26
|
+
id: z.ZodNumber;
|
|
27
|
+
title: z.ZodString;
|
|
28
|
+
createdAt: z.ZodDate;
|
|
29
|
+
updatedAt: z.ZodDate;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
pageInfo: z.ZodObject<{
|
|
32
|
+
totalCount: z.ZodNumber;
|
|
33
|
+
count: z.ZodNumber;
|
|
34
|
+
hasNextPage: z.ZodBoolean;
|
|
35
|
+
hasPreviousPage: z.ZodBoolean;
|
|
36
|
+
startCursor: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
endCursor: z.ZodNullable<z.ZodNumber>;
|
|
79
38
|
}, z.core.$strip>;
|
|
80
|
-
}
|
|
39
|
+
}, z.core.$strip>;
|
|
81
40
|
};
|
|
82
|
-
description: string;
|
|
83
41
|
};
|
|
42
|
+
description: string;
|
|
84
43
|
};
|
|
85
|
-
} & {
|
|
86
|
-
getRoutingPath: () => "/";
|
|
87
44
|
};
|
|
88
|
-
}
|
|
45
|
+
} & {
|
|
46
|
+
path: string;
|
|
47
|
+
}>;
|
|
89
48
|
//# sourceMappingURL=get.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/categories/routes/get.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAmBtC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"get.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/categories/routes/get.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAmBtC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsE1B,CAAC"}
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const testRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
content: {
|
|
12
|
-
"text/plain": {
|
|
13
|
-
schema: z.ZodString;
|
|
14
|
-
};
|
|
2
|
+
export declare const testRoute: import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
3
|
+
method: "post";
|
|
4
|
+
description: string;
|
|
5
|
+
path: "/test";
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
content: {
|
|
9
|
+
"text/plain": {
|
|
10
|
+
schema: z.ZodString;
|
|
15
11
|
};
|
|
16
|
-
description: string;
|
|
17
12
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
201: {
|
|
16
|
+
content: {
|
|
17
|
+
"text/plain": {
|
|
18
|
+
schema: z.ZodString;
|
|
23
19
|
};
|
|
24
|
-
description: string;
|
|
25
20
|
};
|
|
21
|
+
description: string;
|
|
26
22
|
};
|
|
27
|
-
} & {
|
|
28
|
-
getRoutingPath: () => "/test";
|
|
29
23
|
};
|
|
30
|
-
}
|
|
24
|
+
} & {
|
|
25
|
+
path: string;
|
|
26
|
+
}>;
|
|
31
27
|
//# sourceMappingURL=test.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.route.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/test.route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"test.route.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/test.route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;EA2CpB,CAAC"}
|
|
@@ -1,104 +1,56 @@
|
|
|
1
|
-
export declare const postsModule: import("@vitnode/core/api/lib/module").BuildModuleReturn<"@vitnode/blog", "posts", [{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
title: string;
|
|
35
|
-
titleSeo: string;
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
38
|
-
pageInfo: {
|
|
39
|
-
count: number;
|
|
40
|
-
endCursor: null | number;
|
|
41
|
-
hasNextPage: boolean;
|
|
42
|
-
hasPreviousPage: boolean;
|
|
43
|
-
startCursor: null | number;
|
|
44
|
-
totalCount: number;
|
|
45
|
-
};
|
|
46
|
-
}, 200, "json">>;
|
|
47
|
-
pluginId: "@vitnode/blog";
|
|
48
|
-
route: {
|
|
49
|
-
method: "get";
|
|
50
|
-
path: "/";
|
|
51
|
-
request: {
|
|
52
|
-
query: import("zod").ZodObject<{
|
|
53
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
-
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
-
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
-
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
57
|
-
asc: "asc";
|
|
58
|
-
desc: "desc";
|
|
59
|
-
}>>;
|
|
60
|
-
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
61
|
-
createdAt: "createdAt";
|
|
62
|
-
updatedAt: "updatedAt";
|
|
63
|
-
}>>;
|
|
64
|
-
categoryId: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<number, string>>>;
|
|
65
|
-
}, import("zod/v4/core").$strip>;
|
|
66
|
-
};
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
content: {
|
|
70
|
-
"application/json": {
|
|
71
|
-
schema: import("zod").ZodObject<{
|
|
72
|
-
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1
|
+
export declare const postsModule: import("@vitnode/core/api/lib/module").BuildModuleReturn<"@vitnode/blog", "posts", [import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
2
|
+
method: "get";
|
|
3
|
+
path: "/";
|
|
4
|
+
request: {
|
|
5
|
+
query: import("zod").ZodObject<{
|
|
6
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
10
|
+
asc: "asc";
|
|
11
|
+
desc: "desc";
|
|
12
|
+
}>>;
|
|
13
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
14
|
+
createdAt: "createdAt";
|
|
15
|
+
updatedAt: "updatedAt";
|
|
16
|
+
}>>;
|
|
17
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<number, string>>>;
|
|
18
|
+
}, import("zod/v4/core").$strip>;
|
|
19
|
+
};
|
|
20
|
+
responses: {
|
|
21
|
+
200: {
|
|
22
|
+
content: {
|
|
23
|
+
"application/json": {
|
|
24
|
+
schema: import("zod").ZodObject<{
|
|
25
|
+
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
26
|
+
id: import("zod").ZodNumber;
|
|
27
|
+
title: import("zod").ZodString;
|
|
28
|
+
titleSeo: import("zod").ZodString;
|
|
29
|
+
content: import("zod").ZodString;
|
|
30
|
+
categoryId: import("zod").ZodNumber;
|
|
31
|
+
createdAt: import("zod").ZodDate;
|
|
32
|
+
updatedAt: import("zod").ZodDate;
|
|
33
|
+
category: import("zod").ZodObject<{
|
|
73
34
|
id: import("zod").ZodNumber;
|
|
74
35
|
title: import("zod").ZodString;
|
|
75
36
|
titleSeo: import("zod").ZodString;
|
|
76
|
-
content: import("zod").ZodString;
|
|
77
|
-
categoryId: import("zod").ZodNumber;
|
|
78
|
-
createdAt: import("zod").ZodDate;
|
|
79
|
-
updatedAt: import("zod").ZodDate;
|
|
80
|
-
category: import("zod").ZodObject<{
|
|
81
|
-
id: import("zod").ZodNumber;
|
|
82
|
-
title: import("zod").ZodString;
|
|
83
|
-
titleSeo: import("zod").ZodString;
|
|
84
|
-
}, import("zod/v4/core").$strip>;
|
|
85
|
-
}, import("zod/v4/core").$strip>>;
|
|
86
|
-
pageInfo: import("zod").ZodObject<{
|
|
87
|
-
totalCount: import("zod").ZodNumber;
|
|
88
|
-
count: import("zod").ZodNumber;
|
|
89
|
-
hasNextPage: import("zod").ZodBoolean;
|
|
90
|
-
hasPreviousPage: import("zod").ZodBoolean;
|
|
91
|
-
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
92
|
-
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
93
37
|
}, import("zod/v4/core").$strip>;
|
|
38
|
+
}, import("zod/v4/core").$strip>>;
|
|
39
|
+
pageInfo: import("zod").ZodObject<{
|
|
40
|
+
totalCount: import("zod").ZodNumber;
|
|
41
|
+
count: import("zod").ZodNumber;
|
|
42
|
+
hasNextPage: import("zod").ZodBoolean;
|
|
43
|
+
hasPreviousPage: import("zod").ZodBoolean;
|
|
44
|
+
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
45
|
+
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
94
46
|
}, import("zod/v4/core").$strip>;
|
|
95
|
-
}
|
|
47
|
+
}, import("zod/v4/core").$strip>;
|
|
96
48
|
};
|
|
97
|
-
description: string;
|
|
98
49
|
};
|
|
50
|
+
description: string;
|
|
99
51
|
};
|
|
100
|
-
} & {
|
|
101
|
-
getRoutingPath: () => "/";
|
|
102
52
|
};
|
|
103
|
-
}
|
|
53
|
+
} & {
|
|
54
|
+
path: string;
|
|
55
|
+
}>], import("@vitnode/core/api/lib/module").BaseBuildModuleReturn<"@vitnode/blog", string, import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", import("@hono/zod-openapi").RouteConfig>[]>[]>;
|
|
104
56
|
//# sourceMappingURL=posts.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posts.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/posts/posts.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"posts.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/posts/posts.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sMAItB,CAAC"}
|