mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 04:55:15 +00:00
Type pairlist state
This commit is contained in:
parent
a820acc5ec
commit
53b73494db
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user