ShareNotificationType
Kind of share notification carried by the LDN inbox.
Maps to Activity Streams 2 / SolidShare activity types:
OFFER →
as:Offer— owner is granting access to meUPDATED →
as:Update— owner changed the access level they grant meACCEPTED →
as:Accept— owner has granted an AccessRequest I sentUNDO →
as:Undo— owner has retracted access they gave meREJECT →
as:Reject— owner has declined an AccessRequest I sentDECISION_GRANTED →
as:AcceptI authored — my own record of having granted someone else's AccessRequestDECISION_REJECTED →
as:RejectI authored — my own record of having declined someone else's AccessRequest
The two DECISION_* variants are the inbox owner's own read-only memo of a decision they made on an incoming request. They are the same as:Accept / as:Reject activity the owner sends the requester (see NotificationsManager.sendAccept / sendReject), mirrored into the owner's own inbox. The reader tells them apart from a genuine incoming accept/reject purely by whose inbox they sit in: an accept/reject whose as:actor is the inbox owner is a self-authored decision; otherwise it came from a counterpart. They carry no received-share side effect.
Entries
My own record that I granted a request from someone else. actor (ShareNotification.ownerWebId) is me, target (ShareNotification.targetWebId) is the requester I granted, resourceUri the resource of mine I shared, and mode the granted mode. Read-only — no received-share side effect.
My own record that I declined a request from someone else. actor (ShareNotification.ownerWebId) is me, target (ShareNotification.targetWebId) is the requester I declined, resourceUri the resource they asked for, mode the mode they requested, and summary an optional rationale. Read-only — no received-share side effect.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.