1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-13 00:50:06 +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

View File

@@ -1,5 +1,5 @@
declare namespace NodeJS {
export interface Process {
sessionController?: import('../controllers/session').SessionController
sessionController?: import('../controllers/Session').SessionController
}
}

View File

@@ -1,4 +1,5 @@
import { MacroVars } from '@sasjs/utils'
export interface ExecutionQuery {
_program: string
macroVars?: MacroVars

View File

@@ -1,7 +1,8 @@
export interface Session {
id: string
available: boolean
ready: boolean
creationTimeStamp: string
deathTimeStamp: string
path: string
inUse: boolean
}

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'