2015-10-28 11:36:45 +00:00
|
|
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
2016-01-12 19:23:01 +00:00
|
|
|
import Model from 'ember-data/model';
|
|
|
|
import attr from 'ember-data/attr';
|
2014-06-24 06:33:24 +00:00
|
|
|
import ValidationEngine from 'ghost/mixins/validation-engine';
|
|
|
|
|
2015-10-28 11:36:45 +00:00
|
|
|
export default Model.extend(ValidationEngine, {
|
2014-06-24 06:33:24 +00:00
|
|
|
validationType: 'setting',
|
|
|
|
|
2015-10-28 11:36:45 +00:00
|
|
|
title: attr('string'),
|
|
|
|
description: attr('string'),
|
|
|
|
logo: attr('string'),
|
|
|
|
cover: attr('string'),
|
|
|
|
defaultLang: attr('string'),
|
|
|
|
postsPerPage: attr('number'),
|
|
|
|
forceI18n: attr('boolean'),
|
|
|
|
permalinks: attr('string'),
|
|
|
|
activeTheme: attr('string'),
|
|
|
|
availableThemes: attr(),
|
|
|
|
ghost_head: attr('string'),
|
|
|
|
ghost_foot: attr('string'),
|
|
|
|
labs: attr('string'),
|
|
|
|
navigation: attr('string'),
|
|
|
|
isPrivate: attr('boolean'),
|
|
|
|
password: attr('string')
|
2014-06-20 02:29:49 +00:00
|
|
|
});
|