File

src/app/actions/sheet.actions.ts

Index

Properties

Constructor

constructor(data: OpenBottomSheetData)
Parameters :
Name Type Optional
data OpenBottomSheetData No

Properties

Public data
Type : OpenBottomSheetData
Static Readonly type
Type : string
Default value : '[UPDATE] Bottom Sheet Info'
import { Report } from '../models/report.model';
import { OpenBottomSheetData } from '../models/ui.model';
import { Sheet, CompareData, SheetConfig, DOI, SelectedOrganBeforeFilter } from './../models/sheet.model';

export class FetchSheetData {
  static readonly type = '[FETCH] Sheet Data';
  constructor(public sheet: Sheet) {}
}

export class RefreshData {
  static readonly type = '[FETCH] Refresh';
}

export class FetchDataFromAssets {
  static readonly type = '[FETCH] Data from Assets';
  constructor(
    public version: string,
    public sheet: Sheet,
  ) {}
}

export class FetchAllOrganData {
  static readonly type = '[FETCH] All Organ Data';
  constructor(public sheet: Sheet) {}
}

export class FetchSelectedOrganData {
  static readonly type = '[FETCH] Selected Organs Data';
  constructor(
    public sheet: Sheet,
    public selectedOrgans: string[],
    public omapSelectedOrgans: string[],
    public comparisonDetails?: CompareData[],
  ) {}
}

export class FetchCompareData {
  static readonly type = '[FETCH] Compare Data';
  constructor(public compareData: CompareData[]) {}
}

export class UpdateConfig {
  static readonly type = '[UPDATE] Sheet Config';
  constructor(public config: SheetConfig) {}
}

export class ToggleShowAllAS {
  static readonly type = '[SHOW ALL AS]';
}

export class UpdateReport {
  static readonly type = '[Update] Report Statistics';
  constructor(public reportData: Report) {}
}

export class DeleteCompareSheet {
  static readonly type = '[DELETE] Compare Sheet';
  constructor(public i: number) {}
}

export class UpdateMode {
  static readonly type = '[UPDATE] Mode';
  constructor(public mode: string) {}
}

export class UpdatePrevSheet {
  static readonly type = '[UPDATE] Previous Sheet';
  constructor(public sheet: string) {}
}

export class UpdateSheet {
  static readonly type = '[UPDATE] Sheet';
  constructor(public sheet: Sheet) {}
}

export class FetchInitialPlaygroundData {
  static readonly type = '[FETCH] Initial Playground Data';
  constructor(public sheet?: Sheet) {}
}

export class UpdatePlaygroundData {
  static readonly type = '[UPDATE] Playground Data';
  constructor(public data: string[][]) {}
}

export class FetchPlaygroundUploadData {
  static readonly type = '[FETCH] Playground Upload Data';
  constructor(public data: string[][]) {}
}

export class UpdateBottomSheetInfo {
  static readonly type = '[UPDATE] Bottom Sheet Info';
  constructor(public data: OpenBottomSheetData) {}
}

export class UpdateBottomSheetDOI {
  static readonly type = '[UPDATE] Bottom Sheet DOI';
  constructor(public data: DOI[]) {}
}

export class UpdateGetFromCache {
  static readonly type = '[UPDATE] Get From Cache';
  constructor(public cache: boolean) {}
}

export class FetchValidOmapProtiens {
  static readonly type = '[FETCH] Valid OMAP Protiens Data';
}

export class UpdateSelectedOrgansBeforeFilter {
  static readonly type = '[UPDATE] Selected Organs before Filtering';
  constructor(public organsList: SelectedOrganBeforeFilter[]) {}
}

results matching ""

    No results matching ""