UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

58 lines (57 loc) 1.17 kB
import { Locale } from "warframe-worldstate-data"; import { SteelPathOffering } from "warframe-worldstate-data/types"; //#region lib/models/SteelPathOffering.d.ts /** * General data pertaining to incursions */ interface Incursion { /** * Identifier for steel path incursion based on start of day. */ id: string; /** * when the current incursions became active */ activation: Date; /** * when the current incursions become inactive */ expiry: Date; } declare class SteelPathOfferings { /** * Current week's steel path reward */ currentReward: SteelPathOffering; /** * When the current rotation started */ activation: Date; /** * When the current rotation ends */ expiry: Date; /** * Time remaining string */ remaining: string; /** * Full rotation of steel path rewards */ rotation: SteelPathOffering[]; /** * Evergreen steel path rewards */ evergreens: SteelPathOffering[]; /** * Steel path incursion information */ incursions: Incursion; constructor({ locale }: { locale: Locale; }); } //#endregion export { SteelPathOfferings as n, Incursion as t };