File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
packages/compass-telemetry/src Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -1928,6 +1928,36 @@ type SchemaAnalyzedEvent = ConnectionScoped<{
19281928 } ;
19291929} > ;
19301930
1931+ /**
1932+ * This event is fired when user shares the schema.
1933+ *
1934+ * @category Schema
1935+ */
1936+ type SchemaSharedEvent = ConnectionScoped < {
1937+ name : 'Schema Shared' ;
1938+ payload : {
1939+ /**
1940+ * Indicates whether the schema was analyzed before sharing.
1941+ */
1942+ has_schema : boolean ;
1943+
1944+ /**
1945+ * The number of fields at the top level.
1946+ */
1947+ schema_width : number ;
1948+
1949+ /**
1950+ * The number of nested levels.
1951+ */
1952+ schema_depth : number ;
1953+
1954+ /**
1955+ * Indicates whether the schema contains geospatial data.
1956+ */
1957+ geo_data : boolean ;
1958+ } ;
1959+ } > ;
1960+
19311961/**
19321962 * This event is fired when a user clicks to show the details of an operation.
19331963 *
@@ -2641,6 +2671,7 @@ export type TelemetryEvent =
26412671 | QueryHistoryRecentUsedEvent
26422672 | QueryResultsRefreshedEvent
26432673 | SchemaAnalyzedEvent
2674+ | SchemaSharedEvent
26442675 | SchemaValidationAddedEvent
26452676 | SchemaValidationEditedEvent
26462677 | SchemaValidationUpdatedEvent
You can’t perform that action at this time.
0 commit comments