@comunica/types
Advanced tools
Comparing version 2.6.0 to 2.6.7
@@ -17,3 +17,3 @@ import type * as RDF from '@rdfjs/types'; | ||
*/ | ||
export interface IQueryEngine<QueryContext extends IQueryContextCommon = IQueryContextCommon> extends RDF.StringQueryable<RDF.AllMetadataSupport, QueryStringContext>, RDF.AlgebraQueryable<Algebra.Operation, RDF.AllMetadataSupport, QueryAlgebraContext>, RDF.StringSparqlQueryable<RDF.SparqlResultSupport, QueryStringContext>, RDF.AlgebraSparqlQueryable<Algebra.Operation, RDF.SparqlResultSupport, QueryAlgebraContext> { | ||
export interface IQueryEngine<QueryContext extends IQueryContextCommon = IQueryContextCommon, QueryStringContextInner extends RDF.QueryStringContext = QueryStringContext, QueryAlgebraContextInner extends RDF.QueryAlgebraContext = QueryAlgebraContext> extends RDF.StringQueryable<RDF.AllMetadataSupport, QueryStringContextInner>, RDF.AlgebraQueryable<Algebra.Operation, RDF.AllMetadataSupport, QueryAlgebraContextInner>, RDF.StringSparqlQueryable<RDF.SparqlResultSupport, QueryStringContextInner>, RDF.AlgebraSparqlQueryable<Algebra.Operation, RDF.SparqlResultSupport, QueryAlgebraContextInner> { | ||
/** | ||
@@ -24,3 +24,3 @@ * Query the bindings results of a SELECT query. | ||
*/ | ||
queryBindings: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext) => Promise<BindingsStream>; | ||
queryBindings: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner) => Promise<BindingsStream>; | ||
/** | ||
@@ -31,3 +31,3 @@ * Query the quad results of a CONSTRUCT or DESCRIBE query. | ||
*/ | ||
queryQuads: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext) => Promise<AsyncIterator<RDF.Quad> & RDF.ResultStream<RDF.Quad>>; | ||
queryQuads: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner) => Promise<AsyncIterator<RDF.Quad> & RDF.ResultStream<RDF.Quad>>; | ||
/** | ||
@@ -38,3 +38,3 @@ * Query the boolean result of an ASK query. | ||
*/ | ||
queryBoolean: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext) => Promise<boolean>; | ||
queryBoolean: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner) => Promise<boolean>; | ||
/** | ||
@@ -45,3 +45,3 @@ * Execute an UPDATE query. | ||
*/ | ||
queryVoid: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext) => Promise<void>; | ||
queryVoid: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner) => Promise<void>; | ||
/** | ||
@@ -58,3 +58,3 @@ * Initiate a given query. | ||
*/ | ||
query: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext) => Promise<QueryType>; | ||
query: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context?: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner) => Promise<QueryType>; | ||
/** | ||
@@ -68,3 +68,3 @@ * Explain the given query | ||
*/ | ||
explain: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context: QueryContext & QueryFormatTypeInner extends string ? QueryStringContext : QueryAlgebraContext, explainMode: QueryExplainMode) => Promise<IQueryExplained>; | ||
explain: <QueryFormatTypeInner extends QueryFormatType>(query: QueryFormatTypeInner, context: QueryFormatTypeInner extends string ? QueryStringContextInner : QueryAlgebraContextInner, explainMode: QueryExplainMode) => Promise<IQueryExplained>; | ||
/** | ||
@@ -71,0 +71,0 @@ * @param context An optional context. |
{ | ||
"name": "@comunica/types", | ||
"version": "2.6.0", | ||
"version": "2.6.7", | ||
"description": "Typings module for Comunica", | ||
@@ -46,3 +46,3 @@ "lsd:module": true, | ||
}, | ||
"gitHead": "1cc3270abf77562357ed2feb0e738fa25f75d01f" | ||
"gitHead": "00ce278b46196e7c5e65241501d8e122cd4e4fd5" | ||
} |
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
94919
602