UNPKG

express-msteams-host

Version:
19 lines 823 B
"use strict"; // Copyright (c) Wictor Wilén. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.ConnectorDeclaration = void 0; /** * Decorator function for Office 365 Connectors * @param connectEndpoint The endpoint (HTTP GET) for the Connector connect end point (typically '/api/connector/connect') * @param pingEndpoint The endpoint (HTTP GET) for the Ping method (typically '/api/connector/ping') */ function ConnectorDeclaration(connectEndpoint, pingEndpoint) { return function (target) { target.__isConnector = true; target.__connectEndpoint = connectEndpoint; target.__pingEndpoint = pingEndpoint; }; } exports.ConnectorDeclaration = ConnectorDeclaration; //# sourceMappingURL=ConnectorDeclaration.js.map