chore: tidying up tests and implementing for search also

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-01-29 13:29:44 +01:00
parent 1f020fe05c
commit f640129d84
3 changed files with 49 additions and 11 deletions
@@ -305,6 +305,18 @@ export type SearchOptions = {
* Not all reader implementations may take this field into account.
*/
signal?: AbortSignal;
/**
* An optional token to use for authentication when reading the resources.
*
* @remarks
*
* By default all URL Readers will use the integrations config which is supplied
* when creating the Readers. Sometimes it might be desireable to use the already
* created URLReaders but with a different token, maybe that's supplied by the user
* at runtime.
*/
token?: string;
};
/**