mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
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:
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user