How to rewrite the template in a gjs component

I suppose if you really need it, you could make a PR to add arguments to the outlet.

There is also the search service, which may help.