diff --git a/deploy/default.gbui/public/index.html b/deploy/default.gbui/public/index.html index 436ea80b..bdcdb980 100644 --- a/deploy/default.gbui/public/index.html +++ b/deploy/default.gbui/public/index.html @@ -34,27 +34,25 @@ - - - - - - - - General Bots Community Edition | pragmatismo.io + + + + + + + + General Bots Community Edition | pragmatismo.io - +
- \ No newline at end of file diff --git a/deploy/default.gbui/src/GBUIApp.js b/deploy/default.gbui/src/GBUIApp.js index f8d7186b..2d726446 100644 --- a/deploy/default.gbui/src/GBUIApp.js +++ b/deploy/default.gbui/src/GBUIApp.js @@ -43,8 +43,8 @@ import { SpeechRecognizer } from "botframework-webchat/CognitiveServices"; import { SpeechSynthesizer } from "botframework-webchat/CognitiveServices"; import { SynthesisGender } from "botframework-webchat/CognitiveServices"; import { Chat } from "botframework-webchat"; -import { BotChat } from "botframework-webchat"; -import { Speech } from "botframework-webchat/botchat"; +// => não está em uso import { BotChat } from "botframework-webchat"; +// => não está em uso import { Speech } from "botframework-webchat/botchat"; import GBPowerBIPlayer from "./players/GBPowerBIPlayer.js"; class GBUIApp extends React.Component { diff --git a/deploy/kb.gbapp/services/KBService.ts b/deploy/kb.gbapp/services/KBService.ts index 24a4750c..cc0e5ad2 100644 --- a/deploy/kb.gbapp/services/KBService.ts +++ b/deploy/kb.gbapp/services/KBService.ts @@ -444,6 +444,7 @@ export class KBService { }); } ); + // TODO Use envoding based on BOM Fs.createReadStream(filePath, { encoding: "UCS-2" }).pipe(parser); diff --git a/deploy/whatsapp.gblib/services/WhatsappDirectLine.ts b/deploy/whatsapp.gblib/services/WhatsappDirectLine.ts index 8eb67ff5..7201f349 100644 --- a/deploy/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/deploy/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -205,7 +205,7 @@ export class WhatsappDirectLine extends GBService { // Ignore own messages. // TODO: this.botId instead of "general-bot-9672a8d3" activities = activities.filter((m) => { return (m.from.id === "GeneralBot-Netshoes") && m.type === "message" }); - + if (activities.length) { // Print other messages. diff --git a/tsconfig.json b/tsconfig.json index b02300c9..3d6e628a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "keyofStringsOnly": true, + // "keyofStringsOnly": true, // Habilitar apenas para Typescript 2.9 "mapRoot": "./dist/", "module": "commonjs", "moduleResolution": "node",