bajo-common-db 1.0.3 → 1.2.0

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/index.js ADDED
@@ -0,0 +1,15 @@
1
+ async function factory (pkgName) {
2
+ const me = this
3
+
4
+ return class BajoCommonDb extends this.lib.BajoPlugin {
5
+ constructor () {
6
+ super(pkgName, me.app)
7
+ this.alias = 'cdb'
8
+ this.config = {
9
+ title: 'Common Database'
10
+ }
11
+ }
12
+ }
13
+ }
14
+
15
+ export default factory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-common-db",
3
- "version": "1.0.3",
3
+ "version": "1.2.0",
4
4
  "description": "Common Database for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/bajo/.alias DELETED
@@ -1 +0,0 @@
1
- cdb
package/bajo/config.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "title": "Common Database"
3
- }