fix(api,ci): remove type-only imports for DI and isolate CI ports from dev
- Remove `type` keyword from NestJS injectable class imports across all modules to fix runtime DI resolution (330+ handler/listener files) - Offset CI docker-compose ports (5433/6380/8109/9002) to avoid conflicts with running dev containers - Update .env.test, playwright.config.ts, and e2e workflow to use isolated CI ports with configurable overrides - Fix prisma/seed.ts to use deterministic IDs for Prisma 7 upsert compatibility (phoneHash replaced phone as unique index) - Add dedicated Docker bridge network for CI service containers Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { type PropertyType } from '@prisma/client';
|
||||
import { PropertyType } from '@prisma/client';
|
||||
import { AggregateRoot } from '@modules/shared';
|
||||
import { MarketIndexUpdatedEvent } from '../events/market-index-updated.event';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type DomainEvent } from '@modules/shared';
|
||||
import { DomainEvent } from '@modules/shared';
|
||||
|
||||
export class MarketIndexUpdatedEvent implements DomainEvent {
|
||||
readonly eventName = 'market-index.updated';
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { MARKET_INDEX_REPOSITORY, type IMarketIndexRepository, type MarketReportResult, type HeatmapDataPoint, type PriceTrendPoint, type DistrictStatsResult } from './market-index.repository';
|
||||
export { VALUATION_REPOSITORY, type IValuationRepository } from './valuation.repository';
|
||||
export { MARKET_INDEX_REPOSITORY, IMarketIndexRepository, type MarketReportResult, type HeatmapDataPoint, type PriceTrendPoint, type DistrictStatsResult } from './market-index.repository';
|
||||
export { VALUATION_REPOSITORY, IValuationRepository } from './valuation.repository';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type PropertyType } from '@prisma/client';
|
||||
import { type MarketIndexEntity } from '../entities/market-index.entity';
|
||||
import { PropertyType } from '@prisma/client';
|
||||
import { MarketIndexEntity } from '../entities/market-index.entity';
|
||||
|
||||
export const MARKET_INDEX_REPOSITORY = Symbol('MARKET_INDEX_REPOSITORY');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type ValuationEntity } from '../entities/valuation.entity';
|
||||
import { ValuationEntity } from '../entities/valuation.entity';
|
||||
|
||||
export const VALUATION_REPOSITORY = Symbol('VALUATION_REPOSITORY');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type PropertyType } from '@prisma/client';
|
||||
import { PropertyType } from '@prisma/client';
|
||||
|
||||
export const AVM_SERVICE = Symbol('AVM_SERVICE');
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { AVM_SERVICE, type IAVMService, type AVMParams, type ValuationResult, type Comparable } from './avm-service';
|
||||
export { AVM_SERVICE, IAVMService, type AVMParams, type ValuationResult, type Comparable } from './avm-service';
|
||||
|
||||
Reference in New Issue
Block a user