mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
12 lines
339 B
JavaScript
12 lines
339 B
JavaScript
|
import Model, {attr} from '@ember-data/model';
|
||
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||
|
|
||
|
export default Model.extend(ValidationEngine, {
|
||
|
validationType: 'snippet',
|
||
|
|
||
|
title: attr('string'),
|
||
|
mobiledoc: attr('json-string'),
|
||
|
createdAtUTC: attr('moment-utc'),
|
||
|
updatedAtUTC: attr('moment-utc')
|
||
|
});
|