UNPKG

ts-aspnetcore-apigateway-client

Version:

TypeScript Client for Api Gateway built using AspNetCore.ApiGateway package.

85 lines (84 loc) 3.53 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.EventSourceRoute = exports.HubRoute = exports.Route = exports.RouteBase = exports.EventSourceOrchestration = exports.HubOrchestration = exports.ApiOrchestration = exports.OrchestationType = exports.Orchestration = void 0; var Orchestration = /** @class */ (function () { function Orchestration() { } return Orchestration; }()); exports.Orchestration = Orchestration; var OrchestationType; (function (OrchestationType) { OrchestationType[OrchestationType["Api"] = 0] = "Api"; OrchestationType[OrchestationType["Hub"] = 1] = "Hub"; OrchestationType[OrchestationType["EventSource"] = 2] = "EventSource"; })(OrchestationType = exports.OrchestationType || (exports.OrchestationType = {})); var ApiOrchestration = /** @class */ (function (_super) { __extends(ApiOrchestration, _super); function ApiOrchestration() { return _super !== null && _super.apply(this, arguments) || this; } return ApiOrchestration; }(Orchestration)); exports.ApiOrchestration = ApiOrchestration; var HubOrchestration = /** @class */ (function (_super) { __extends(HubOrchestration, _super); function HubOrchestration() { return _super !== null && _super.apply(this, arguments) || this; } return HubOrchestration; }(Orchestration)); exports.HubOrchestration = HubOrchestration; var EventSourceOrchestration = /** @class */ (function (_super) { __extends(EventSourceOrchestration, _super); function EventSourceOrchestration() { return _super !== null && _super.apply(this, arguments) || this; } return EventSourceOrchestration; }(Orchestration)); exports.EventSourceOrchestration = EventSourceOrchestration; var RouteBase = /** @class */ (function () { function RouteBase() { } return RouteBase; }()); exports.RouteBase = RouteBase; var Route = /** @class */ (function (_super) { __extends(Route, _super); function Route() { return _super !== null && _super.apply(this, arguments) || this; } return Route; }(RouteBase)); exports.Route = Route; var HubRoute = /** @class */ (function (_super) { __extends(HubRoute, _super); function HubRoute() { return _super !== null && _super.apply(this, arguments) || this; } return HubRoute; }(RouteBase)); exports.HubRoute = HubRoute; var EventSourceRoute = /** @class */ (function (_super) { __extends(EventSourceRoute, _super); function EventSourceRoute() { return _super !== null && _super.apply(this, arguments) || this; } return EventSourceRoute; }(RouteBase)); exports.EventSourceRoute = EventSourceRoute;