models/Votes.js
// This is only used for validation.
This is only used for validation.
This is only used for validation .
static get jsonSchema() {
    return {
      type: 'object',
      properties: {
        id: { type: 'integer' },
        value: { type: 'integer' },
        user_id: { type: 'integer' },
        feed_item_id: { type: 'integer' },
        created_at: { type: 'date-time' },
        updated_at: { type: 'date-time' },
      }
    };
  }
static get jsonSchema ( ) { return { type : 'object' , properties : { id : { type : 'integer' } , value : { type : 'integer' } , user_id : { type : 'integer' } , feed_item_id : { type : 'integer' } , created_at : { type : 'date-time' } , updated_at : { type : 'date-time' } , } } ; }
This is only used for validation.
This is only used for validation .