feat: Several project files user folder (Steps 3-5) (#664)

* feat: steps 3-5 for several project files user folder

* feat: common types, better listing function

* feat: error response type
This commit is contained in:
Ary
2023-12-28 09:23:51 -03:00
committed by GitHub
parent d1e201ebb5
commit dc4ba4012c
6 changed files with 106 additions and 3 deletions
@@ -12,3 +12,15 @@ export interface GetInfo {
osc: OSCSettings;
cssOverride: string;
}
export type ProjectFile = {
filename: string;
createdAt: string;
updatedAt: string;
};
export type ProjectFileList = Array<ProjectFile>;
export type ErrorResponse = {
message: string;
}
+1 -1
View File
@@ -38,7 +38,7 @@ export type { OSCSettings, OscSubscription, OscSubscriptionOptions } from './def
export type { HttpSettings, HttpSubscription, HttpSubscriptionOptions } from './definitions/core/HttpSettings.type.js';
// SERVER RESPONSES
export type { NetworkInterface, GetInfo } from './api/ontime-controller/BackendResponse.type.js';
export type { NetworkInterface, GetInfo, ProjectFileList, ProjectFile, ErrorResponse } from './api/ontime-controller/BackendResponse.type.js';
export type { GetRundownCached } from './api/rundown-controller/BackendResponse.type.js';
// SERVER RUNTIME