Function: deleteSpace()
deleteSpace(
__namedParameters
):Effect
<{author
: {accountAddress
:string
;signature
: {hex
:string
;recovery
:number
; }; };transaction
: {creatorAccountAddress
:string
;id
:string
;type
:"create-space"
; }; } | {author
: {accountAddress
:string
;signature
: {hex
:string
;recovery
:number
; }; };transaction
: {id
:string
;previousEventHash
:string
;type
:"delete-space"
; }; } | {author
: {accountAddress
:string
;signature
: {hex
:string
;recovery
:number
; }; };transaction
: {id
:string
;inviteeAccountAddress
:string
;previousEventHash
:string
;type
:"create-invitation"
; }; } | {author
: {accountAddress
:string
;signature
: {hex
:string
;recovery
:number
; }; };transaction
: {authPolicy
:"anonymous"
|"optional_auth"
|"requires_auth"
;encryptionPublicKey
:string
;id
:string
;inboxId
:string
;isPublic
:boolean
;previousEventHash
:string
;secretKey
:string
;spaceId
:string
;type
:"create-space-inbox"
; }; } | {author
: {accountAddress
:string
;signature
: {hex
:string
;recovery
:number
; }; };transaction
: {id
:string
;previousEventHash
:string
;type
:"accept-invitation"
; }; },undefined
>
Defined in: packages/hypergraph/src/space-events/delete-space.ts:14
Parameters
__namedParameters
Params
Returns
Effect
<{ author
: { accountAddress
: string
; signature
: { hex
: string
; recovery
: number
; }; }; transaction
: { creatorAccountAddress
: string
; id
: string
; type
: "create-space"
; }; } | { author
: { accountAddress
: string
; signature
: { hex
: string
; recovery
: number
; }; }; transaction
: { id
: string
; previousEventHash
: string
; type
: "delete-space"
; }; } | { author
: { accountAddress
: string
; signature
: { hex
: string
; recovery
: number
; }; }; transaction
: { id
: string
; inviteeAccountAddress
: string
; previousEventHash
: string
; type
: "create-invitation"
; }; } | { author
: { accountAddress
: string
; signature
: { hex
: string
; recovery
: number
; }; }; transaction
: { authPolicy
: "anonymous"
| "optional_auth"
| "requires_auth"
; encryptionPublicKey
: string
; id
: string
; inboxId
: string
; isPublic
: boolean
; previousEventHash
: string
; secretKey
: string
; spaceId
: string
; type
: "create-space-inbox"
; }; } | { author
: { accountAddress
: string
; signature
: { hex
: string
; recovery
: number
; }; }; transaction
: { id
: string
; previousEventHash
: string
; type
: "accept-invitation"
; }; }, undefined
>