MCPcopy Create free account
hub / github.com/anomalyco/opencode / createNotificationIndex

Function createNotificationIndex

packages/app/src/context/notification.tsx:65–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function createNotificationIndex(): NotificationIndex {
66 return {
67 session: {
68 all: {},
69 unseen: {},
70 unseenCount: {},
71 unseenHasError: {},
72 },
73 project: {
74 all: {},
75 unseen: {},
76 unseenCount: {},
77 unseenHasError: {},
78 },
79 }
80}
81
82function buildNotificationIndex(list: Notification[]) {
83 const index = createNotificationIndex()

Callers 1

buildNotificationIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected