Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SwissdataGlobal

Index

Constructors

constructor

Properties

config

container

container: Container

ensureProfiles

ensureProfiles: EnsureModel<typeof ProfileModel>

ensureUsers

ensureUsers: EnsureModel<typeof UserModel>

eventAggregator

eventAggregator: EventAggregator

i18n

i18n: I18N

Optional ipStackResponse

ipStackResponse: IpStackResponse

log

log: Logger

ready

ready: boolean = false

router

router: Router

sdLogin

sdLogin: SdLogin

sentry

sentry: SentryHelper

state

state: AppState

Private stateLanguageSubscription

stateLanguageSubscription: any

Private stateSubscription

stateSubscription: any

swissdataApi

swissdataApi: SwissdataApi

Methods

afterEnsuringAuthentication

  • afterEnsuringAuthentication(): Promise<any>

beforeEnsuringAuthentication

  • beforeEnsuringAuthentication(): Promise<any>

bootstrap

debug

  • debug(message: string, ...rest: any[]): void

error

  • error(message: string, ...rest: any[]): void

Private getCurrentRouteASAP

  • getCurrentRouteASAP(): Promise<string>

getLocale

  • getLocale(): string

imageSrc

  • imageSrc(modelRoute: "string", fieldname: "string", previewFormat?: string): string

info

  • info(message: string, ...rest: any[]): void

isReady

  • isReady(): Promise<void>

lastUpdateText

  • lastUpdateText(instance: Model): Promise<string>

listenToRouteAndSaveInState

  • listenToRouteAndSaveInState(): void

navigate

  • navigate(fragment: string, options?: any): boolean

navigateToRoute

  • navigateToRoute(route: string, params?: any, options?: any): boolean

onAnyLoad

  • onAnyLoad(): Promise<any>

onAuthenticatedLoad

  • onAuthenticatedLoad(): Promise<any>

onLogin

  • onLogin(): Promise<any>

onLogout

  • onLogout(): Promise<any>

onUnauthenticatedLoad

  • onUnauthenticatedLoad(): Promise<any>

popError

  • popError(event: any): void

publish

  • publish(event: any, data?: any): void

registerActions

  • registerActions(): void

restoreRouteFromState

  • restoreRouteFromState(state: AppState, onlyOnSpecificRouteNames?: string[]): Promise<any>

start

  • start(): Promise<any>

subscribe

  • subscribe(event: any, callback: Function): Subscription

subscribeOnce

  • subscribeOnce(event: any, callback: Function): Subscription

updateAllModelsFromApi

  • updateAllModelsFromApi(ignoreError?: boolean): Promise<any>

updateModelsFromApi

  • updateModelsFromApi(modelName: string, ignoreError?: boolean): Promise<any>

warn

  • warn(message: string, ...rest: any[]): void

Generated using TypeDoc