UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 1.55 kB
{"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":["//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\n\nimport { TranslationOutput } from \"./TranslationOutput\";\nimport { OnSuccess } from \"./OnSuccess\";\nimport { OnError } from \"./OnError\";\nimport { OnPassthrough } from \"./OnPassthrough\";\n\n/**\n * The json paylaod for translation in speech.context\n */\nexport interface TranslationContext {\n /**\n * The target languages.\n */\n targetLanguages: string[];\n\n /**\n * The output.\n */\n output?: TranslationOutput;\n\n /**\n * The on success.\n */\n onSuccess?: OnSuccess;\n\n /**\n * The on error.\n */\n onError?: OnError;\n\n /**\n * The on passthrough.\n */\n onPassthrough?: OnPassthrough;\n\n /**\n * The category\n */\n category?: string;\n}\n"]}