13 lines
379 B
TypeScript
13 lines
379 B
TypeScript
export type HoppRequestEvent =
|
|
| {
|
|
platform: "rest" | "graphql-query" | "graphql-schema"
|
|
strategy: "normal" | "proxy" | "extension"
|
|
}
|
|
| { platform: "wss" | "sse" | "socketio" | "mqtt" }
|
|
|
|
export type AnalyticsPlatformDef = {
|
|
initAnalytics: () => void
|
|
logHoppRequestRunToAnalytics: (ev: HoppRequestEvent) => void
|
|
logPageView: (pagePath: string) => void
|
|
}
|