Interface GetCurrentUserResponse

This file was automatically generated by json-schema-to-typescript. DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, and run json-schema-to-typescript to regenerate this file.

Hierarchy

  • GetCurrentUserResponse

Properties

Properties

error?: string
user?: {
    chatColor: string;
    gameStats: {
        current: {
            corners: number;
            edges: number;
            time: number;
        };
        highest: {
            corners: number;
            edges: number;
            time: number;
        };
        sessionCount: number;
        total: {
            corners: number;
            edges: number;
            time: number;
        };
    };
    id: string;
    live: boolean;
    username: string;
}

Type declaration

  • chatColor: string
  • gameStats: {
        current: {
            corners: number;
            edges: number;
            time: number;
        };
        highest: {
            corners: number;
            edges: number;
            time: number;
        };
        sessionCount: number;
        total: {
            corners: number;
            edges: number;
            time: number;
        };
    }
    • current: {
          corners: number;
          edges: number;
          time: number;
      }
      • corners: number
      • edges: number
      • time: number
    • highest: {
          corners: number;
          edges: number;
          time: number;
      }
      • corners: number
      • edges: number
      • time: number
    • sessionCount: number
    • total: {
          corners: number;
          edges: number;
          time: number;
      }
      • corners: number
      • edges: number
      • time: number
  • id: string
  • live: boolean
  • username: string

Generated using TypeDoc