Add Hackerspace Config

This commit is contained in:
uwap 2017-11-01 15:41:10 +01:00
parent a9619536d4
commit b2f1e2b07c
3 changed files with 16 additions and 3 deletions

View file

@ -45,11 +45,18 @@ declare type Control = {
declare type Controls = Map<string,Control>;
declare type Config = {
space: Space,
topics: Topics,
controls: Controls,
layers: Array<Layer>
};
declare type Space = {
name: string,
color: "red"|"pink"|"purple"|"deepPurple"|"indigo"|"blue"|"lightBlue"|"cyan"|"teal"|
"green"|"lightgreen"|"lime"|"yellow"|"amber"|"orange"|"deepOrange"|"brown"|"grey"|"blueGrey"
};
declare type State = {
mqtt: ?any,
uiOpened: ?string,