@types/rdf-js
Advanced tools
Comparing version 2.0.12 to 3.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for the RDFJS specification 2.0 | ||
// Type definitions for the RDFJS specification 3.0 | ||
// Project: https://github.com/rdfjs/representation-task-force | ||
@@ -203,3 +203,3 @@ // Definitions by: Ruben Taelman <https://github.com/rubensworks> | ||
*/ | ||
equals(other: BaseQuad): boolean; | ||
equals(other: BaseQuad | null | undefined): boolean; | ||
} | ||
@@ -236,16 +236,8 @@ | ||
*/ | ||
equals(other: BaseQuad): boolean; | ||
equals(other: BaseQuad | null | undefined): boolean; | ||
} | ||
/** | ||
* An RDF triple, containing the subject, predicate, object terms. | ||
* | ||
* Triple is an alias of Quad. | ||
* A factory for instantiating RDF terms and quads. | ||
*/ | ||
// tslint:disable-next-line no-empty-interface | ||
export interface Triple extends Quad {} | ||
/** | ||
* A factory for instantiating RDF terms, triples and quads. | ||
*/ | ||
export interface DataFactory<OutQuad extends BaseQuad = Quad, InQuad extends BaseQuad = OutQuad> { | ||
@@ -294,13 +286,2 @@ /** | ||
/** | ||
* @param subject The triple subject term. | ||
* @param predicate The triple predicate term. | ||
* @param object The triple object term. | ||
* @return A new instance of Quad with `Quad.graph` set to DefaultGraph. | ||
* @see Quad | ||
* @see Triple | ||
* @see DefaultGraph | ||
*/ | ||
triple(subject: InQuad['subject'], predicate: InQuad['predicate'], object: InQuad['object']): InQuad; | ||
/** | ||
* @param subject The quad subject term. | ||
@@ -307,0 +288,0 @@ * @param predicate The quad predicate term. |
{ | ||
"name": "@types/rdf-js", | ||
"version": "2.0.12", | ||
"version": "3.0.0", | ||
"description": "TypeScript definitions for the RDFJS specification", | ||
@@ -29,4 +29,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "031e66d064fdc618f3a17d62f80dd1bba320b8456408a2a689f67e0c6381759d", | ||
"typesPublisherContentHash": "e66a3f7fea98183dcd3553d8d1a131755b8867906f9a1726efcb68f805a49955", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 06 Apr 2020 18:13:03 GMT | ||
* Last updated: Sun, 26 Apr 2020 16:21:49 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -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
23676
571