ts-aspnetcore-apigateway-client
Version:
TypeScript Client for Api Gateway built using AspNetCore.ApiGateway package.
40 lines (39 loc) • 1.06 kB
TypeScript
export declare class Orchestration {
Api?: string;
OrchestrationType?: OrchestationType;
}
export declare enum OrchestationType {
Api = 0,
Hub = 1,
EventSource = 2
}
export declare class ApiOrchestration extends Orchestration {
ApiRoutes?: Route[];
}
export declare class HubOrchestration extends Orchestration {
HubRoutes?: HubRoute[];
}
export declare class EventSourceOrchestration extends Orchestration {
EventSourceRoutes?: EventSourceRoute[];
}
export declare class RouteBase {
Key?: string;
}
export declare class Route extends RouteBase {
Verb?: string;
DownstreamPath?: string;
}
export declare class HubRoute extends RouteBase {
InvokeMethod?: string;
ReceiveMethod?: string;
ReceiveGroup?: string;
BroadcastType?: string;
ReceiveParameterTypes?: string[];
}
export declare class EventSourceRoute extends RouteBase {
Type?: string;
ReceiveMethod?: string;
OperationType?: string;
StreamName?: string;
GroupName?: string;
}