2023-06-19 16:23:53 +00:00
|
|
|
/**
|
|
|
|
|
* 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 {
|
2023-08-14 16:15:26 -07:00
|
|
|
@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
|
|
|
}
|