Ghost/ghost/admin/mirage/factories/tier.js

14 lines
332 B
JavaScript
Raw Normal View History

import {Factory} from 'miragejs';
export default Factory.extend({
name(i) { return `Tier ${i}`; },
description(i) { return `Description for tier ${i}`; },
active: true,
slug(i) { return `tier-${i}`;},
type: 'paid',
visibility: 'none',
currency: 'usd',
monthly_price: 500,
yearly_price: 5000
});