open-vault/ui/app/models/metrics/activity.js
Chelsea Shaw 27f6988c3f
Ui/pricing metrics page setup (#10049)
* Create model and adapter for metrics/activity

* Query activity and return fake data on adapterError

* Add stub of pricing metrics cards and search form elements to metrics template

* Metrics page has pricing metrics rather than all-time tokens and requests

* update metrics config model

* Add metrics-config route and page

* Remove metrics/http-requests route and template

* remove log

* Add alert banner for when tracking disabled, and add result dates

* Small edits
2020-10-01 14:37:33 -05:00

8 lines
157 B
JavaScript

import DS from 'ember-data';
export default DS.Model.extend({
total: DS.attr('object'),
endTime: DS.attr('string'),
startTime: DS.attr('string'),
});