Fully configured response structure

This commit is contained in:
Elliot DeNolf
2019-02-16 18:01:22 -05:00
parent 9545fe060d
commit ad5d8040b8
9 changed files with 364 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
import mongoose from 'mongoose';
const Schema = mongoose.Schema;
import mongooseApiQuery from '../utils/mongooseApiQuery';
import mongooseApiQuery from '../plugins/buildQuery';
const TestUserSchema = new Schema({
name: {type: String},

View File

@@ -1,7 +1,7 @@
/* eslint-disable camelcase */
import mongoose from 'mongoose';
const Schema = mongoose.Schema;
import {paramParser} from '../utils/paramParser';
import {paramParser} from '../plugins/paramParser';
const AuthorSchema = new Schema({
name: String,