feature(dashboard): add integrations and notifications

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-02 22:12:05 +02:00
parent d920f6951c
commit f65a633403
94 changed files with 3692 additions and 127 deletions

View File

@@ -6,6 +6,7 @@ import { getTime } from '@openpanel/common';
import {
type IServiceEvent,
TABLE_NAMES,
checkNotificationRulesForSessionEnd,
createEvent,
eventBuffer,
getEvents,
@@ -138,6 +139,8 @@ export async function createSessionEnd(
throw new Error('No last event found');
}
await checkNotificationRulesForSessionEnd(events);
return createEvent({
...sessionStart,
properties: {