import { inject , injectable } from 'inversify' ; import AbstractStorageBaseModel from '../AbstractStorageBaseModel' ; import IStorageOperationModel from '../IStorageOperationModel' ; import { IRecordedSelectStreamSettingStorageModel , IRecordedSelectStreamSettingValue } from './IRecordedSelectStreamSettingStorageModel' ; @ injectable ( ) export default class RecordedSelectStreamSettingStorageModel extends AbstractStorageBaseModel < IRecordedSelectStreamSettingValue > implements IRecordedSelectStreamSettingStorageModel { constructor ( @ inject ( 'IStorageOperationModel' ) op ) { super ( op ) ; } public getDefaultValue ( ) { return { type : 'WebM' , mode : 0 , } ; } public getStorageKey ( ) { return 'RecordedSelectStreamSetting' ; } }