34630f6557
* add timestamp to attribution * create usage stat component * updates stat text boxes * remove flex-header css * remove comment * add empty state if no data * update monthly serializer * remove empty state - unnecessary * change tab to 'history' * add usage stats to history view * change css styling for upcased grey subtitle * correctly exports namespace and auth data * close modal on download * test making a service? * fix monthly attrs * update csv content format * remove component and make downloadCsv a service * update function name * wip//add warning labels, fixing up current and history tabs * wip//clean up serializer fix with real data * fix link styling: * add conditionals for no data, add warning for 1.9 counting changes * naming comment * fix tooltip formatting * fix number format and consolidate actions * remove outdated test * add revokeObjectURL and rename variable * fix errors and empty state views when no activity data at all * fix end time error * fix comment * return truncating to serializer * PR review cleanup * return new object
11 lines
317 B
JavaScript
11 lines
317 B
JavaScript
import Model, { attr } from '@ember-data/model';
|
|
export default class Activity extends Model {
|
|
@attr('string') responseTimestamp;
|
|
@attr('array') byNamespace;
|
|
@attr('array') formattedEndTime;
|
|
@attr('array') formattedStartTime;
|
|
@attr('string') startTime;
|
|
@attr('string') endTime;
|
|
@attr('object') total;
|
|
}
|