Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

response.js 420B

12345678910111213141516
  1. const Schwifty = require('@hapipal/schwifty')
  2. const Joi = require('joi')
  3. module.exports = class Response extends Schwifty.Model {
  4. static get tableName() {
  5. return 'responses'
  6. }
  7. static get joiSchema() {
  8. return Joi.object({
  9. response_id: Joi.number(),
  10. profile_id: Joi.number(),
  11. response_key_id: Joi.number(),
  12. val: Joi.string(),
  13. })
  14. }
  15. }