src/app/actions/sheet.actions.ts
Properties |
|
constructor(sheet: Sheet, selectedOrgans: string[], omapSelectedOrgans: string[], comparisonDetails?: CompareData[])
|
|||||||||||||||
Defined in src/app/actions/sheet.actions.ts:29
|
|||||||||||||||
Parameters :
|
Public Optional comparisonDetails |
Type : CompareData[]
|
Defined in src/app/actions/sheet.actions.ts:34
|
Public omapSelectedOrgans |
Type : string[]
|
Defined in src/app/actions/sheet.actions.ts:33
|
Public selectedOrgans |
Type : string[]
|
Defined in src/app/actions/sheet.actions.ts:32
|
Public sheet |
Type : Sheet
|
Defined in src/app/actions/sheet.actions.ts:31
|
Static Readonly type |
Type : string
|
Default value : '[FETCH] Selected Organs Data'
|
Defined in src/app/actions/sheet.actions.ts:29
|
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';
constructor() {}
}
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]';
constructor() {}
}
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';
constructor() {}
}
export class UpdateSelectedOrgansBeforeFilter {
static readonly type = '[UPDATE] Selected Organs before Filtering';
constructor(public organsList: SelectedOrganBeforeFilter[]) {}
}