(parser: IObjectParserProp<ILogoSet>)
| 195 | } |
| 196 | |
| 197 | function parseLogoSet(parser: IObjectParserProp<ILogoSet>): ILogoSet { |
| 198 | const logoSet: ILogoSet = { |
| 199 | id: '', |
| 200 | name: '', |
| 201 | path: '', |
| 202 | }; |
| 203 | parser.prop('id', v => logoSet.id = str(v)); |
| 204 | parser.prop('name', v => logoSet.name = str(v)); |
| 205 | parser.prop('path', v => logoSet.path = str(v)); |
| 206 | return logoSet; |
| 207 | } |
| 208 | |
| 209 | function parseTheme(parser: IObjectParserProp<ExtTheme>): ExtTheme { |
| 210 | const theme: ExtTheme = { |
no test coverage detected