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:
5
src/types/Process.d.ts
vendored
Normal file
5
src/types/Process.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
declare namespace NodeJS {
|
||||
export interface Process {
|
||||
sessionController?: import('../controllers/session').SessionController
|
||||
}
|
||||
}
|
||||
7
src/types/Session.ts
Normal file
7
src/types/Session.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface Session {
|
||||
id: string
|
||||
available: boolean
|
||||
creationTimeStamp: string
|
||||
deathTimeStamp: string
|
||||
path: string
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
// TODO: uppercase types
|
||||
export * from './sas'
|
||||
export * from './request'
|
||||
export * from './fileTree'
|
||||
export * from './Session'
|
||||
|
||||
Reference in New Issue
Block a user