@microsoft/agents-hosting-extensions-teams
Version:
Microsoft 365 Agents SDK for JavaScript. Teams extensions
18 lines • 594 B
JavaScript
;
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.channelInfoZodSchema = void 0;
const zod_1 = require("zod");
const channelTypes_1 = require("./channelTypes");
/**
* Zod schema for validating ChannelInfo objects.
*/
exports.channelInfoZodSchema = zod_1.z.object({
id: zod_1.z.string().min(1).optional(),
name: zod_1.z.string().min(1).optional(),
type: channelTypes_1.channelTypeZodSchema.optional()
});
//# sourceMappingURL=channelInfo.js.map