diff --git a/dist/graphql/object-types/team-sl.js b/dist/graphql/object-types/team-sl.js index 4654fc0..f8e1e86 100644 --- a/dist/graphql/object-types/team-sl.js +++ b/dist/graphql/object-types/team-sl.js @@ -66,6 +66,9 @@ var TeamSlType = new GraphQLObjectType({ slug: { type: GraphQLString }, + waiver: { + type: GraphQLInt + }, users: { type: new GraphQLList(_user["default"]), resolve: resolver(_setup.TeamSl.Users) diff --git a/dist/model/team-sl.js b/dist/model/team-sl.js index 136cef1..c3b27fe 100644 --- a/dist/model/team-sl.js +++ b/dist/model/team-sl.js @@ -27,7 +27,8 @@ var TeamSl = _connection["default"].define('team_sl', { primary_color: _sequelize["default"].STRING, secondary_color: _sequelize["default"].STRING, id_division: _sequelize["default"].INTEGER, - slug: _sequelize["default"].STRING + slug: _sequelize["default"].STRING, + waiver: _sequelize["default"].INTEGER }, { updatedAt: false, createdAt: false, diff --git a/graphql/object-types/team-sl.js b/graphql/object-types/team-sl.js index ee96458..1548773 100644 --- a/graphql/object-types/team-sl.js +++ b/graphql/object-types/team-sl.js @@ -33,6 +33,7 @@ const TeamSlType = new GraphQLObjectType({ primary_color: { type: GraphQLString }, secondary_color: { type: GraphQLString }, slug: { type: GraphQLString }, + waiver: { type: GraphQLInt }, users: { type: new GraphQLList(UserType), diff --git a/model/team-sl.js b/model/team-sl.js index fbc1fed..a8c5ba0 100644 --- a/model/team-sl.js +++ b/model/team-sl.js @@ -16,7 +16,8 @@ const TeamSl = Conn.define('team_sl', { primary_color : Sequelize.STRING, secondary_color : Sequelize.STRING, id_division : Sequelize.INTEGER, - slug : Sequelize.STRING, + slug: Sequelize.STRING, + waiver: Sequelize.INTEGER, }, { updatedAt : false, createdAt : false, diff --git a/package.json b/package.json index 6e28d15..8263ce5 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "license": "ISC", "dependencies": { "@babel/core": "^7.14.6", + "core-js": "^3.15.1", "dottie": "^2.0.0", "express": "^4.16.3", "express-graphql": "^0.6.12", @@ -21,9 +22,8 @@ "graphql-sequelize": "^8.1.3", "mysql": "^2.15.0", "mysql2": "^1.5.3", - "sequelize": "^3.28.0", - "core-js": "^3.15.1", - "regenerator-runtime": "^0.13.7" + "regenerator-runtime": "^0.13.7", + "sequelize": "^3.28.0" }, "devDependencies": { "@babel/cli": "^7.14.5",