Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

matchqueue.js 464B

1234567891011121314151617
  1. const Schwifty = require('@hapipal/schwifty')
  2. const Joi = require('joi')
  3. module.exports = class MatchQueue extends Schwifty.Model {
  4. static get tableName() {
  5. return 'match_queues'
  6. }
  7. static get joiSchema() {
  8. return Joi.object({
  9. match_queue_id: Joi.number(),
  10. profile_id: Joi.number().required(),
  11. target_id: Joi.number().required(),
  12. is_deleted: Joi.boolean().required(),
  13. })
  14. }
  15. }