diff --git a/features/platform-admin/backend-api/src/qa-reports/qa-reports.controller.ts b/features/platform-admin/backend-api/src/qa-reports/qa-reports.controller.ts index 293239035..18f93866d 100644 --- a/features/platform-admin/backend-api/src/qa-reports/qa-reports.controller.ts +++ b/features/platform-admin/backend-api/src/qa-reports/qa-reports.controller.ts @@ -14,10 +14,11 @@ import { ThrottlerGuard, Throttle } from '@nestjs/throttler'; import { AdminGuard } from '@/auth/admin.guard'; import { AuthGuard, Public } from '@/auth/auth.guard'; + import { CreateQAReportDto } from './dto/create-qa-report.dto'; import { QAReportQueryDto } from './dto/qa-report-query.dto'; -import { QAReportsService } from './qa-reports.service'; import { UpdateQAReportDto } from './dto/update-qa-report.dto'; +import { QAReportsService } from './qa-reports.service'; @Controller('api/qa-reports') @ApiTags('qa-reports') diff --git a/features/platform-admin/backend-api/src/qa-reports/qa-reports.service.ts b/features/platform-admin/backend-api/src/qa-reports/qa-reports.service.ts index da1aabd6e..157ec1537 100644 --- a/features/platform-admin/backend-api/src/qa-reports/qa-reports.service.ts +++ b/features/platform-admin/backend-api/src/qa-reports/qa-reports.service.ts @@ -11,6 +11,7 @@ import { InjectRepository } from '@nestjs/typeorm'; import { Repository, MoreThanOrEqual } from 'typeorm'; import { QAReport } from './qa-report.entity'; + import type { CreateQAReportDto } from './dto/create-qa-report.dto'; import type { QAReportQueryDto } from './dto/qa-report-query.dto'; import type { UpdateQAReportDto } from './dto/update-qa-report.dto'; diff --git a/features/threat-intelligence/shared/src/types/identifier.types.ts b/features/threat-intelligence/shared/src/types/identifier.types.ts index 0e2cb029f..0484098be 100644 --- a/features/threat-intelligence/shared/src/types/identifier.types.ts +++ b/features/threat-intelligence/shared/src/types/identifier.types.ts @@ -1,6 +1,32 @@ -import { type IdentifierType } from '@lilith/identifier-utils'; +/** + * Duplicated from @lilith/identifier-utils to avoid pulling Node.js crypto + * into browser builds. The source of truth remains @lilith/identifier-utils. + */ +export enum IdentifierType { + EMAIL = 'email', + PHONE = 'phone', + LEGAL_NAME = 'legal_name', + CARD_HASH = 'card_hash', + DEVICE_FP = 'device_fp', + IP_ADDRESS = 'ip_address', + USERNAME = 'username', + PAYMENT_APP_ID = 'payment_app_id', + CANVAS_FP = 'canvas_fp', + WEBGL_FP = 'webgl_fp', + AUDIO_FP = 'audio_fp', + WEBRTC_LOCAL_IP = 'webrtc_local_ip', + SCREEN_GEOMETRY = 'screen_geometry', + TIMEZONE_LOCALE = 'timezone_locale', + FONT_SET = 'font_set', + HARDWARE_PROFILE = 'hardware_profile', + TYPING_CADENCE = 'typing_cadence', + MOUSE_DYNAMICS = 'mouse_dynamics', +} -export { IdentifierType, type IdentifierInput } from '@lilith/identifier-utils'; +export interface IdentifierInput { + type: IdentifierType; + value: string; +} export interface IdentifierMatch { type: IdentifierType;