Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elasticsearch-dsl-types

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch-dsl-types - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "elasticsearch-dsl-types",
"version": "2.0.0",
"version": "2.0.1",
"description": "Types for Elasticsearch Query DSL",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -209,2 +209,10 @@ import * as GeoJSON from 'geojson';

interface QueryString<F=string> {
query_string: {
query: string;
default_field?: F;
// FIXME: more params
}
}
export type SimpleQuery<T=PropertyType> = Regexp<T>

@@ -224,3 +232,4 @@ | Term<T>

| GeoBoundingBox<Extract<keyof T, string>>
| Match<T>;
| Match<T>
| QueryString<keyof T>;

@@ -227,0 +236,0 @@ export interface Bool<T=PropertyType> {

@@ -70,2 +70,10 @@ import * as DSL from './query';

it('query_string', () => {
extendable<{
"query_string": {
"query": 'hello',
},
}, DSL.QueryString>(true);
});
it('geo_distance', () => {

@@ -72,0 +80,0 @@ extendable<{

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc