@vitnode/blog 1.2.0-canary.48 → 1.2.0-canary.49
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 +16 -108
- 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 +8 -44
- 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 +3 -21
- 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 +2 -6
- 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 +4 -22
- 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 +8 -64
- 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 +3 -35
- 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 +2 -6
- 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 +4 -32
- 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 +15 -79
- package/dist/src/api/modules/categories/categories.module.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/get.route.d.ts +15 -79
- package/dist/src/api/modules/categories/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/posts/posts.module.d.ts +18 -121
- package/dist/src/api/modules/posts/posts.module.d.ts.map +1 -1
- package/dist/src/api/modules/posts/routes/get.route.d.ts +20 -157
- package/dist/src/api/modules/posts/routes/get.route.d.ts.map +1 -1
- package/dist/src/views/admin/categories/table/actions/edit-action.d.ts +1 -1
- package/dist/src/views/admin/posts/table/actions/edit-action.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
|
@@ -41,12 +41,8 @@ export declare const editPostRoute: {
|
|
|
41
41
|
path: "/{id}";
|
|
42
42
|
request: {
|
|
43
43
|
params: z.ZodObject<{
|
|
44
|
-
id: z.
|
|
45
|
-
},
|
|
46
|
-
id: number;
|
|
47
|
-
}, {
|
|
48
|
-
id: string;
|
|
49
|
-
}>;
|
|
44
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
50
46
|
body: {
|
|
51
47
|
content: {
|
|
52
48
|
'application/json': {
|
|
@@ -54,15 +50,7 @@ export declare const editPostRoute: {
|
|
|
54
50
|
title: z.ZodString;
|
|
55
51
|
content: z.ZodString;
|
|
56
52
|
categoryId: z.ZodNumber;
|
|
57
|
-
},
|
|
58
|
-
title: string;
|
|
59
|
-
content: string;
|
|
60
|
-
categoryId: number;
|
|
61
|
-
}, {
|
|
62
|
-
title: string;
|
|
63
|
-
content: string;
|
|
64
|
-
categoryId: number;
|
|
65
|
-
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
66
54
|
};
|
|
67
55
|
};
|
|
68
56
|
};
|
|
@@ -79,23 +67,7 @@ export declare const editPostRoute: {
|
|
|
79
67
|
categoryId: z.ZodNumber;
|
|
80
68
|
createdAt: z.ZodDate;
|
|
81
69
|
updatedAt: z.ZodDate;
|
|
82
|
-
},
|
|
83
|
-
id: number;
|
|
84
|
-
title: string;
|
|
85
|
-
createdAt: Date;
|
|
86
|
-
updatedAt: Date;
|
|
87
|
-
titleSeo: string;
|
|
88
|
-
content: string;
|
|
89
|
-
categoryId: number;
|
|
90
|
-
}, {
|
|
91
|
-
id: number;
|
|
92
|
-
title: string;
|
|
93
|
-
createdAt: Date;
|
|
94
|
-
updatedAt: Date;
|
|
95
|
-
titleSeo: string;
|
|
96
|
-
content: string;
|
|
97
|
-
categoryId: number;
|
|
98
|
-
}>;
|
|
70
|
+
}, z.core.$strip>;
|
|
99
71
|
};
|
|
100
72
|
};
|
|
101
73
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/posts/routes/edit.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAsBtC,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"edit.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/posts/routes/edit.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAsBtC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FxB,CAAC"}
|
|
@@ -2,22 +2,22 @@ export declare const categoriesModule: import("@vitnode/core/api/lib/module").Bu
|
|
|
2
2
|
handler: (c: import("hono").Context<import("@vitnode/core/api/middlewares/global.middleware").EnvVitNode, "/", {
|
|
3
3
|
in: {
|
|
4
4
|
query: {
|
|
5
|
-
search?: string | undefined;
|
|
6
|
-
orderBy?: "updatedAt" | undefined;
|
|
7
5
|
cursor?: string | undefined;
|
|
8
6
|
first?: string | undefined;
|
|
9
7
|
last?: string | undefined;
|
|
10
8
|
order?: "asc" | "desc" | undefined;
|
|
9
|
+
orderBy?: "updatedAt" | undefined;
|
|
10
|
+
search?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
out: {
|
|
14
14
|
query: {
|
|
15
|
-
search?: string | undefined;
|
|
16
|
-
orderBy?: "updatedAt" | undefined;
|
|
17
15
|
cursor?: string | undefined;
|
|
18
16
|
first?: string | undefined;
|
|
19
17
|
last?: string | undefined;
|
|
20
18
|
order?: "asc" | "desc" | undefined;
|
|
19
|
+
orderBy?: "updatedAt" | undefined;
|
|
20
|
+
search?: string | undefined;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -46,25 +46,15 @@ export declare const categoriesModule: import("@vitnode/core/api/lib/module").Bu
|
|
|
46
46
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
47
|
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
48
|
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
+
}>>;
|
|
52
56
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
-
},
|
|
54
|
-
search?: string | undefined;
|
|
55
|
-
orderBy?: "updatedAt" | undefined;
|
|
56
|
-
cursor?: string | undefined;
|
|
57
|
-
first?: string | undefined;
|
|
58
|
-
last?: string | undefined;
|
|
59
|
-
order?: "asc" | "desc" | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
search?: string | undefined;
|
|
62
|
-
orderBy?: "updatedAt" | undefined;
|
|
63
|
-
cursor?: string | undefined;
|
|
64
|
-
first?: string | undefined;
|
|
65
|
-
last?: string | undefined;
|
|
66
|
-
order?: "asc" | "desc" | undefined;
|
|
67
|
-
}>;
|
|
57
|
+
}, import("zod/v4/core").$strip>;
|
|
68
58
|
};
|
|
69
59
|
responses: {
|
|
70
60
|
200: {
|
|
@@ -76,17 +66,7 @@ export declare const categoriesModule: import("@vitnode/core/api/lib/module").Bu
|
|
|
76
66
|
title: import("zod").ZodString;
|
|
77
67
|
createdAt: import("zod").ZodDate;
|
|
78
68
|
updatedAt: import("zod").ZodDate;
|
|
79
|
-
},
|
|
80
|
-
id: number;
|
|
81
|
-
title: string;
|
|
82
|
-
createdAt: Date;
|
|
83
|
-
updatedAt: Date;
|
|
84
|
-
}, {
|
|
85
|
-
id: number;
|
|
86
|
-
title: string;
|
|
87
|
-
createdAt: Date;
|
|
88
|
-
updatedAt: Date;
|
|
89
|
-
}>, "many">;
|
|
69
|
+
}, import("zod/v4/core").$strip>>;
|
|
90
70
|
pageInfo: import("zod").ZodObject<{
|
|
91
71
|
totalCount: import("zod").ZodNumber;
|
|
92
72
|
count: import("zod").ZodNumber;
|
|
@@ -94,52 +74,8 @@ export declare const categoriesModule: import("@vitnode/core/api/lib/module").Bu
|
|
|
94
74
|
hasPreviousPage: import("zod").ZodBoolean;
|
|
95
75
|
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
96
76
|
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
totalCount: number;
|
|
100
|
-
hasNextPage: boolean;
|
|
101
|
-
hasPreviousPage: boolean;
|
|
102
|
-
startCursor: number | null;
|
|
103
|
-
endCursor: number | null;
|
|
104
|
-
}, {
|
|
105
|
-
count: number;
|
|
106
|
-
totalCount: number;
|
|
107
|
-
hasNextPage: boolean;
|
|
108
|
-
hasPreviousPage: boolean;
|
|
109
|
-
startCursor: number | null;
|
|
110
|
-
endCursor: number | null;
|
|
111
|
-
}>;
|
|
112
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
113
|
-
edges: {
|
|
114
|
-
id: number;
|
|
115
|
-
title: string;
|
|
116
|
-
createdAt: Date;
|
|
117
|
-
updatedAt: Date;
|
|
118
|
-
}[];
|
|
119
|
-
pageInfo: {
|
|
120
|
-
count: number;
|
|
121
|
-
totalCount: number;
|
|
122
|
-
hasNextPage: boolean;
|
|
123
|
-
hasPreviousPage: boolean;
|
|
124
|
-
startCursor: number | null;
|
|
125
|
-
endCursor: number | null;
|
|
126
|
-
};
|
|
127
|
-
}, {
|
|
128
|
-
edges: {
|
|
129
|
-
id: number;
|
|
130
|
-
title: string;
|
|
131
|
-
createdAt: Date;
|
|
132
|
-
updatedAt: Date;
|
|
133
|
-
}[];
|
|
134
|
-
pageInfo: {
|
|
135
|
-
count: number;
|
|
136
|
-
totalCount: number;
|
|
137
|
-
hasNextPage: boolean;
|
|
138
|
-
hasPreviousPage: boolean;
|
|
139
|
-
startCursor: number | null;
|
|
140
|
-
endCursor: number | null;
|
|
141
|
-
};
|
|
142
|
-
}>;
|
|
77
|
+
}, import("zod/v4/core").$strip>;
|
|
78
|
+
}, import("zod/v4/core").$strip>;
|
|
143
79
|
};
|
|
144
80
|
};
|
|
145
81
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/categories.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"categories.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/categories/categories.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wRAI3B,CAAC"}
|
|
@@ -3,22 +3,22 @@ export declare const categoriesRoute: {
|
|
|
3
3
|
handler: (c: import("hono").Context<import("@vitnode/core/api/middlewares/global.middleware").EnvVitNode, "/", {
|
|
4
4
|
in: {
|
|
5
5
|
query: {
|
|
6
|
-
search?: string | undefined;
|
|
7
|
-
orderBy?: "updatedAt" | undefined;
|
|
8
6
|
cursor?: string | undefined;
|
|
9
7
|
first?: string | undefined;
|
|
10
8
|
last?: string | undefined;
|
|
11
9
|
order?: "asc" | "desc" | undefined;
|
|
10
|
+
orderBy?: "updatedAt" | undefined;
|
|
11
|
+
search?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
out: {
|
|
15
15
|
query: {
|
|
16
|
-
search?: string | undefined;
|
|
17
|
-
orderBy?: "updatedAt" | undefined;
|
|
18
16
|
cursor?: string | undefined;
|
|
19
17
|
first?: string | undefined;
|
|
20
18
|
last?: string | undefined;
|
|
21
19
|
order?: "asc" | "desc" | undefined;
|
|
20
|
+
orderBy?: "updatedAt" | undefined;
|
|
21
|
+
search?: string | undefined;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -47,25 +47,15 @@ export declare const categoriesRoute: {
|
|
|
47
47
|
cursor: z.ZodOptional<z.ZodString>;
|
|
48
48
|
first: z.ZodOptional<z.ZodString>;
|
|
49
49
|
last: z.ZodOptional<z.ZodString>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
asc: "asc";
|
|
52
|
+
desc: "desc";
|
|
53
|
+
}>>;
|
|
54
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
updatedAt: "updatedAt";
|
|
56
|
+
}>>;
|
|
53
57
|
search: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
search?: string | undefined;
|
|
56
|
-
orderBy?: "updatedAt" | undefined;
|
|
57
|
-
cursor?: string | undefined;
|
|
58
|
-
first?: string | undefined;
|
|
59
|
-
last?: string | undefined;
|
|
60
|
-
order?: "asc" | "desc" | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
search?: string | undefined;
|
|
63
|
-
orderBy?: "updatedAt" | undefined;
|
|
64
|
-
cursor?: string | undefined;
|
|
65
|
-
first?: string | undefined;
|
|
66
|
-
last?: string | undefined;
|
|
67
|
-
order?: "asc" | "desc" | undefined;
|
|
68
|
-
}>;
|
|
58
|
+
}, z.core.$strip>;
|
|
69
59
|
};
|
|
70
60
|
responses: {
|
|
71
61
|
200: {
|
|
@@ -77,17 +67,7 @@ export declare const categoriesRoute: {
|
|
|
77
67
|
title: z.ZodString;
|
|
78
68
|
createdAt: z.ZodDate;
|
|
79
69
|
updatedAt: z.ZodDate;
|
|
80
|
-
},
|
|
81
|
-
id: number;
|
|
82
|
-
title: string;
|
|
83
|
-
createdAt: Date;
|
|
84
|
-
updatedAt: Date;
|
|
85
|
-
}, {
|
|
86
|
-
id: number;
|
|
87
|
-
title: string;
|
|
88
|
-
createdAt: Date;
|
|
89
|
-
updatedAt: Date;
|
|
90
|
-
}>, "many">;
|
|
70
|
+
}, z.core.$strip>>;
|
|
91
71
|
pageInfo: z.ZodObject<{
|
|
92
72
|
totalCount: z.ZodNumber;
|
|
93
73
|
count: z.ZodNumber;
|
|
@@ -95,52 +75,8 @@ export declare const categoriesRoute: {
|
|
|
95
75
|
hasPreviousPage: z.ZodBoolean;
|
|
96
76
|
startCursor: z.ZodNullable<z.ZodNumber>;
|
|
97
77
|
endCursor: z.ZodNullable<z.ZodNumber>;
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
totalCount: number;
|
|
101
|
-
hasNextPage: boolean;
|
|
102
|
-
hasPreviousPage: boolean;
|
|
103
|
-
startCursor: number | null;
|
|
104
|
-
endCursor: number | null;
|
|
105
|
-
}, {
|
|
106
|
-
count: number;
|
|
107
|
-
totalCount: number;
|
|
108
|
-
hasNextPage: boolean;
|
|
109
|
-
hasPreviousPage: boolean;
|
|
110
|
-
startCursor: number | null;
|
|
111
|
-
endCursor: number | null;
|
|
112
|
-
}>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
edges: {
|
|
115
|
-
id: number;
|
|
116
|
-
title: string;
|
|
117
|
-
createdAt: Date;
|
|
118
|
-
updatedAt: Date;
|
|
119
|
-
}[];
|
|
120
|
-
pageInfo: {
|
|
121
|
-
count: number;
|
|
122
|
-
totalCount: number;
|
|
123
|
-
hasNextPage: boolean;
|
|
124
|
-
hasPreviousPage: boolean;
|
|
125
|
-
startCursor: number | null;
|
|
126
|
-
endCursor: number | null;
|
|
127
|
-
};
|
|
128
|
-
}, {
|
|
129
|
-
edges: {
|
|
130
|
-
id: number;
|
|
131
|
-
title: string;
|
|
132
|
-
createdAt: Date;
|
|
133
|
-
updatedAt: Date;
|
|
134
|
-
}[];
|
|
135
|
-
pageInfo: {
|
|
136
|
-
count: number;
|
|
137
|
-
totalCount: number;
|
|
138
|
-
hasNextPage: boolean;
|
|
139
|
-
hasPreviousPage: boolean;
|
|
140
|
-
startCursor: number | null;
|
|
141
|
-
endCursor: number | null;
|
|
142
|
-
};
|
|
143
|
-
}>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
}, z.core.$strip>;
|
|
144
80
|
};
|
|
145
81
|
};
|
|
146
82
|
description: string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE1B,CAAC"}
|
|
@@ -2,22 +2,22 @@ export declare const postsModule: import("@vitnode/core/api/lib/module").BuildMo
|
|
|
2
2
|
handler: (c: import("hono").Context<import("@vitnode/core/api/middlewares/global.middleware").EnvVitNode, "/", {
|
|
3
3
|
in: {
|
|
4
4
|
query: {
|
|
5
|
-
orderBy?: "createdAt" | "updatedAt" | undefined;
|
|
6
|
-
categoryId?: string | undefined;
|
|
7
5
|
cursor?: string | undefined;
|
|
8
6
|
first?: string | undefined;
|
|
9
7
|
last?: string | undefined;
|
|
10
8
|
order?: "asc" | "desc" | undefined;
|
|
9
|
+
orderBy?: "createdAt" | "updatedAt" | undefined;
|
|
10
|
+
categoryId?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
out: {
|
|
14
14
|
query: {
|
|
15
|
-
orderBy?: "createdAt" | "updatedAt" | undefined;
|
|
16
|
-
categoryId?: number | undefined;
|
|
17
15
|
cursor?: string | undefined;
|
|
18
16
|
first?: string | undefined;
|
|
19
17
|
last?: string | undefined;
|
|
20
18
|
order?: "asc" | "desc" | undefined;
|
|
19
|
+
orderBy?: "createdAt" | "updatedAt" | undefined;
|
|
20
|
+
categoryId?: number | undefined;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -53,25 +53,16 @@ export declare const postsModule: import("@vitnode/core/api/lib/module").BuildMo
|
|
|
53
53
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
54
|
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
55
|
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
order?: "asc" | "desc" | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
orderBy?: "createdAt" | "updatedAt" | undefined;
|
|
69
|
-
categoryId?: string | undefined;
|
|
70
|
-
cursor?: string | undefined;
|
|
71
|
-
first?: string | undefined;
|
|
72
|
-
last?: string | undefined;
|
|
73
|
-
order?: "asc" | "desc" | undefined;
|
|
74
|
-
}>;
|
|
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>;
|
|
75
66
|
};
|
|
76
67
|
responses: {
|
|
77
68
|
200: {
|
|
@@ -90,42 +81,8 @@ export declare const postsModule: import("@vitnode/core/api/lib/module").BuildMo
|
|
|
90
81
|
id: import("zod").ZodNumber;
|
|
91
82
|
title: import("zod").ZodString;
|
|
92
83
|
titleSeo: import("zod").ZodString;
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
title: string;
|
|
96
|
-
titleSeo: string;
|
|
97
|
-
}, {
|
|
98
|
-
id: number;
|
|
99
|
-
title: string;
|
|
100
|
-
titleSeo: string;
|
|
101
|
-
}>;
|
|
102
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
103
|
-
id: number;
|
|
104
|
-
title: string;
|
|
105
|
-
createdAt: Date;
|
|
106
|
-
updatedAt: Date;
|
|
107
|
-
titleSeo: string;
|
|
108
|
-
content: string;
|
|
109
|
-
category: {
|
|
110
|
-
id: number;
|
|
111
|
-
title: string;
|
|
112
|
-
titleSeo: string;
|
|
113
|
-
};
|
|
114
|
-
categoryId: number;
|
|
115
|
-
}, {
|
|
116
|
-
id: number;
|
|
117
|
-
title: string;
|
|
118
|
-
createdAt: Date;
|
|
119
|
-
updatedAt: Date;
|
|
120
|
-
titleSeo: string;
|
|
121
|
-
content: string;
|
|
122
|
-
category: {
|
|
123
|
-
id: number;
|
|
124
|
-
title: string;
|
|
125
|
-
titleSeo: string;
|
|
126
|
-
};
|
|
127
|
-
categoryId: number;
|
|
128
|
-
}>, "many">;
|
|
84
|
+
}, import("zod/v4/core").$strip>;
|
|
85
|
+
}, import("zod/v4/core").$strip>>;
|
|
129
86
|
pageInfo: import("zod").ZodObject<{
|
|
130
87
|
totalCount: import("zod").ZodNumber;
|
|
131
88
|
count: import("zod").ZodNumber;
|
|
@@ -133,68 +90,8 @@ export declare const postsModule: import("@vitnode/core/api/lib/module").BuildMo
|
|
|
133
90
|
hasPreviousPage: import("zod").ZodBoolean;
|
|
134
91
|
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
135
92
|
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
totalCount: number;
|
|
139
|
-
hasNextPage: boolean;
|
|
140
|
-
hasPreviousPage: boolean;
|
|
141
|
-
startCursor: number | null;
|
|
142
|
-
endCursor: number | null;
|
|
143
|
-
}, {
|
|
144
|
-
count: number;
|
|
145
|
-
totalCount: number;
|
|
146
|
-
hasNextPage: boolean;
|
|
147
|
-
hasPreviousPage: boolean;
|
|
148
|
-
startCursor: number | null;
|
|
149
|
-
endCursor: number | null;
|
|
150
|
-
}>;
|
|
151
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
152
|
-
edges: {
|
|
153
|
-
id: number;
|
|
154
|
-
title: string;
|
|
155
|
-
createdAt: Date;
|
|
156
|
-
updatedAt: Date;
|
|
157
|
-
titleSeo: string;
|
|
158
|
-
content: string;
|
|
159
|
-
category: {
|
|
160
|
-
id: number;
|
|
161
|
-
title: string;
|
|
162
|
-
titleSeo: string;
|
|
163
|
-
};
|
|
164
|
-
categoryId: number;
|
|
165
|
-
}[];
|
|
166
|
-
pageInfo: {
|
|
167
|
-
count: number;
|
|
168
|
-
totalCount: number;
|
|
169
|
-
hasNextPage: boolean;
|
|
170
|
-
hasPreviousPage: boolean;
|
|
171
|
-
startCursor: number | null;
|
|
172
|
-
endCursor: number | null;
|
|
173
|
-
};
|
|
174
|
-
}, {
|
|
175
|
-
edges: {
|
|
176
|
-
id: number;
|
|
177
|
-
title: string;
|
|
178
|
-
createdAt: Date;
|
|
179
|
-
updatedAt: Date;
|
|
180
|
-
titleSeo: string;
|
|
181
|
-
content: string;
|
|
182
|
-
category: {
|
|
183
|
-
id: number;
|
|
184
|
-
title: string;
|
|
185
|
-
titleSeo: string;
|
|
186
|
-
};
|
|
187
|
-
categoryId: number;
|
|
188
|
-
}[];
|
|
189
|
-
pageInfo: {
|
|
190
|
-
count: number;
|
|
191
|
-
totalCount: number;
|
|
192
|
-
hasNextPage: boolean;
|
|
193
|
-
hasPreviousPage: boolean;
|
|
194
|
-
startCursor: number | null;
|
|
195
|
-
endCursor: number | null;
|
|
196
|
-
};
|
|
197
|
-
}>;
|
|
93
|
+
}, import("zod/v4/core").$strip>;
|
|
94
|
+
}, import("zod/v4/core").$strip>;
|
|
198
95
|
};
|
|
199
96
|
};
|
|
200
97
|
description: string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wRAItB,CAAC"}
|