Archived
1
0

Implement endpoint for getting recent directories

This commit is contained in:
Asher
2020-02-18 14:13:22 -06:00
parent 16bcf59cb0
commit 8793110941
6 changed files with 89 additions and 11 deletions

View File

@ -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 {

View File

@ -19,6 +19,7 @@ export enum ApiEndpoint {
applications = "/applications",
recent = "/recent",
run = "/run",
running = "/running",
session = "/session",
status = "/status",
}