This commit is contained in:
zeppi 2022-02-06 22:29:44 -05:00 committed by jessopb
parent 4f74ecfc47
commit 24264a15b0

View file

@ -24,8 +24,6 @@ if (isProduction) {
} }
type Analytics = { type Analytics = {
appStartTime: number, // needed?
eventStartTime: any, // needed?
error: (string) => Promise<any>, error: (string) => Promise<any>,
sentryError: ({} | string, {}) => Promise<any>, sentryError: ({} | string, {}) => Promise<any>,
pageView: (string, ?string) => void, pageView: (string, ?string) => void,
@ -171,9 +169,6 @@ async function sendWatchmanData(body) {
} }
const analytics: Analytics = { const analytics: Analytics = {
appStartTime: 0, // ?
eventStartTime: {}, // ?
// receive buffer events from tracking plugin and save buffer amounts and times for backend call // receive buffer events from tracking plugin and save buffer amounts and times for backend call
videoBufferEvent: async (claim, data) => { videoBufferEvent: async (claim, data) => {
amountOfBufferEvents = amountOfBufferEvents + 1; amountOfBufferEvents = amountOfBufferEvents + 1;