mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
perf(tooling): Upgrade to TypeScript 4.8 (#4207)
* ⬆️ Upgrade to TypeScript 4.8 * 🔥 Remove unneeded setting * 📦 Update `package-lock.json` * ⏪ Restore `skipLibCheck` * 📦 Re-update `package-lock.json` * ♻️ Apply feedback * ♻️ Add check to new WhatsApp node * 📦 Update `package-lock.json` * Update package-lock.json * ran `npm run lintfix` Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -382,42 +382,44 @@ export class AwsTranscribe implements INodeType {
|
||||
body.LanguageCode = this.getNodeParameter('languageCode', i) as string;
|
||||
}
|
||||
|
||||
if (options.channelIdentification) {
|
||||
Object.assign(body.Settings, {
|
||||
ChannelIdentification: options.channelIdentification,
|
||||
});
|
||||
}
|
||||
if (body.Settings) {
|
||||
if (options.channelIdentification) {
|
||||
Object.assign(body.Settings, {
|
||||
ChannelIdentification: options.channelIdentification,
|
||||
});
|
||||
}
|
||||
|
||||
if (options.maxAlternatives) {
|
||||
Object.assign(body.Settings, {
|
||||
ShowAlternatives: true,
|
||||
MaxAlternatives: options.maxAlternatives,
|
||||
});
|
||||
}
|
||||
if (options.maxAlternatives) {
|
||||
Object.assign(body.Settings, {
|
||||
ShowAlternatives: true,
|
||||
MaxAlternatives: options.maxAlternatives,
|
||||
});
|
||||
}
|
||||
|
||||
if (options.maxSpeakerLabels) {
|
||||
Object.assign(body.Settings, {
|
||||
ShowSpeakerLabels: true,
|
||||
MaxSpeakerLabels: options.maxSpeakerLabels,
|
||||
});
|
||||
}
|
||||
if (options.maxSpeakerLabels) {
|
||||
Object.assign(body.Settings, {
|
||||
ShowSpeakerLabels: true,
|
||||
MaxSpeakerLabels: options.maxSpeakerLabels,
|
||||
});
|
||||
}
|
||||
|
||||
if (options.vocabularyName) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyName: options.vocabularyName,
|
||||
});
|
||||
}
|
||||
if (options.vocabularyName) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyName: options.vocabularyName,
|
||||
});
|
||||
}
|
||||
|
||||
if (options.vocabularyFilterName) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyFilterName: options.vocabularyFilterName,
|
||||
});
|
||||
}
|
||||
if (options.vocabularyFilterName) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyFilterName: options.vocabularyFilterName,
|
||||
});
|
||||
}
|
||||
|
||||
if (options.vocabularyFilterMethod) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyFilterMethod: options.vocabularyFilterMethod,
|
||||
});
|
||||
if (options.vocabularyFilterMethod) {
|
||||
Object.assign(body.Settings, {
|
||||
VocabularyFilterMethod: options.vocabularyFilterMethod,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
const action = 'Transcribe.StartTranscriptionJob';
|
||||
|
||||
Reference in New Issue
Block a user