Skip to content

Home > @theweave/api > AppletToParentRequest

AppletToParentRequest type

Signature:

typescript
export type AppletToParentRequest = {
    type: 'ready';
} | {
    type: 'get-iframe-config';
    crossApplet: boolean;
} | {
    type: 'get-record-info';
    hrl: Hrl;
} | {
    type: 'sign-zome-call';
    request: CallZomeRequest;
} | {
    type: 'open-view';
    request: OpenViewRequest;
} | {
    type: 'search';
    filter: string;
} | {
    type: 'notify-frame';
    notifications: Array<FrameNotification>;
} | {
    type: 'get-applet-info';
    appletHash: AppletHash;
} | {
    type: 'get-group-profile';
    groupHash: DnaHash;
} | {
    type: 'get-global-asset-info';
    wal: WAL;
} | {
    type: 'wal-to-pocket';
    wal: WAL;
} | {
    type: 'drag-wal';
    wal: WAL;
} | {
    type: 'request-bind';
    srcWal: WAL;
    dstWal: WAL;
} | {
    type: 'my-group-permission-type';
} | {
    type: 'applet-participants';
} | {
    type: 'user-select-wal';
} | {
    type: 'user-select-screen';
} | {
    type: 'toggle-pocket';
} | {
    type: 'update-creatable-types';
    value: Record<CreatableName, CreatableType>;
} | {
    type: 'creatable-result';
    result: CreatableResult;
    dialogId: string;
} | {
    type: 'localStorage.setItem';
    key: string;
    value: string;
} | {
    type: 'localStorage.removeItem';
    key: string;
} | {
    type: 'localStorage.clear';
} | {
    type: 'get-localStorage';
} | {
    type: 'get-applet-iframe-script';
} | {
    type: 'request-close';
};

References: Hrl, OpenViewRequest, FrameNotification, AppletHash, WAL, CreatableName, CreatableType, CreatableResult