lib/features/src/reports/meta-store/report-meta-store.service.ts
Properties |
|
Methods |
|
constructor(stores: ReportStore[])
|
||||||
Parameters :
|
Async filter | ||||||
filter(callback: (item: I,index: number,arr: I[]) => void)
|
||||||
Inherited from
MetaStore
|
||||||
Defined in
MetaStore:103
|
||||||
Parameters :
Returns :
Promise<I[]>
|
Public Async get | ||||||
get(id: string)
|
||||||
Inherited from
MetaStore
|
||||||
Defined in
MetaStore:73
|
||||||
Parameters :
Returns :
Promise<I | null>
|
Public getStore | ||||||
getStore(item: I)
|
||||||
Inherited from
MetaStore
|
||||||
Defined in
MetaStore:98
|
||||||
Parameters :
Returns :
S | null
|
Public handleIdWithoutItem | ||||||
handleIdWithoutItem(id: string)
|
||||||
Inherited from
MetaStore
|
||||||
Defined in
MetaStore:69
|
||||||
Parameters :
Returns :
I | null
|
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)
}
}