Skip to content

Commit

Permalink
Add waiver field
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmenta committed Jul 4, 2021
1 parent d514e72 commit aeecb41
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions dist/graphql/object-types/team-sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion dist/model/team-sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions graphql/object-types/team-sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
3 changes: 2 additions & 1 deletion model/team-sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit aeecb41

Please sign in to comment.