update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-06-07 05:50:51 -06:00
parent 4b32330b60
commit 6f99688667
7 changed files with 247 additions and 19 deletions

View File

@@ -54,12 +54,18 @@ export interface TutorialSlim {
export interface TutorialReturn extends TutorialSlim {
content: string
example_html: string | null
example_css: string | null
example_js: string | null
}
export interface TutorialIn {
display: number
title: string
content: string
example_html?: string | null
example_css?: string | null
example_js?: string | null
}
export interface ChallengeSlim {
@@ -72,12 +78,22 @@ export interface ChallengeSlim {
author_name: string | null
}
export interface ChallengeReturn extends ChallengeSlim {
content: string
example_html: string | null
example_css: string | null
example_js: string | null
}
export interface ChallengeIn {
display: number
title: string
content: string
score: number
is_public: boolean
example_html?: string | null
example_css?: string | null
example_js?: string | null
}
export interface User {