summaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-02-06 22:12:42 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-02-06 22:12:42 +0200
commit954244171108b039ce3e472e8eb09355c792af8d (patch)
treeb13e5785dce40a72f3ae0801751b1d64153a9bc8 /index.ts
Initial commit
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/index.ts b/index.ts
new file mode 100644
index 0000000..2c162c1
--- /dev/null
+++ b/index.ts
@@ -0,0 +1,15 @@
+export namespace RunnerApiSubmitRequest {
+ export const path = "/submit"
+ export interface Body {
+ source: string
+ }
+}
+
+export namespace RunnerApiSubmitResponse {
+ export interface Body {
+ result: {
+ stdout: string
+ stderr: string
+ }
+ }
+}