microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.64 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/Translation/TranslationContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,EAAE,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB","file":"TranslationContext.d.ts","sourcesContent":["//\r\n// Copyright (c) Microsoft. All rights reserved.\r\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\r\n//\r\n\r\nimport { TranslationOutput } from \"./TranslationOutput\";\r\nimport { OnSuccess } from \"./OnSuccess\";\r\nimport { OnError } from \"./OnError\";\r\nimport { OnPassthrough } from \"./OnPassthrough\";\r\n\r\n/**\r\n * The json paylaod for translation in speech.context\r\n */\r\nexport interface TranslationContext {\r\n /**\r\n * The target languages.\r\n */\r\n targetLanguages: string[];\r\n\r\n /**\r\n * The output.\r\n */\r\n output?: TranslationOutput;\r\n\r\n /**\r\n * The on success.\r\n */\r\n onSuccess?: OnSuccess;\r\n\r\n /**\r\n * The on error.\r\n */\r\n onError?: OnError;\r\n\r\n /**\r\n * The on passthrough.\r\n */\r\n onPassthrough?: OnPassthrough;\r\n\r\n /**\r\n * The category\r\n */\r\n category?: string;\r\n}\r\n"]}