Skip to content

Home > @theweave/api > WeaveClient

WeaveClient class

Signature:

typescript
export declare class WeaveClient implements WeaveServices

Implements: WeaveServices

Properties

Property

Modifiers

Type

Description

appletInfo

(appletHash: any) => Promise<AppletInfo | undefined>

appletParticipants

() => Promise<import("@holochain/client").HoloHash[]>

assets

{ dragAsset: (wal: WAL) => Promise<void>; assetInfo: (wal: WAL) => Promise<AssetLocationAndInfo | undefined>; assetToPocket: (wal: WAL) => Promise<void>; userSelectAsset: () => Promise<WAL | undefined>; addTagsToAsset: (wal: WAL, tags: string[]) => Promise<void>; removeTagsFromAsset: (wal: WAL, tags: string[]) => Promise<void>; addAssetRelation: (srcWal: WAL, dstWal: WAL, tags?: string[]) => Promise<void>; removeAssetRelation: (relationHash: EntryHash) => Promise<void>; addTagsToAssetRelation: (relationHash: EntryHash, tags: string[]) => Promise<void>; removeTagsFromAssetRelation: (relationHash: EntryHash, tags: string[]) => Promise<void>; assetStore: (wal: WAL) => AssetStore; }

createCloneCell

(req: CreateCloneCellRequest, publicToGroupMembers: boolean) => Promise<import("@holochain/client").ClonedCell>

disableCloneCell

(req: DisableCloneCellRequest) => Promise<void>

enableCloneCell

(req: EnableCloneCellRequest) => Promise<import("@holochain/client").ClonedCell>

groupProfile

(groupHash: any) => Promise<any>

mossVersion

() => string

myGroupPermissionType

() => Promise<GroupPermissionType>

notifyFrame

(notifications: Array<FrameNotification>) => Promise<any>

onBeforeUnload

(callback: () => any) => UnsubscribeFunction

onPeerStatusUpdate

(callback: (payload: PeerStatusUpdate) => any) => UnsubscribeFunction

onRemoteSignal

(callback: (payload: Uint8Array) => any) => UnsubscribeFunction

openAppletBlock

(appletHash: any, block: string, context: any) => Promise<void>

openAppletMain

(appletHash: EntryHash) => Promise<void>

openAsset

(wal: WAL, mode?: OpenAssetMode) => Promise<void>

openCrossGroupBlock

(appletBundleId: string, block: string, context: any) => Promise<void>

openCrossGroupMain

(appletBundleId: string) => Promise<void>

renderInfo

readonly

RenderInfo

requestClose

() => Promise<void>

sendRemoteSignal

(payload: Uint8Array) => Promise<void>

userSelectScreen

() => Promise<string>

Methods

Method

Modifiers

Description

connect(appletServices)

static