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