type ExtensionWithEnabled = Extension & { enabled: boolean; extensions: Record<string, FeatureWithEnabled>; };