UNPKG

@nzz/q-server

Version:

__Q__ is a system that lets journalists create visual elements for stories. It is developed by [NZZ Storytelling](https://www.nzz.ch/storytelling) and used in the [NZZ](https://www.nzz.ch) newsroom.

9 lines (7 loc) 596 B
--- title: tool runtime config --- There is an object `toolRuntimeConfig` that gets passed to the tool service for every rendering info request. Before that, it can get altered at several points in the flow. The `toolRuntimeConfig` will get merged in the following order by overwriting the former in case of clashes. 1. Q server config misc.toolRuntimeConfig (use this in case you want to pass some values to all tools) 2. Q server config tools in tool.endpoint.toolRuntimeConfig (where the value is filtered with the target) 3. as a query parameter or payload object to rendering-info endpoint