Skip to content

Home > @theweave/api > ParentToAppletMessage

ParentToAppletMessage type

Signature:

typescript
export type ParentToAppletMessage = {
    type: 'get-applet-asset-info';
    wal: WAL;
    recordInfo?: RecordInfo;
} | {
    type: 'get-block-types';
} | {
    type: 'bind-asset';
    srcWal: WAL;
    dstWal: WAL;
    dstRecordInfo?: RecordInfo;
} | {
    type: 'search';
    filter: string;
} | {
    type: 'peer-status-update';
    payload: PeerStatusUpdate;
};

References: WAL, RecordInfo, PeerStatusUpdate