I copy-pasted these into my browser on github. I have not tested these, but I think they're right?
Deprecation notice: "search-service:main" is deprecated, use "service:search" instead (deprecated since Discourse 2.8.0.beta8) (removal in Discourse 2.9.0.beta1)
To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once.
I copy-pasted these into my browser on github. I have not tested these, but I think they're right?