UNPKG

yahoo-swiv

Version:

A web-based exploratory visualization UI for Druid.io

44 lines (43 loc) 1.51 kB
import { Instance } from 'immutable-class'; import { Timezone } from 'chronoshift'; import { ExternalView, ExternalViewValue } from '../external-view/external-view'; export interface CustomizationValue { title?: string; headerBackground?: string; customLogoSvg?: string; externalViews?: ExternalView[]; timezones?: Timezone[]; logoutHref?: string; } export interface CustomizationJS { title?: string; headerBackground?: string; customLogoSvg?: string; externalViews?: ExternalViewValue[]; timezones?: string[]; logoutHref?: string; } export declare class Customization implements Instance<CustomizationValue, CustomizationJS> { static DEFAULT_TITLE: string; static DEFAULT_TIMEZONES: Timezone[]; static DEFAULT_LOGOUT_HREF: string; static isCustomization(candidate: any): candidate is Customization; static fromJS(parameters: CustomizationJS): Customization; headerBackground: string; customLogoSvg: string; externalViews: ExternalView[]; timezones: Timezone[]; title: string; logoutHref: string; constructor(parameters: CustomizationValue); valueOf(): CustomizationValue; toJS(): CustomizationJS; toJSON(): CustomizationJS; toString(): string; equals(other: Customization): boolean; getTitle(version: string): string; change(propertyName: string, newValue: any): Customization; changeTitle(title: string): Customization; getTimezones(): Timezone[]; getLogoutHref(): string; }