social.colibri.beta.sync.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | sync.beta.colibri.social |
| Indexed |
#ack
objectAnswers a heartbeat.
Properties
#activity
objectReports that the user is actively using this client, which holds back push notifications to their other devices for a few minutes. Clients send it while visible and focused.
Properties
#applicationEvent
objectThe pending-application queue changed. Only sent to members who can manage approvals.
Properties
application
refThe application. Absent on approve.
The community.
What happened.
knownValues: create | approve | dismiss | undismiss
The applicant.
#bridgeEvent
objectA registration held by the connected bridge was changed or removed. Sent only to the bridge, which should fetch its configuration again.
Properties
The community the registration belongs to.
What happened.
knownValues: update | delete
Record key of the registration.
#categoryEvent
objectA category was created, changed, or deleted.
#channelEvent
objectA channel was created, changed, or deleted.
#communityEvent
objectA community's profile or settings changed.
Properties
#communityProgressEvent
objectProgress while a community is being created or migrated, which takes several PDS round-trips.
Properties
community
string · didThe community, once its account exists.
Steps finished.
message
stringHuman-readable detail, set on failure.
What the AppView is doing now.
knownValues: creatingAccount | creatingSpaces | writingProfile | creatingOwnerRole | creatingStarterChannels | readingLegacyRepo | writingSettings | migratingRoles | migratingMembers | migratingBans | migratingChannels | migratingCategories | mirroringMessages | retiringLegacyCommunity | done | failed
Steps in total.
#drainNotice
objectThis node is going offline. Clients move their event socket to another node from listNodes. When no other node exists, clients warn the user that the connection may drop at the deadline.
#emojiEvent
objectA community's custom emoji or packs changed. Sent to the community's subscribers. Carries the whole catalog so clients replace it in one step.
Properties
The catalog after the change.
The community whose catalog changed.
#emojiLibraryEvent
objectThe user's emoji library changed. Sent to a user's own connections when their own emoji change, a follow is added or removed, or the owner of something they follow changes their emoji. Carries the whole library so clients replace it in one step.
Properties
The user's whole library after the change.
#error
objectSomething the client sent could not be acted on.
#heartbeat
objectKeeps the connection alive and tells the AppView the user is still present. The server answers with an ack.
Properties
#invitationEvent
objectA community's invitation list changed. Only sent to members who can create invitations.
#labelEvent
objectA label was applied or retracted on a record in a subscribed space.
Properties
#memberEvent
objectSomeone joined, left, or had their roles changed.
#messageEvent
objectA message was written, edited, or deleted in a subscribed channel.
Properties
The channel it happened in.
What happened.
knownValues: create | update | delete
imported
booleanSet when a bridge imported the message from earlier history. Clients show it without marking the channel unread.
message
refThe message. Absent on delete, where the reference alone identifies it.
subject
refWhich message, for deletes.
subjectUri
string · at-uriThe record URI of the message, for deletes.
#moderationEvent
objectA moderation action was logged. Only sent to members who can read the log.
Properties
The community.
The log entry.
#notificationEvent
objectA notification was raised for the connected user.
Properties
The notification.
#preferencesEvent
objectThe connected user changed their own preferences somewhere else.
Properties
Their preferences as they now stand.
#presenceEvent
objectSomeone's presence changed.
Properties
Whose presence changed.
Their new presence.
#reactionEvent
objectA reaction was added or removed in a subscribed channel.
Properties
Who reacted.
bridged
refPresent when someone on another service reacted through a bridge. The actor is then the community that wrote the reaction.
The channel it happened in.
customEmoji
refThe emoji record behind a custom shortcode.
The emoji or custom shortcode.
What happened.
knownValues: create | delete
reaction
refThe reaction record itself.
The message reacted to.
uri
string · at-uriThe record URI of the message reacted to.
#readCursorEvent
objectThe connected user's read cursors for one community moved, possibly from another of their sessions. Each cursor is the newest the AppView holds for that channel or thread, so applying the event never moves a cursor backwards.
Properties
The community the cursors belong to.
The cursors that changed.
#roleEvent
objectA role was created, changed, or deleted.
#seenEvent
objectThe connected user marked notifications seen somewhere else, so this client should clear the same badges.
Properties
channel
string · space-refThe channel that was marked seen, when it was a single channel.
clearedAt
string · datetimeSet when the user cleared their inbox. Notifications raised at or before this time are gone from it.
message
refThe message whose notifications were marked seen, when it was a single message.
seenAt
string · datetimeThe point everything was marked seen up to.
The user's remaining unread count.
#setPresence
objectUpdates the user's own presence over the socket.
Properties
onlineState
stringRequested online state.
knownValues: online | away | dnd | offline
voice
refThe user's own voice state, when connected to a voice channel.
#subscribe
objectAdds communities, channels and threads to what this connection receives. Subscription is explicit: a connection is sent nothing it did not ask for.
Properties
channels
arrayChannels and threads to start receiving messages for.
A channel or a thread.
communities
arrayCommunities to start receiving events for.
A community.
#subscribed
objectConfirms what this connection is now receiving, after a subscribe or unsubscribe. Anything the user is not entitled to read is silently absent.
Properties
Channels and threads being received.
A channel or a thread.
Communities being received.
A community.
#threadEvent
objectA thread was opened, changed, deleted, or written to. This rides the community's topic rather than a topic per thread, so a client keeps every thread's activity age and unread dot live without subscribing to each one.
Properties
channel
string · space-refThe channel the thread belongs to.
The community it belongs to.
What happened. `activity` means someone posted, which moves the thread's last activity and nothing else.
knownValues: create | update | delete | activity
lastActivityAt
string · datetimeThe thread's new last activity, on activity events.
space
string · space-refWhich thread, for deletes and for activity.
thread
refThe thread. Absent on delete and on activity.
#typing
objectReports that the user is typing in a channel.
Properties
The channel being typed in.
#typingEvent
objectSomeone is typing in a subscribed channel.
#unsubscribe
objectRemoves communities, channels and threads from what this connection receives.
Properties
channels
arrayChannels and threads to stop receiving messages for.
A channel or a thread.
communities
arrayCommunities to stop receiving events for.
A community.
#viewChannel
objectReports which channel the user is looking at, which drives read state and away detection. An absent channel means they are looking at none.
Properties
channel
string · space-refThe channel now in view.
#voiceEvent
objectA voice channel's participants changed.
#voiceSelfState
objectA user's own voice state.
#writeState
objectWhether this node can take writes right now. Sent on connect and whenever it changes.
Properties
'normal' accepts writes. 'queued' accepts writes and applies them once the network can take them again. 'readOnly' rejects writes with a ReadOnly error.
knownValues: normal | queued | readOnly
#wroteTo
objectReports that the user just wrote a record to a space, so the AppView can pull it without waiting for the space host to forward a notification. Honoured only for a space this connection already receives.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Opens a WebSocket stream that transmits relevant events for the authenticated user.