Implement endpoint for getting recent directories
This commit is contained in:
@ -33,8 +33,11 @@ export interface SessionResponse {
|
||||
}
|
||||
|
||||
export interface RecentResponse {
|
||||
readonly recent: ReadonlyArray<Application>
|
||||
readonly running: ReadonlyArray<Application>
|
||||
readonly paths: string[]
|
||||
}
|
||||
|
||||
export interface RunningResponse {
|
||||
readonly applications: ReadonlyArray<Application>
|
||||
}
|
||||
|
||||
export interface HealthRequest {
|
||||
|
@ -19,6 +19,7 @@ export enum ApiEndpoint {
|
||||
applications = "/applications",
|
||||
recent = "/recent",
|
||||
run = "/run",
|
||||
running = "/running",
|
||||
session = "/session",
|
||||
status = "/status",
|
||||
}
|
||||
|
Reference in New Issue
Block a user