You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
581 B
22 lines
581 B
import type { IBulkEditableDataset } from "@ldo/subscribable-dataset";
|
|
import type { Quad } from "@rdfjs/types";
|
|
|
|
/**
|
|
* Request Options to be passed to request functions
|
|
*/
|
|
export interface BasicRequestOptions {
|
|
/**
|
|
* A fetch function usually imported from @inrupt/solid-client-authn-js
|
|
*/
|
|
fetch?: typeof fetch;
|
|
}
|
|
|
|
/**
|
|
* Request options with a dataset component
|
|
*/
|
|
export interface DatasetRequestOptions extends BasicRequestOptions {
|
|
/**
|
|
* A dataset to be modified with any new information obtained from a request
|
|
*/
|
|
dataset?: IBulkEditableDataset<Quad>;
|
|
}
|
|
|