mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
0e2d1b3afd
closes https://github.com/TryGhost/Team/issues/2011 - Gives publishers the ability to filter members based on which offer they used (redeemed) when they subscribed for a paid membership. - On the offers page, the redemption count number links to a the members page with the filter already applied making it easy to have insight on which members used the offer / coupon.
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
import {Model, belongsTo} from 'miragejs';
|
|
|
|
export default Model.extend({
|
|
member: belongsTo(),
|
|
tier: belongsTo(),
|
|
offer: belongsTo()
|
|
});
|