Files
webpreview/src/store/submission.ts
2025-04-27 20:35:16 +08:00

19 lines
333 B
TypeScript

import { ref } from "vue"
import type { SubmissionAll } from "../utils/type"
export const submission = ref<SubmissionAll>({
id: "",
userid: 0,
username: "",
task_id: 0,
task_title: "",
task_type: "tutorial",
score: 0.0,
my_score: 0,
html: "",
css: "",
js: "",
created: new Date(),
modified: new Date(),
})