Skip to content

Commit

Permalink
Update packages/timeline-state-resolver/src/integrations/atem/diffSta…
Browse files Browse the repository at this point in the history
…te.ts

Co-authored-by: Johan Nyman <[email protected]>
  • Loading branch information
Julusian and nytamin authored Sep 28, 2023
1 parent 10bf06f commit b9ff5a0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import {
Mappings,
} from 'timeline-state-resolver-types'

/**
Returns an option object to be passed into AtemState.diffStates().
Based on the mappings, these options enables/disables certain areas-of-interest in the diff atem state.
*/
export function createDiffOptions(mappings: Mappings): DeepComplete<Diff.SectionsToDiff> {
// Find the auxes that have mappings
const auxMappings = Object.values<Mapping<unknown>>(mappings)
Expand Down

0 comments on commit b9ff5a0

Please sign in to comment.