UNPKG

graphdb-workbench

Version:
17 lines (16 loc) 664 B
import { Service } from '../../providers/service/service'; import { NamespaceMap } from '../../models/repositories'; /** * Service for interacting with RDF4J repositories. */ export declare class NamespacesService implements Service { private namespaceMapper; private readonly namespacesRestService; /** * Retrieves all prefixes, mapped to their respective URIs. * * @param repositoryId The unique identifier of the repository for which to retrieve namespaces. * @returns A promise that resolves to a NamespaceMap containing prefixes mapped to their URIs. */ getNamespaces(repositoryId: string): Promise<NamespaceMap>; }