Project

General

Profile

Download (322 Bytes) Statistics
| Branch: | Tag: | Revision:
ee7002f8 matan
import Immutable from 'seamless-immutable';
a5a6b5df Dan Seethaler
878f746e matan
export const initialState = Immutable({});
ee7002f8 matan
export const request = {
80dc430e Ohad Levy
id: '2',
a5a6b5df Dan Seethaler
url: 'test',
ee7002f8 matan
};

export const response = {
id: '2',
a5a6b5df Dan Seethaler
data: 'data',
ee7002f8 matan
};

export const error = 'some error happened';

export const stateBeforeResponse = Immutable({
a5a6b5df Dan Seethaler
[request.id]: request,
ee7002f8 matan
});