dobo 1.0.12 → 1.0.13

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.
@@ -52,7 +52,14 @@
52
52
  "token": "Token",
53
53
  "field": "Field",
54
54
  "agree": "Agreement",
55
- "method": "Metode"
55
+ "method": "Metode",
56
+ "masterId": "Master ID",
57
+ "details": "Details",
58
+ "qty": "QTY",
59
+ "link": "Link",
60
+ "amount": "Amount",
61
+ "cycle": "Cycle",
62
+ "default": "Default"
56
63
  },
57
64
  "validation": {
58
65
  "any.required": "Required",
@@ -125,7 +125,14 @@
125
125
  "token": "Token",
126
126
  "field": "Field",
127
127
  "agree": "Persetujuan",
128
- "method": "Metode"
128
+ "method": "Metode",
129
+ "masterId": "ID Master",
130
+ "details": "Detil",
131
+ "qty": "JML",
132
+ "link": "Tautan",
133
+ "amount": "Nilai",
134
+ "cycle": "Cycle",
135
+ "default": "Default"
129
136
  },
130
137
  "Validation Error": "Kesalahan Validasi",
131
138
  "validation": {
@@ -15,7 +15,8 @@ async function addFixture (name, { spinner } = {}) {
15
15
  let items = await readConfig(pattern, { ns: schema.ns, ignoreError: true })
16
16
  if (isEmpty(items)) items = []
17
17
  // override
18
- const overrides = await readConfig(`${getPluginDataDir(this.name)}/override/fixture/${schema.name}.*`, { ns: this.name, ignoreError: true })
18
+ const overrides = await readConfig(`${this.app.main.dir.pkg}/dobo/override/${schema.ns}/fixture/${base}.*`, { ns: this.name, ignoreError: true })
19
+
19
20
  if (isArray(overrides) && !isEmpty(overrides)) items = overrides
20
21
  // extend
21
22
  await eachPlugins(async function ({ dir, ns }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Database ORM/ODM for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {