rename to core
This commit is contained in:
@@ -26,7 +26,7 @@ export default defineConfig({
|
||||
alias: {
|
||||
'@': resolve(__dirname, '../../'),
|
||||
'packages': resolve(__dirname, '../../packages'),
|
||||
'packages/*': resolve(__dirname, '../../packages/*'),
|
||||
'core/*': resolve(__dirname, '../../core/*'),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user