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

refactor: improve types and imports

This commit is contained in:
Yury Shkoda
2021-10-14 07:34:08 +00:00
parent 6a34fa1b1d
commit 9cf02b25d0
11 changed files with 10 additions and 291 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
declare namespace NodeJS {
export interface Process {
sessionController?: import('../controllers/session').SessionController
sessionController?: import('../controllers/Session').SessionController
}
}
@@ -1,4 +1,5 @@
import { MacroVars } from '@sasjs/utils'
export interface ExecutionQuery {
_program: string
macroVars?: MacroVars
+2 -1
View File
@@ -1,7 +1,8 @@
export interface Session {
id: string
available: boolean
ready: boolean
creationTimeStamp: string
deathTimeStamp: string
path: string
inUse: boolean
}
+3 -3
View File
@@ -1,5 +1,5 @@
// TODO: uppercase types
export * from './sas'
export * from './request'
export * from './fileTree'
export * from './Execution'
export * from './Request'
export * from './FileTree'
export * from './Session'