Skip to content

Commit

Permalink
chore: cleanup filesnames (#85)
Browse files Browse the repository at this point in the history
* updating refs

* Rename Account.ts to account.ts

* Rename Contract.ts to contract.ts

* Rename AccountDataProvider.ts to accountDataProvider.ts

* Rename ContractDataProvider.ts to contractDataProvider.ts

* Rename CosmwasmHistoryView.ts to cosmwasmHistoryView.ts

* Rename CosmwasmTerminal.ts to cosmwasmTerminal.ts

* Rename InitializeViewProvider.ts to initializeViewProvider.ts

* Rename MigrateViewProvider.ts to migrateViewProvider.ts

* Rename QueryProvider.ts to queryProvider.ts

* Rename SignProvider.ts to signProvider.ts

* Rename TestExplorer.ts to testExplorer.ts

* Rename TxProvider.ts to txProvider.ts

* Rename WasmVmPanel.ts to wasmVmPanel.ts

* Rename API.ts to api.ts

* Rename Executer.ts to executer.ts

* Rename SmartExecutor.ts to smartExecutor.ts

* Rename ExtData.ts to extData.ts

* Rename HistoryHandler.ts to historyHandler.ts

* Rename ResponseHandler.ts to responseHandler.ts

* Rename Workspace.ts to workspace.ts

* Rename api.ts to api.ts

* Rename executer.ts to executer.ts

* Rename smartExecutor.ts to smartExecutor.ts

* Rename ethsecp256k1hdwallet.d.ts to ethsecp256k1hdwallet.d.ts

* Rename ethsecp256k1hdwallet.js to ethsecp256k1hdwallet.js

* Rename wrapwallet.ts to wrapwallet.ts

* Rename extData.ts to extData.ts

* Rename historyHandler.ts to historyHandler.ts
  • Loading branch information
spoo-bar authored Dec 26, 2023
1 parent 478a5fa commit 3a29c60
Show file tree
Hide file tree
Showing 27 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/commands/account.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from 'vscode';
import { WrapWallet } from '../helpers/Sign/wrapwallet';
import { WrapWallet } from '../helpers/sign/wrapwallet';
import { Constants } from '../constants';
import { Cosmwasm, CosmwasmAPI } from '../helpers/cosmwasm/api';
import { Workspace } from '../helpers/workspace';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Workspace } from '../helpers/workspace';
import { Contract } from '../models/contract';
import { ContractDataProvider } from '../views/contractDataProvider';
import { CosmwasmTerminal } from '../views/cosmwasmTerminal';
import { WasmVmPanel } from '../views/WasmVmPanel';
import { WasmVmPanel } from '../views/wasmVmPanel';

export class ContractCmds {
public static async Register(context: vscode.ExtensionContext) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/cosmwasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as vscode from 'vscode';
import { Constants } from '../constants';
import { Executer } from '../helpers/cosmwasm/executer';
import { Workspace } from '../helpers/workspace';
import { CosmwasmHistoryView } from '../views/CosmwasmHistoryView';
import { CosmwasmHistoryView } from '../views/cosmwasmHistoryView';

export class CosmwasmCmds {
public static async Register(context: vscode.ExtensionContext) {
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/Cosmwasm/API.ts → src/helpers/cosmwasm/api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CodeDetails, CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-stargate";
import { WrapWallet } from '../Sign/wrapwallet';
import { WrapWallet } from '../sign/wrapwallet';
import { GasPrice } from '@cosmjs/stargate';
import { FaucetClient } from "@cosmjs/faucet-client";
import { Contract } from '../../models/contract';
Expand Down Expand Up @@ -194,4 +194,4 @@ export class Cosmwasm {
};
}
}
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SigningCosmWasmClient } from '@cosmjs/cosmwasm-stargate';
import { GasPrice } from '@cosmjs/stargate';
import { WrapWallet } from '../Sign/wrapwallet';
import { WrapWallet } from '../sign/wrapwallet';
import { TextDecoder } from 'util';
import * as vscode from 'vscode';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ export enum Action {
Migrate,
Initialize,
Invalid
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ export class ResponseHandler {
private static outputToTerminal(outputText: string) {
CosmwasmTerminal.output("\n\n"+ outputText);
}
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ class EthSecp256k1HdWallet {
}));
}
}
exports.EthSecp256k1HdWallet = EthSecp256k1HdWallet;
exports.EthSecp256k1HdWallet = EthSecp256k1HdWallet;
File renamed without changes.
2 changes: 1 addition & 1 deletion src/helpers/Workspace.ts → src/helpers/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ export class ChainConfig {

return;
}
}
}
2 changes: 1 addition & 1 deletion src/models/Account.ts → src/models/account.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from 'vscode';
import { WrapWallet } from '../helpers/Sign/wrapwallet';
import { WrapWallet } from '../helpers/sign/wrapwallet';
import { ExtData } from '../helpers/extensionData/extData';
import { CosmwasmAPI } from '../helpers/cosmwasm/api';

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ export class CosmwasmHistoryView {
}
}

// run; codiId + contract label; contract addr; queryType; input data;
// run; codiId + contract label; contract addr; queryType; input data;
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ export class CosmwasmTerminal {
this.terminal.sendText(text, true);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ export class InitializeViewProvider implements vscode.WebviewViewProvider {
</body>
</html>`;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ export class MigrateViewProvider implements vscode.WebviewViewProvider {
</body>
</html>`;
}
}
}
2 changes: 1 addition & 1 deletion src/views/QueryProvider.ts → src/views/queryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ export class QueryProvider implements vscode.WebviewViewProvider {
</html>`;
}

}
}
4 changes: 2 additions & 2 deletions src/views/SignProvider.ts → src/views/signProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from 'vscode';
import { WrapWallet } from '../helpers/Sign/wrapwallet';
import { WrapWallet } from '../helpers/sign/wrapwallet';
import { StdSignDoc } from "@cosmjs/amino";
import { Workspace } from '../helpers/workspace';
import { ResponseHandler } from '../helpers/responseHandler';
Expand Down Expand Up @@ -107,4 +107,4 @@ export class SignProvider implements vscode.WebviewViewProvider {
</html>`;
}

}
}
2 changes: 1 addition & 1 deletion src/views/TestExplorer.ts → src/views/testExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ export class TestExplorer {
run.end();

}
}
}
2 changes: 1 addition & 1 deletion src/views/TxProvider.ts → src/views/txProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ export class TxProvider implements vscode.WebviewViewProvider {
</body>
</html>`;
}
}
}
2 changes: 1 addition & 1 deletion src/views/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { SignProvider } from './signProvider';
import { TxProvider } from './txProvider';
import { TextDecoder } from 'util';
import { Account } from '../models/account';
import { TestExplorer } from './TestExplorer';
import { TestExplorer } from './testExplorer';
import { CwSimulateKernel } from '../notebook/cwSimulateKernel';
import { Coin } from '@cosmjs/amino';
var toml = require('toml');
Expand Down
2 changes: 1 addition & 1 deletion src/views/WasmVmPanel.ts → src/views/wasmVmPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@ class Input {
this.id = id;
this.data = data;
}
}
}

0 comments on commit 3a29c60

Please sign in to comment.