@openfin/bloomberg
Version:
Connect apps running in OpenFin with the Bloomberg Terminal.
27 lines (26 loc) • 828 B
TypeScript
import type * as fdc3 from '@finos/fdc3';
/**
* Bloomberg security market sector.
*/
export type BloombergMarketSector = 'Comdty' | 'Corp' | 'Curncy' | 'Equity' | 'Govt' | 'Index' | 'M-Mkt' | 'Mtge' | 'Muni' | 'Pfd';
/**
* Bloomberg Terminal panel ID.
*
* @group Types
*/
export type BloombergPanel = 0 | 1 | 2 | 3;
export type Subscription = {
unsubscribe: () => void | Promise<void>;
};
/**
* Specifies a service endpoint for Bloomberg’s Terminal Connect API.
*
* This will either be the local service running on the same machine as the Terminal itself, or the remote service hosted by Bloomberg.
*
* @group Types
*/
export type TerminalConnectService = 'local' | 'remote';
export type TerminalConnectSubscription = Subscription & {
id: string;
listener: (context: fdc3.Context) => Promise<void>;
};