fix(lint): enforce consistent-type-imports and fix import ordering across codebase
Auto-fix 862 lint errors: convert value imports used only as types to `import type`, fix import group ordering in seed.ts and du-an-api.ts, remove unused imports in auth controller, and clean up stale eslint-disable comments referencing non-existent rules. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { PropertyType } from '@prisma/client';
|
||||
import { type PropertyType } from '@prisma/client';
|
||||
import { AggregateRoot } from '@modules/shared';
|
||||
import { MarketIndexUpdatedEvent } from '../events/market-index-updated.event';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DomainEvent } from '@modules/shared';
|
||||
import { type DomainEvent } from '@modules/shared';
|
||||
|
||||
export class MarketIndexUpdatedEvent implements DomainEvent {
|
||||
readonly eventName = 'market-index.updated';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { PropertyType } from '@prisma/client';
|
||||
import { MarketIndexEntity } from '../entities/market-index.entity';
|
||||
import { type PropertyType } from '@prisma/client';
|
||||
import { type MarketIndexEntity } from '../entities/market-index.entity';
|
||||
|
||||
export const MARKET_INDEX_REPOSITORY = Symbol('MARKET_INDEX_REPOSITORY');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ValuationEntity } from '../entities/valuation.entity';
|
||||
import { type ValuationEntity } from '../entities/valuation.entity';
|
||||
|
||||
export const VALUATION_REPOSITORY = Symbol('VALUATION_REPOSITORY');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user