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

    Type Alias AssembledHandle<Id, Kind, Data, Actions, Items, Origin, Mode, Back, Top, Registry>

    AssembledHandle: ScreenHandleData<Data, Items, Top> & {
        id: Id;
        kind: Kind;
        origin: HandleOrigin<Origin, Registry, Id>;
    } & ScreenBoundActions<Actions, Items> & {
        readonly [K in keyof Items]: ReadonlyArray<
            ScreenListItem<
                Items[K],
                AssembledHandle<
                    Id,
                    Kind,
                    Data,
                    Actions,
                    Items,
                    Origin,
                    Mode,
                    Back,
                    Top,
                    Registry,
                >,
            >,
        >
    } & {
        readonly [K in keyof Actions as [ItemFieldOf<Actions[K]>] extends [
            never,
        ]
            ? never
            : K]: ItemFieldValue<
            ItemFieldOf<Actions[K]>,
            AssembledHandle<
                Id,
                Kind,
                Data,
                Actions,
                Items,
                Origin,
                Mode,
                Back,
                Top,
                Registry,
            >,
        >
    } & (
        Back extends true
            ? Mode extends "required"
                ? {
                    back: ScreenBackEffect<
                        ScreenBackBelow<Kind, HandleOrigin<Origin, Registry, Id>>,
                    >;
                }
                : {
                    back?: ScreenBackEffect<
                        ScreenBackBelow<Kind, HandleOrigin<Origin, Registry, Id>>,
                    >;
                }
            : unknown
    ) & ScreenRawMember<Kind> & ScreenCheckpointMember<Id, Kind> & (
        Kind extends "item"
            ? unknown
            : { tail: Effect.Effect<void, SessionFatalError> }
    ) & { pipe: Pipeable.Pipeable["pipe"] }

    The handle of a definition's type parameters, reached from Origin. The raw arrays of its item lists are not on it: each list's field holds the item handles instead (the list's key is the data field it shows).

    Type Parameters

    Type Declaration

    • Readonlyid: Id

      Which screen this is: its id in the screen catalog (an item's: its item id).

    • Readonlykind: Kind

      What kind of thing the screen is: a screen, a tab, an inner tab, a feed or an item.

    • Readonlyorigin: HandleOrigin<Origin, Registry, Id>

      The handle this one was opened from: the screen (or the item of its list) whose call opened it, typed as what can open this screen; undefined for a launch's or a tab's root.

    • Readonlypipe: Pipeable.Pipeable["pipe"]

      Passes the handle through the functions you give, left to right: handle.pipe(f, g) is g(f(handle)).