chore(client): typescript migrate _mocks_/challenge-nodes.js (#44439)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>pull/44709/head
parent
f9bc75cf9b
commit
e904d9c871
|
@ -1,4 +1,19 @@
|
||||||
const mockChallengeNodes = [
|
interface MockChallengeNodes {
|
||||||
|
challenge: {
|
||||||
|
fields: {
|
||||||
|
slug: string;
|
||||||
|
blockName: string;
|
||||||
|
};
|
||||||
|
id: string;
|
||||||
|
block: string;
|
||||||
|
title: string;
|
||||||
|
isPrivate: boolean;
|
||||||
|
superBlock: string;
|
||||||
|
dashedName: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
const mockChallengeNodes: MockChallengeNodes[] = [
|
||||||
{
|
{
|
||||||
challenge: {
|
challenge: {
|
||||||
fields: {
|
fields: {
|
Loading…
Reference in New Issue