refactor: rename "optional app extensions" into "all app extensions"

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-04-13 18:59:43 +02:00
parent c39561f8e2
commit 0809e01b2d
7 changed files with 13 additions and 13 deletions

View file

@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { optionalAppExtensions } from '../../../extensions/extra-integrations/optional-app-extensions'
import { allAppExtensions } from '../../../extensions/extra-integrations/all-app-extensions'
import { useFrontendConfig } from '../../common/frontend-config-context/use-frontend-config'
import type { MarkdownRendererExtension } from '../extensions/base/markdown-renderer-extension'
import { DebuggerMarkdownExtension } from '../extensions/debugger-markdown-extension'
@ -32,7 +32,7 @@ export const useMarkdownExtensions = (
throw new Error("can't build markdown render extensions without event emitter.")
}
return [
...optionalAppExtensions.flatMap((extension) =>
...allAppExtensions.flatMap((extension) =>
extension.buildMarkdownRendererExtensions({
frontendConfig: frontendConfig,
eventEmitter: extensionEventEmitter