File

lib/features/src/reports/meta-store/report-meta-store.service.ts

Extends

MetaStore

Index

Properties
Methods

Constructor

constructor(stores: ReportStore[])
Parameters :
Name Type Optional
stores ReportStore[] No

Methods

Async filter
filter(callback: (item: I,index: number,arr: I[]) => void)
Inherited from MetaStore
Defined in MetaStore:103
Parameters :
Name Type Optional
callback function No
Returns : Promise<I[]>
Public Async get
get(id: string)
Inherited from MetaStore
Defined in MetaStore:73
Parameters :
Name Type Optional
id string No
Returns : Promise<I | null>
Public getStore
getStore(item: I)
Inherited from MetaStore
Defined in MetaStore:98
Parameters :
Name Type Optional
item I No
Returns : S | null
Public handleIdWithoutItem
handleIdWithoutItem(id: string)
Inherited from MetaStore
Defined in MetaStore:69
Parameters :
Name Type Optional
id string No
Returns : I | null

Properties

name
Type : string
Default value : "REPORT_META_STORE.NAME"
Inherited from MetaStore
Defined in MetaStore:25
Public change$
Type : Observable<I>
Inherited from MetaStore
Defined in MetaStore:29
Public metaActions
Type : MetaAction<C, I, S>[]
Default value : []
Inherited from MetaStore
Defined in MetaStore:34
Public stores
Type : S[]
Default value : []
Inherited from MetaStore
Defined in MetaStore:33
import 	{	
			Inject,
			Injectable,
			Optional
		} 								from '@angular/core'


import	{	
			MetaStore,
		}								from '@rcc/common'

import	{	
			Report,
			ReportConfig,
			ReportStore
		}								from '@rcc/core'

import	{	
			REPORT_STORES
		}								from './report-meta-store.commons'

@Injectable()
export class ReportMetaStore extends MetaStore<ReportConfig, Report, ReportStore>{

	name = "REPORT_META_STORE.NAME"

	constructor(
		@Optional() @Inject(REPORT_STORES)
		stores		: ReportStore[],

	) {
		super(stores)
	}
}

results matching ""

    No results matching ""