feat(api): add price history, Stringee SMS, Zalo OA, WebSocket notifications, and feature-listing command
- Add PriceHistory model + migration, price-changed domain event, and event handler - Add GetPriceHistory query handler and controller endpoint - Implement StringeeSmsService and ZaloOaService with unit tests - Add Zalo ZNS templates for Vietnamese notification messages - Add WebSocket notification gateway for real-time push - Add FeatureListingCommand for promoted listings - Apply remaining consistent-type-imports lint fixes across API modules Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
Query,
|
||||
UseGuards,
|
||||
} from '@nestjs/common';
|
||||
import { CommandBus, QueryBus } from '@nestjs/cqrs';
|
||||
import { type CommandBus, type QueryBus } from '@nestjs/cqrs';
|
||||
import {
|
||||
ApiTags,
|
||||
ApiOperation,
|
||||
@@ -15,12 +15,12 @@ import {
|
||||
import { Roles, JwtAuthGuard, RolesGuard } from '@modules/auth';
|
||||
import { EndpointRateLimit, EndpointRateLimitGuard } from '@modules/shared';
|
||||
import { ReindexAllCommand } from '../../application/commands/reindex-all/reindex-all.command';
|
||||
import { ReindexResult } from '../../application/commands/reindex-all/reindex-all.handler';
|
||||
import { type ReindexResult } from '../../application/commands/reindex-all/reindex-all.handler';
|
||||
import { GeoSearchQuery } from '../../application/queries/geo-search/geo-search.query';
|
||||
import { SearchPropertiesQuery } from '../../application/queries/search-properties/search-properties.query';
|
||||
import { SearchResult } from '../../domain/repositories/search.repository';
|
||||
import { GeoSearchDto } from '../dto/geo-search.dto';
|
||||
import { SearchPropertiesDto } from '../dto/search-properties.dto';
|
||||
import { type SearchResult } from '../../domain/repositories/search.repository';
|
||||
import { type GeoSearchDto } from '../dto/geo-search.dto';
|
||||
import { type SearchPropertiesDto } from '../dto/search-properties.dto';
|
||||
|
||||
@ApiTags('search')
|
||||
@Controller('search')
|
||||
|
||||
Reference in New Issue
Block a user