1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/models/api-key.js

13 lines
367 B
JavaScript

import Model, {attr, belongsTo} from '@ember-data/model';
export default Model.extend({
type: attr('string'),
secret: attr('string'),
lastSeenAtUTC: attr('moment-utc'),
createdAtUTC: attr('moment-utc'),
createdBy: attr('number'),
updatedAtUTC: attr('moment-utc'),
updatedBy: attr('number'),
integration: belongsTo('integration')
});