@codemask-labs/nestjs-elasticsearch
Advanced tools
## [1.17.1](https://github.com/codemask-labs/nestjs-elasticsearch/compare/v1.17.0...v1.17.1) (2024-06-05) | ||
### Bug Fixes | ||
* update numeric field type ([#149](https://github.com/codemask-labs/nestjs-elasticsearch/issues/149)) ([d76c66f](https://github.com/codemask-labs/nestjs-elasticsearch/commit/d76c66fc28d4895d85b3f0fa7aa1d26be5c61b66)) | ||
## [1.17.0](https://github.com/codemask-labs/nestjs-elasticsearch/compare/v1.16.3...v1.17.0) (2024-06-04) | ||
@@ -4,0 +11,0 @@ |
@@ -10,3 +10,3 @@ import { Document } from './document'; | ||
export type NumericField<TDocument extends Document> = { | ||
[K in keyof TDocument]: Exclude<TDocument[K], undefined> extends number ? K : never; | ||
[K in keyof TDocument]: Exclude<TDocument[K], undefined> extends number | null ? K : never; | ||
}[keyof TDocument]; |
@@ -11,3 +11,3 @@ { | ||
"license": "MIT", | ||
"version": "1.17.0", | ||
"version": "1.17.1", | ||
"description": "Schema based Elasticsearch, NestJS module with utilities, type-safe queries and aggregations builders.", | ||
@@ -14,0 +14,0 @@ "main": "dist/index.js", |
123501
0.28%