update prop-types

This commit is contained in:
Shaun Hamilton
2021-06-26 13:59:12 +01:00
committed by Mrugesh Mohapatra
parent 592a2846d3
commit 2a2ee30f63

View File

@ -230,21 +230,27 @@ export type TestType = {
export type UserType = { export type UserType = {
about: string; about: string;
acceptedPrivacyTerms: boolean;
completedChallenges: CompletedChallenge[]; completedChallenges: CompletedChallenge[];
currentChallengeId: string;
email: string; email: string;
emailVerified: boolean;
githubProfile: string; githubProfile: string;
isBanned: boolean;
isCheater: boolean;
isHonest: boolean; isHonest: boolean;
linkedin: string; linkedin: string;
location: string; location: string;
name: string; name: string;
picture: string; picture: string;
points: number; points: number;
portfolio: PortfolioType; portfolio: PortfolioType[];
profileUI: { profileUI: {
isLocked: boolean; isLocked: boolean;
showCerts: boolean; showCerts: boolean;
showName: boolean; showName: boolean;
}; };
progressTimestamps: Array<unknown>;
sendQuincyEmail: boolean; sendQuincyEmail: boolean;
theme: string; theme: string;
twitter: string; twitter: string;
@ -273,13 +279,13 @@ export type isCertifiedTypes = {
export type CompletedChallenge = { export type CompletedChallenge = {
id: string; id: string;
solution: string; solution?: string | null;
githubLink: string; githubLink?: string;
challengeType: number; challengeType?: number;
completedDate: number; completedDate: number;
challengeFiles: ChallengeFileType[]; challengeFiles: ChallengeFileType[];
}; };
// TODO: renames: files => challengeFiles; key => fileKey; // TODO: renames: files => challengeFiles; key => fileKey; #42489
export type ChallengeFileType = { export type ChallengeFileType = {
contents: string; contents: string;
editableContents?: string; editableContents?: string;