@sebspark/opensearch 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -200,7 +200,6 @@ type OpenSearchQueryBody<T extends {
|
|
|
200
200
|
id: string;
|
|
201
201
|
}, K = T> = K extends DeepPartial<T> ? {
|
|
202
202
|
query: {
|
|
203
|
-
fields?: OpenSearchFields<K>;
|
|
204
203
|
filter?: OpenSearchFilter<T>;
|
|
205
204
|
match?: Match<T>;
|
|
206
205
|
match_all?: {
|
|
@@ -225,6 +224,7 @@ type OpenSearchQueryBody<T extends {
|
|
|
225
224
|
match_phrase_prefix?: MatchPhrasePrefix<T>;
|
|
226
225
|
more_like_this?: MoreLikeThis<T>;
|
|
227
226
|
};
|
|
227
|
+
_source?: OpenSearchFields<K>;
|
|
228
228
|
} : never;
|
|
229
229
|
type Sort<T> = {
|
|
230
230
|
[P in keyof NestedFields<T>]?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -200,7 +200,6 @@ type OpenSearchQueryBody<T extends {
|
|
|
200
200
|
id: string;
|
|
201
201
|
}, K = T> = K extends DeepPartial<T> ? {
|
|
202
202
|
query: {
|
|
203
|
-
fields?: OpenSearchFields<K>;
|
|
204
203
|
filter?: OpenSearchFilter<T>;
|
|
205
204
|
match?: Match<T>;
|
|
206
205
|
match_all?: {
|
|
@@ -225,6 +224,7 @@ type OpenSearchQueryBody<T extends {
|
|
|
225
224
|
match_phrase_prefix?: MatchPhrasePrefix<T>;
|
|
226
225
|
more_like_this?: MoreLikeThis<T>;
|
|
227
226
|
};
|
|
227
|
+
_source?: OpenSearchFields<K>;
|
|
228
228
|
} : never;
|
|
229
229
|
type Sort<T> = {
|
|
230
230
|
[P in keyof NestedFields<T>]?: {
|