Type pairlist state

This commit is contained in:
Matthias 2020-08-04 08:10:04 +02:00
parent a820acc5ec
commit 53b73494db

View File

@ -61,6 +61,7 @@
<script lang="ts"> <script lang="ts">
import { Component, Vue } from 'vue-property-decorator'; import { Component, Vue } from 'vue-property-decorator';
import { namespace } from 'vuex-class'; import { namespace } from 'vuex-class';
import { BlacklistPayload } from '@/store/types';
const ftbot = namespace('ftbot'); const ftbot = namespace('ftbot');
@ -74,13 +75,13 @@ export default class FTBotAPIPairList extends Vue {
@ftbot.Action getBlacklist; @ftbot.Action getBlacklist;
@ftbot.Action addBlacklist; @ftbot.Action addBlacklist!: (payload: BlacklistPayload) => Promise<any>;
@ftbot.State whitelist; @ftbot.State whitelist!: Array<string>;
@ftbot.State blacklist; @ftbot.State blacklist!: Array<string>;
@ftbot.State pairlistMethods; @ftbot.State pairlistMethods!: Array<string>;
created() { created() {
this.initBlacklist(); this.initBlacklist();