MCPcopy Index your code
hub / github.com/bytebase/bytebase / pushNotification

Function pushNotification

frontend/src/store/modules/notification.ts:10–18  ·  view source on GitHub ↗
(notification: NotificationCreate)

Source from the content-addressed store, hash-verified

8 * dispatch and has been removed.
9 */
10export const pushNotification = (notification: NotificationCreate) => {
11 if (typeof window !== "undefined") {
12 window.dispatchEvent(
13 new CustomEvent<NotificationCreate>(VueShellBridgeEvent.notification, {
14 detail: notification,
15 })
16 );
17 }
18};

Callers 15

handleConfirmFunction · 0.90
AuditLogTableFunction · 0.90
InstanceAssignmentSheetFunction · 0.90
handleHideFunction · 0.90
handleCreateFunction · 0.90
handleUpdateFunction · 0.90
doConfirmFunction · 0.90
DataExportButtonFunction · 0.90
doSaveFunction · 0.90
tryFinishSetupFunction · 0.90
CreateDatabaseSheetFunction · 0.90
handleCreateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected