Skip to main content

Variable: SpaceEvent

const SpaceEvent: Union<[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"]>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<{ hex: typeof String$; recovery: typeof Number$; }>; }>; transaction: Struct<{ id: typeof String$; previousEventHash: typeof String$; type: Literal<["delete-space"]>; }>; }>, 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"]>; }>; }>, 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"]>; }>; }>, Struct<{ author: Struct<{ accountAddress: typeof String$; signature: Struct<{ hex: typeof String$; recovery: typeof Number$; }>; }>; transaction: Struct<{ authPolicy: Union<[Literal<["anonymous"]>, Literal<["optional_auth"]>, Literal<["requires_auth"]>]>; encryptionPublicKey: typeof String$; id: typeof String$; inboxId: typeof String$; isPublic: typeof Boolean$; previousEventHash: typeof String$; secretKey: typeof String$; spaceId: typeof String$; type: Literal<["create-space-inbox"]>; }>; }>]>

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