dobo 1.0.15 → 1.0.17

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.
@@ -177,7 +177,9 @@
177
177
  "link": "Link",
178
178
  "amount": "Amount",
179
179
  "cycle": "Cycle",
180
- "default": "Default"
180
+ "default": "Default",
181
+ "type": "Type",
182
+ "schema": "Schema"
181
183
  },
182
184
  "validationError": "Kesalahan Validasi",
183
185
  "validation": {
package/bajo/intl/id.json CHANGED
@@ -175,7 +175,9 @@
175
175
  "link": "Tautan",
176
176
  "amount": "Nilai",
177
177
  "cycle": "Cycle",
178
- "default": "Default"
178
+ "default": "Default",
179
+ "type": "Tipe",
180
+ "schema": "Skema"
179
181
  },
180
182
  "validationError": "Kesalahan Validasi",
181
183
  "validation": {
@@ -30,7 +30,8 @@ async function handler ({ file, alias, ns }) {
30
30
  })
31
31
  }
32
32
  mod.feature = feats
33
- if ((mod.properties ?? []).length === 0) this.fatal('noPropsFoundOnSchema%s', mod.name)
33
+ mod.properties = mod.properties ?? []
34
+ // if ((mod.properties ?? []).length === 0) this.fatal('noPropsFoundOnSchema%s', mod.name)
34
35
  // schema extender
35
36
  await eachPlugins(async function (opts) {
36
37
  const glob = `${opts.dir}/dobo/extend/${mod.ns}/schema/${base}.*`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Database ORM/ODM for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {