igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface ScreenEdgeShape<D, Args, Source, Registry>

    What an edge remembers of its target, carried by the function its member returns: the target's definition (definition) and the caller's arguments (args). It is never a value: the handle's bound actions read it to type the target's handle, its origin and back read from registry.

    interface ScreenEdgeShape<
        D,
        Args extends ReadonlyArray<unknown>,
        Source extends MobileNavigationSource = MobileNavigationSource,
        Registry = unknown,
    > {
        args: Args;
        definition: D;
        registry: Registry;
        source: Source;
    }

    Type Parameters

    Index

    Properties

    args: Args
    definition: D
    registry: Registry

    The registry the edge was declared over (screenEdges<Registry>()): what the target's handle type reads the screens that can open it from (ScreenOpenersOf, ScreenItemOpenersOf). unknown for an edge written without one: its target's origin is the generic ScreenHandle.

    source: Source

    The source type of the edge's step: what the target's handle type is built over — a tab definition entered by an opening source is pushed (its own handle, with back), any other entry of it is a tab switch (the tab's root screen), and a source type that may be either is the conservative union of the two (TabEntryReading).