mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
d52989c982
no issue - updates ember-data dependency and switches to direct es6 module import instead of destructuring assignment - fixes issue with `authenticationFailed` action being called before transitions have finished
26 lines
769 B
JavaScript
26 lines
769 B
JavaScript
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
|
import Model from 'ember-data/model';
|
|
import attr from 'ember-data/attr';
|
|
import ValidationEngine from 'ghost/mixins/validation-engine';
|
|
|
|
export default Model.extend(ValidationEngine, {
|
|
validationType: 'setting',
|
|
|
|
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')
|
|
});
|