Skip to content

Home > @theweave/api > OpenViewRequest

OpenViewRequest type

Signature:

typescript
export type OpenViewRequest = {
    type: 'applet-main';
    appletHash: EntryHash;
} | {
    type: 'cross-group-main';
    appletBundleId: string;
} | {
    type: 'applet-block';
    appletHash: EntryHash;
    block: string;
    context: any;
} | {
    type: 'cross-group-block';
    appletBundleId: string;
    block: string;
    context: any;
} | {
    type: 'asset';
    wal: WAL;
    mode?: OpenAssetMode;
};

References: WAL, OpenAssetMode