1.1.2 • Published 9 months ago

@rdfjs/types v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

RDF/JS Types

Authoritative TypeScript typings for all RDF/JS specifications

The types should match the RDF/JS specifications (Data Model, Dataset and Stream). However, because they also take advantage of TypecScript-specific syntax features, some differences are inevitable. If something does not add up, please open an issue.

Usage

Installed as usual using your favourite package manager.

yarn add @rdfjs/types

This package does not provide code, only interafces for the RDF/JS specifications. Import them to strong-type your RDF/JS code.

import type { NamedNode, DatasetCore, Stream } from '@rdfjs/types'

Or import separately from type modules corresponding the specifications.

import type { NamedNode } from '@rdfjs/types/data-model'
import type { DatasetCore } from '@rdfjs/types/dataset'
import type { Stream } from '@rdfjs/types/stream'

Contributing

Everyone is invited to open issues and pull requests. When you create a PR, please add or update the rdf-js-tests.ts file to reflect your changes.

You may also create a changeset file by running npx run changeset and following the simple wizard. If you don't do that, such as in the case when editing from your browser, do not worry. A maintainer can also create it for you when you open a PR.

What about @types/rdf-js?

This package replaces typings previously managed in the DefinitelyTyped repository and a later proxy package rdf-js.

Both these old packages are deprecated. They will continue to work for backwards compatibility but library maintainers are encouraged to use @rdfjs/types instead.

@ldes/types@ldes/subject-page-bucketizer@equinor/sparql-graph@infinitebrahmanuniverse/nolb-_rdrspql-query-subsumption@everything-registry/sub-chunk-762temporibusrepudiandaewebdatacommonsshacl-astshacl2tssparqlalgebrajssparqlalgebrajs-inputsparqlalgebrajs-nrtsparqleesparql-query-parameter-instantiatorsparqljson-parsesparqljson-to-treesparqlxml-parse@comunica/actor-init-query@comunica/actor-query-operation-from-quad@comunica/actor-query-operation-group@comunica/actor-query-operation-leftjoin-left-deep@comunica/actor-query-operation-nop@comunica/actor-query-operation-bgp-left-deep-smallest@comunica/actor-query-operation-bgp-left-deep-smallest-sort@comunica/actor-query-operation-bgp-traversal@comunica/actor-query-operation-construct@comunica/actor-optimize-query-operation-filter-pushdown@comunica/actor-optimize-query-operation-rewrite-add@comunica/actor-optimize-rule-pattern-restriction@comunica/actor-query-operation-distinct-hash@comunica/actor-query-operation-filter-direct@comunica/actor-rdf-metadata-triple-predicate@comunica/actor-rdf-parse-html@comunica/actor-rdf-parse-html-script@comunica/actor-rdf-parse-shaclc@comunica/actor-rdf-reason-rule-restriction@comunica/bus-hash-bindings@comunica/bus-query-operation@comunica/bus-query-parse@comunica/actor-rdf-resolve-quad-pattern-rdfjs-source@comunica/actor-rdf-resolve-quad-pattern-sparql-json@comunica/actor-rdf-resolve-quad-pattern-string-source@comunica/actor-rdf-update-hypermedia-patch-sparql-update@comunica/actor-rdf-update-hypermedia-put-ldp@comunica/actor-rdf-update-hypermedia-sparql@comunica/actor-rdf-update-quads-intercept-reasoned@comunica/actor-rdf-update-quads-rdfjs-store@comunica/actor-rule-parse-hylar@comunica/actor-sparql-serialize-json@comunica/bus-query-source-identify@comunica/bus-query-source-identify-hypermedia@comunica/bus-rdf-dereference@comunica/bus-rdf-dereference-paged@comunica/bus-rdf-join@comunica/bus-rdf-metadata@comunica/actor-rdf-resolve-hypermedia-qpf@comunica/actor-rdf-resolve-hypermedia-sparql@comunica/actor-rdf-resolve-quad-pattern-federated@comunica/actor-rdf-resolve-quad-pattern-file@comunica/actor-rdf-resolve-quad-pattern-hypermedia@comunica/actor-term-comparator-factory-expression-evaluator@comunica/bindings-factory@comunica/bus-bindings-aggregator-factory@comunica/bus-dereference-rdf@comunica/bus-extract-links@comunica/actor-sparql-serialize-simple@comunica/actor-sparql-serialize-sparql-csv@comunica/actor-sparql-serialize-sparql-json@comunica/actor-sparql-serialize-sparql-tsv@comunica/actor-sparql-serialize-sparql-xml@comunica/actor-sparql-serialize-stats@comunica/actor-sparql-serialize-table@comunica/actor-sparql-serialize-tree@comunica/actor-abstract-path@comunica/actor-bindings-aggregator-factory-average@comunica/actor-bindings-aggregator-factory-count@comunica/actor-bindings-aggregator-factory-group-concat@comunica/actor-bindings-aggregator-factory-max@comunica/actor-expression-evaluator-factory-default@comunica/actor-extract-links-content-policies@comunica/actor-extract-links-quad-pattern-query@comunica/actor-extract-links-solid-type-index@comunica/actor-bindings-aggregator-factory-min@comunica/actor-bindings-aggregator-factory-sample@comunica/actor-bindings-aggregator-factory-sum@comunica/actor-bindings-aggregator-factory-wildcard-count@comunica/actor-context-preprocess-query-source-skolemize@comunica/actor-context-preprocess-set-defaults@comunica/actor-extract-links-tree@comunica/actor-query-operation-project@comunica/actor-query-operation-quadpattern@comunica/actor-query-operation-reduced-hash@comunica/actor-rdf-join-minus-hash@comunica/actor-rdf-join-minus-hash-undef@comunica/actor-query-operation-update-deleteinsert@comunica/actor-query-operation-update-drop@comunica/actor-rdf-join-entries-sort-traversal-zero-knowledge@comunica/actor-rdf-join-inner-multi-empty@comunica/actor-rdf-join-inner-none
1.1.1

9 months ago

1.1.2

9 months ago

1.1.0

3 years ago

1.1.0-next.1

3 years ago

1.1.0-next.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago