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

    Type Alias ScreenHandleData<Data, Items, Top>

    ScreenHandleData: HidesDataOf<Items> extends true
        ? unknown
        : { data: Data } & Readonly<
            Omit<
                Pick<Data, Top & keyof Data>,
                ScreenItemListFields<Items> & keyof Data,
            >,
        > & { toJSON: () => Data }

    What a handle shows of its data: all of it under data, typed as the data schema, and the fields Top — its main identifier — on the top level too. A handle whose list hides its data (a feed's page) shows none of it: its items are what it shows.

    Type Parameters

    • Data
    • Items
    • Top extends PropertyKey