refactor: local improve

This commit is contained in:
katherinehhh 2024-01-22 22:15:13 +08:00
parent c0807c17f3
commit 2f35bb23d4

View File

@ -1,4 +1,5 @@
export const getConnectionPath = (name: string | number) => `/admin/settings/database-connections/${name}`;
export const getConnectionCollectionPath = (name: string | number) => `/admin/settings/database-connections/${name}/collections`;
export const getConnectionPermissionPath = (name: string | number) => `/admin/settings/database-connections/${name}/permissions`;
export const getConnectionPath = (name: string | number) => `/admin/settings/data-source-manager/${name}`;
export const getConnectionCollectionPath = (name: string | number) =>
`/admin/settings/data-source-manager/${name}/collections`;
export const getConnectionPermissionPath = (name: string | number) =>
`/admin/settings/data-source-manager/${name}/permissions`;