import { Message } from './message.type'; export interface WindowData { heartbeat: number; id: string; name: string; } export interface KnownAppWindow extends WindowData { stalled: boolean; self: boolean; } /** * Represents a window with the current application how it is stored * in the localstorage. It has an id, name, heartbeat represented in a timestamp * and an array of messages that that window sent out. * * It's named "AppWindow" to avoid confusion with the type Window * of the global variable "window". */ export interface AppWindow extends WindowData { messages: Message[]; } //# sourceMappingURL=window.type.d.ts.map