Map the schema's commands to the generator's command-entry shape.
(schema)
| 624 | |
| 625 | /** Map the schema's commands to the generator's command-entry shape. */ |
| 626 | function schemaToCommands(schema) { |
| 627 | return schema.commands.map(schemaToCommand) |
| 628 | } |
| 629 | |
| 630 | function schemaToCommand(c) { |
| 631 | return { |
no test coverage detected