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

    Type Alias SwipeableFeedScreen<Id, Kind, Input, Cursor, Data, FE, FR, E, R, Actions, Page, SE, SR, Host>

    SwipeableFeedScreen: Omit<
        ScreenDefinition<
            Id,
            Kind,
            Input,
            Data,
            ScreenFeedState<Cursor, Host>,
            E | SE,
            R | SR,
            Actions & Omit<ScreenFeedMembers<Cursor, Page, FE, FR>, "stream"> & ScreenSwipeMembers<
                Cursor,
                Page,
                ScreenFeedSwipeFailure<FE, Page>
                | SE,
                ScreenFeedPageServices<FR, Page> | SR,
            >,
            ScreenFeedItems<Page>,
        >,
        "enter",
    > & {
        enter: (
            args: ScreenEnterArgs<Kind, Input>,
        ) => Effect.Effect<Data, E, R | SR>;
    }

    A swipeable feed: what swipeableFeed returns — a feed screen whose handle also has current, the item in front, and swipeToNext, the swipe. One item is in front and a swipe changes it (a reels viewer, the main timeline's focused post); its pages stay the feed's raw pagination. It is swipeable once: swipeableFeed does not take it again.

    Type Parameters

    • Id extends ScreenId
    • Kind extends EnterableScreenKind
    • Input
    • Cursor
    • Data extends object
    • FE
    • FR
    • E
    • R
    • Actions extends object
    • Page
    • SE
    • SR
    • Host extends object = never

    Type Declaration

    • Readonlyenter: (args: ScreenEnterArgs<Kind, Input>) => Effect.Effect<Data, E, R | SR>

      The burst: the first page and the navigation, as any feed's. onSwipe is not part of it — its failure belongs to swipeToNext and stream alone — so a caller of OpenApp never handles an error the enter cannot emit.