Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
soltanireza65 committed Dec 19, 2023
1 parent a8a6caf commit 6443280
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static getFromTypeIndex(webId: string, rdfClass: string, fetch: any, isPrivate:
| Parameter | Type | Description |
| --- | --- | --- |
| webId | string | The user's WebID |
| rdfClass | string | The RDF class to retrieve instances for |
| rdfClass | string | The RDF class to retrieve instances for (it has to be a valid URL) |
| fetch | any | Authenticated fetch function |
| isPrivate | boolean | Whether the typeIndexe is private or public |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static registerInTypeIndex(webId: string, typeRegistrationTitle: string, rdfClas
| --- | --- | --- |
| webId | string | The WebID of the user |
| typeRegistrationTitle | string | The title to use for the type registration |
| rdfClass | string | The RDF class that this registration is for |
| rdfClass | string | The RDF class that this registration is for (it has to be a valid URL) |
| fetch | any | The authenticated fetch function |
| indexUrl | string | The URL of the index being registered |
| isPrivate | boolean | Whether to register in the private or public typeIndexe |
Expand Down
4 changes: 2 additions & 2 deletions src/TypeIndexHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class TypeIndexHelper {
* Retrieves all instances of the given RDF class from the user's typeIndexe.
*
* @param webId - The user's WebID
* @param rdfClass - The RDF class to retrieve instances for
* @param rdfClass - The RDF class to retrieve instances for (it has to be a valid URL)
* @param fetch - Authenticated fetch function
* @param isPrivate - Whether the typeIndexe is private or public
* @returns Promise resolving to an array of instance URLs
Expand Down Expand Up @@ -179,7 +179,7 @@ export class TypeIndexHelper {
*
* @param webId - The WebID of the user
* @param typeRegistrationTitle - The title to use for the type registration
* @param rdfClass - The RDF class that this registration is for
* @param rdfClass - The RDF class that this registration is for (it has to be a valid URL)
* @param fetch - The authenticated fetch function
* @param indexUrl - The URL of the index being registered
* @param isPrivate - Whether to register in the private or public typeIndexe
Expand Down

0 comments on commit 6443280

Please sign in to comment.