concerto/concerto — pull request #612 by mfrederickson (2013-08-08 19:37:31+00:00)
Title: include field_configs as config array in setup.json for frontend

'nuff said. here's a sample
```
{
"id": 1,
"name": "Sample Screen",
"template": {
"id": 2,
"path": "\/frontend\/1\/templates\/2",
"positions": [
{
"bottom": "0.8",
"id": 5,
"left": "0.1",
"right": "0.9",
"style": "",
"top": "0.1",
"field_contents_path": "\/frontend\/1\/fields\/1\/contents.json",
"field": {
"id": 1,
"name": "Graphics",
"config": [
{
"key": "transition",
"value": "fade",
"value_type": "string"
},
{
"key": "order",
"value": "random",
"value_type": "string"
}
]
}
},
{
"bottom": "0.98",
"id": 7,
"left": "0.5",
"right": "0.9",
"style": "",
"top": "0.8",
"field_contents_path": "\/frontend\/1\/fields\/2\/contents.json",
"field": {
"id": 2,
"name": "Ticker",
"config": [
{
"key": "scrolling_marquis",
"value": "true",
"value_type": "string"
}
]
}
}
]
}
}
```