mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
c2f2e96060
closes #5328 - removes all references to nprogress and loading indicator
27 lines
771 B
JavaScript
27 lines
771 B
JavaScript
import DS from 'ember-data';
|
|
import ValidationEngine from 'ghost/mixins/validation-engine';
|
|
|
|
var Setting = DS.Model.extend(ValidationEngine, {
|
|
validationType: 'setting',
|
|
|
|
title: DS.attr('string'),
|
|
description: DS.attr('string'),
|
|
email: 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'),
|
|
ghost_foot: DS.attr('string'),
|
|
labs: DS.attr('string'),
|
|
navigation: DS.attr('string'),
|
|
isPrivate: DS.attr('boolean'),
|
|
password: DS.attr('string')
|
|
});
|
|
|
|
export default Setting;
|