Interface CommunityGoal

Base interface shared by all journal event types.

interface CommunityGoal {
    CurrentGoals: {
        Bonus?: number;
        CGID: number;
        CurrentTotal: number;
        Expiry: string;
        IsComplete: boolean;
        MarketName: string;
        NumContributors: number;
        PlayerContribution: number;
        PlayerInTopRank: boolean;
        PlayerPercentileBand: number;
        SystemName: string;
        TierReached?: string;
        Title: string;
        TopRankSize: number;
        TopTier?: {
            Bonus: string;
            Name: string;
        };
    }[];
    event: "CommunityGoal";
    timestamp: string;
}

Hierarchy (view full)

Properties

CurrentGoals: {
    Bonus?: number;
    CGID: number;
    CurrentTotal: number;
    Expiry: string;
    IsComplete: boolean;
    MarketName: string;
    NumContributors: number;
    PlayerContribution: number;
    PlayerInTopRank: boolean;
    PlayerPercentileBand: number;
    SystemName: string;
    TierReached?: string;
    Title: string;
    TopRankSize: number;
    TopTier?: {
        Bonus: string;
        Name: string;
    };
}[]

Type declaration

  • Optional Bonus?: number
  • CGID: number
  • CurrentTotal: number
  • Expiry: string
  • IsComplete: boolean
  • MarketName: string
  • NumContributors: number
  • PlayerContribution: number
  • PlayerInTopRank: boolean
  • PlayerPercentileBand: number
  • SystemName: string
  • Optional TierReached?: string
  • Title: string
  • TopRankSize: number
  • Optional TopTier?: {
        Bonus: string;
        Name: string;
    }
    • Bonus: string
    • Name: string
event: "CommunityGoal"

The type of event.

timestamp: string

The time in GMT, ISO 8601.