@vitnode/blog 1.2.0-canary.22 → 1.2.0-canary.23
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/categories/categories.module.d.ts +5 -0
- package/dist/src/api/modules/categories/categories.module.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/create.route.js +1 -1
- package/dist/src/api/modules/categories/routes/get.route.d.ts +5 -0
- package/dist/src/api/modules/categories/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/get.route.js +1 -1
- package/dist/src/api/modules/posts/routes/create.route.js +1 -1
- package/dist/src/api/modules/posts/routes/get.route.d.ts +48 -0
- package/dist/src/api/modules/posts/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/posts/routes/get.route.js +1 -1
- package/dist/src/app_admin/blog/categories/page.js +1 -1
- package/dist/src/app_admin/blog/posts/page.js +1 -1
- package/dist/src/views/admin/categories/actions/create-edit/create-edit.d.ts.map +1 -1
- package/dist/src/views/admin/categories/actions/create-edit/create-edit.js +1 -1
- package/dist/src/views/admin/posts/actions/create-edit/create-edit.d.ts +2 -2
- package/dist/src/views/admin/posts/actions/create-edit/create-edit.d.ts.map +1 -1
- package/dist/src/views/admin/posts/actions/create-edit/create-edit.js +1 -1
- package/dist/src/views/admin/posts/actions/create-edit/mutation-api.d.ts +11 -0
- package/dist/src/views/admin/posts/actions/create-edit/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/posts/actions/create-edit/mutation-api.js +1 -0
- package/dist/src/views/admin/posts/posts-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/posts/posts-admin-view.js +1 -1
- package/dist/src/views/admin/posts/row-actions/edit-action.d.ts +9 -0
- package/dist/src/views/admin/posts/row-actions/edit-action.d.ts.map +1 -0
- package/dist/src/views/admin/posts/row-actions/edit-action.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/app_admin/blog/categories/page.tsx +1 -1
- package/src/app_admin/blog/posts/page.tsx +1 -1
- package/src/locales/en.json +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitnode/blog",
|
|
3
|
-
"version": "1.2.0-canary.
|
|
3
|
+
"version": "1.2.0-canary.23",
|
|
4
4
|
"description": "Blog plugin for VitNode, providing a blogging platform with Next.js and Hono.js.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react-hook-form": "^7.57.0",
|
|
40
40
|
"sonner": "^2.0.5",
|
|
41
41
|
"zod": "^3.25.56",
|
|
42
|
-
"@vitnode/core": "1.2.0-canary.
|
|
42
|
+
"@vitnode/core": "1.2.0-canary.23"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@swc/cli": "0.6.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint": "^9.25.1",
|
|
51
51
|
"tsc-alias": "^1.8.15",
|
|
52
52
|
"typescript": "^5.8.3",
|
|
53
|
-
"@vitnode/eslint-config": "1.2.0-canary.
|
|
53
|
+
"@vitnode/eslint-config": "1.2.0-canary.23"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build:plugins": "tsc && swc src -d dist --config-file .swcrc && tsc-alias -p tsconfig.json",
|
|
@@ -26,7 +26,7 @@ export default async function CategoriesPage(
|
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
28
|
<I18nProvider namespaces={['@vitnode/blog.admin.categories']}>
|
|
29
|
-
<div className="
|
|
29
|
+
<div className="p-4">
|
|
30
30
|
<HeaderContent desc={t('desc')} h1={tNav('categories')}>
|
|
31
31
|
<ActionsCategoriesAdmin />
|
|
32
32
|
</HeaderContent>
|
|
@@ -25,7 +25,7 @@ export default async function PostsPage(
|
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
27
|
<I18nProvider namespaces={['@vitnode/blog.admin.posts']}>
|
|
28
|
-
<div className="
|
|
28
|
+
<div className="p-4">
|
|
29
29
|
<HeaderContent desc={t('desc')} h1={tNav('posts')}>
|
|
30
30
|
<ActionsPostsAdmin />
|
|
31
31
|
</HeaderContent>
|
package/src/locales/en.json
CHANGED
|
@@ -45,8 +45,12 @@
|
|
|
45
45
|
"title": "Create Post",
|
|
46
46
|
"desc": "Write a new article for your blog.",
|
|
47
47
|
"form": {
|
|
48
|
-
"title":
|
|
49
|
-
|
|
48
|
+
"title": {
|
|
49
|
+
"label": "Title",
|
|
50
|
+
"already_exists": "This post title already exists."
|
|
51
|
+
},
|
|
52
|
+
"content": "Content",
|
|
53
|
+
"category": "Category"
|
|
50
54
|
},
|
|
51
55
|
"submit": "Create Post"
|
|
52
56
|
},
|