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

feat(session): add SessionController and ExecutionController

This commit is contained in:
Yury Shkoda
2021-10-11 14:16:22 +03:00
parent be2ad36a02
commit 6e0b04a6e5
9 changed files with 266 additions and 58 deletions

5
src/types/Process.d.ts vendored Normal file
View File

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

7
src/types/Session.ts Normal file
View File

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

View File

@@ -1,3 +1,5 @@
// TODO: uppercase types
export * from './sas'
export * from './request'
export * from './fileTree'
export * from './Session'