Project

General

Profile

Download (495 Bytes) Statistics
| Branch: | Tag: | Revision:
import immutable from 'seamless-immutable';

export const pendingState = {
hosts: immutable({
powerStatus: immutable({})
})
};

export const errorState = {
hosts: immutable({
powerStatus: immutable({
1: {
error: 'someError'
}
})
})
};

export const resolvedState = {
hosts: immutable({
powerStatus: immutable({
1: {
state: 'on',
title: 'On'
},
2: {
state: 'off',
title: 'Off'
}
})
})
};
(1-1/3)