minca
ApiCoreInterfaces

Interface: SpaceInvite

Defined in: packages/core/src/space/space-manager.ts:107

What an invite carries: enough to find the space, to read it if it is private, and to join it if it says so

Properties

PropertyModifierTypeDescriptionDefined in
invite?readonlystringThe invite link's secret, base64url — absent in a view-only invitepackages/core/src/space/space-manager.ts:112
invitedByreadonlystringThe account that signed it: checked when joining, not when readingpackages/core/src/space/space-manager.ts:116
key?readonlystringRaw AES key material, base64url — present only for private spacespackages/core/src/space/space-manager.ts:110
nodes?readonlyreadonly string[]Always-on nodes that hold the space, pinned by DID — so a joiner reaches one with nobody else onlinepackages/core/src/space/space-manager.ts:120
relays?readonlyreadonly string[]Where the space's members meet — a hint for reaching it before its own list has syncedpackages/core/src/space/space-manager.ts:118
role?readonlystringThe role the invite is for, for showing before joining. The space's own record is what counts.packages/core/src/space/space-manager.ts:114
signedreadonlyVersionThe signed invitation all of the above but the secret was read from (spec 03 §7.4)packages/core/src/space/space-manager.ts:122
spacereadonlySpace-packages/core/src/space/space-manager.ts:108

On this page