ApiCoreInterfaces
Interface: InvitePreview
Defined in: packages/core/src/node/types.ts:167
What an invite is for, read without joining (spaces.preview)
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
carriesKey | readonly | boolean | Whether the invite carries the key to a private space | packages/core/src/node/types.ts:172 |
carriesWrite | readonly | boolean | Whether the invite gives a role: false for a view-only one | packages/core/src/node/types.ts:174 |
invitedBy | readonly | string | The account that signed the invite | packages/core/src/node/types.ts:170 |
role | readonly | string | null | The role it is for, as the link says; the space's invite record is what counts | packages/core/src/node/types.ts:176 |
space | readonly | Pick<SpaceSummary, "id" | "name" | "visibility" | "founders" | "createdAt" | "succeeds"> | - | packages/core/src/node/types.ts:168 |
until? | readonly | number | For a short link: when its inviter stops sharing it, ms | packages/core/src/node/types.ts:178 |