added normalized models and builders

This commit is contained in:
Art Lowel
2017-04-20 14:21:21 +02:00
parent 8e0d2bac9b
commit c2da34b305
30 changed files with 642 additions and 160 deletions

View File

@@ -11,8 +11,8 @@ export enum RemoteDataState {
* A class to represent the state of a remote resource
*/
export class RemoteData<T> {
constructor(
public self: string,
private requestPending: Observable<boolean>,
private responsePending: Observable<boolean>,
private isSuccessFul: Observable<boolean>,