Interface SolidDataDriverOptions<T>
interface SolidDataDriverOptions<T> { baseIRI?: string; baseUri?: `http://${string}` | `https://${string}`; datetime?: Date; deserialize?: ((obj: Readonly<{ predicates: Readonly<Record<string, Readonly<Partial<{ blankNodes: readonly (`_:${(...
)}` | (Readonly<Record<string, Readonly<Partial<{ literals: Readonly<Record<string, readonly string[]>>; langStrings: Readonly<Record<string, readonly string[]>>; namedNodes: readonly string[]; blankNodes: readonly (`_:${string}` | Readonly<...>)[]; }>>>>
))[]; langStrings: Readonly<Record<string, readonly (...
)[]>>; literals: Readonly<Record<string, readonly (...
)[]>>; namedNodes: readonly string[]; }>>>>; type: "Subject"; url: string; }>) => T); destination?: IDataDestination; engine?: ActorInitQueryBase; explain?: QueryExplainMode; extensionFunctionCreator?: ((functionNamedNode: NamedNode<string>) => ((args: Term[]) => Promise<Term>)); extensionFunctions?: Record<string, ((args: Term[]) => Promise<Term>)>; fetch?: { (input: URL | RequestInfo,
init?: RequestInit): Promise<Response>; (input: string | URL | Request,
init?: RequestInit): Promise<Response>; }; functionArgumentsCache?: FunctionArgumentsCache; httpAuth?: `${string}:${string}`; httpBodyTimeout?: boolean; httpIncludeCredentials?: boolean; httpProxyHandler?: IProxyHandler; httpRetryCount?: number; httpRetryDelay?: number; httpRetryOnServerError?: boolean; httpTimeout?: number; initialBindings?: Bindings; keepChangelog?: boolean; lenient?: boolean; log?: Logger; queryFormat?: QueryFormat; queryTimestamp?: Date; readOnly?: boolean; recoverBrokenLinks?: boolean; serialize?: ((obj: T,
baseURI?: `http://${string}` | `https://${string}`) => Readonly<{ predicates: Readonly<Record<string, Readonly<Partial<{ blankNodes: readonly ((...
) | (...
))[]; langStrings: Readonly<Record<(...
), (...
)>>; literals: Readonly<Record<(...
), (...
)>>; namedNodes: readonly string[]; }>>>>; type: "Subject"; url: string; }>[]); sources: [QuerySourceUnidentified, ...QuerySourceUnidentified[]]; uid?: string; uriPrefix?: string; } Properties
Optional
baseIRI
baseIRI?: string
Optional
baseUri
baseUri?: `http://${string}` | `https://${string}`
Optional
datetime
datetime?: Date
Optional
deserialize
deserialize?: ((obj: Readonly<{ predicates: Readonly<Record<string, Readonly<Partial<{ blankNodes: readonly (`_:${(...
)}` | (Readonly<Record<string, Readonly<Partial<{ literals: Readonly<Record<string, readonly string[]>>; langStrings: Readonly<Record<string, readonly string[]>>; namedNodes: readonly string[]; blankNodes: readonly (`_:${string}` | Readonly<...>)[]; }>>>>
))[]; langStrings: Readonly<Record<string, readonly (...
)[]>>; literals: Readonly<Record<string, readonly (...
)[]>>; namedNodes: readonly string[]; }>>>>; type: "Subject"; url: string; }>) => T) Optional
destination
destination?: IDataDestination
Optional
engine
engine?: ActorInitQueryBase
Optional
explain
explain?: QueryExplainMode
Optional
extensionFunctionCreator
extensionFunctionCreator?: ((functionNamedNode: NamedNode<string>) => ((args: Term[]) => Promise<Term>))
Optional
extensionFunctions
extensionFunctions?: Record<string, ((args: Term[]) => Promise<Term>)>
Optional
fetch
fetch?: {
(input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
(input: string | URL | Request, init?: RequestInit): Promise<Response>;
}
Type declaration
- (input, init?): Promise<Response>
Parameters
- input: URL | RequestInfo
Optional
init: RequestInit
Returns Promise<Response>
- (input, init?): Promise<Response>
Parameters
- input: string | URL | Request
Optional
init: RequestInit
Returns Promise<Response>
Optional
functionArgumentsCache
functionArgumentsCache?: FunctionArgumentsCache
Optional
httpAuth
httpAuth?: `${string}:${string}`
Optional
httpBodyTimeout
httpBodyTimeout?: boolean
Optional
httpIncludeCredentials
httpIncludeCredentials?: boolean
Optional
httpProxyHandler
httpProxyHandler?: IProxyHandler
Optional
httpRetryCount
httpRetryCount?: number
Optional
httpRetryDelay
httpRetryDelay?: number
Optional
httpRetryOnServerError
httpRetryOnServerError?: boolean
Optional
httpTimeout
httpTimeout?: number
Optional
initialBindings
initialBindings?: Bindings
Optional
keepChangelog
keepChangelog?: boolean
Optional
lenient
lenient?: boolean
Optional
queryFormat
queryFormat?: QueryFormat
Optional
queryTimestamp
queryTimestamp?: Date
Optional
readOnly
readOnly?: boolean
Optional
recoverBrokenLinks
recoverBrokenLinks?: boolean
Optional
serialize
serialize?: ((obj: T,
baseURI?: `http://${string}` | `https://${string}`) => Readonly<{ predicates: Readonly<Record<string, Readonly<Partial<{ blankNodes: readonly ((...
) | (...
))[]; langStrings: Readonly<Record<(...
), (...
)>>; literals: Readonly<Record<(...
), (...
)>>; namedNodes: readonly string[]; }>>>>; type: "Subject"; url: string; }>[]) sources
sources: [QuerySourceUnidentified, ...QuerySourceUnidentified[]]
Optional
uriPrefix
uriPrefix?: string
The baseIRI for parsing the query.