Type alias PayloadUser

PayloadUser: {
    termsOfUse: string;
    user: {
        avatarLink: string;
        battlenetAccount: string;
        buddies?: {
            buddy: {
                id: string;
                name: string;
            }[];
            page: string;
            total: string;
        };
        country: string;
        firstName: string;
        guilds?: {
            guild: {
                id: string;
                name: string;
            }[];
            page: string;
            total: string;
        };
        hot?: {
            domain: string;
            item: {
                id: string;
                name: string;
                rank: string;
                type: string;
            }[];
        };
        id: string;
        lastLogin: string;
        lastName: string;
        name: string;
        psnAccount: string;
        stateOrProvince: string;
        steamAccount: string;
        termsOfUse: string;
        top?: {
            domain: string;
            item: {
                id: string;
                name: string;
                rank: string;
                type: string;
            }[];
        };
        tradeRating: string;
        webAddress: string;
        wiiAccount: string;
        xboxAccount: string;
        yearRegistered: string;
    };
} | null

Type declaration

  • termsOfUse: string
  • user: {
        avatarLink: string;
        battlenetAccount: string;
        buddies?: {
            buddy: {
                id: string;
                name: string;
            }[];
            page: string;
            total: string;
        };
        country: string;
        firstName: string;
        guilds?: {
            guild: {
                id: string;
                name: string;
            }[];
            page: string;
            total: string;
        };
        hot?: {
            domain: string;
            item: {
                id: string;
                name: string;
                rank: string;
                type: string;
            }[];
        };
        id: string;
        lastLogin: string;
        lastName: string;
        name: string;
        psnAccount: string;
        stateOrProvince: string;
        steamAccount: string;
        termsOfUse: string;
        top?: {
            domain: string;
            item: {
                id: string;
                name: string;
                rank: string;
                type: string;
            }[];
        };
        tradeRating: string;
        webAddress: string;
        wiiAccount: string;
        xboxAccount: string;
        yearRegistered: string;
    }
    • avatarLink: string
    • battlenetAccount: string
    • Optional buddies?: {
          buddy: {
              id: string;
              name: string;
          }[];
          page: string;
          total: string;
      }
      • buddy: {
            id: string;
            name: string;
        }[]
      • page: string
      • total: string
    • country: string
    • firstName: string
    • Optional guilds?: {
          guild: {
              id: string;
              name: string;
          }[];
          page: string;
          total: string;
      }
      • guild: {
            id: string;
            name: string;
        }[]
      • page: string
      • total: string
    • Optional hot?: {
          domain: string;
          item: {
              id: string;
              name: string;
              rank: string;
              type: string;
          }[];
      }
      • domain: string
      • item: {
            id: string;
            name: string;
            rank: string;
            type: string;
        }[]
    • id: string
    • lastLogin: string
    • lastName: string
    • name: string
    • psnAccount: string
    • stateOrProvince: string
    • steamAccount: string
    • termsOfUse: string
    • Optional top?: {
          domain: string;
          item: {
              id: string;
              name: string;
              rank: string;
              type: string;
          }[];
      }
      • domain: string
      • item: {
            id: string;
            name: string;
            rank: string;
            type: string;
        }[]
    • tradeRating: string
    • webAddress: string
    • wiiAccount: string
    • xboxAccount: string
    • yearRegistered: string