mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
0bfc402090
refs https://github.com/TryGhost/Team/issues/1492 Allows site owners to manage member's newsletter preference directly in Admin. - also adds `visibility` property for newsletter model - updates members test model to include `visibility`
10 lines
213 B
JavaScript
10 lines
213 B
JavaScript
import {Model, hasMany} from 'miragejs';
|
|
|
|
export default Model.extend({
|
|
labels: hasMany(),
|
|
emailRecipients: hasMany(),
|
|
products: hasMany(),
|
|
newsletters: hasMany(),
|
|
subscriptions: hasMany()
|
|
});
|