UNPKG

@microsoft/agents-activity

Version:

Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.

31 lines 956 B
"use strict"; /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.textFormatTypesZodSchema = exports.TextFormatTypes = void 0; const zod_1 = require("zod"); /** * Enum representing text format types. */ var TextFormatTypes; (function (TextFormatTypes) { /** * Represents text formatted using Markdown. */ TextFormatTypes["Markdown"] = "markdown"; /** * Represents plain text without any formatting. */ TextFormatTypes["Plain"] = "plain"; /** * Represents text formatted using XML. */ TextFormatTypes["Xml"] = "xml"; })(TextFormatTypes || (exports.TextFormatTypes = TextFormatTypes = {})); /** * Zod schema for validating TextFormatTypes enum values. */ exports.textFormatTypesZodSchema = zod_1.z.enum(['markdown', 'plain', 'xml']); //# sourceMappingURL=textFormatTypes.js.map