This website requires JavaScript.
Explore
Help
Sign In
OpenSourceArk
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
e3cdc24d6b
Ghost
/
ghost
/
admin
/
mirage
/
models
/
theme.js
5 lines
67 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Resolved ember-cli-mirage import deprecations refs https://github.com/TryGhost/Admin/pull/2209 - `miragejs` has been extracted to a framework-independent library, the re-exports of `miragejs` elements in `ember-cli-mirage` have been deprecated making our test logs very noisy - added `miragejs` as a top-level dependency - updated all relevant imports to pull from `miragejs` instead of `ember-cli-mirage`
2022-03-08 14:32:01 +03:00
import
{
Model
}
from
'miragejs'
;
fetch themes from /themes endpoint (#542) refs https://github.com/TryGhost/Ghost/pull/8022 - use `/themes` API endpoint to fetch list of themes instead of `settings[0].availableThemes`
2017-02-21 21:28:44 +03:00
export
default
Model
.
extend
(
{
}
)
;
Reference in New Issue
Copy Permalink