Options
Menu

Class LocalDashboardRepository

class

LocalDashboardRepository

uses

DashboardRepository

Index

Constructor methods

constructor

Properties

private localStorage

localStorage: WindowLocalStorage

workspace

workspace: Workspace

Methods

cloneDashboard

  • cloneDashboard(dashboard: any): Object
  • Parameters

    • dashboard: any

    Returns Object

createDashboard

  • createDashboard(options: any): { title: string; group: string; widgets: any[]; }
  • Parameters

    • options: any

    Returns { title: string; group: string; widgets: any[]; }

deleteDashboards

  • deleteDashboards(array: Array<any>, fn: any)
  • Parameters

    • array: Array<any>
    • fn: any

getDashboard

  • getDashboard(id: string, fn: any)
  • Parameters

    • id: string
    • fn: any

getDashboards

  • getDashboards(fn: any)
  • Parameters

    • fn: any

getType

  • getType(): string
  • Returns string

isValid

  • isValid(): boolean
  • Returns boolean

private loadDashboards

  • loadDashboards(): any
  • Returns any

putDashboards

  • putDashboards(array: Array<any>, commitMessage: string, fn: any)
  • Parameters

    • array: Array<any>
    • commitMessage: string
    • fn: any

private storeDashboards

  • storeDashboards(dashboards: Array<any>): any
  • Parameters

    • dashboards: Array<any>

    Returns any

Generated using TypeDoc