@comunica/actor-dereference-rdf-parse
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -9,2 +9,26 @@ import type { IActorDereferenceOutput } from '@comunica/bus-dereference'; | ||
export declare class ActorDereferenceRdfParse extends ActorDereferenceRdf { | ||
/** | ||
* @param args - @defaultNested {{ | ||
* "ttl": "text/turtle", | ||
* "turtle": "text/turtle", | ||
* "nt": "application/n-triples", | ||
* "ntriples": "application/n-triples", | ||
* "nq": "application/n-quads", | ||
* "nquads": "application/n-quads", | ||
* "rdf": "application/rdf+xml", | ||
* "rdfxml": "application/rdf+xml", | ||
* "owl": "application/rdf+xml", | ||
* "n3": "text/n3", | ||
* "trig": "application/trig", | ||
* "jsonld": "application/ld+json", | ||
* "json": "application/json", | ||
* "html": "text/html", | ||
* "htm": "text/html", | ||
* "xhtml": "application/xhtml+xml", | ||
* "xht": "application/xhtml+xml", | ||
* "xml": "application/xml", | ||
* "svg": "image/svg+xml", | ||
* "svgz": "image/svg+xml" | ||
* }} mediaMappings | ||
*/ | ||
constructor(args: IActorDereferenceRdfArgs); | ||
@@ -14,29 +38,2 @@ getMetadata(dereference: IActorDereferenceOutput): Promise<IActionRdfParseMetadata>; | ||
export interface IActorDereferenceRdfParseArgs extends IActorDereferenceRdfArgs { | ||
/** | ||
* A collection of mappings, mapping file extensions to their corresponding media type. | ||
* @range {json} | ||
* @default {{ | ||
* "ttl": "text/turtle", | ||
* "turtle": "text/turtle", | ||
* "nt": "application/n-triples", | ||
* "ntriples": "application/n-triples", | ||
* "nq": "application/n-quads", | ||
* "nquads": "application/n-quads", | ||
* "rdf": "application/rdf+xml", | ||
* "rdfxml": "application/rdf+xml", | ||
* "owl": "application/rdf+xml", | ||
* "n3": "text/n3", | ||
* "trig": "application/trig", | ||
* "jsonld": "application/ld+json", | ||
* "json": "application/json", | ||
* "html": "text/html", | ||
* "htm": "text/html", | ||
* "xhtml": "application/xhtml+xml", | ||
* "xht": "application/xhtml+xml", | ||
* "xml": "application/xml", | ||
* "svg": "image/svg+xml", | ||
* "svgz": "image/svg+xml" | ||
* }} | ||
*/ | ||
mediaMappings: Record<string, string>; | ||
} |
@@ -9,2 +9,26 @@ "use strict"; | ||
class ActorDereferenceRdfParse extends bus_dereference_rdf_1.ActorDereferenceRdf { | ||
/** | ||
* @param args - @defaultNested {{ | ||
* "ttl": "text/turtle", | ||
* "turtle": "text/turtle", | ||
* "nt": "application/n-triples", | ||
* "ntriples": "application/n-triples", | ||
* "nq": "application/n-quads", | ||
* "nquads": "application/n-quads", | ||
* "rdf": "application/rdf+xml", | ||
* "rdfxml": "application/rdf+xml", | ||
* "owl": "application/rdf+xml", | ||
* "n3": "text/n3", | ||
* "trig": "application/trig", | ||
* "jsonld": "application/ld+json", | ||
* "json": "application/json", | ||
* "html": "text/html", | ||
* "htm": "text/html", | ||
* "xhtml": "application/xhtml+xml", | ||
* "xht": "application/xhtml+xml", | ||
* "xml": "application/xml", | ||
* "svg": "image/svg+xml", | ||
* "svgz": "image/svg+xml" | ||
* }} mediaMappings | ||
*/ | ||
constructor(args) { | ||
@@ -11,0 +35,0 @@ super(args); |
{ | ||
"name": "@comunica/actor-dereference-rdf-parse", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A parse dereference-rdf actor", | ||
@@ -35,3 +35,3 @@ "lsd:module": true, | ||
"dependencies": { | ||
"@comunica/bus-dereference-rdf": "^2.0.1", | ||
"@comunica/bus-dereference-rdf": "^2.0.2", | ||
"@comunica/core": "^2.0.1" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "4c66bfaa44f73786bc7403504e5fe571181430c7" | ||
"gitHead": "0f4dbef85e27830174efc5f460e07c92ff93469f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20596
10
95