@tager/admin-blog
Advanced tools
Comparing version 0.1.0-alpha.3 to 0.1.0-alpha.4
{ | ||
"name": "@tager/admin-blog", | ||
"version": "0.1.0-alpha.3", | ||
"version": "0.1.0-alpha.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.umd.js", |
@@ -1,2 +0,2 @@ | ||
export const ROUTE_PATHS = { | ||
export const BLOG_ROUTE_PATHS = { | ||
HOME: '/', | ||
@@ -3,0 +3,0 @@ BLOG_POST_LIST: '/blog/posts', |
@@ -7,6 +7,6 @@ import { CustomRoute, CustomRouteConfig } from '@tager/admin-layout'; | ||
import BlogCategoryForm from '@/views/BlogCategoryForm/index.vue'; | ||
import { ROUTE_PATHS } from '@/constants/paths'; | ||
import { BLOG_ROUTE_PATHS } from '@/constants/paths'; | ||
export const BLOG_POST_LIST_ROUTE: CustomRouteConfig = { | ||
path: ROUTE_PATHS.BLOG_POST_LIST, | ||
path: BLOG_ROUTE_PATHS.BLOG_POST_LIST, | ||
component: BlogPostList, | ||
@@ -16,4 +16,4 @@ name: 'All posts', | ||
getBreadcrumbs: (route: CustomRoute) => [ | ||
{ path: ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: ROUTE_PATHS.BLOG_POST_LIST, label: 'All posts' }, | ||
{ path: BLOG_ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: BLOG_ROUTE_PATHS.BLOG_POST_LIST, label: 'All posts' }, | ||
], | ||
@@ -24,3 +24,3 @@ }, | ||
export const BLOG_POST_FORM_ROUTE: CustomRouteConfig = { | ||
path: ROUTE_PATHS.BLOG_POST_FORM, | ||
path: BLOG_ROUTE_PATHS.BLOG_POST_FORM, | ||
component: BlogPostForm, | ||
@@ -30,4 +30,4 @@ name: 'Post Form', | ||
getBreadcrumbs: (route: CustomRoute) => [ | ||
{ path: ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: ROUTE_PATHS.BLOG_POST_LIST, label: 'All posts' }, | ||
{ path: BLOG_ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: BLOG_ROUTE_PATHS.BLOG_POST_LIST, label: 'All posts' }, | ||
{ path: route.path, label: 'Blog post form' }, | ||
@@ -39,3 +39,3 @@ ], | ||
export const BLOG_CATEGORY_LIST_ROUTE: CustomRouteConfig = { | ||
path: ROUTE_PATHS.BLOG_CATEGORY_LIST, | ||
path: BLOG_ROUTE_PATHS.BLOG_CATEGORY_LIST, | ||
component: BlogCategoryList, | ||
@@ -45,4 +45,4 @@ name: 'All categories', | ||
getBreadcrumbs: (route: CustomRoute) => [ | ||
{ path: ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: ROUTE_PATHS.BLOG_CATEGORY_LIST, label: 'All categories' }, | ||
{ path: BLOG_ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: BLOG_ROUTE_PATHS.BLOG_CATEGORY_LIST, label: 'All categories' }, | ||
], | ||
@@ -53,3 +53,3 @@ }, | ||
export const BLOG_CATEGORY_FORM_ROUTE: CustomRouteConfig = { | ||
path: ROUTE_PATHS.BLOG_CATEGORY_FORM, | ||
path: BLOG_ROUTE_PATHS.BLOG_CATEGORY_FORM, | ||
component: BlogCategoryForm, | ||
@@ -59,4 +59,4 @@ name: 'Category Form', | ||
getBreadcrumbs: (route: CustomRoute) => [ | ||
{ path: ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: ROUTE_PATHS.BLOG_CATEGORY_LIST, label: 'All categories' }, | ||
{ path: BLOG_ROUTE_PATHS.HOME, label: 'Home' }, | ||
{ path: BLOG_ROUTE_PATHS.BLOG_CATEGORY_LIST, label: 'All categories' }, | ||
{ path: route.path, label: 'Blog Category form' }, | ||
@@ -63,0 +63,0 @@ ], |
export * from '@/constants/routes'; | ||
export * from '@/constants/menu'; | ||
export * from '@/constants/paths'; |
@@ -9,1 +9,9 @@ import { CustomRouteConfig, MenuItemType } from '@tager/admin-layout'; | ||
export declare const BLOG_MENU_ITEM: MenuItemType; | ||
export declare const BLOG_ROUTE_PATHS: { | ||
HOME: string; | ||
BLOG_POST_LIST: string; | ||
BLOG_POST_FORM: string; | ||
BLOG_CATEGORY_LIST: string; | ||
BLOG_CATEGORY_FORM: string; | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
337803
7018