mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
feat: small improvements to instance info (#591)
* refactor: add typings to backend info * refactor: write current version to project file * feat: show location of css override
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { OSCSettings } from '../../definitions/core/OscSettings.type.js';
|
||||
|
||||
export type NetworkInterface = {
|
||||
name: string;
|
||||
address: string;
|
||||
};
|
||||
|
||||
export interface GetInfo {
|
||||
networkInterfaces: NetworkInterface[];
|
||||
version: string;
|
||||
serverPort: number;
|
||||
osc: OSCSettings;
|
||||
cssOverride: string;
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
import { TimeFormat } from './TimeFormat.type';
|
||||
import { TimeFormat } from './TimeFormat.type.js';
|
||||
|
||||
export type Settings = {
|
||||
app: 'ontime';
|
||||
version: 2;
|
||||
version: string;
|
||||
serverPort: number;
|
||||
editorKey: null | string;
|
||||
operatorKey: null | string;
|
||||
|
||||
@@ -33,6 +33,9 @@ export type { OSCSettings, OscSubscription, OscSubscriptionOptions } from './def
|
||||
|
||||
// ---> HTTP
|
||||
|
||||
// SERVER RESPONSES
|
||||
export type { NetworkInterface, GetInfo } from './api/ontime-controller/BackendResponse.type.js';
|
||||
|
||||
// SERVER RUNTIME
|
||||
export { type Log, LogLevel, type LogMessage, LogOrigin } from './definitions/runtime/Logger.type.js';
|
||||
export { Playback } from './definitions/runtime/Playback.type.js';
|
||||
|
||||
Reference in New Issue
Block a user