update
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
import { RemovableRef } from "@vueuse/core"
|
||||
|
||||
export type LANGUAGE = "c" | "cpp" | "python" | "java"
|
||||
|
||||
export interface Code {
|
||||
value: string
|
||||
language: LANGUAGE
|
||||
}
|
||||
|
||||
export interface Cache {
|
||||
language: RemovableRef<LANGUAGE>
|
||||
input: RemovableRef<string>
|
||||
code: { [key in LANGUAGE]: RemovableRef<string> }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user