🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@comunica/types

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/types - npm Package Compare versions

Comparing version
5.0.0
to
5.1.0
+1
-0
lib/IQueryContext.d.ts

@@ -53,3 +53,4 @@ import type * as RDF from '@rdfjs/types';

distinctConstruct?: boolean;
rdfSerializationPrefixes?: Record<string, string>;
sources: SourceType[];
}
+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"IQueryContext.js","sourceRoot":"","sources":["IQueryContext.ts"],"names":[],"mappings":"","sourcesContent":["import type * as RDF from '@rdfjs/types';\nimport type { ComunicaDataFactory } from './ComunicaDataFactory';\nimport type { FunctionArgumentsCache } from './ExpressionEvaluator';\nimport type { IDataDestination } from './IDataDestination';\nimport type { IProxyHandler } from './IProxyHandler';\nimport type { SourceType } from './IQueryEngine';\nimport type { QueryExplainMode } from './IQueryOperationResult';\nimport type { Logger } from './Logger';\n\n// We omit `& RDF.QuerySourceContext<SourceType>` in the following two types\n// as the QuerySourceContext proved to be too developer-unfriendly.\n\n/**\n * Query context when a string-based query was passed.\n */\nexport type QueryStringContext = RDF.QueryStringContext & IQueryContextCommon;\n/**\n * Query context when an algebra-based query was passed.\n */\nexport type QueryAlgebraContext = RDF.QueryAlgebraContext & IQueryContextCommon;\n\n/**\n * Common query context interface\n */\nexport interface IQueryContextCommon {\n // Types of these entries should be aligned with contextKeyShortcuts in ActorContextPreprocessConvertShortcuts,\n // Keys in @comunica/context-entries, and possibly the CliArgsHandlers in @comunica/actor-init-query.\n\n // Inherited from RDF.QueryStringContext: sources\n destination?: IDataDestination;\n initialBindings?: RDF.Bindings;\n // Inherited from RDF.QueryStringContext: queryFormat?: string;\n // Inherited from RDF.QueryStringContext: baseIRI?: string;\n fileBaseIRI?: string;\n log?: Logger;\n datetime?: Date;\n // Inherited from RDF.QueryStringContext: queryTimestamp?: Date;\n queryTimestampHighResolution?: DOMHighResTimeStamp;\n httpProxyHandler?: IProxyHandler;\n lenient?: boolean;\n parseUnsupportedVersions?: boolean;\n httpIncludeCredentials?: boolean;\n httpAuth?: string;\n httpTimeout?: number;\n httpBodyTimeout?: boolean;\n httpRetryCount?: number;\n httpRetryDelayFallback?: number;\n httpRetryDelayLimit?: number;\n httpRetryStatusCodes?: number[];\n httpAbortSignal?: AbortSignal;\n httpCache?: boolean;\n fetch?: typeof fetch;\n recoverBrokenLinks?: boolean;\n readOnly?: boolean;\n extensionFunctions?: Record<string, (args: RDF.Term[]) => Promise<RDF.Term>>;\n extensionFunctionsAlwaysPushdown?: boolean;\n extensionFunctionCreator?: (functionNamedNode: RDF.NamedNode)\n => ((args: RDF.Term[]) => Promise<RDF.Term>) | undefined;\n functionArgumentsCache?: FunctionArgumentsCache;\n explain?: QueryExplainMode;\n unionDefaultGraph?: boolean;\n traverse?: boolean;\n invalidateCache?: boolean;\n dataFactory?: ComunicaDataFactory;\n distinctConstruct?: boolean;\n\n sources: SourceType[];\n}\n"]}
{"version":3,"file":"IQueryContext.js","sourceRoot":"","sources":["IQueryContext.ts"],"names":[],"mappings":"","sourcesContent":["import type * as RDF from '@rdfjs/types';\nimport type { ComunicaDataFactory } from './ComunicaDataFactory';\nimport type { FunctionArgumentsCache } from './ExpressionEvaluator';\nimport type { IDataDestination } from './IDataDestination';\nimport type { IProxyHandler } from './IProxyHandler';\nimport type { SourceType } from './IQueryEngine';\nimport type { QueryExplainMode } from './IQueryOperationResult';\nimport type { Logger } from './Logger';\n\n// We omit `& RDF.QuerySourceContext<SourceType>` in the following two types\n// as the QuerySourceContext proved to be too developer-unfriendly.\n\n/**\n * Query context when a string-based query was passed.\n */\nexport type QueryStringContext = RDF.QueryStringContext & IQueryContextCommon;\n/**\n * Query context when an algebra-based query was passed.\n */\nexport type QueryAlgebraContext = RDF.QueryAlgebraContext & IQueryContextCommon;\n\n/**\n * Common query context interface\n */\nexport interface IQueryContextCommon {\n // Types of these entries should be aligned with contextKeyShortcuts in ActorContextPreprocessConvertShortcuts,\n // Keys in @comunica/context-entries, and possibly the CliArgsHandlers in @comunica/actor-init-query.\n\n // Inherited from RDF.QueryStringContext: sources\n destination?: IDataDestination;\n initialBindings?: RDF.Bindings;\n // Inherited from RDF.QueryStringContext: queryFormat?: string;\n // Inherited from RDF.QueryStringContext: baseIRI?: string;\n fileBaseIRI?: string;\n log?: Logger;\n datetime?: Date;\n // Inherited from RDF.QueryStringContext: queryTimestamp?: Date;\n queryTimestampHighResolution?: DOMHighResTimeStamp;\n httpProxyHandler?: IProxyHandler;\n lenient?: boolean;\n parseUnsupportedVersions?: boolean;\n httpIncludeCredentials?: boolean;\n httpAuth?: string;\n httpTimeout?: number;\n httpBodyTimeout?: boolean;\n httpRetryCount?: number;\n httpRetryDelayFallback?: number;\n httpRetryDelayLimit?: number;\n httpRetryStatusCodes?: number[];\n httpAbortSignal?: AbortSignal;\n httpCache?: boolean;\n fetch?: typeof fetch;\n recoverBrokenLinks?: boolean;\n readOnly?: boolean;\n extensionFunctions?: Record<string, (args: RDF.Term[]) => Promise<RDF.Term>>;\n extensionFunctionsAlwaysPushdown?: boolean;\n extensionFunctionCreator?: (functionNamedNode: RDF.NamedNode)\n => ((args: RDF.Term[]) => Promise<RDF.Term>) | undefined;\n functionArgumentsCache?: FunctionArgumentsCache;\n explain?: QueryExplainMode;\n unionDefaultGraph?: boolean;\n traverse?: boolean;\n invalidateCache?: boolean;\n dataFactory?: ComunicaDataFactory;\n distinctConstruct?: boolean;\n rdfSerializationPrefixes?: Record<string, string>;\n\n sources: SourceType[];\n}\n"]}
{
"name": "@comunica/types",
"version": "5.0.0",
"version": "5.1.0",
"description": "Typings module for Comunica",

@@ -51,3 +51,3 @@ "lsd:module": true,

},
"gitHead": "0b1756fdb9bef014133432489627c1bd71779bd0"
"gitHead": "e13930973fd305fd6b233e2535ed4e636de7ebeb"
}

Sorry, the diff of this file is not supported yet