modularize playground (prep for persistent/modular file handling)

This commit is contained in:
2024-12-07 16:58:10 -08:00
parent 421f5ea208
commit ba70845c09
11 changed files with 673 additions and 193 deletions

9
playground/src/types.ts Normal file
View File

@@ -0,0 +1,9 @@
export interface CompileReq {
src: string;
}
export interface CompileRes {
output: string
javascript: string
duration: number
}