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
4565882941
Ghost
/
ghost
/
admin
/
mirage
/
models
/
label.js
6 lines
99 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
,
hasMany
}
from
'miragejs'
;
✨ Added ability to bulk delete members by label or status (#1883) refs https://github.com/TryGhost/Team/issues/585 requires https://github.com/TryGhost/Ghost/pull/12082 When a label or status filter is selected on the members screen show a "Delete selected" option in the actions dropdown. Bulk deleted members will _not_ have any subscription data modified in Stripe, if a member should be deleted and have their subscription cancelled it's necessary to do that on a per-member basis. - updated bulk delete handling to match API - added link to bulk delete confirmation modal in members actions dropdown (only shown when label, status, or search is used) - updated testing framework for members - added label factory for easier test setup - updated `GET /members` and `DEL /members` endpoints to work with label filters - updated test selectors for easier reference in tests
2021-04-08 14:06:27 +03:00
export
default
Model
.
extend
(
{
members
:
hasMany
(
)
}
)
;
Reference in New Issue
Copy Permalink