Skip to content

Interface: CreateSolidLdoDatasetOptions

Options for createSolidDataset

Properties

dataset

Optional dataset: Dataset\<Quad, Quad>

An initial dataset

Default

A blank dataset

Defined in

packages/solid/src/createSolidLdoDataset.ts:22


datasetFactory

Optional datasetFactory: DatasetFactory\<Quad, Quad, Dataset\<Quad, Quad>>

An RDFJS DatasetFactory

Default

An extended RDFJS DatasetFactory

Defined in

packages/solid/src/createSolidLdoDataset.ts:27


fetch

Optional fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise\<Response>(input: string | Request | URL, init?: RequestInit) => Promise\<Response>

A fetch function. Most often, this is the fetch function from @inrupt/solid-clieht-authn-js

Type declaration

▸ (input, init?): Promise\<Response>

A fetch function. Most often, this is the fetch function from @inrupt/solid-clieht-authn-js

Parameters
Name Type
input RequestInfo | URL
init? RequestInit
Returns

Promise\<Response>

▸ (input, init?): Promise\<Response>

A fetch function. Most often, this is the fetch function from @inrupt/solid-clieht-authn-js

Parameters
Name Type
input string | Request | URL
init? RequestInit
Returns

Promise\<Response>

Defined in

packages/solid/src/createSolidLdoDataset.ts:17