dobo 1.1.20 → 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/{plugin/factory.js → index.js} +6 -6
- package/package.json +1 -1
- package/{plugin/method → plugin-method}/attachment/create.js +1 -1
- package/{plugin/method → plugin-method}/attachment/find.js +1 -1
- package/{plugin/method → plugin-method}/bulk/create.js +3 -3
- package/{plugin/method → plugin-method}/model/clear.js +1 -1
- package/{plugin/method → plugin-method}/model/create.js +1 -1
- package/{plugin/method → plugin-method}/model/drop.js +1 -1
- package/{plugin/method → plugin-method}/model/exists.js +1 -1
- package/{plugin/method → plugin-method}/record/clear.js +1 -1
- package/{plugin/method → plugin-method}/record/count.js +2 -2
- package/{plugin/method → plugin-method}/record/create.js +6 -6
- package/{plugin/method → plugin-method}/record/find-one.js +3 -3
- package/{plugin/method → plugin-method}/record/find.js +3 -3
- package/{plugin/method → plugin-method}/record/get.js +3 -3
- package/{plugin/method → plugin-method}/record/remove.js +3 -3
- package/{plugin/method → plugin-method}/record/update.js +6 -6
- package/{plugin/method → plugin-method}/stat/aggregate.js +1 -1
- package/{plugin/method → plugin-method}/stat/histogram.js +1 -1
- /package/{plugin/method → plugin-method}/attachment/copy-uploaded.js +0 -0
- /package/{plugin/method → plugin-method}/attachment/get-path.js +0 -0
- /package/{plugin/method → plugin-method}/attachment/get.js +0 -0
- /package/{plugin/method → plugin-method}/attachment/pre-check.js +0 -0
- /package/{plugin/method → plugin-method}/attachment/remove.js +0 -0
- /package/{plugin/method → plugin-method}/attachment/update.js +0 -0
- /package/{plugin/method → plugin-method}/record/find-all.js +0 -0
- /package/{plugin/method → plugin-method}/record/upsert.js +0 -0
- /package/{plugin/method → plugin-method}/sanitize/body.js +0 -0
- /package/{plugin/method → plugin-method}/sanitize/date.js +0 -0
- /package/{plugin/method → plugin-method}/sanitize/id.js +0 -0
- /package/{plugin/method → plugin-method}/validate.js +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import collectConnections from '
|
|
2
|
-
import collectDrivers from '
|
|
3
|
-
import collectFeature from '
|
|
4
|
-
import collectSchemas from '
|
|
5
|
-
import memDbStart from '
|
|
6
|
-
import memDbInstantiate from '
|
|
1
|
+
import collectConnections from './lib/collect-connections.js'
|
|
2
|
+
import collectDrivers from './lib/collect-drivers.js'
|
|
3
|
+
import collectFeature from './lib/collect-feature.js'
|
|
4
|
+
import collectSchemas from './lib/collect-schemas.js'
|
|
5
|
+
import memDbStart from './lib/mem-db/start.js'
|
|
6
|
+
import memDbInstantiate from './lib/mem-db/instantiate.js'
|
|
7
7
|
import nql from '@tryghost/nql'
|
|
8
8
|
import path from 'path'
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import buildBulkAction from '
|
|
2
|
-
import execValidation from '
|
|
3
|
-
import execFeatureHook from '
|
|
1
|
+
import buildBulkAction from '../../lib/build-bulk-action.js'
|
|
2
|
+
import execValidation from '../../lib/exec-validation.js'
|
|
3
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
4
4
|
|
|
5
5
|
async function create (name, inputs, options) {
|
|
6
6
|
const { isSet } = this.lib.aneka
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import execFeatureHook from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
3
3
|
|
|
4
4
|
async function count (name, filter = {}, opts = {}) {
|
|
5
5
|
const { runHook } = this.app.bajo
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import crypto from 'crypto'
|
|
2
|
-
import resolveMethod from '
|
|
3
|
-
import checkUnique from '
|
|
4
|
-
import handleAttachmentUpload from '
|
|
5
|
-
import execValidation from '
|
|
6
|
-
import execFeatureHook from '
|
|
7
|
-
import singleRelRows from '
|
|
2
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
3
|
+
import checkUnique from '../../lib/check-unique.js'
|
|
4
|
+
import handleAttachmentUpload from '../../lib/handle-attachment-upload.js'
|
|
5
|
+
import execValidation from '../../lib/exec-validation.js'
|
|
6
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
7
|
+
import singleRelRows from '../../lib/single-rel-rows.js'
|
|
8
8
|
|
|
9
9
|
async function create (name, input, opts = {}) {
|
|
10
10
|
const { generateId, runHook } = this.app.bajo
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import singleRelRows from '
|
|
3
|
-
import execFeatureHook from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import singleRelRows from '../../lib/single-rel-rows.js'
|
|
3
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
4
4
|
|
|
5
5
|
async function findOne (name, filter = {}, opts = {}) {
|
|
6
6
|
const { isSet } = this.lib.aneka
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import multiRelRows from '
|
|
3
|
-
import execFeatureHook from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import multiRelRows from '../../lib/multi-rel-rows.js'
|
|
3
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
4
4
|
|
|
5
5
|
async function find (name, filter = {}, opts = {}) {
|
|
6
6
|
const { isSet } = this.lib.aneka
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import singleRelRows from '
|
|
3
|
-
import execFeatureHook from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import singleRelRows from '../../lib/single-rel-rows.js'
|
|
3
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
4
4
|
|
|
5
5
|
async function get (name, id, opts = {}) {
|
|
6
6
|
const { isSet } = this.lib.aneka
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import handleAttachmentUpload from '
|
|
3
|
-
import execFeatureHook from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import handleAttachmentUpload from '../../lib/handle-attachment-upload.js'
|
|
3
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
4
4
|
|
|
5
5
|
async function remove (name, id, opts = {}) {
|
|
6
6
|
const { runHook } = this.app.bajo
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import resolveMethod from '
|
|
2
|
-
import checkUnique from '
|
|
3
|
-
import handleAttachmentUpload from '
|
|
4
|
-
import execValidation from '
|
|
5
|
-
import execFeatureHook from '
|
|
6
|
-
import singleRelRows from '
|
|
1
|
+
import resolveMethod from '../../lib/resolve-method.js'
|
|
2
|
+
import checkUnique from '../../lib/check-unique.js'
|
|
3
|
+
import handleAttachmentUpload from '../../lib/handle-attachment-upload.js'
|
|
4
|
+
import execValidation from '../../lib/exec-validation.js'
|
|
5
|
+
import execFeatureHook from '../../lib/exec-feature-hook.js'
|
|
6
|
+
import singleRelRows from '../../lib/single-rel-rows.js'
|
|
7
7
|
|
|
8
8
|
async function update (name, id, input, opts = {}) {
|
|
9
9
|
const { isSet } = this.lib.aneka
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|