@rdfc/sds-storage-writer-ts
Version:
An RDF-Connect processor to write SDS streams into a given storage system
14 lines (13 loc) • 393 B
TypeScript
import type * as RDF from "@rdfjs/types";
import { Stream } from "@rdfc/js-runner";
export type DataRecord = {
id: string;
data: string;
};
export type DBConfig = {
url: string;
metadata: string;
data: string;
index: string;
};
export declare function ingest(data: Stream<string | RDF.Quad[]>, metadata: Stream<string | RDF.Quad[]>, database: DBConfig): Promise<void>;