From d02444b58fc078b8c63860ea25c49a1ca67d158d Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 26 Jan 2024 13:03:14 +0100 Subject: [PATCH] Update README.md to match code --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index afb80b9..83ef129 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ const updatedIndex = await TypeIndexHelper.registerInTypeIndex(webId, 'My Book L | Method | Modifiers | Description | | --- | --- | --- | -| getFromTypeIndex(webId, rdfClass, fetch, isPrivate) | static | Retrieves all instances of the given RDF class from the user's typeIndexe. | -| registerInTypeIndex(webId, typeRegistrationTitle, rdfClass, fetch, solidInstanceUrl, isPrivate) | static | Registers a type registration in the user's typeIndexe. | +| getFromTypeIndex(webId, rdfClass, fetch, isContainer, isPrivate) | static | Retrieves all instances of the given RDF class from one of the user's typeIndexes. | +| registerInTypeIndex(webId, typeRegistrationTitle, rdfClass, fetch, solidInstanceUrl, isPrivate) | static | Registers a type registration in one of the user's typeIndexes. | @@ -95,10 +95,11 @@ static registerInTypeIndex(webId: string, typeRegistrationTitle: string, rdfClas | rdfClass | string | The RDF class that this registration is for | | fetch | any | The authenticated fetch function | | solidInstanceUrl | string | The URL of the index being registered | +| isContainer | boolean | Whether to register a `solid:instanceContainer` or a `solid:instance` | | isPrivate | boolean | Whether to register in the private or public typeIndexe | **Returns:** Promise<SolidDataset> -A Promise resolving to the updated typeIndexe dataset \ No newline at end of file +A Promise resolving to the updated typeIndexe dataset