adds events api
This commit is contained in:
@@ -75,7 +75,8 @@ export default {
|
||||
putClaim (itemId) { this.call("claims", "PUT", itemId) },
|
||||
withdrawClaim (itemId) { this.call("claims", "DELETE", itemId) },
|
||||
buyItems(items) { this.call("loot", "PUT", items) },
|
||||
sellItems (items) { this.call("loot", "DELETE", items) },
|
||||
sellItems (items) { this.call("loot", "DELETE", { items, global_mod: null, players: null }) },
|
||||
undoLastAction () { this.call("events/last", "DELETE", null) },
|
||||
},
|
||||
watch: {
|
||||
id: {
|
||||
@@ -100,6 +101,7 @@ export default {
|
||||
withdrawClaim: this.withdrawClaim,
|
||||
buyItems: this.buyItems,
|
||||
sellItems: this.sellItems,
|
||||
undoLastAction: this.undoLastAction,
|
||||
},
|
||||
claims: this.claims,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user