File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export default async function doLoadConfig(
131
131
controlPlaneProxyInfo ,
132
132
) ;
133
133
} else {
134
- await TeamAnalytics . setup ( undefined , "NOT_UNIQUE" ) ;
134
+ await TeamAnalytics . shutdown ( ) ;
135
135
}
136
136
137
137
newConfig = await injectControlPlaneProxyInfo (
Original file line number Diff line number Diff line change 1
1
import os from "node:os" ;
2
2
3
- import { Analytics } from "@continuedev/config-types" ;
4
-
5
3
import ContinueProxyAnalyticsProvider from "./analytics/ContinueProxyAnalyticsProvider.js" ;
6
4
import {
7
5
ControlPlaneProxyInfo ,
Original file line number Diff line number Diff line change 1
- import { Analytics } from "@continuedev/config-types " ;
1
+ import { AnalyticsConfig } from "../.. " ;
2
2
3
3
export interface AnalyticsMetadata {
4
4
extensionVersion : string ;
@@ -13,7 +13,7 @@ export interface ControlPlaneProxyInfo {
13
13
export interface IAnalyticsProvider {
14
14
capture ( event : string , properties : { [ key : string ] : any } ) : Promise < void > ;
15
15
setup (
16
- config : Analytics ,
16
+ config : AnalyticsConfig ,
17
17
uniqueId : string ,
18
18
controlPlaneProxyInfo ?: ControlPlaneProxyInfo ,
19
19
) : Promise < void > ;
Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ export interface ExperimentalConfig {
1105
1105
}
1106
1106
1107
1107
export interface AnalyticsConfig {
1108
- type : string ;
1108
+ provider : string ;
1109
1109
url ?: string ;
1110
1110
clientKey ?: string ;
1111
1111
}
You can’t perform that action at this time.
0 commit comments