Type alias GamePOJO

GamePOJO: {
    annotator?: string;
    black?: PlayerPOJO;
    date?: string;
    eco?: string;
    event?: string;
    initialPosition?: string;
    mainVariation?: VariationPOJO;
    opening?: string;
    openingSubVariation?: string;
    openingVariation?: string;
    result?: GameResult;
    round?: number;
    site?: string;
    subRound?: number;
    subSubRound?: number;
    termination?: string;
    variant?: GameVariant;
    white?: PlayerPOJO;
}

Represent a Game as a POJO, thus allowing JSON serialization, deep cloning, etc...

Type declaration

  • Optional annotator?: string
  • Optional black?: PlayerPOJO
  • Optional date?: string
  • Optional eco?: string
  • Optional event?: string
  • Optional initialPosition?: string
  • Optional mainVariation?: VariationPOJO
  • Optional opening?: string
  • Optional openingSubVariation?: string
  • Optional openingVariation?: string
  • Optional result?: GameResult
  • Optional round?: number
  • Optional site?: string
  • Optional subRound?: number
  • Optional subSubRound?: number
  • Optional termination?: string
  • Optional variant?: GameVariant
  • Optional white?: PlayerPOJO

Generated using TypeDoc