bajo-common-db 0.3.0 → 1.0.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.
- package/README.md +23 -1
- package/bajo/.alias +1 -0
- package/bajo/config.json +1 -3
- package/bajoI18N/resource/en-US.json +11 -0
- package/bajoI18N/resource/id.json +12 -0
- package/{bajoDb → dobo}/schema/country.json +10 -5
- package/package.json +2 -5
- package/{bajoWebRestapi/route/country/coll-builder.json → waibuRestApi/route/country/model-builder.json} +1 -1
- package/bajoAdmin/coll/country.json +0 -8
- /package/{bajoDb → dobo}/fixture/country.json +0 -0
- /package/{bajoDb → dobo}/i18n/en-US.json +0 -0
- /package/{bajoDb → dobo}/i18n/id.json +0 -0
package/README.md
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
# bajo-common-db
|
|
1
|
+
# bajo-common-db
|
|
2
|
+
|
|
3
|
+
Plugin name: **bajoCommonDb**, alias: **cdb**
|
|
4
|
+
|
|
5
|
+
 
|
|
6
|
+
|
|
7
|
+
> <br />**Attention**: I do NOT accept any pull request at the moment, thanks!<br /><br />
|
|
8
|
+
|
|
9
|
+
Common database for [Bajo](https://github.com/ardhi/bajo)
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Goto your ```<bajo-base-dir>``` and type:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
$ npm install bajo-common-db
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Now open your ```<bajo-data-dir>/config/.plugins``` and put ```bajo-common-db``` in it
|
|
20
|
+
|
|
21
|
+
## License
|
|
22
|
+
|
|
23
|
+
[MIT](LICENSE)
|
package/bajo/.alias
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cdb
|
package/bajo/config.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"collName": "country",
|
|
3
2
|
"connection": "memory",
|
|
4
3
|
"properties": [{
|
|
4
|
+
"name": "id",
|
|
5
|
+
"type": "string",
|
|
6
|
+
"length": 2,
|
|
7
|
+
"required": true,
|
|
8
|
+
"index": "primary"
|
|
9
|
+
}, {
|
|
5
10
|
"name": "name",
|
|
6
11
|
"type": "string",
|
|
7
12
|
"length": 255,
|
|
@@ -26,18 +31,18 @@
|
|
|
26
31
|
"type": "string",
|
|
27
32
|
"length": 20,
|
|
28
33
|
"index": true
|
|
29
|
-
}, {
|
|
30
|
-
"name": "mmsi",
|
|
31
|
-
"type": "array"
|
|
32
34
|
}, {
|
|
33
35
|
"name": "ioc",
|
|
34
36
|
"type": "string",
|
|
35
37
|
"length": 20,
|
|
36
38
|
"index": true
|
|
39
|
+
}, {
|
|
40
|
+
"name": "mids",
|
|
41
|
+
"type": "array"
|
|
37
42
|
}, {
|
|
38
43
|
"name": "bbox",
|
|
39
44
|
"type": "array"
|
|
40
45
|
}],
|
|
41
|
-
"
|
|
46
|
+
"disabled": "readonly",
|
|
42
47
|
"attachment": false
|
|
43
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bajo-common-db",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Common Database for Bajo Framework",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,8 +23,5 @@
|
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/ardhi/bajo-common-db/issues"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://github.com/ardhi/bajo-common-db#readme"
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"kea-nmea": "^0.1.1"
|
|
29
|
-
}
|
|
26
|
+
"homepage": "https://github.com/ardhi/bajo-common-db#readme"
|
|
30
27
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|