forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
28 lines (22 loc) · 1.18 KB
/
types.ts
File metadata and controls
28 lines (22 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { IEventNamePropertyMapping } from '../telemetry/index';
import { EventName } from './constants';
export type EditorLoadTelemetry = IEventNamePropertyMapping[EventName.EDITOR_LOAD];
export type LinterTrigger = 'auto' | 'save';
export type LintingTelemetry = IEventNamePropertyMapping[EventName.LINTING];
export type PythonInterpreterTelemetry = IEventNamePropertyMapping[EventName.PYTHON_INTERPRETER];
export type CodeExecutionTelemetry = IEventNamePropertyMapping[EventName.EXECUTION_CODE];
export type DebuggerTelemetry = IEventNamePropertyMapping[EventName.DEBUGGER];
export type TestTool = 'nosetest' | 'pytest' | 'unittest';
export type TestRunTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_RUN];
export type TestDiscoverytTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_DISCOVER];
export type TestConfiguringTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_CONFIGURING];
export type ImportNotebook = {
scope: 'command';
};
export const IImportTracker = Symbol('IImportTracker');
export interface IImportTracker {
activate(): Promise<void>;
}