bungie-net-core
Version:
An easy way to interact with the Bungie.net API
63 lines (62 loc) • 3.02 kB
TypeScript
/**
* Bungie.Net API
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-net-core code generator program
* Repository: {@link https://github.com/owens1127/bungie-net-core}
* Do not edit these files manually.
*/
import { DestinyDisplayPropertiesDefinition } from '../Common/DestinyDisplayPropertiesDefinition';
import { DestinyScope } from '../../DestinyScope';
import { DestinyChecklistEntryDefinition } from './DestinyChecklistEntryDefinition';
/**
* By public demand, Checklists are loose sets of "things to do/things you have
* done" in Destiny that we were actually able to track. They include easter eggs
* you find in the world, unique chests you unlock, and other such data where the
* first time you do it is significant enough to be tracked, and you have the
* potential to "get them all".
*
* These may be account-wide, or may be per character. The status of these will be
* returned in related "Checklist" data coming down from API requests such as
* GetProfile or GetCharacter.
*
* Generally speaking, the items in a checklist can be completed in any order: we
* return an ordered list which only implies the way we are showing them in our own
* UI, and you can feel free to alter it as you wish.
*
* Note that, in the future, there will be something resembling the old D1 Record
* Books in at least some vague form. When that is created, it may be that it will
* supercede much or all of this Checklist data. It remains to be seen if that will
* be the case, so for now assume that the Checklists will still exist even after
* the release of D2: Forsaken.
* @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Definitions.Checklists.DestinyChecklistDefinition}
*/
export interface DestinyChecklistDefinition {
readonly displayProperties: DestinyDisplayPropertiesDefinition;
/** A localized string prompting you to view the checklist. */
readonly viewActionString: string;
/**
* Indicates whether you will find this checklist on the Profile or Character
* components.
*/
readonly scope: DestinyScope;
/** The individual checklist items. Gotta catch 'em all. */
readonly entries: DestinyChecklistEntryDefinition[];
/**
* The unique identifier for this entity. Guaranteed to be unique for the type of
* entity, but not globally.
*
* When entities refer to each other in Destiny content, it is this hash that they
* are referring to.
*/
readonly hash: number;
/** The index of the entity as it was found in the investment tables. */
readonly index: number;
/**
* If this is true, then there is an entity with this identifier/type combination,
* but BNet is not yet allowed to show it. Sorry!
*/
readonly redacted: boolean;
}