feat: granular endpoints for rundown

This commit is contained in:
Carlos Valente
2024-07-10 13:23:37 +02:00
committed by Carlos Valente
parent e6c3322321
commit 917b182e39
8 changed files with 143 additions and 18 deletions
@@ -1,4 +1,5 @@
import type { OSCSettings } from '../../definitions/core/OscSettings.type.js';
import type { OntimeRundown } from '../../definitions/core/Rundown.type.js';
export type NetworkInterface = {
name: string;
@@ -32,3 +33,8 @@ export type MessageResponse = {
export type ErrorResponse = MessageResponse;
export type AuthenticationStatus = 'authenticated' | 'not_authenticated' | 'pending';
export type RundownPaginated = {
rundown: OntimeRundown;
total: number;
};
+1
View File
@@ -49,6 +49,7 @@ export type {
ErrorResponse,
ProjectFileListResponse,
MessageResponse,
RundownPaginated,
} from './api/ontime-controller/BackendResponse.type.js';
export type { RundownCached, NormalisedRundown } from './api/rundown-controller/BackendResponse.type.js';