ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
26 lines (25 loc) • 866 B
TypeScript
export declare class CrossbarResponseModel {
data: any;
received: string;
topic: string;
type: string;
constructor(ts?: string, topic?: string);
}
export declare class CrossbarSendModel {
data: any;
type: string;
}
/**
* Crossbar configuration object to be provided via "forRoot" method.
*
* @property {string} xbarUrl the URL of your crossbar websocket server
* @property {string[]} xbarTopics the list of topics to listen to on the crossbar websocket server
* @property {string} xbarTopicsPrefix prefix to be added to all topics, usually indicating the environment.
* For example, on the Cylon xbar server, prefixes 'cb.preprod' and 'cb.prod' are used. Leave empty if none.
*/
export declare class CrossbarConfigModel {
xbarUrl: string;
xbarTopics: string[];
xbarTopicsPrefix?: string;
constructor(props: any);
}