mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 06:29:07 +00:00
create universal Subscription
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import { TimerLifeCycleKey } from './TimerLifecycle.type.js';
|
||||
|
||||
export type OscSubscriptionOptions = { message: string; enabled: boolean };
|
||||
export type OscSubscription = { [key in TimerLifeCycleKey]: OscSubscriptionOptions[] };
|
||||
import { Subscription } from './Subscription.type.js';
|
||||
|
||||
export interface OSCSettings {
|
||||
portIn: number;
|
||||
@@ -9,5 +6,5 @@ export interface OSCSettings {
|
||||
targetIP: string;
|
||||
enabledIn: boolean;
|
||||
enabledOut: boolean;
|
||||
subscriptions: OscSubscription;
|
||||
subscriptions: Subscription;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { TimerLifeCycleKey } from './TimerLifecycle.type.js';
|
||||
|
||||
export type SubscriptionOptions = { message: string; enabled: boolean };
|
||||
export type Subscription = { [key in TimerLifeCycleKey]: SubscriptionOptions[] };
|
||||
@@ -28,9 +28,10 @@ export type { Alias } from './definitions/core/Alias.type.js';
|
||||
// ---> User Fields
|
||||
export type { UserFields } from './definitions/core/UserFields.type.js';
|
||||
|
||||
// ---> Integration, Subscription
|
||||
export type { Subscription, SubscriptionOptions } from './definitions/core/Subscription.type.js';
|
||||
// ---> OSC
|
||||
export type { OSCSettings, OscSubscription, OscSubscriptionOptions } from './definitions/core/OscSettings.type.js';
|
||||
|
||||
export type { OSCSettings } from './definitions/core/OscSettings.type.js';
|
||||
// ---> HTTP
|
||||
|
||||
// SERVER RUNTIME
|
||||
|
||||
Reference in New Issue
Block a user