diff options
| -rw-r--r-- | index.ts | 15 | ||||
| -rw-r--r-- | package.json | 8 |
2 files changed, 23 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 + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..7d3e012 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "slam-types", + "version": "1.0.0", + "description": "", + "main": "index.ts", + "author": "", + "license": "ISC" +}
\ No newline at end of file |
