Comparing version 5.0.0-beta.5 to 5.0.0-beta.6
@@ -32,2 +32,6 @@ /// <reference types="ws" /> | ||
} | ||
export interface ConditionQuery { | ||
type: QueryType.AND | QueryType.OR; | ||
queries: Query[]; | ||
} | ||
export interface TextOptions { | ||
@@ -44,6 +48,3 @@ searchBody?: boolean; | ||
} | ||
export type Query = { | ||
type: QueryType.AND | QueryType.OR; | ||
queries: Query[]; | ||
} | TextQuery; | ||
export type Query = ConditionQuery | TextQuery; | ||
export interface EndpointDescription { | ||
@@ -50,0 +51,0 @@ host: string; |
{ | ||
"name": "newsware", | ||
"version": "5.0.0-beta.5", | ||
"version": "5.0.0-beta.6", | ||
"description": "Typescript client for interacting with the Newsware API", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
@@ -37,2 +37,7 @@ import {CloseEvent} from "isomorphic-ws"; | ||
export interface ConditionQuery { | ||
type: QueryType.AND | QueryType.OR | ||
queries: Query[] | ||
} | ||
export interface TextOptions { | ||
@@ -51,6 +56,3 @@ searchBody?: boolean // defaults to true | ||
export type Query = { | ||
type: QueryType.AND | QueryType.OR | ||
queries: Query[] | ||
} | TextQuery | ||
export type Query = ConditionQuery | TextQuery | ||
@@ -57,0 +59,0 @@ export interface EndpointDescription { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62515
1250