Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
10 lines
240 B
JavaScript
10 lines
240 B
JavaScript
import RestModel from "discourse/models/rest";
|
|
|
|
export const CREATED = 0;
|
|
export const TRANSITIONED_TO = 1;
|
|
export const EDITED = 2;
|
|
|
|
export default RestModel.extend({
|
|
created: Ember.computed.equal("reviewable_history_type", CREATED)
|
|
});
|