mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
da58ef638b
refs https://github.com/TryGhost/Team/issues/586 The `products` and `prices` UI were not hooked to description data which will be used by Portal to display information about the products and prices, this change wires it to the API for edit/read.
12 lines
325 B
JavaScript
12 lines
325 B
JavaScript
import Model, {attr} from '@ember-data/model';
|
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
|
|
|
export default Model.extend(ValidationEngine, {
|
|
validationType: 'product',
|
|
|
|
name: attr('string'),
|
|
description: attr('string'),
|
|
slug: attr('string'),
|
|
stripePrices: attr('stripe-price')
|
|
});
|