Variable getCurrentUserResponseConst
getCurrentUserResponse: {
properties: {
error: {
type: "string";
};
user: {
properties: {
chatColor: {
pattern: "^[0-9A-Fa-f]{6}$";
type: "string";
};
gameStats: {
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
};
required: readonly ["total", "current", "highest", "sessionCount"];
};
id: {
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
type: "string";
};
live: {
type: "boolean";
};
username: {
pattern: "^[a-zA-Z0-9$]{2,20}$";
type: "string";
};
};
required: readonly ["username", "current", "total", "gameStats", "id", "live", "chatColor"];
type: "object";
};
};
required: readonly [];
type: "object";
} = ...
Type declaration
-
Readonly
properties: {
error: {
type: "string";
};
user: {
properties: {
chatColor: {
pattern: "^[0-9A-Fa-f]{6}$";
type: "string";
};
gameStats: {
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
};
required: readonly ["total", "current", "highest", "sessionCount"];
};
id: {
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
type: "string";
};
live: {
type: "boolean";
};
username: {
pattern: "^[a-zA-Z0-9$]{2,20}$";
type: "string";
};
};
required: readonly ["username", "current", "total", "gameStats", "id", "live", "chatColor"];
type: "object";
};
}
-
Readonly
error: {
type: "string";
}
-
Readonly
user: {
properties: {
chatColor: {
pattern: "^[0-9A-Fa-f]{6}$";
type: "string";
};
gameStats: {
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
};
required: readonly ["total", "current", "highest", "sessionCount"];
};
id: {
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
type: "string";
};
live: {
type: "boolean";
};
username: {
pattern: "^[a-zA-Z0-9$]{2,20}$";
type: "string";
};
};
required: readonly ["username", "current", "total", "gameStats", "id", "live", "chatColor"];
type: "object";
}
-
Readonly
properties: {
chatColor: {
pattern: "^[0-9A-Fa-f]{6}$";
type: "string";
};
gameStats: {
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
};
required: readonly ["total", "current", "highest", "sessionCount"];
};
id: {
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
type: "string";
};
live: {
type: "boolean";
};
username: {
pattern: "^[a-zA-Z0-9$]{2,20}$";
type: "string";
};
}
-
Readonly
chatColor: {
pattern: "^[0-9A-Fa-f]{6}$";
type: "string";
}
-
Readonly
pattern: "^[0-9A-Fa-f]{6}$"
-
Readonly
type: "string"
-
gameStats: {
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
};
required: readonly ["total", "current", "highest", "sessionCount"];
}
-
Readonly
properties: {
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
sessionCount: {
minimum: 0;
type: "number";
};
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
};
}
-
Readonly
current: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
}
-
Readonly
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
}
-
Readonly
corners: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
edges: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
time: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
required: readonly ["time", "edges", "corners"]
-
Readonly
highest: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
}
-
Readonly
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
}
-
Readonly
corners: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
edges: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
time: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
required: readonly ["time", "edges", "corners"]
-
Readonly
sessionCount: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
total: {
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
};
required: readonly ["time", "edges", "corners"];
}
-
Readonly
properties: {
corners: {
minimum: 0;
type: "number";
};
edges: {
minimum: 0;
type: "number";
};
time: {
minimum: 0;
type: "number";
};
}
-
Readonly
corners: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
edges: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
time: {
minimum: 0;
type: "number";
}
-
Readonly
minimum: 0
-
Readonly
type: "number"
-
Readonly
required: readonly ["time", "edges", "corners"]
-
Readonly
required: readonly ["total", "current", "highest", "sessionCount"]
-
Readonly
id: {
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
type: "string";
}
-
Readonly
pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
-
Readonly
type: "string"
-
Readonly
live: {
type: "boolean";
}
-
username: {
pattern: "^[a-zA-Z0-9$]{2,20}$";
type: "string";
}
-
Readonly
pattern: "^[a-zA-Z0-9$]{2,20}$"
-
Readonly
type: "string"
-
Readonly
required: readonly ["username", "current", "total", "gameStats", "id", "live", "chatColor"]
-
Readonly
type: "object"
-
Readonly
required: readonly []
-
Readonly
type: "object"