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:
2
src/types/Process.d.ts
vendored
2
src/types/Process.d.ts
vendored
@@ -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
|
||||
@@ -1,7 +1,8 @@
|
||||
export interface Session {
|
||||
id: string
|
||||
available: boolean
|
||||
ready: boolean
|
||||
creationTimeStamp: string
|
||||
deathTimeStamp: string
|
||||
path: string
|
||||
inUse: boolean
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user