animiassumenda
Version:
Blox live, desktop app for managing staking accounts
28 lines (25 loc) • 815 B
text/typescript
import AwsService from '../services/aws/aws.service';
import ProcessClass from './process.class';
import WalletService from '../services/wallet/wallet.service';
import Connection from '../common/store-manager/connection';
export default class UninstallProcess extends ProcessClass {
private readonly awsService: AwsService;
private readonly walletService: WalletService;
public readonly actions: Array<any>;
constructor() {
super();
this.awsService = new AwsService();
this.walletService = new WalletService();
this.actions = [
{ instance: this.walletService, method: 'removeBloxWallet' },
{ instance: this.awsService, method: 'uninstallItems' },
{
instance: Connection,
method: 'remove',
params: {
prefix: ''
}
}
];
}
}