Anthony Fu 2d2a0a644f fix: build links
chore: add tags table
2020-07-26 16:30:00 +08:00

31 lines
634 B
TypeScript

import { DeepPartial } from 'utility-types'
export interface QuizMetaInfo {
title: string
author: {
name: string
email: string
github: string
}
tsconfig: any
original_issues: number[]
recommended_solutions: number[]
tags: string[]
}
export type Difficulty = 'warm-up' | 'easy' | 'medium' | 'hard' | 'extreme' | 'pending'
export interface Quiz {
no: number
difficulty: Difficulty
path: string
readme: Record<string, string>
template: string
info: Record<string, DeepPartial<QuizMetaInfo> | undefined>
tests?: string
solutions?: {
code?: string
readme?: Record<string, string>
}
}