refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { randomUUID } from 'crypto';
|
||||
import type { IEntity } from '@gridpilot/shared/domain';
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import { StepId } from '../value-objects/StepId';
|
||||
import { SessionState } from '../value-objects/SessionState';
|
||||
import type { HostedSessionConfig } from '../types/HostedSessionConfig';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainError } from '@gridpilot/shared/errors';
|
||||
import type { IDomainError } from '@core/shared/errors';
|
||||
|
||||
/**
|
||||
* Domain Error: AutomationDomainError
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainValidationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainValidationService } from '@core/shared/domain';
|
||||
import { Result } from '../../../shared/result/Result';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { StepId } from '../value-objects/StepId';
|
||||
import { SessionState } from '../value-objects/SessionState';
|
||||
import type { IDomainValidationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainValidationService } from '@core/shared/domain';
|
||||
import { Result } from '../../../shared/result/Result';
|
||||
|
||||
export interface ValidationResult {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { AuthenticationState } from './AuthenticationState';
|
||||
import type { IValueObject } from '@gridpilot/shared/domain';
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface BrowserAuthenticationStateProps {
|
||||
cookiesValid: boolean;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@gridpilot/shared/domain';
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface CheckoutPriceProps {
|
||||
amountUsd: number;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Represents the lifetime of an authentication session with expiry tracking.
|
||||
* Handles validation of session expiry dates with a configurable buffer window.
|
||||
*/
|
||||
import type { IValueObject } from '@gridpilot/shared/domain';
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface SessionLifetimeProps {
|
||||
expiry: Date | null;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@gridpilot/shared/domain';
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
|
||||
export type SessionStateValue =
|
||||
| 'PENDING'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@gridpilot/shared/domain';
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface StepIdProps {
|
||||
value: number;
|
||||
|
||||
Reference in New Issue
Block a user