1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 00:30:06 +00:00

feat(execute): add sas controller

This commit is contained in:
Yury Shkoda
2021-08-03 08:28:28 +03:00
parent 8b1e79497f
commit bf1db4dd47
3 changed files with 59 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
export interface RequestQuery {
export interface ExecutionQuery {
_program: string
}
export const isRequestQuery = (arg: any): arg is RequestQuery =>
export const isRequestQuery = (arg: any): arg is ExecutionQuery =>
arg && !Array.isArray(arg) && typeof arg._program === 'string'