fix issues in core
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import type { AuthSessionDTO } from '../dto/AuthSessionDTO';
|
||||
import type { IdentitySessionPort } from '../ports/IdentitySessionPort';
|
||||
import type { AuthSession, IdentitySessionPort } from '../ports/IdentitySessionPort';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import type { UseCaseOutputPort, Logger } from '@core/shared/application';
|
||||
|
||||
export type GetCurrentUserSessionInput = void;
|
||||
|
||||
export type GetCurrentUserSessionResult = AuthSessionDTO | null;
|
||||
export type GetCurrentUserSessionResult = AuthSession | null;
|
||||
|
||||
export type GetCurrentUserSessionErrorCode = 'REPOSITORY_ERROR';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user