Introduce new awaitActivity that allows to watch for activities coming to the inbox or outbox.
Refactor useInbox and useOutbox to use useCollection hook (the old fetch method didn't work anyway, and it relied on the SPARQL endpoint. In the future, we plan to add a filter option to collections)
Convert these two hooks to TypeScript :1st_place_medal:
Add documentation
Breaking changes :warning:
No fetch method is returned from useInbox and useOutbox. The first page of results is automatically fetched. More results can be fetched with fetchNextPage.
The DataProvider type has been renamed to SemanticDataProvider to clarify the difference with React-Admin type.
awaitActivity
that allows to watch for activities coming to the inbox or outbox.useInbox
anduseOutbox
to useuseCollection
hook (the old fetch method didn't work anyway, and it relied on the SPARQL endpoint. In the future, we plan to add a filter option to collections)Breaking changes :warning:
fetch
method is returned fromuseInbox
anduseOutbox
. The first page of results is automatically fetched. More results can be fetched withfetchNextPage
.DataProvider
type has been renamed toSemanticDataProvider
to clarify the difference with React-Admin type.