Home > @theweave/api > AppletToParentRequest
AppletToParentRequest type
Signature:
typescript
export type AppletToParentRequest = {
type: 'ready';
} | {
type: 'get-iframe-config';
crossGroup: 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: 'my-group-permission-type';
} | {
type: 'applet-participants';
} | {
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';
} | {
type: 'send-remote-signal';
payload: Uint8Array;
} | {
type: 'create-clone-cell';
req: CreateCloneCellRequest;
publicToGroupMembers: boolean;
} | {
type: 'disable-clone-cell';
req: DisableCloneCellRequest;
} | {
type: 'enable-clone-cell';
req: EnableCloneCellRequest;
}
/**
* Asset related requests
*/
| {
type: 'asset-to-pocket';
wal: WAL;
} | {
type: 'user-select-asset';
} | {
type: 'get-global-asset-info';
wal: WAL;
} | {
type: 'drag-asset';
wal: WAL;
} | {
type: 'add-tags-to-asset';
wal: WAL;
tags: string[];
} | {
type: 'remove-tags-from-asset';
wal: WAL;
tags: string[];
} | {
type: 'add-asset-relation';
srcWal: WAL;
dstWal: WAL;
tags?: string[];
} | {
type: 'remove-asset-relation';
relationHash: EntryHash;
} | {
type: 'add-tags-to-asset-relation';
relationHash: EntryHash;
tags: string[];
} | {
type: 'remove-tags-from-asset-relation';
relationHash: EntryHash;
tags: string[];
} | {
type: 'subscribe-to-asset-store';
wal: WAL;
} | {
type: 'unsubscribe-from-asset-store';
wal: WAL;
};
References: Hrl, OpenViewRequest, FrameNotification, AppletHash, CreatableName, CreatableType, CreatableResult, WAL