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

    Type Alias ScreenEdgeTargets<Actions>

    ScreenEdgeTargets: {
        readonly [K in keyof Actions]: Actions[K] extends (
            self: never,
            state: never,
        ) => infer Bound
            ? Bound extends { "~edge"?: infer Shape }
                ? NonNullable<Shape> extends ScreenEdgeShape<
                    infer D,
                    ReadonlyArray<unknown>,
                    infer Source extends MobileNavigationSource,
                >
                    ? ScreenEdgeTarget<D, Source>
                    : never
                : never
            : never
    }[keyof Actions]

    The targets a definition's own edge members name, read from the edges' brand — the registry entry each edge was declared with and the source type of its step.

    Type Parameters

    • Actions