Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): remove old rdf-js packages (closes #1482) #1483

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/core/bootstrap/lib/query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import $rdf from 'rdf-ext'
import { SparqlTemplateResult } from '@tpluscode/rdf-string'
import env from '@cube-creator/core/env'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/ChangelogDataset.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DatasetCore, Quad } from 'rdf-js'
import type { DatasetCore, Quad } from '@rdfjs/types'
import $rdf from 'rdf-ext'

interface Changes {
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/Loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'

Check warning on line 1 in apis/core/lib/Loader.ts

View check run for this annotation

Codecov / codecov/patch

apis/core/lib/Loader.ts#L1

Added line #L1 was not covered by tests
import { SparqlQueryLoader } from '@hydrofoil/labyrinth/lib/loader'
import { PropertyResource, Resource } from 'hydra-box'
import ParsingClient from 'sparql-http-client/ParsingClient'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/ResourceStore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Quad, Term } from 'rdf-js'
import type { NamedNode, Quad, Term } from '@rdfjs/types'
import type StreamClient from 'sparql-http-client/StreamClient'
import cf, { GraphPointer } from 'clownface'
import $rdf from 'rdf-ext'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/csvw-builder/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import * as Csvw from '@rdfine/csvw'
import TermMap from '@rdfjs/term-map'
import {
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/Resource.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DatasetCore } from 'rdf-js'
import type { DatasetCore } from '@rdfjs/types'
import { Constructor } from '@tpluscode/rdfine'
import { RdfResourceCore } from '@tpluscode/rdfine/RdfResource'
import { GraphPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/column-mapping/ColumnMapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { Constructor } from '@tpluscode/rdfine'
import { Initializer, RdfResourceCore } from '@tpluscode/rdfine/RdfResource'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/column-mapping/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { GraphPointer } from 'clownface'
import {
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/column-mapping/delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import $rdf from 'rdf-ext'
import { cc } from '@cube-creator/core/namespace'
import type { Organization } from '@rdfine/schema'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/column-mapping/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { ColumnMapping, CsvProject, Table } from '@cube-creator/model'
import type { Organization } from '@rdfine/schema'
import { ResourceStore } from '../../../ResourceStore'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/column-mapping/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { cc } from '@cube-creator/core/namespace'
import {
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-mapping/CsvMapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { Constructor } from '@tpluscode/rdfine'
import { rdf } from '@tpluscode/rdf-ns-builders'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-mapping/delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { ResourceStore } from '../../ResourceStore'
import { deleteSource } from '../csv-source/delete'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-source/CsvSource.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { CsvSource } from '@cube-creator/model'
import * as CsvColumn from '@cube-creator/model/CsvColumn'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-source/delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import $rdf from 'rdf-ext'
import { CsvSource } from '@cube-creator/model'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-source/replace.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import type { MediaObject } from '@rdfine/schema'
import { CsvSource } from '@cube-creator/model'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-source/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { CsvSource } from '@cube-creator/model'
import RdfResource from '@tpluscode/rdfine'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/csv-source/upload.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { schema } from '@tpluscode/rdf-ns-builders'
import { Conflict } from 'http-errors'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/Project.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { CsvProject, Project, CsvMapping, ImportProject } from '@cube-creator/model'
import { Constructor } from '@tpluscode/rdfine'
import { create as createMapping } from '@cube-creator/model/CsvMapping'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { dcterms, rdfs, schema } from '@tpluscode/rdf-ns-builders'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { Project } from '@cube-creator/model'
import { ParsingClient } from 'sparql-http-client/ParsingClient'
import { SELECT } from '@tpluscode/sparql-builder'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/details.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Variable, Literal, NamedNode } from 'rdf-js'
import type { Variable, Literal, NamedNode } from '@rdfjs/types'
import $rdf from 'rdf-ext'
import { CONSTRUCT, sparql } from '@tpluscode/sparql-builder'
import { SparqlGraphQueryExecutable, SparqlQuery, SparqlQueryExecutable } from '@tpluscode/sparql-builder/lib'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/details/versions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { SELECT } from '@tpluscode/sparql-builder'
import { Draft, Published } from '@cube-creator/model/Cube'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/export.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NamedNode, Stream, Term } from 'rdf-js'
import type { NamedNode, Stream, Term } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { Project } from '@cube-creator/model/Project'
import { SELECT } from '@tpluscode/sparql-builder'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/import.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DatasetCore, NamedNode, Quad, Term } from 'rdf-js'
import { Transform } from 'stream'
import type { DatasetCore, NamedNode, Quad, Term } from '@rdfjs/types'
import { BadRequest } from 'http-errors'
import $rdf from 'rdf-ext'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/queries.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { ASK, SELECT } from '@tpluscode/sparql-builder'
import { dcterms, schema } from '@tpluscode/rdf-ns-builders'
import $rdf from 'rdf-ext'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/cube-projects/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { DomainError } from '@cube-creator/api-errors'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dataset/Dataset.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import $rdf from 'rdf-ext'
import { Constructor } from '@tpluscode/rdfine'
import { _void, schema } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dataset/queries.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'

Check warning on line 1 in apis/core/lib/domain/dataset/queries.ts

View check run for this annotation

Codecov / codecov/patch

apis/core/lib/domain/dataset/queries.ts#L1

Added line #L1 was not covered by tests
import { schema } from '@tpluscode/rdf-ns-builders'
import { cc } from '@cube-creator/core/namespace'
import { SELECT } from '@tpluscode/sparql-builder'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dataset/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { cc, lindasSchema } from '@cube-creator/core/namespace'
import { dcat, hydra, rdf, schema, vcard, _void } from '@tpluscode/rdf-ns-builders'
import { GraphPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dimension-mapping/DimensionMapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Literal, NamedNode, Term } from 'rdf-js'
import type { Literal, NamedNode, Term } from '@rdfjs/types'
import { Constructor, property } from '@tpluscode/rdfine'
import { prov, rdf, schema } from '@tpluscode/rdf-ns-builders'
import { Dictionary } from '@rdfine/prov'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dimension-mapping/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import error from 'http-errors'
import { Dictionary } from '@rdfine/prov'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlankNode, DatasetCore, NamedNode, Term } from 'rdf-js'
import type { BlankNode, DatasetCore, NamedNode, Term } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { Constructor } from '@tpluscode/rdfine'
import type { Organization } from '@rdfine/schema'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/dimension/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Quad, Term } from 'rdf-js'
import type { NamedNode, Quad, Term } from '@rdfjs/types'
import clownface, { GraphPointer } from 'clownface'
import TermSet from '@rdfjs/term-set'
import $rdf from 'rdf-ext'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/errors/deleteCurrent.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { DELETE } from '@tpluscode/sparql-builder'
import { cc } from '@cube-creator/core/namespace'
import { schema } from '@tpluscode/rdf-ns-builders/strict'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/identifiers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import UrlSlugify from 'url-slugify'
import $rdf from 'rdf-ext'
import { GraphPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/job/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import $rdf from 'rdf-ext'
import { cc } from '@cube-creator/core/namespace'
import { GraphPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/job/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { Job, JobMixin, ImportProject, Dataset, CsvProject } from '@cube-creator/model'
import { isPublishJob, isTransformJob, JobErrorMixin } from '@cube-creator/model/Job'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/observations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Quad, Term } from 'rdf-js'
import type { Quad, Term } from '@rdfjs/types'
import { Collection, IriTemplate } from '@rdfine/hydra'
import { AnyPointer, GraphPointer } from 'clownface'
import { rdf } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/observations/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import CubeQuery from 'rdf-cube-view-query'
import { Source } from 'rdf-cube-view-query/lib/Source'
import { View } from 'rdf-cube-view-query/lib/View'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/organization/Organization.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { Constructor } from '@tpluscode/rdfine'
import { Organization } from '@rdfine/schema'
import { schema } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/organization/query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { CsvMapping, Table } from '@cube-creator/model'
import { ASK, SELECT } from '@tpluscode/sparql-builder'
import { cc } from '@cube-creator/core/namespace'
Expand Down
10 changes: 5 additions & 5 deletions apis/core/lib/domain/queries/column-mapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { ASK, SELECT } from '@tpluscode/sparql-builder'
import { cc } from '@cube-creator/core/namespace'
import { streamClient, parsingClient } from '../../query-client'
Expand All @@ -13,23 +13,23 @@ export async function dimensionIsUsedByOtherMapping(columnMapping: Term, client
?deletedMapping a ${cc.ColumnMapping} ;
${cc.targetProperty} ?deletedTargetProperty .
}

graph ?table {
?table a ${cc.ObservationTable} ;
${cc.columnMapping} ?deletedMapping ;
${cc.csvMapping} ?csvMapping ;
}

graph ?otherTable {
?otherTable a ${cc.ObservationTable} ;
${cc.csvMapping} ?csvMapping ;
${cc.columnMapping} ?otherMapping ;
}

graph ?otherMapping {
?otherMapping ${cc.targetProperty} ?targetProperty .
}

filter ( ?deletedTargetProperty = ?targetProperty )
filter ( ?otherMapping != ?deletedMapping )
`
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/csv-source.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { ASK } from '@tpluscode/sparql-builder'
import { cc } from '@cube-creator/core/namespace'
import { schema } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/cube-data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NamedNode, Quad } from 'rdf-js'
import type { NamedNode, Quad } from '@rdfjs/types'
import { DESCRIBE } from '@tpluscode/sparql-builder'

Check warning on line 2 in apis/core/lib/domain/queries/cube-data.ts

View check run for this annotation

Codecov / codecov/patch

apis/core/lib/domain/queries/cube-data.ts#L1-L2

Added lines #L1 - L2 were not covered by tests
import { ParsingClient } from 'sparql-http-client/ParsingClient'

interface DescribeResource {
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/cube.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NamedNode, Stream, Term } from 'rdf-js'
import { Readable } from 'stream'
import type { NamedNode, Stream, Term } from '@rdfjs/types'
import { CONSTRUCT, SELECT, sparql } from '@tpluscode/sparql-builder'
import StreamClient from 'sparql-http-client/StreamClient'
import * as ns from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/dimension-mappings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Literal, NamedNode, Term } from 'rdf-js'
import { Readable } from 'stream'
import type { Literal, NamedNode, Term } from '@rdfjs/types'
import { SELECT } from '@tpluscode/sparql-builder'
import { sparql, SparqlTemplateResult } from '@tpluscode/rdf-string'
import { rdf, schema, sh } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/dimension-metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { CONSTRUCT, SELECT } from '@tpluscode/sparql-builder'
import { dcterms, rdfs, schema } from '@tpluscode/rdf-ns-builders'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/observations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term, Quad } from 'rdf-js'
import type { Term, Quad } from '@rdfjs/types'
import { CONSTRUCT } from '@tpluscode/sparql-builder'
import { schema } from '@tpluscode/rdf-ns-builders'
import { parsingClient } from '../../query-client'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/resources-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term, Quad } from 'rdf-js'
import type { Term, Quad } from '@rdfjs/types'
import { CONSTRUCT } from '@tpluscode/sparql-builder'
import { rdf } from '@tpluscode/rdf-ns-builders'
import env from '@cube-creator/core/env'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/queries/table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { SELECT } from '@tpluscode/sparql-builder'
import { CsvMapping, Table } from '@cube-creator/model'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/table/Table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode, Term } from 'rdf-js'
import type { NamedNode, Term } from '@rdfjs/types'
import { Constructor, property } from '@tpluscode/rdfine'
import { Mixin } from '@tpluscode/rdfine/lib/ResourceFactory'
import { CsvColumn, Table } from '@cube-creator/model'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/table/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { GraphPointer } from 'clownface'
import { csvw, schema, xsd } from '@tpluscode/rdf-ns-builders'
import { cc } from '@cube-creator/core/namespace'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/table/csvw.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'

Check warning on line 1 in apis/core/lib/domain/table/csvw.ts

View check run for this annotation

Codecov / codecov/patch

apis/core/lib/domain/table/csvw.ts#L1

Added line #L1 was not covered by tests
import * as Table from '@cube-creator/model/Table'
import * as Csvw from '@rdfine/csvw'
import { NotFoundError } from '@cube-creator/api-errors'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/domain/table/delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { cc } from '@cube-creator/core/namespace'
import { ResourceStore } from '../../ResourceStore'
import * as TableQueries from '../queries/table'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/handlers/dataset.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Term } from 'rdf-js'
import { PassThrough } from 'stream'
import type { Term } from '@rdfjs/types'
import asyncMiddleware from 'middleware-async'
import clownface from 'clownface'
import parsePreferHeader from 'parse-prefer-header'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/handlers/dimension-mapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js'
import type { Term } from '@rdfjs/types'
import asyncMiddleware from 'middleware-async'
import { protectedResource } from '@hydrofoil/labyrinth/resource'
import { Enrichment } from '@hydrofoil/labyrinth/lib/middleware/preprocessResource'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/handlers/dimension.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import { protectedResource } from '@hydrofoil/labyrinth/resource'
import { Enrichment } from '@hydrofoil/labyrinth/lib/middleware/preprocessResource'
import asyncMiddleware from 'middleware-async'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/handlers/jobs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import asyncMiddleware from 'middleware-async'
import { protectedResource } from '@hydrofoil/labyrinth/resource'
import { GraphPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/middleware/shacl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import * as expressMiddlewareShacl from 'hydra-box-middleware-shacl'
import ResourceStoreImpl from '../ResourceStore'
import { streamClient } from '../query-client'
Expand Down
2 changes: 1 addition & 1 deletion apis/core/lib/pipeline/trigger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { URLSearchParams } from 'url'
import { NamedNode } from 'rdf-js'
import type { NamedNode } from '@rdfjs/types'
import nodeFetch, { RequestInit, Response } from 'node-fetch'
import env from '@cube-creator/core/env'
import { GraphPointer } from 'clownface'
Expand Down
Loading
Loading