UNPKG

@microsoft/botbuilder-m365

Version:

M365 extensions for Microsoft BotBuilder, Alpha release.

30 lines 920 B
"use strict"; /** * @module botbuilder-m365 */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Block = exports.BlockTypes = void 0; var BlockTypes; (function (BlockTypes) { BlockTypes[BlockTypes["Undefined"] = 0] = "Undefined"; BlockTypes[BlockTypes["Text"] = 1] = "Text"; BlockTypes[BlockTypes["Code"] = 2] = "Code"; BlockTypes[BlockTypes["Variable"] = 3] = "Variable"; })(BlockTypes = exports.BlockTypes || (exports.BlockTypes = {})); class Block { constructor() { this.content = ''; } get type() { return BlockTypes.Undefined; } renderCode(context, state, promptManager) { throw new Error(`This block doesn't support code execution`); } } exports.Block = Block; //# sourceMappingURL=Block.js.map