From c955d295ef71958c26884dab07b0a0f330d81406 Mon Sep 17 00:00:00 2001 From: Maurizio Casimirri Date: Tue, 27 Aug 2024 19:05:15 +0200 Subject: [PATCH] fix check --- packages/compass-telemetry/src/telemetry-events.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/compass-telemetry/src/telemetry-events.ts b/packages/compass-telemetry/src/telemetry-events.ts index 0668a7fd5da..12797c446e0 100644 --- a/packages/compass-telemetry/src/telemetry-events.ts +++ b/packages/compass-telemetry/src/telemetry-events.ts @@ -1,3 +1,6 @@ +/** + * Events that are connection scoped are associated with one connection. + */ type ConnectionScoped = E & { payload: E['payload'] & { /** @@ -1381,9 +1384,9 @@ type ApplicationLaunchedEvent = { payload: { context: string; launch_connection: string; - protected: boolean; + protected: boolean | undefined; readOnly: boolean; - maxTimeMS: number; + maxTimeMS: number | undefined; global_config: boolean; cli_args: boolean; legacy_connections: boolean;