From 9f98967c35939bc702dade744b64c8e692f424a9 Mon Sep 17 00:00:00 2001 From: ianshade Date: Wed, 10 Jan 2024 14:02:45 +0100 Subject: [PATCH] chore: rename to achieve camelcasing of vMix filenames --- .../src/integrations/vmix/__tests__/mockState.ts | 2 +- ...ixPollingTimer.spec.ts => vMixPollingTimer.spec.ts} | 2 +- ...WMixStateDiffer.spec.ts => vMixStateDiffer.spec.ts} | 2 +- ...chronizer.spec.ts => vMixStateSynchronizer.spec.ts} | 2 +- ...rter.spec.ts => vMixTimelineStateConverter.spec.ts} | 4 ++-- ...lStateParser.spec.ts => vMixXmlStateParser.spec.ts} | 4 ++-- .../src/integrations/vmix/index.ts | 10 +++++----- .../vmix/{WMixPollingTimer.ts => vMixPollingTimer.ts} | 0 .../vmix/{WMixStateDiffer.ts => vMixStateDiffer.ts} | 0 ...ixStateSynchronizer.ts => vMixStateSynchronizer.ts} | 2 +- ...StateConverter.ts => vMixTimelineStateConverter.ts} | 2 +- .../{WMixXmlStateParser.ts => vMixXmlStateParser.ts} | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) rename packages/timeline-state-resolver/src/integrations/vmix/__tests__/{WMixPollingTimer.spec.ts => vMixPollingTimer.spec.ts} (98%) rename packages/timeline-state-resolver/src/integrations/vmix/__tests__/{WMixStateDiffer.spec.ts => vMixStateDiffer.spec.ts} (95%) rename packages/timeline-state-resolver/src/integrations/vmix/__tests__/{WMixStateSynchronizer.spec.ts => vMixStateSynchronizer.spec.ts} (97%) rename packages/timeline-state-resolver/src/integrations/vmix/__tests__/{WMixTimelineStateConverter.spec.ts => vMixTimelineStateConverter.spec.ts} (97%) rename packages/timeline-state-resolver/src/integrations/vmix/__tests__/{WMixXmlStateParser.spec.ts => vMixXmlStateParser.spec.ts} (98%) rename packages/timeline-state-resolver/src/integrations/vmix/{WMixPollingTimer.ts => vMixPollingTimer.ts} (100%) rename packages/timeline-state-resolver/src/integrations/vmix/{WMixStateDiffer.ts => vMixStateDiffer.ts} (100%) rename packages/timeline-state-resolver/src/integrations/vmix/{WMixStateSynchronizer.ts => vMixStateSynchronizer.ts} (97%) rename packages/timeline-state-resolver/src/integrations/vmix/{WMixTimelineStateConverter.ts => vMixTimelineStateConverter.ts} (99%) rename packages/timeline-state-resolver/src/integrations/vmix/{WMixXmlStateParser.ts => vMixXmlStateParser.ts} (99%) diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/mockState.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/mockState.ts index 16e7ad880..c51e1610c 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/mockState.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/mockState.ts @@ -1,5 +1,5 @@ import { VMixTransitionType } from 'timeline-state-resolver-types' -import { TSR_INPUT_PREFIX, VMixState, VMixStateExtended } from '../WMixStateDiffer' +import { TSR_INPUT_PREFIX, VMixState, VMixStateExtended } from '../vMixStateDiffer' export const ADDED_INPUT_NAME_1 = `${TSR_INPUT_PREFIX}C:\\someVideo.mp4` export const ADDED_INPUT_NAME_2 = `${TSR_INPUT_PREFIX}C:\\anotherVideo.mp4` diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixPollingTimer.spec.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixPollingTimer.spec.ts similarity index 98% rename from packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixPollingTimer.spec.ts rename to packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixPollingTimer.spec.ts index c7852a021..ddfabbde4 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixPollingTimer.spec.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixPollingTimer.spec.ts @@ -1,4 +1,4 @@ -import { VMixPollingTimer } from '../WMixPollingTimer' +import { VMixPollingTimer } from '../vMixPollingTimer' describe('VMixPollingTimer', () => { beforeEach(() => { diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateDiffer.spec.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateDiffer.spec.ts similarity index 95% rename from packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateDiffer.spec.ts rename to packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateDiffer.spec.ts index e4a7630ef..6f5d21458 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateDiffer.spec.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateDiffer.spec.ts @@ -1,5 +1,5 @@ import { VMixCommand } from 'timeline-state-resolver-types' -import { VMixStateDiffer } from '../WMixStateDiffer' +import { VMixStateDiffer } from '../vMixStateDiffer' import { makeMockFullState } from './mockState' function createTestee(): VMixStateDiffer { diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateSynchronizer.spec.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateSynchronizer.spec.ts similarity index 97% rename from packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateSynchronizer.spec.ts rename to packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateSynchronizer.spec.ts index de0b6f9fb..646a65c12 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixStateSynchronizer.spec.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixStateSynchronizer.spec.ts @@ -1,4 +1,4 @@ -import { VMixStateSynchronizer } from '../WMixStateSynchronizer' +import { VMixStateSynchronizer } from '../vMixStateSynchronizer' import { ADDED_INPUT_NAME_1, ADDED_INPUT_NAME_2, makeMockFullState, makeMockReportedState } from './mockState' describe('VMixStateSynchronizer', () => { diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixTimelineStateConverter.spec.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixTimelineStateConverter.spec.ts similarity index 97% rename from packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixTimelineStateConverter.spec.ts rename to packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixTimelineStateConverter.spec.ts index 6319bbfdc..8dca2276b 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixTimelineStateConverter.spec.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixTimelineStateConverter.spec.ts @@ -9,8 +9,8 @@ import { TimelineContentVMixAny, VMixInputType, } from 'timeline-state-resolver-types' -import { VMixTimelineStateConverter } from '../WMixTimelineStateConverter' -import { VMixOutput, VMixStateDiffer } from '../WMixStateDiffer' +import { VMixTimelineStateConverter } from '../vMixTimelineStateConverter' +import { VMixOutput, VMixStateDiffer } from '../vMixStateDiffer' import { prefixAddedInput } from './mockState' function createTestee(): VMixTimelineStateConverter { diff --git a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixXmlStateParser.spec.ts b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixXmlStateParser.spec.ts similarity index 98% rename from packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixXmlStateParser.spec.ts rename to packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixXmlStateParser.spec.ts index 84fe903a1..3c4d53aa3 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/__tests__/WMixXmlStateParser.spec.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/__tests__/vMixXmlStateParser.spec.ts @@ -1,6 +1,6 @@ import { VMixTransitionType } from 'timeline-state-resolver-types' -import { VMixState } from '../WMixStateDiffer' -import { VMixXmlStateParser } from '../WMixXmlStateParser' +import { VMixState } from '../vMixStateDiffer' +import { VMixXmlStateParser } from '../vMixXmlStateParser' import { makeMockVMixXmlState } from './vmixMock' import { prefixAddedInput } from './mockState' diff --git a/packages/timeline-state-resolver/src/integrations/vmix/index.ts b/packages/timeline-state-resolver/src/integrations/vmix/index.ts index 48cb1fd8b..fa49f4f75 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/index.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/index.ts @@ -17,12 +17,12 @@ import { VmixActions, } from 'timeline-state-resolver-types' import { t } from '../../lib' -import { VMixState, VMixStateDiffer, VMixStateExtended } from './WMixStateDiffer' +import { VMixState, VMixStateDiffer, VMixStateExtended } from './vMixStateDiffer' import { CommandContext, VMixStateCommandWithContext } from './vMixCommands' -import { MappingsVmix, VMixTimelineStateConverter } from './WMixTimelineStateConverter' -import { VMixXmlStateParser } from './WMixXmlStateParser' -import { VMixPollingTimer } from './WMixPollingTimer' -import { VMixStateSynchronizer } from './WMixStateSynchronizer' +import { MappingsVmix, VMixTimelineStateConverter } from './vMixTimelineStateConverter' +import { VMixXmlStateParser } from './vMixXmlStateParser' +import { VMixPollingTimer } from './vMixPollingTimer' +import { VMixStateSynchronizer } from './vMixStateSynchronizer' /** * Default time, in milliseconds, for when we should poll vMix to query its actual state. diff --git a/packages/timeline-state-resolver/src/integrations/vmix/WMixPollingTimer.ts b/packages/timeline-state-resolver/src/integrations/vmix/vMixPollingTimer.ts similarity index 100% rename from packages/timeline-state-resolver/src/integrations/vmix/WMixPollingTimer.ts rename to packages/timeline-state-resolver/src/integrations/vmix/vMixPollingTimer.ts diff --git a/packages/timeline-state-resolver/src/integrations/vmix/WMixStateDiffer.ts b/packages/timeline-state-resolver/src/integrations/vmix/vMixStateDiffer.ts similarity index 100% rename from packages/timeline-state-resolver/src/integrations/vmix/WMixStateDiffer.ts rename to packages/timeline-state-resolver/src/integrations/vmix/vMixStateDiffer.ts diff --git a/packages/timeline-state-resolver/src/integrations/vmix/WMixStateSynchronizer.ts b/packages/timeline-state-resolver/src/integrations/vmix/vMixStateSynchronizer.ts similarity index 97% rename from packages/timeline-state-resolver/src/integrations/vmix/WMixStateSynchronizer.ts rename to packages/timeline-state-resolver/src/integrations/vmix/vMixStateSynchronizer.ts index 4089d3019..cb712b170 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/WMixStateSynchronizer.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/vMixStateSynchronizer.ts @@ -1,4 +1,4 @@ -import { VMixInput, VMixState, VMixStateExtended } from './WMixStateDiffer' +import { VMixInput, VMixState, VMixStateExtended } from './vMixStateDiffer' import { EnforceableVMixInputStateKeys } from '.' import { VMixInputOverlays, VMixTransform } from 'timeline-state-resolver-types' diff --git a/packages/timeline-state-resolver/src/integrations/vmix/WMixTimelineStateConverter.ts b/packages/timeline-state-resolver/src/integrations/vmix/vMixTimelineStateConverter.ts similarity index 99% rename from packages/timeline-state-resolver/src/integrations/vmix/WMixTimelineStateConverter.ts rename to packages/timeline-state-resolver/src/integrations/vmix/vMixTimelineStateConverter.ts index 069bd6040..8c37fb7c6 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/WMixTimelineStateConverter.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/vMixTimelineStateConverter.ts @@ -10,7 +10,7 @@ import { VMixTransition, VMixTransitionType, } from 'timeline-state-resolver-types' -import { TSR_INPUT_PREFIX, VMixInput, VMixInputAudio, VMixState, VMixStateExtended } from './WMixStateDiffer' +import { TSR_INPUT_PREFIX, VMixInput, VMixInputAudio, VMixState, VMixStateExtended } from './vMixStateDiffer' import * as deepMerge from 'deepmerge' import _ = require('underscore') diff --git a/packages/timeline-state-resolver/src/integrations/vmix/WMixXmlStateParser.ts b/packages/timeline-state-resolver/src/integrations/vmix/vMixXmlStateParser.ts similarity index 99% rename from packages/timeline-state-resolver/src/integrations/vmix/WMixXmlStateParser.ts rename to packages/timeline-state-resolver/src/integrations/vmix/vMixXmlStateParser.ts index 1b4539d43..e204dc6bb 100644 --- a/packages/timeline-state-resolver/src/integrations/vmix/WMixXmlStateParser.ts +++ b/packages/timeline-state-resolver/src/integrations/vmix/vMixXmlStateParser.ts @@ -1,5 +1,5 @@ import * as xml from 'xml-js' -import { TSR_INPUT_PREFIX, VMixInput, VMixInputAudio, VMixMix, VMixState } from './WMixStateDiffer' +import { TSR_INPUT_PREFIX, VMixInput, VMixInputAudio, VMixMix, VMixState } from './vMixStateDiffer' import { InferredPartialInputStateKeys } from './connection' import { VMixTransitionType } from 'timeline-state-resolver-types'