Skip to content

Commit

Permalink
feat(): update to new db app
Browse files Browse the repository at this point in the history
  • Loading branch information
develite98 committed Dec 20, 2023
1 parent 847e0cf commit b97738f
Show file tree
Hide file tree
Showing 109 changed files with 155 additions and 2,185 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# dependencies
node_modules

.firebaserc
firebase.json

# IDEs and editors
/.idea
.project
Expand Down Expand Up @@ -40,4 +43,4 @@ Thumbs.db

.angular

.nx/cache
.nx/cache
4 changes: 2 additions & 2 deletions apps/mix-cms/src/app/pages/portal/portal.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export const PortalRoutes: Routes = [
},
{
path: CMS_ROUTES.portal.database.path,
data: breadcrumbName('Databases'),
data: breadcrumbName('Workspace'),
loadChildren: () =>
import('./database/database.routes').then((m) => m.routes),
import('@mixcore/module/database').then((m) => m.routes),
},
{
path: CMS_ROUTES.portal.page.path,
Expand Down
68 changes: 10 additions & 58 deletions apps/mix-database/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,69 +25,21 @@ export const CMS_ROUTES = {
path: 'news',
fullPath: 'app/news',
},
task: {
path: 'tasks',
fullPath: 'app/tasks',
},
inbox: {
path: 'inbox',
fullPath: 'app/inbox',
},
logs: {
path: 'logs',
fullPath: 'app/logs',
},
post: {
path: 'post',
fullPath: 'app/post',
},
page: {
path: 'page',
fullPath: 'app/page',
},
module: {
path: 'module',
fullPath: 'app/module',
},
database: {
path: 'database',
fullPath: 'app/database',
path: 'db',
fullPath: 'app/db',
},
'database-doc': {
databaseDoc: {
path: 'open-api',
fullPath: 'app/database/open-api',
},
'database-data': {
path: 'db-data',
fullPath: 'app/db-data',
},
settings: {
path: 'app-settings',
fullPath: 'app/app-settings',
},
user: {
path: 'user',
fullPath: 'app/user',
},
permission: {
path: 'permission',
fullPath: 'app/permission',
},
roles: {
path: 'roles',
fullPath: 'app/roles',
},
order: {
path: 'order',
fullPath: 'app/order',
fullPath: 'app/db/open-api',
},
discount: {
path: 'discount',
fullPath: 'app/discount',
databaseQuery: {
path: 'query',
fullPath: 'app/db/query',
},
promotion: {
path: 'promotion',
fullPath: 'app/promotion',
databaseContext: {
path: 'contexts',
fullPath: 'app/db/contexts',
},
},
};
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

1 comment on commit b97738f

@vercel
Copy link

@vercel vercel bot commented on b97738f Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.