rename to core

This commit is contained in:
2025-12-15 13:46:07 +01:00
parent aedf58643d
commit 5c22f8820c
559 changed files with 415 additions and 767 deletions

View File

@@ -26,7 +26,7 @@ export default defineConfig({
alias: {
'@': resolve(__dirname, '../../'),
'packages': resolve(__dirname, '../../packages'),
'packages/*': resolve(__dirname, '../../packages/*'),
'core/*': resolve(__dirname, '../../core/*'),
},
},
},

View File

@@ -1,12 +1,12 @@
import { ipcMain } from 'electron';
import type { BrowserWindow, IpcMainInvokeEvent } from 'electron';
import { DIContainer } from './di-container';
import type { HostedSessionConfig } from 'packages/automation/domain/types/HostedSessionConfig';
import { StepId } from 'packages/automation/domain/value-objects/StepId';
import { AuthenticationState } from 'packages/automation/domain/value-objects/AuthenticationState';
import { ElectronCheckoutConfirmationAdapter } from 'packages/automation/infrastructure/adapters/ipc/ElectronCheckoutConfirmationAdapter';
import type { OverlayAction } from 'packages/automation/application/ports/OverlaySyncPort';
import type { IAutomationLifecycleEmitter } from 'packages/automation/infrastructure/adapters/IAutomationLifecycleEmitter';
import type { HostedSessionConfig } from 'core/automation/domain/types/HostedSessionConfig';
import { StepId } from 'core/automation/domain/value-objects/StepId';
import { AuthenticationState } from 'core/automation/domain/value-objects/AuthenticationState';
import { ElectronCheckoutConfirmationAdapter } from 'core/automation/infrastructure/adapters/ipc/ElectronCheckoutConfirmationAdapter';
import type { OverlayAction } from 'core/automation/application/ports/OverlaySyncPort';
import type { IAutomationLifecycleEmitter } from 'core/automation/infrastructure/adapters/IAutomationLifecycleEmitter';
let progressMonitorInterval: NodeJS.Timeout | null = null;
let lifecycleSubscribed = false;

View File

@@ -1,6 +1,6 @@
import { contextBridge, ipcRenderer } from 'electron';
import type { HostedSessionConfig } from '../../../packages/automation/domain/types/HostedSessionConfig';
import type { AuthenticationState } from '../../../packages/automation/domain/value-objects/AuthenticationState';
import type { HostedSessionConfig } from '../../../core/automation/domain/types/HostedSessionConfig';
import type { AuthenticationState } from '../../../core/automation/domain/value-objects/AuthenticationState';
export interface AuthStatusEvent {
state: AuthenticationState;

View File

@@ -5,8 +5,8 @@ import { LoginPrompt } from './components/LoginPrompt';
import { BrowserModeToggle } from './components/BrowserModeToggle';
import { CheckoutConfirmationDialog } from './components/CheckoutConfirmationDialog';
import { RaceCreationSuccessScreen } from './components/RaceCreationSuccessScreen';
import type { HostedSessionConfig } from '../../../packages/automation/domain/types/HostedSessionConfig';
import type { AuthenticationState } from '../../../packages/automation/domain/value-objects/AuthenticationState';
import type { HostedSessionConfig } from '../../../core/automation/domain/types/HostedSessionConfig';
import type { AuthenticationState } from '../../../core/automation/domain/value-objects/AuthenticationState';
import type { StartAutomationResponse } from '../main/preload';
interface SessionProgress {

View File

@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import type { HostedSessionConfig } from '../../../../packages/automation/domain/types/HostedSessionConfig';
import type { HostedSessionConfig } from '../../../../core/automation/domain/types/HostedSessionConfig';
interface SessionCreationFormProps {
onSubmit: (config: HostedSessionConfig) => void;