1
0
mirror of https://github.com/sasjs/server.git synced 2026-06-10 02:20:22 +00:00

feat(api): set up endpoint for sas code execution

This commit is contained in:
Yury Shkoda
2021-06-10 20:12:23 +03:00
parent cb841ddcac
commit f6046b15ae
6 changed files with 84 additions and 9 deletions
+2
View File
@@ -0,0 +1,2 @@
export * from './sas'
export * from './request'
+6
View File
@@ -0,0 +1,6 @@
export interface RequestQuery {
_program: string
}
export const isRequestQuery = (arg: any): arg is RequestQuery =>
arg && !Array.isArray(arg) && typeof arg._program === 'string'
+4
View File
@@ -0,0 +1,4 @@
export interface ExecutionResult {
log: string
logPath: string
}