mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 13:44:12 +00:00
Remove serverport from project file (#1957)
* feat: get server port from app satate or env optional startup port from env will always override function for parsing port from env populate default port in app state add test for migration * bump version
This commit is contained in:
committed by
GitHub
parent
1fe58e21be
commit
c1fcdf7065
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "4.4.2",
|
||||
"version": "4.5.0",
|
||||
"name": "ontime-types",
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -6,6 +6,11 @@ export type NetworkInterface = {
|
||||
address: string;
|
||||
};
|
||||
|
||||
export type PortInfo = {
|
||||
port: number;
|
||||
pendingRestart: boolean;
|
||||
};
|
||||
|
||||
export interface SessionStats {
|
||||
startedAt: string;
|
||||
connectedClients: number;
|
||||
|
||||
@@ -2,7 +2,6 @@ import type { TimeFormat } from './TimeFormat.type.js';
|
||||
|
||||
export type Settings = {
|
||||
version: string;
|
||||
serverPort: number;
|
||||
editorKey: null | string;
|
||||
operatorKey: null | string;
|
||||
timeFormat: TimeFormat;
|
||||
|
||||
@@ -79,6 +79,7 @@ export type {
|
||||
MessageResponse,
|
||||
SessionStats,
|
||||
ProjectLogoResponse,
|
||||
PortInfo,
|
||||
} from './api/ontime-controller/BackendResponse.type.js';
|
||||
export type {
|
||||
EventPostPayload,
|
||||
|
||||
Reference in New Issue
Block a user