Skip to main content

Variable: ResponseMessage

const ResponseMessage: Union<[Struct<{ spaces: Array$<Struct<{ id: typeof String$; name: typeof String$; }>>; type: Literal<["list-spaces"]>; }>, Struct<{ invitations: Array$<Struct<{ id: typeof String$; previousEventHash: typeof String$; spaceId: typeof String$; }>>; type: Literal<["list-invitations"]>; }>, Struct<{ events: Array$<Union<[Struct<{ author: Struct<{ accountAddress: ...; signature: ...; }>; transaction: Struct<{ creatorAccountAddress: ...; id: ...; type: ...; }>; }>, Struct<{ author: Struct<{ accountAddress: ...; signature: ...; }>; transaction: Struct<{ id: ...; previousEventHash: ...; type: ...; }>; }>, Struct<{ author: Struct<{ accountAddress: ...; signature: ...; }>; transaction: Struct<{ id: ...; inviteeAccountAddress: ...; previousEventHash: ...; type: ...; }>; }>, Struct<{ author: Struct<{ accountAddress: ...; signature: ...; }>; transaction: Struct<{ id: ...; previousEventHash: ...; type: ...; }>; }>, Struct<{ author: Struct<{ accountAddress: ...; signature: ...; }>; transaction: Struct<{ authPolicy: ...; encryptionPublicKey: ...; id: ...; inboxId: ...; isPublic: ...; previousEventHash: ...; secretKey: ...; spaceId: ...; type: ...; }>; }>]>>; id: typeof String$; inboxes: Array$<Struct<{ authPolicy: Union<[Literal<[...]>, Literal<[...]>, Literal<[...]>]>; encryptionPublicKey: typeof String$; inboxId: typeof String$; isPublic: typeof Boolean$; secretKey: typeof String$; }>>; keyBoxes: Array$<Struct<{ accountAddress: typeof String$; authorPublicKey: typeof String$; ciphertext: typeof String$; id: typeof String$; nonce: typeof String$; }>>; name: typeof String$; type: Literal<["space"]>; updates: optional<Struct<{ firstUpdateClock: typeof Number$; lastUpdateClock: typeof Number$; updates: Array$<Struct<{ accountAddress: typeof String$; signature: Struct<...>; update: typeof Uint8Array$; updateId: typeof String$; }>>; }>>; }>, Struct<{ event: Union<[Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<...>; }>; transaction: Struct<{ creatorAccountAddress: typeof String$; id: typeof String$; type: Literal<...>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<...>; }>; transaction: Struct<{ id: typeof String$; previousEventHash: typeof String$; type: Literal<...>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<...>; }>; transaction: Struct<{ id: typeof String$; inviteeAccountAddress: typeof String$; previousEventHash: typeof String$; type: Literal<...>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<...>; }>; transaction: Struct<{ id: typeof String$; previousEventHash: typeof String$; type: Literal<...>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<...>; }>; transaction: Struct<{ authPolicy: Union<...>; encryptionPublicKey: typeof String$; id: typeof String$; inboxId: typeof String$; isPublic: typeof Boolean$; previousEventHash: typeof String$; secretKey: typeof String$; spaceId: typeof String$; type: Literal<...>; }>; }>]>; spaceId: typeof String$; type: Literal<["space-event"]>; }>]>

Defined in: packages/hypergraph/src/messages/types.ts:423