Skip to content

Home > @theweave/api > OpenViewRequest

OpenViewRequest type

Signature:

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

References: WAL, OpenWalMode