UNPKG

ngx-monitorias-uniandes-lib

Version:

This library is used for Monitorias-Uniandes system.

18 lines (17 loc) 786 B
import { BehaviorSubject } from 'rxjs'; export declare type Topic = 'SELECTED_ACTIVE_PERIOD' | 'UPDATED_PERIOD_DATES' | 'ACTIVATED_PERIOD' | 'DEACTIVATED_PERIOD' | 'SYNC_REQ' | 'SYNC'; export interface BusDataMessage { topic: Topic; payload?: any; } export declare class FrontendDataBusService { static readonly Topics: { SELECTED_ACTIVE_PERIOD: BehaviorSubject<any>; UPDATED_PERIOD_DATES: BehaviorSubject<any>; DEACTIVATED_PERIOD: BehaviorSubject<any>; ACTIVATED_PERIOD: BehaviorSubject<any>; }; static __constructor__: void; static toChildren(message: BusDataMessage, targetOrigin?: string, transfer?: any[]): void; static toParent(message: BusDataMessage, targetOrigin?: string, transfer?: any[]): void; }