Files
freeCodeCamp/tools/daily-challenges/types.ts
2025-11-11 09:34:24 +01:00

27 lines
390 B
TypeScript

export type QueryResult = {
data: {
allChallengeNode: {
edges: {
node: {
challenge: Challenge;
};
}[];
};
};
};
export type Challenge = {
id: string;
title: string;
date: Date;
description: string;
tests: {
testString: string;
text: string;
}[];
challengeFiles: {
contents: string;
filekey: string;
}[];
};