(parser: IObjectParserProp<ExtTheme>)
| 207 | } |
| 208 | |
| 209 | function parseTheme(parser: IObjectParserProp<ExtTheme>): ExtTheme { |
| 210 | const theme: ExtTheme = { |
| 211 | id: '', |
| 212 | path: '' |
| 213 | }; |
| 214 | parser.prop('id', v => theme.id = str(v)); |
| 215 | parser.prop('path', v => theme.path = str(v)); |
| 216 | parser.prop('logoSet', v => theme.logoSet = str(v), true); |
| 217 | return theme; |
| 218 | } |
| 219 | |
| 220 | function parseDevScript(parser: IObjectParserProp<DevScript>): DevScript { |
| 221 | const devScript: DevScript = { |
no test coverage detected