@live-change/db-admin 0.6.0 → 0.6.2

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.
@@ -7,12 +7,17 @@ import {
7
7
  import { routes as dbAdminRoutes } from './routes.js'
8
8
 
9
9
  export function routes(config = {}) {
10
- const { prefix = '/', route = (r) => r } = config
10
+ const {
11
+ prefix = '/',
12
+ route = (r) => r,
13
+ dbApi = 'serverDatabase'
14
+ } = config
11
15
  return [
12
16
 
13
17
  route({
14
18
  path: prefix,
15
19
  component: () => import("./DatabaseAdmin.vue"),
20
+ props: { dbApi },
16
21
  meta: { pageType: 'wide', noNavBar: true },
17
22
  children: [
18
23
  ...dbAdminRoutes({ ...config, prefix: '' })
@@ -30,4 +30,4 @@ export function routes(config = {}) {
30
30
  ]
31
31
  }
32
32
 
33
- export default routes
33
+ export default routes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db-admin",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "scripts": {
5
5
  "memDev": "lcli memDev --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --initScript ./init.js --dbAccess",
@@ -63,5 +63,5 @@
63
63
  "author": "",
64
64
  "license": "ISC",
65
65
  "description": "",
66
- "gitHead": "358bc9b508a6e446b9286a01e0ceb0e77c1dec28"
66
+ "gitHead": "9a1b104864c08f3e35b009f191889e3308e3eeb0"
67
67
  }