This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-unused-vars */ | |
const {TransactionManager} = require('feathers-mongoose'); | |
const beginTransaction = require('./beginTransaction'); | |
const {FeathersError/*, GeneralError*/} = require('@feathersjs/errors'); | |
class relateOtoError extends FeathersError { | |
constructor(message, data) { | |
super(message, 'relateOto', 520, 'relateOtoError', data); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const lget = require('lodash.get'); | |
const lset = require('lodash.set'); | |
const lunset = require('lodash.unset'); | |
const lisPlainObject = require('lodash.isplainobject'); | |
const lisNil = require('lodash.isnil'); | |
const lflattenDeep = require('lodash.flattendeep'); | |
const lmergeWith = require('lodash.mergewith'); | |
Array.prototype.insert = function (index, ...value) { | |
this.splice(index, 0, ...value); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {makeFindMixin} from 'feathers-vuex'; | |
const $lcamelCase = require('lodash.camelcase'); | |
const $lupperFirst = require('lodash.upperfirst'); | |
const $lomitBy = require('lodash.omitby'); | |
const $lisNil = require('lodash.isnil'); | |
const $lget = require('lodash.get'); | |
const $lset = require('lodash.set'); | |
export default function makeFindPaginateMixin( |