From f6f974cdbebf6220f974ed60e6837a7841c40880 Mon Sep 17 00:00:00 2001 From: Panu Horsmalahti Date: Mon, 16 Jan 2023 14:18:06 +0200 Subject: [PATCH] Only export specific types and values. Signed-off-by: Panu Horsmalahti --- src/extensions/renderer-api/components.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/extensions/renderer-api/components.ts b/src/extensions/renderer-api/components.ts index 0dbf7dc377..e4102433bf 100644 --- a/src/extensions/renderer-api/components.ts +++ b/src/extensions/renderer-api/components.ts @@ -72,7 +72,16 @@ export * from "../../renderer/components/drawer"; export * from "../../renderer/components/dialog"; export * from "../../renderer/components/line-progress"; export * from "../../renderer/components/menu"; -export * from "../../renderer/components/notifications"; + +export { + NotificationStatus, + type CreateNotificationOptions, + type Notification, + type NotificationId, + type NotificationMessage, + type ShowNotification, + type NotificationsStore, +} from "../../renderer/components/notifications"; export const Notifications = { ok: asLegacyGlobalFunctionForExtensionApi(showSuccessNotificationInjectable),