@microsoft/agents-activity
Version:
Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.
27 lines • 921 B
JavaScript
;
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.attachmentLayoutTypesZodSchema = exports.AttachmentLayoutTypes = void 0;
const zod_1 = require("zod");
/**
* Enum representing the layout types for attachments.
*/
var AttachmentLayoutTypes;
(function (AttachmentLayoutTypes) {
/**
* Displays attachments in a list format.
*/
AttachmentLayoutTypes["List"] = "list";
/**
* Displays attachments in a carousel format.
*/
AttachmentLayoutTypes["Carousel"] = "carousel";
})(AttachmentLayoutTypes || (exports.AttachmentLayoutTypes = AttachmentLayoutTypes = {}));
/**
* Zod schema for validating attachment layout types.
*/
exports.attachmentLayoutTypesZodSchema = zod_1.z.enum(['list', 'carousel']);
//# sourceMappingURL=attachmentLayoutTypes.js.map