260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
@@ -1,4 +1,4 @@
import { IsString, IsOptional, IsInt, IsNotEmpty } from 'class-validator';
import { IsString, IsOptional, IsInt } from 'class-validator';
import { Type } from 'class-transformer';
export class SearchQueryDto {
+3 -3
View File
@@ -60,7 +60,7 @@ export class SearchService implements OnModuleInit {
tags: { type: 'text' },
},
},
} as any,
} as unknown as Record<string, unknown>,
});
this.logger.log(`Elasticsearch index '${this.indexName}' created.`);
}
@@ -149,7 +149,7 @@ export class SearchService implements OnModuleInit {
filter: filterQueries,
},
},
sort: [{ createdAt: { order: 'desc' } }],
sort: [{ createdAt: { order: 'desc' as const } }],
});
// 3. Format Result
@@ -174,7 +174,7 @@ export class SearchService implements OnModuleInit {
this.logger.debug(
`Search query context: ${JSON.stringify({
query: queryDto,
esNode: this.configService.get('ELASTICSEARCH_NODE'),
esNode: String(this.configService.get('ELASTICSEARCH_NODE') ?? ''),
})}`
);
return { data: [], meta: { total: 0, page, limit, took: 0 } };