website refactor
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
import type { Logger } from '@core/shared/application';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import { describe, expect, it, vi, type Mock, beforeEach } from 'vitest';
|
||||
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
|
||||
import type { ChannelPreference, NotificationPreference, TypePreference } from '../../domain/entities/NotificationPreference';
|
||||
import type { NotificationPreferenceRepository } from '../../domain/repositories/NotificationPreferenceRepository';
|
||||
import type { NotificationChannel, NotificationType } from '../../domain/types/NotificationTypes';
|
||||
import {
|
||||
GetNotificationPreferencesQuery,
|
||||
SetDigestModeUseCase,
|
||||
UpdateChannelPreferenceUseCase,
|
||||
UpdateQuietHoursUseCase,
|
||||
UpdateTypePreferenceUseCase,
|
||||
type GetNotificationPreferencesInput,
|
||||
type SetDigestModeCommand,
|
||||
type UpdateChannelPreferenceCommand,
|
||||
type UpdateQuietHoursCommand,
|
||||
type UpdateTypePreferenceCommand,
|
||||
GetNotificationPreferencesQuery,
|
||||
SetDigestModeUseCase,
|
||||
UpdateChannelPreferenceUseCase,
|
||||
UpdateQuietHoursUseCase,
|
||||
UpdateTypePreferenceUseCase,
|
||||
type GetNotificationPreferencesInput,
|
||||
type SetDigestModeCommand,
|
||||
type UpdateChannelPreferenceCommand,
|
||||
type UpdateQuietHoursCommand,
|
||||
type UpdateTypePreferenceCommand,
|
||||
} from './NotificationPreferencesUseCases';
|
||||
|
||||
describe('NotificationPreferencesUseCases', () => {
|
||||
|
||||
Reference in New Issue
Block a user