mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
Project files tweaks (#679)
* chore: fixed issue when loading first time; deleting excel file after upload; only json files from project list * chore: added last loaded project to endpoint response * chore: incremental file name --------- Co-authored-by: Name <Email>
This commit is contained in:
@@ -21,6 +21,11 @@ export type ProjectFile = {
|
||||
|
||||
export type ProjectFileList = Array<ProjectFile>;
|
||||
|
||||
export type ProjectFileListResponse = {
|
||||
files: ProjectFileList;
|
||||
lastLoadedProject: string;
|
||||
};
|
||||
|
||||
export type ErrorResponse = {
|
||||
message: string;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -38,7 +38,14 @@ export type { OSCSettings, OscSubscription, OscSubscriptionOptions } from './def
|
||||
export type { HttpSettings, HttpSubscription, HttpSubscriptionOptions } from './definitions/core/HttpSettings.type.js';
|
||||
|
||||
// SERVER RESPONSES
|
||||
export type { NetworkInterface, GetInfo, ProjectFileList, ProjectFile, ErrorResponse } from './api/ontime-controller/BackendResponse.type.js';
|
||||
export type {
|
||||
NetworkInterface,
|
||||
GetInfo,
|
||||
ProjectFileList,
|
||||
ProjectFile,
|
||||
ErrorResponse,
|
||||
ProjectFileListResponse,
|
||||
} from './api/ontime-controller/BackendResponse.type.js';
|
||||
export type { GetRundownCached } from './api/rundown-controller/BackendResponse.type.js';
|
||||
|
||||
// SERVER RUNTIME
|
||||
|
||||
Reference in New Issue
Block a user