Files
threshold-ui/addons/api/addon/models/connection-recording.js
T

20 lines
551 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2023-03-16 13:49:04 -04:00
import GeneratedConnectionRecordingModel from '../generated/models/connection-recording';
import { belongsTo, hasMany } from '@ember-data/model';
export default class ConnectionRecordingModel extends GeneratedConnectionRecordingModel {
@belongsTo('session-recording', {
async: false,
inverse: 'connection_recordings',
})
session_recording;
@hasMany('channel-recording', {
async: false,
inverse: 'connection_recording',
})
channel_recordings;
2023-03-16 13:49:04 -04:00
}