Skip to content

Commit

Permalink
refactor: remove legacy service
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Jan 11, 2025
1 parent bfe5745 commit 89af064
Show file tree
Hide file tree
Showing 40 changed files with 35 additions and 1,623 deletions.
5 changes: 1 addition & 4 deletions apps/cli/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
// NOTE: for now the following needs to be in place: ./server/index.cjs, ./client, ./external

const ontimeServer = require('./server/index.cjs');
const { initAssets, startServer, startIntegrations, shutdown } = ontimeServer;
const { initAssets, startServer, shutdown } = ontimeServer;

async function startOntime() {
await initAssets();

await startServer();

await startIntegrations();
}

startOntime();
Expand Down
3 changes: 0 additions & 3 deletions apps/client/src/common/models/Info.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { GetInfo } from 'ontime-types';

import { oscPlaceholderSettings } from './OscSettings';

export const ontimePlaceholderInfo: GetInfo = {
networkInterfaces: [],
version: '2.0.0',
serverPort: 4001,
osc: oscPlaceholderSettings,
publicDir: '',
};
10 changes: 0 additions & 10 deletions apps/client/src/common/models/OscSettings.ts

This file was deleted.

2 changes: 0 additions & 2 deletions apps/client/src/features/app-settings/AppSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import AutomationPanel from './panel/automations-panel/AutomationPanel';
import ClientControlPanel from './panel/client-control-panel/ClientControlPanel';
import FeatureSettingsPanel from './panel/feature-settings-panel/FeatureSettingsPanel';
import GeneralPanel from './panel/general-panel/GeneralPanel';
import IntegrationsPanel from './panel/integrations-panel/IntegrationsPanel';
import NetworkLogPanel from './panel/network-panel/NetworkLogPanel';
import ProjectPanel from './panel/project-panel/ProjectPanel';
import ShutdownPanel from './panel/shutdown-panel/ShutdownPanel';
Expand All @@ -31,7 +30,6 @@ export default function AppSettings() {
{panel === 'general' && <GeneralPanel location={location} />}
{panel === 'feature_settings' && <FeatureSettingsPanel location={location} />}
{panel === 'sources' && <SourcesPanel />}
{panel === 'integrations' && <IntegrationsPanel location={location} />}
{panel === 'automation' && <AutomationPanel location={location} />}
{panel === 'client_control' && <ClientControlPanel />}
{panel === 'about' && <AboutPanel />}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 89af064

Please sign in to comment.