Skip to main content

Variable: SpaceState

const SpaceState: Struct<{ id: typeof String$; inboxes: Record$<typeof String$, Struct<{ authPolicy: Union<[Literal<["anonymous"]>, Literal<["optional_auth"]>, Literal<["requires_auth"]>]>; encryptionPublicKey: typeof String$; inboxId: typeof String$; isPublic: typeof Boolean$; secretKey: typeof String$; }>>; invitations: Record$<typeof String$, Struct<{ inviteeAccountAddress: typeof String$; }>>; lastEventHash: typeof String$; members: Record$<typeof String$, Struct<{ accountAddress: typeof String$; role: Union<[Literal<["admin"]>, Literal<["member"]>]>; }>>; removedMembers: Record$<typeof String$, Struct<{ accountAddress: typeof String$; role: Union<[Literal<["admin"]>, Literal<["member"]>]>; }>>; }>

Defined in: packages/hypergraph/src/space-events/types.ts:38