loop-modules
Version:
Shared modules for the Loop product suite.
26 lines (25 loc) • 777 B
TypeScript
import { Observable } from 'rxjs/Observable';
import { LoopTopic } from '../interfaces/loop-topic.interface';
/**
* The AppState slice for persisting LoopTopic records
*
* @export
* @interface LoopTopicState
*/
export interface LoopTopicState {
/**
* The collection of loaded LoopTopic entries from the back-end service
*
* @type {LoopTopic[]}
*/
entries?: LoopTopic[];
/**
* The collection of selected LoopTopic entries
*
* @type {LoopTopic[]} The LoopTopic records
*/
selectedEntries?: LoopTopic[];
}
export declare const initialState: LoopTopicState;
export declare function getTopics(state$: Observable<any>): Observable<any>;
export declare function getSelectedTopics(state$: Observable<any>): Observable<any>;