waibu-db 2.1.3 → 2.1.4
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/lib/prep-crud.js +2 -1
- package/package.json +1 -1
- package/wiki/CHANGES.md +4 -0
package/lib/prep-crud.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
async function prepCrud ({ model, body, id, req, reply, options = {}, args }) {
|
|
2
|
-
const {
|
|
2
|
+
const { isSet } = this.app.lib.aneka
|
|
3
3
|
const { parseFilter } = this.app.waibu
|
|
4
4
|
const { pascalCase } = this.app.lib.aneka
|
|
5
5
|
const { cloneDeep, has } = this.app.lib._
|
|
6
|
+
const { parseObject } = this.app.lib
|
|
6
7
|
const cfgWeb = this.app.waibu.getConfig()
|
|
7
8
|
const opts = cloneDeep(options)
|
|
8
9
|
const params = this.getParams(req, ...args)
|
package/package.json
CHANGED