diff options
| author | Adam Soltys <[email protected]> | 2019-09-12 15:25:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2019-09-12 23:01:06 -0700 |
| commit | 087fdd27f3683a1deb9376b7a72aa608e6fd8e6a (patch) | |
| tree | 68bf0872fcfdc65003ed4642bac09aab64d3a3ac /db.js | |
| parent | 7da9aa2406fbd890956dcf89c5756949758911dd (diff) | |
| download | coinos-server-087fdd27f3683a1deb9376b7a72aa608e6fd8e6a.tar.gz coinos-server-087fdd27f3683a1deb9376b7a72aa608e6fd8e6a.zip | |
remove babel and eslint
Diffstat (limited to 'db.js')
| -rw-r--r-- | db.js | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,13 +1,13 @@ -import config from "./config"; -import Sequelize from "sequelize"; -import SequelizeAuto from "sequelize-auto"; -import { +const config = require("./config"); +const Sequelize = require("sequelize"); +const SequelizeAuto = require("sequelize-auto"); +const { resolver, defaultArgs, defaultListArgs, attributeFields -} from "graphql-sequelize"; -import { +} = require("graphql-sequelize"); +const { graphql, GraphQLSchema, GraphQLObjectType, @@ -16,7 +16,7 @@ import { GraphQLInt, GraphQLNonNull, GraphQLList -} from "graphql"; +} = require("graphql"); const conf = config.db[process.env.NODE_ENV || "development"]; |
