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-03-18 14:50:20 +08:00
parent 98d8099b5d
commit d68ef60ab9
17 changed files with 1207 additions and 314 deletions

View File

@@ -1,5 +1,15 @@
import type { TASK_TYPE } from "./const"
export interface PromptMessage {
id: number
role: string
content: string
code_html: string | null
code_css: string | null
code_js: string | null
created: string
}
export enum Role {
Super = "super",
Admin = "admin",
@@ -60,6 +70,7 @@ export interface SubmissionOut {
id: string
userid: number
username: string
task_id: number
task_display: number
task_type: TASK_TYPE
task_title: string
@@ -67,6 +78,8 @@ export interface SubmissionOut {
my_score: number
conversation_id?: string
flag?: FlagType
nominated: boolean
submit_count: number
created: Date
modified: Date
}