-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBS refactoring (Sofie 2486) #316
Conversation
import _ = require('underscore') | ||
import { OBSCommandWithContext, OBSCommandWithContextTyped } from '.' | ||
import { OBSDeviceState, OBSScene, OBSSceneItem, OBSInputState } from './state' | ||
import { OBSRequest as OBSRequestName } from 'timeline-state-resolver-types' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rename is unnecessary (?)
@@ -1,35 +1,43 @@ | |||
import { DeviceType } from '..' | |||
|
|||
export enum OBSRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This enum is only ever used in TSR, not externally. So we could move it into the TSR package instead.
(
While we're at it, add this comment as well:
/** values are derived from keyof OBSRequestTypes in obs-websocket-js */
)
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## release51 #316 +/- ##
=============================================
+ Coverage 46.76% 48.59% +1.82%
=============================================
Files 110 113 +3
Lines 9956 9991 +35
Branches 2450 2478 +28
=============================================
+ Hits 4656 4855 +199
+ Misses 4823 4685 -138
+ Partials 477 451 -26 ☔ View full report in Codecov by Sentry. |
4a3a4e9
to
2c20d0b
Compare
This reverts commit bcd87a6.
Currently using a github repo instead of the NPM package awaiting this PR obs-websocket-community-projects/obs-websocket-js#347