mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 19:03:47 +00:00
refactor: remove legacy service
This commit is contained in:
committed by
Carlos Valente
parent
1f71d4578c
commit
2cc434b0e9
@@ -1,4 +1,3 @@
|
||||
import type { OSCSettings } from '../../definitions/core/OscSettings.type.js';
|
||||
import type { OntimeRundown } from '../../definitions/core/Rundown.type.js';
|
||||
import type { Playback } from '../../definitions/runtime/Playback.type.js';
|
||||
import type { MaybeString } from '../../utils/utils.type.js';
|
||||
@@ -22,7 +21,6 @@ export interface GetInfo {
|
||||
networkInterfaces: NetworkInterface[];
|
||||
version: string;
|
||||
serverPort: number;
|
||||
osc: OSCSettings;
|
||||
publicDir: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import type {
|
||||
AutomationSettings,
|
||||
CustomFields,
|
||||
HttpSettings,
|
||||
OntimeRundown,
|
||||
OSCSettings,
|
||||
ProjectData,
|
||||
Settings,
|
||||
URLPreset,
|
||||
@@ -17,7 +15,5 @@ export type DatabaseModel = {
|
||||
viewSettings: ViewSettings;
|
||||
urlPresets: URLPreset[];
|
||||
customFields: CustomFields;
|
||||
osc: OSCSettings;
|
||||
http: HttpSettings;
|
||||
automation: AutomationSettings;
|
||||
};
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { TimerLifeCycleKey } from './TimerLifecycle.type.js';
|
||||
|
||||
export type HttpSubscription = { id: string; cycle: TimerLifeCycleKey; message: string; enabled: boolean };
|
||||
|
||||
export interface HttpSettings {
|
||||
enabledOut: boolean;
|
||||
subscriptions: HttpSubscription[];
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
import type { TimerLifeCycleKey } from './TimerLifecycle.type.js';
|
||||
|
||||
export type OscSubscription = {
|
||||
id: string;
|
||||
cycle: TimerLifeCycleKey;
|
||||
address: string;
|
||||
payload: string; // TODO: we should be using arguments to keep in line with protocol language
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export interface OSCSettings {
|
||||
portIn: number;
|
||||
portOut: number;
|
||||
targetIP: string;
|
||||
enabledIn: boolean;
|
||||
enabledOut: boolean;
|
||||
subscriptions: OscSubscription[];
|
||||
}
|
||||
@@ -52,10 +52,6 @@ export type {
|
||||
EventCustomFields,
|
||||
} from './definitions/core/CustomFields.type.js';
|
||||
|
||||
// ---> Integration, Subscription
|
||||
export type { OSCSettings, OscSubscription } from './definitions/core/OscSettings.type.js';
|
||||
export type { HttpSettings, HttpSubscription } from './definitions/core/HttpSettings.type.js';
|
||||
|
||||
// SERVER RESPONSES
|
||||
export type {
|
||||
AuthenticationStatus,
|
||||
|
||||
Reference in New Issue
Block a user