fix issues in core
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { AuthenticationState } from '../../domain/value-objects/AuthenticationState';
|
||||
import { BrowserAuthenticationState } from '../../domain/value-objects/BrowserAuthenticationState';
|
||||
import { Result } from '@gridpilot/shared/application/Result';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
|
||||
/**
|
||||
* Port for authentication services implementing zero-knowledge login.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Result } from '@gridpilot/shared/application/Result';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
import { CheckoutConfirmation } from '../../domain/value-objects/CheckoutConfirmation';
|
||||
import type { CheckoutConfirmationRequestDTO } from '../dto/CheckoutConfirmationRequestDTO';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Result } from '@gridpilot/shared/application/Result';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
import type { CheckoutInfoDTO } from '../dto/CheckoutInfoDTO';
|
||||
|
||||
export interface CheckoutServicePort {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SessionStateValue } from '@/automation/domain/value-objects/SessionState';
|
||||
import { SessionStateValue } from '../../domain/value-objects/SessionState';
|
||||
import { AutomationSession } from '../../domain/entities/AutomationSession';
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Result } from '@gridpilot/shared/application/Result';
|
||||
import type { Result } from '@core/shared/application/Result';
|
||||
|
||||
export interface SessionValidatorPort {
|
||||
validateSession(): Promise<Result<boolean>>;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, it, expect, beforeEach, vi, Mock } from 'vitest';
|
||||
import { CheckAuthenticationUseCase } from 'apps/companion/main/automation/application/use-cases/CheckAuthenticationUseCase';
|
||||
import { AuthenticationState } from 'apps/companion/main/automation/domain/value-objects/AuthenticationState';
|
||||
import { BrowserAuthenticationState } from 'apps/companion/main/automation/domain/value-objects/BrowserAuthenticationState';
|
||||
import { Result } from '@gridpilot/shared/application/Result';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
import type { AuthenticationServicePort } from 'apps/companion/main/automation/application/ports/AuthenticationServicePort';
|
||||
|
||||
interface ISessionValidator {
|
||||
|
||||
Reference in New Issue
Block a user