TryGhost/Ghost

View on GitHub
ghost/admin/app/models/action.js

Summary

Maintainability
A
0 mins
Test Coverage
import Model, {attr} from '@ember-data/model';

export default Model.extend({
    resourceId: attr('string'),
    resourceType: attr('string'),
    actorId: attr('string'),
    actorType: attr('string'),
    event: attr('string'),
    context: attr('json-string'),
    createdAtUTC: attr('moment-utc')
});