Skip to content

Refactors to queryConfiguredRegistryExtensions and related code

Administrator requested to merge sqs/simpler-viewer-extensions into main

Created by: sqs

  • narrow return type of queryConfiguredRegistryExtensions

    Callers of this function don't need the full ConfiguredRegistryExtension type. This type narrowing will make it easier to optimize the GraphQL API calls to fetch the list of enabled extensions. That will come in future commits; this is just a refactor that makes sense regardless.

  • refactor: unexport viewerConfiguredExtensions and move to only file where it is used

Merge request reports

Loading