2015-02-13 07:22:32 +03:00
|
|
|
import DS from 'ember-data';
|
2014-06-24 10:33:24 +04:00
|
|
|
import ValidationEngine from 'ghost/mixins/validation-engine';
|
|
|
|
|
2015-08-19 14:55:40 +03:00
|
|
|
export default DS.Model.extend(ValidationEngine, {
|
2014-06-24 10:33:24 +04:00
|
|
|
validationType: 'setting',
|
|
|
|
|
2014-06-20 06:29:49 +04:00
|
|
|
title: DS.attr('string'),
|
|
|
|
description: DS.attr('string'),
|
|
|
|
logo: DS.attr('string'),
|
|
|
|
cover: DS.attr('string'),
|
|
|
|
defaultLang: DS.attr('string'),
|
|
|
|
postsPerPage: DS.attr('number'),
|
|
|
|
forceI18n: DS.attr('boolean'),
|
|
|
|
permalinks: DS.attr('string'),
|
|
|
|
activeTheme: DS.attr('string'),
|
2014-07-31 23:36:20 +04:00
|
|
|
availableThemes: DS.attr(),
|
|
|
|
ghost_head: DS.attr('string'),
|
2014-12-14 20:56:04 +03:00
|
|
|
ghost_foot: DS.attr('string'),
|
2015-01-11 22:55:52 +03:00
|
|
|
labs: DS.attr('string'),
|
2015-03-26 10:01:39 +03:00
|
|
|
navigation: DS.attr('string'),
|
|
|
|
isPrivate: DS.attr('boolean'),
|
|
|
|
password: DS.attr('string')
|
2014-06-20 06:29:49 +04:00
|
|
|
});
|