add http integration

This commit is contained in:
arc-alex
2023-11-03 23:28:18 +01:00
parent 89c7f8707b
commit 7a5bc76a9e
11 changed files with 245 additions and 17 deletions
@@ -5,6 +5,7 @@ import { OSCSettings } from './core/OscSettings.type.js';
import { Settings } from './core/Settings.type.js';
import { UserFields } from './core/UserFields.type.js';
import { ViewSettings } from './core/Views.type.js';
import { HTTPSettings } from '../index.js';
export type DatabaseModel = {
rundown: OntimeRundown;
@@ -14,4 +15,5 @@ export type DatabaseModel = {
aliases: Alias[];
userFields: UserFields;
osc: OSCSettings;
http: HTTPSettings;
};
@@ -0,0 +1,7 @@
import { Subscription } from './Subscription.type.js';
export interface HTTPSettings {
enabledOut: boolean;
subscriptions: Subscription;
}
+1
View File
@@ -33,6 +33,7 @@ export type { Subscription, SubscriptionOptions } from './definitions/core/Subsc
// ---> OSC
export type { OSCSettings } from './definitions/core/OscSettings.type.js';
// ---> HTTP
export type { HTTPSettings } from './definitions/core/HttpSettings.type.js';
// SERVER RUNTIME
export { type Log, LogLevel, type LogMessage, LogOrigin } from './definitions/runtime/Logger.type.js';