File: addon/models/comment-report.js
import DS from 'ember-data'; import OsfModel from './osf-model'; /** * @module ember-osf * @submodule models */ /** * Model for OSF APIv2 comment reports. Primarily accessed via relationship fields. * For field and usage information, see: * * https://api.osf.io/v2/docs/#!/v2/Comment_Reports_List_GET * * @class CommentReport */ export default OsfModel.extend({ category: DS.attr('fixstring'), text: DS.belongsTo('comment') });