forked from OpenWF/SpaceNinjaServer
Closes #1570 Co-authored-by: Jānis <janisslsm@noreply.localhost> Reviewed-on: OpenWF/SpaceNinjaServer#1791 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
33 lines
985 B
TypeScript
33 lines
985 B
TypeScript
import { IAffiliationMods, IInventoryChanges } from "./purchaseTypes";
|
|
|
|
export const inventoryFields = ["RawUpgrades", "MiscItems", "Consumables", "Recipes"] as const;
|
|
export type IInventoryFieldType = (typeof inventoryFields)[number];
|
|
|
|
export interface IMissionReward {
|
|
StoreItem: string;
|
|
TypeName?: string;
|
|
UpgradeLevel?: number;
|
|
ItemCount: number;
|
|
TweetText?: string;
|
|
ProductCategory?: string;
|
|
FromEnemyCache?: boolean;
|
|
IsStrippedItem?: boolean;
|
|
}
|
|
|
|
export interface IMissionCredits {
|
|
MissionCredits: number[];
|
|
CreditBonus: number[];
|
|
TotalCredits: number[];
|
|
DailyMissionBonus?: boolean;
|
|
}
|
|
|
|
export interface IMissionInventoryUpdateResponse extends Partial<IMissionCredits> {
|
|
ConquestCompletedMissionsCount?: number;
|
|
InventoryJson?: string;
|
|
MissionRewards?: IMissionReward[];
|
|
InventoryChanges?: IInventoryChanges;
|
|
FusionPoints?: number;
|
|
SyndicateXPItemReward?: number;
|
|
AffiliationMods?: IAffiliationMods[];
|
|
}
|