mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
refactor(types): use EditorLanguage from Prisma instead of defining locally
This commit is contained in:
parent
8c159e2717
commit
58bf991afd
@ -1,10 +1,7 @@
|
||||
export enum EditorLanguage {
|
||||
C = "c",
|
||||
CPP = "cpp",
|
||||
}
|
||||
import { EditorLanguage } from "@prisma/client";
|
||||
|
||||
export type EditorLanguageMetadata = {
|
||||
id: EditorLanguage;
|
||||
id: EditorLanguage,
|
||||
label: string;
|
||||
fileName: string;
|
||||
fileExtension: string;
|
||||
|
Loading…
Reference in New Issue
Block a user