Skip to main content

Variable: RequestMessage

const RequestMessage: Union<[Struct<{ event: Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<{ hex: typeof String$; recovery: typeof Number$; }>; }>; transaction: Struct<{ creatorAccountAddress: typeof String$; id: typeof String$; type: Literal<["create-space"]>; }>; }>; keyBox: Struct<{ accountAddress: typeof String$; authorPublicKey: typeof String$; ciphertext: typeof String$; id: typeof String$; nonce: typeof String$; }>; name: typeof String$; spaceId: typeof String$; type: Literal<["create-space-event"]>; }>, Struct<{ event: Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<{ hex: typeof String$; recovery: typeof Number$; }>; }>; transaction: Struct<{ id: typeof String$; inviteeAccountAddress: typeof String$; previousEventHash: typeof String$; type: Literal<["create-invitation"]>; }>; }>; keyBoxes: Array$<Struct<{ accountAddress: typeof String$; authorPublicKey: typeof String$; ciphertext: typeof String$; id: typeof String$; nonce: typeof String$; }>>; spaceId: typeof String$; type: Literal<["create-invitation-event"]>; }>, Struct<{ event: Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<{ hex: typeof String$; recovery: typeof Number$; }>; }>; transaction: Struct<{ id: typeof String$; previousEventHash: typeof String$; type: Literal<["accept-invitation"]>; }>; }>; spaceId: typeof String$; type: Literal<["accept-invitation-event"]>; }>]>

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