refactor: 💡 Change bytes to be strings (#161)

This commit is contained in:
Zhihe Li authored and GitHub committed 2023-03-28 16:20:40 -04:00
1 parent 179cc1d0e2
commit 3693ee88c0
6 files changed
+18 -12

No files matched your search

@@ -12,14 +12,14 @@ import { attr } from '@ember-data/model';
export default class GeneratedChannelRecordingModel extends BaseModel {
// =attributes
@attr('number', {
@attr('string', {
description:
'The total number of bytes uploaded from the client in this Channel.',
readOnly: true,
})
bytes_up;
@attr('number', {
@attr('string', {
description:
'The total number of bytes downloaded to the client in this Channel.',
readOnly: true,
@@ -19,14 +19,14 @@ export default class GeneratedConnectionRecordingModel extends BaseModel {
})
connection_id;
@attr('number', {
@attr('string', {
description:
'The total number of bytes uploaded from the client in this Connection.',
readOnly: true,
})
bytes_up;
@attr('number', {
@attr('string', {
description:
'The total number of bytes downloaded to the client in this Connection.',
readOnly: true,
@@ -36,14 +36,14 @@ export default class GeneratedSessionRecordingModel extends BaseModel {
})
session_id;
@attr('number', {
@attr('string', {
description:
'The total number of bytes uploaded from the client in the Session.',
readOnly: true,
})
bytes_up;
@attr('number', {
@attr('string', {
description:
'The total number of bytes downloaded to the client in the Session.',
readOnly: true,