Package-level declarations
Types
A single access relationship between the current user and another agent over a resource, unified across every source the library can observe:
Direction of an AccessGrant relative to the current user.
Where an AccessGrant was observed.
Whether an AccessGrant is in effect or pending a decision.
One row in an owner-published catalog.
A share the user has given (created) — the user grants receiver access of mode on resourceUri. Stored in {podRoot}/solidshare/shares/given_shares.ttl.
The decoded contents of a solidshare:// share deep link.
A share the user has received — ownerWebId has granted the current user mode on resourceUri. Stored in {podRoot}/solidshare/shares/received_shares.ttl.
One inbox notification surfaced to the receiver — either an offer of new access (ShareNotificationType.OFFER) or a notice that previously-granted access was withdrawn (ShareNotificationType.UNDO).
Kind of share notification carried by the LDN inbox.
Identifies the recipient of a share.
Inbox notification representing a request from another agent asking the current user (the resource owner) to grant access.
Properties
Functions
The received-share counterpart of collapseByReceiver: one ReceivedShare per (ownerWebId, resourceUri) at the strongest ShareMode, preserving the earliest known ReceivedShare.addedAt.
Collapses a flat list of GivenShare — which may carry several rows for one (receiver, resourceUri) when a grant writes multiple implied acl:modes (e.g. Read+Append for "Add", Read+Write for "Edit") — into a single row per pair carrying the strongest ShareMode. Each receiver therefore appears once per resource at its effective access level. The earliest known GivenShare.createdAt is preserved.