27f6988c3f
* 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
11 lines
227 B
JavaScript
11 lines
227 B
JavaScript
import DS from 'ember-data';
|
|
|
|
const { attr } = DS;
|
|
|
|
export default DS.Model.extend({
|
|
queriesAvailable: attr('boolean'),
|
|
defaultReportMonths: attr('number'),
|
|
retentionMonths: attr('number'),
|
|
enabled: attr('string'),
|
|
});
|