6c7dee4824
* clean up activity serailizer * fix line chart so only plot months with data * cleanup monthly serializer * account for empty months in vertical bar chart * tidy version upgrade info * fix version history model typo * extract const into helper * add upgrade indicator to line chart * fix tests * add todos
9 lines
366 B
JavaScript
9 lines
366 B
JavaScript
import Model, { attr } from '@ember-data/model';
|
|
export default class MonthlyModel extends Model {
|
|
@attr('string') responseTimestamp;
|
|
@attr('object') total; // total clients during the current/partial month
|
|
@attr('object') new; // total NEW clients during the current/partial
|
|
@attr('array') byNamespaceTotalClients;
|
|
@attr('array') byNamespaceNewClients;
|
|
}
|