Remove unused imports (#171)
This commit is contained in:
Родитель
6245a3a209
Коммит
7785f5e5a7
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
import { Command, TreeItem } from "vscode";
|
||||
import { TreeItem } from "vscode";
|
||||
import { DeviceItem } from "./DeviceItem";
|
||||
|
||||
export class ModuleItem extends TreeItem {
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
// Licensed under the MIT license.
|
||||
|
||||
"use strict";
|
||||
import { Client as EventHubClient } from "azure-event-hubs";
|
||||
import * as vscode from "vscode";
|
||||
import { Constants } from "./constants";
|
||||
import { DeviceItem } from "./Model/DeviceItem";
|
||||
import { TelemetryClient } from "./telemetryClient";
|
||||
import { Utility } from "./utility";
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
import { ConnectionString } from "azure-iot-device";
|
||||
import * as path from "path";
|
||||
import * as vscode from "vscode";
|
||||
import { Constants } from "./constants";
|
||||
import { DeviceItem } from "./Model/DeviceItem";
|
||||
import { TelemetryClient } from "./telemetryClient";
|
||||
import { Utility } from "./utility";
|
||||
import iothub = require("azure-iothub");
|
||||
|
||||
export class DeviceTree implements vscode.TreeDataProvider<vscode.TreeItem> {
|
||||
public _onDidChangeTreeData: vscode.EventEmitter<vscode.TreeItem | undefined> = new vscode.EventEmitter<vscode.TreeItem | undefined>();
|
||||
|
|
|
@ -5,13 +5,11 @@
|
|||
import axios from "axios";
|
||||
import * as iothub from "azure-iothub";
|
||||
import * as fs from "fs";
|
||||
import * as os from "os";
|
||||
import * as path from "path";
|
||||
import * as stripJsonComments from "strip-json-comments";
|
||||
import * as vscode from "vscode";
|
||||
import { BaseExplorer } from "./baseExplorer";
|
||||
import { Constants } from "./constants";
|
||||
import { Executor } from "./executor";
|
||||
import { DeviceItem } from "./Model/DeviceItem";
|
||||
import { ModuleItem } from "./Model/ModuleItem";
|
||||
import { TelemetryClient } from "./telemetryClient";
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
"use strict";
|
||||
import * as iothub from "azure-iothub";
|
||||
import * as fs from "fs";
|
||||
import * as os from "os";
|
||||
import * as path from "path";
|
||||
import * as vscode from "vscode";
|
||||
import { BaseExplorer } from "./baseExplorer";
|
||||
import { Constants } from "./constants";
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// Licensed under the MIT license.
|
||||
|
||||
"use strict";
|
||||
import { Message } from "azure-iot-common";
|
||||
import { Client as ServiceClient, DeviceMethodParams } from "azure-iothub";
|
||||
import { Callback } from "azure-iothub/lib/interfaces";
|
||||
import * as vscode from "vscode";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
"use strict";
|
||||
import { Client as EventHubClient } from "azure-event-hubs";
|
||||
import { Client, Message } from "azure-iot-device";
|
||||
import { Message } from "azure-iot-device";
|
||||
import { clientFromConnectionString } from "azure-iot-device-mqtt";
|
||||
import * as vscode from "vscode";
|
||||
import { BaseExplorer } from "./baseExplorer";
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
"use strict";
|
||||
import { IotHubClient } from "azure-arm-iothub";
|
||||
import { ResourceManagementClient, ResourceModels, SubscriptionClient, SubscriptionModels } from "azure-arm-resource";
|
||||
import { ResourceManagementClient, ResourceModels, SubscriptionClient } from "azure-arm-resource";
|
||||
import * as clipboardy from "clipboardy";
|
||||
import * as vscode from "vscode";
|
||||
import { IotHubDescription } from "../node_modules/azure-arm-iothub/lib/models";
|
||||
import { AzureAccount, AzureLoginStatus, AzureResourceFilter, AzureSession } from "./azure-account.api";
|
||||
import { AzureAccount } from "./azure-account.api";
|
||||
import { BaseExplorer } from "./baseExplorer";
|
||||
import { Constants } from "./constants";
|
||||
import { DeviceItem } from "./Model/DeviceItem";
|
||||
|
|
Загрузка…
Ссылка в новой задаче