0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/models/setting.js

24 lines
717 B
JavaScript
Raw Normal View History

2015-02-12 21:22:32 -07:00
import DS from 'ember-data';
import ValidationEngine from 'ghost/mixins/validation-engine';
export default DS.Model.extend(ValidationEngine, {
validationType: 'setting',
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'),
availableThemes: DS.attr(),
ghost_head: DS.attr('string'),
2014-12-14 17:56:04 +00:00
ghost_foot: DS.attr('string'),
labs: DS.attr('string'),
navigation: DS.attr('string'),
isPrivate: DS.attr('boolean'),
password: DS.attr('string')
});