2015-10-28 11:36:45 +00:00
|
|
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
2015-02-12 21:22:32 -07:00
|
|
|
import DS from 'ember-data';
|
2014-06-24 06:33:24 +00:00
|
|
|
import ValidationEngine from 'ghost/mixins/validation-engine';
|
|
|
|
|
2015-10-28 11:36:45 +00:00
|
|
|
const {Model, attr} = DS;
|
|
|
|
|
|
|
|
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
|
|
|
});
|