fix getPossibleInfiltrations not returning enough info and fix donation saying Invalid input before unlocking

This commit is contained in:
Olivier Gagnon
2022-07-21 15:32:54 -04:00
parent 5c551348ed
commit 7f20dc2ee8
3 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +1,11 @@
/**
* @public
*/
export interface PossibleInfiltrationLocation[] {
city: string;
name: string;
}
/**
* Coding contract data will differ depending on coding contract.
* @public
@@ -4289,7 +4297,7 @@ interface Infiltration {
*
* @returns all locations that can be infiltrated.
*/
getPossibleLocations(): string[];
getPossibleLocations(): PossibleInfiltrationLocation[];
/**
* Get all infiltrations with difficulty, location and rewards.
* @remarks