()
| 63 | } |
| 64 | |
| 65 | function 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 | |
| 82 | function buildNotificationIndex(list: Notification[]) { |
| 83 | const index = createNotificationIndex() |
no outgoing calls
no test coverage detected