From 2eafb739f515b0f4b096a162062f34fda77fa9d2 Mon Sep 17 00:00:00 2001 From: TessavWalstijn Date: Wed, 8 May 2024 15:41:56 +0200 Subject: [PATCH] Resolved 'Only named exports may use "export type".' issue --- index.d.ts | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 130 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index 68229a6..4f854c5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,132 @@ /// -export type * from './data-model'; -export type * from './stream'; -export type * from './dataset'; -export type * from './query'; +import type { + Term, + NamedNode, + BlankNode, + Literal, + Variable, + DefaultGraph, + Quad_Subject, + Quad_Predicate, + Quad_Object, + Quad_Graph, + BaseQuad, + Quad, + DataFactory, +} from './data-model.d.ts' + +import type { Stream, Source, Sink, Store } from './stream.d.ts' + +import type { + DatasetCore, + DatasetCoreFactory, + Dataset, + DatasetFactory, +} from './dataset.d.ts' + +import type { + QuadTermName, + ResultStream, + QueryOperationCost, + QueryOperationOrder, + QueryResultCardinality, + BaseMetadataQuery, + AllMetadataSupport, + CardinalityMetadataSupport, + OrderMetadataSupport, + AvailableOrdersMetadataSupport, + MetadataOpts, + CardinalityMetadataOpts, + OrderMetadataOpts, + AvailableOrdersMetadataOpts, + ConditionalMetadataType, + QueryExecuteOptions, + BaseQuery, + QueryBindings, + QueryQuads, + QueryBoolean, + QueryVoid, + Query, + Bindings, + BindingsFactory, +} from './query/common.d.ts' + +import type { + QueryContext, + QueryStringContext, + QueryAlgebraContext, + QuerySourceContext, + QueryFormat, + StringQueryable, + AlgebraQueryable, + StringSparqlQueryable, + AlgebraSparqlQueryable, + SparqlResultSupport, + BindingsResultSupport, + VoidResultSupport, + QuadsResultSupport, + BooleanResultSupport, +} from './query/queryable.d.ts' + +export type { + Term, + NamedNode, + BlankNode, + Literal, + Variable, + DefaultGraph, + Quad_Subject, + Quad_Predicate, + Quad_Object, + Quad_Graph, + BaseQuad, + Quad, + DataFactory, + Stream, + Source, + Sink, + Store, + DatasetCore, + DatasetCoreFactory, + Dataset, + DatasetFactory, + QuadTermName, + ResultStream, + QueryOperationCost, + QueryOperationOrder, + QueryResultCardinality, + BaseMetadataQuery, + AllMetadataSupport, + CardinalityMetadataSupport, + OrderMetadataSupport, + AvailableOrdersMetadataSupport, + MetadataOpts, + CardinalityMetadataOpts, + OrderMetadataOpts, + AvailableOrdersMetadataOpts, + ConditionalMetadataType, + QueryExecuteOptions, + BaseQuery, + QueryBindings, + QueryQuads, + QueryBoolean, + QueryVoid, + Query, + Bindings, + BindingsFactory, + QueryContext, + QueryStringContext, + QueryAlgebraContext, + QuerySourceContext, + QueryFormat, + StringQueryable, + AlgebraQueryable, + StringSparqlQueryable, + AlgebraSparqlQueryable, + SparqlResultSupport, + BindingsResultSupport, + VoidResultSupport, + QuadsResultSupport, + BooleanResultSupport, +}