Update targetFor function signature to use AbletonAutomationTarget

This commit is contained in:
2026-07-14 07:56:53 +02:00
parent 6e4fc9fbf7
commit 50ebfea666

View File

@@ -121,7 +121,12 @@ function setLive10SampleReference(fileRef: any, sampleName: string) {
fileRef.LivePackId = { '@Value': '' }; fileRef.LivePackId = { '@Value': '' };
} }
function targetFor(parameter: any, maxValue?: number, soundLength?: number, invertValue?: boolean) { function targetFor(
parameter: any,
maxValue?: number,
soundLength?: number,
invertValue?: boolean,
): AbletonAutomationTarget {
const automationTarget = const automationTarget =
parameter?.AutomationTarget?.['@Id'] === undefined parameter?.AutomationTarget?.['@Id'] === undefined
? undefined ? undefined