@types/sparqljs
Advanced tools
Comparing version 1.5.0 to 2.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for sparqljs 1.5 | ||
// Type definitions for sparqljs 2.1 | ||
// Project: https://github.com/RubenVerborgh/SPARQL.js | ||
@@ -11,3 +11,2 @@ // Definitions by: Alexey Morozov <https://github.com/AlexeyMz> | ||
baseIRI?: string, | ||
options?: ParserOptions, | ||
): SparqlParser; | ||
@@ -20,7 +19,2 @@ }; | ||
export interface ParserOptions { | ||
/** @default true */ | ||
collapseGroups?: boolean; | ||
} | ||
export interface GeneratorOptions { | ||
@@ -99,2 +93,3 @@ allPrefixes?: boolean; | ||
updateType: 'insert' | 'delete' | 'deletewhere' | 'insertdelete'; | ||
graph?: string; | ||
insert?: Quads[]; | ||
@@ -107,15 +102,45 @@ delete?: Quads[]; | ||
export interface ManagementOperation { | ||
type: 'load' | 'copy' | 'move' | 'add'; | ||
export type ManagementOperation = | ||
| CopyMoveAddOperation | ||
| LoadOperation | ||
| CreateOperation | ||
| ClearDropOperation; | ||
export interface CopyMoveAddOperation { | ||
type: 'copy' | 'move' | 'add'; | ||
silent: boolean; | ||
source: string | { | ||
type: 'graph'; | ||
default: boolean; | ||
}; | ||
destination?: string | { | ||
type: 'graph'; | ||
name: string; | ||
}; | ||
source: GraphOrDefault; | ||
destination: GraphOrDefault; | ||
} | ||
export interface LoadOperation { | ||
type: 'load'; | ||
silent: boolean; | ||
source: string; | ||
destination: string | false; | ||
} | ||
export interface CreateOperation { | ||
type: 'create'; | ||
silent: boolean; | ||
graph: string; | ||
} | ||
export interface ClearDropOperation { | ||
type: 'clear' | 'drop'; | ||
silent: boolean; | ||
graph: GraphReference; | ||
} | ||
export interface GraphOrDefault { | ||
type: 'graph'; | ||
name?: string; | ||
default?: boolean; | ||
} | ||
export interface GraphReference extends GraphOrDefault { | ||
named?: boolean; | ||
all?: boolean; | ||
} | ||
/** | ||
@@ -122,0 +147,0 @@ * Examples: '?var', '*', |
{ | ||
"name": "@types/sparqljs", | ||
"version": "1.5.0", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for sparqljs", | ||
@@ -16,8 +16,8 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "a66dbbe2ab689dd700b37d64c9ea3d514c1f716eeb69c088592551a47e523032", | ||
"typesPublisherContentHash": "004e9ceeeb9f8f60afee2dd8503d05f6cef95c74759cd317bdab1856e5e4e7e7", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sparqljs | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sparqljs | ||
Additional Details | ||
* Last updated: Tue, 03 Oct 2017 18:20:14 GMT | ||
* Last updated: Tue, 21 Aug 2018 16:28:53 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
7985
225