Complete residential site build with Docker Compose & Gitea Actions deployment
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Due to LSP limitation this object must be JSON serializable
|
||||
*/
|
||||
export interface TelemetryEvent {
|
||||
name: string;
|
||||
type?: string;
|
||||
properties?: unknown;
|
||||
measures?: unknown;
|
||||
traits?: unknown;
|
||||
context?: unknown;
|
||||
}
|
||||
export interface Telemetry {
|
||||
send(event: TelemetryEvent): void;
|
||||
sendError(name: string, error: unknown): void;
|
||||
sendTrack(name: string, properties: unknown): void;
|
||||
}
|
||||
Reference in New Issue
Block a user