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

    Variable PostingPostEditScreenConst

    PostingPostEditScreen: ScreenDefinition<
        "PostingPostEdit",
        "screen",
        {
            creationSessionId: string;
            media: | readonly [
                {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                },
            ]
            | readonly [
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
            ];
            origin: "feed"
            | "reels-tab";
        },
        {
            creationSessionId: string;
            media: | readonly [
                {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                },
            ]
            | readonly [
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
            ];
            origin: "feed"
            | "reels-tab";
        },
        {
            creationSessionId: string;
            media: | readonly [
                {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                },
            ]
            | readonly [
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
                | {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                }
                | {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                },
            ];
            origin: "feed"
            | "reels-tab";
        },
        | IgCheckpointError
        | IgAccountSuspendedError
        | IgAccountDisabledError
        | IgLoginRequiredError
        | IgUserLoggedOutError,
        MobileDevice
        | GraphqlJsonHttp
        | MobileApplication
        | MobileNavigation,
        {
            next: (
                self: ScreenHandle,
                state: {
                    creationSessionId: string;
                    media:
                        | readonly [
                            {
                                byteLength: number;
                                height: number;
                                id: string;
                                kind: "photo";
                                mimeType: "image/jpeg"
                                | "image/png"
                                | "image/webp";
                                width: number;
                            },
                        ]
                        | readonly [
                            | {
                                byteLength: number;
                                height: number;
                                id: string;
                                kind: "photo";
                                mimeType: "image/jpeg"
                                | "image/png"
                                | "image/webp";
                                width: number;
                            }
                            | {
                                byteLength: number;
                                durationMs: number;
                                height: number;
                                id: string;
                                kind: "video";
                                mimeType: "video/mp4";
                                width: number;
                            },
                            | {
                                byteLength: number;
                                height: number;
                                id: string;
                                kind: "photo";
                                mimeType: "image/jpeg"
                                | "image/png"
                                | "image/webp";
                                width: number;
                            }
                            | {
                                byteLength: number;
                                durationMs: number;
                                height: number;
                                id: string;
                                kind: "video";
                                mimeType: "video/mp4";
                                width: number;
                            },
                            | {
                                byteLength: number;
                                height: number;
                                id: string;
                                kind: "photo";
                                mimeType: "image/jpeg"
                                | "image/png"
                                | "image/webp";
                                width: number;
                            }
                            | {
                                byteLength: number;
                                durationMs: number;
                                height: number;
                                id: string;
                                kind: "video";
                                mimeType: "video/mp4";
                                width: number;
                            },
                        ];
                    origin: "feed"
                    | "reels-tab";
                },
            ) => (
                ...args: [],
            ) => Effect<
                AssembledHandle<
                    "PostingNewPost",
                    "screen",
                    | {
                        creationSessionId: string;
                        kind: "single";
                        media: {
                            byteLength: number;
                            height: number;
                            id: string;
                            kind: "photo";
                            mimeType: "image/jpeg"
                            | "image/png"
                            | "image/webp";
                            width: number;
                        };
                        origin: "feed"
                        | "reels-tab";
                    }
                    | {
                        creationSessionId: string;
                        kind: "carousel";
                        media: readonly [
                            | {
                                byteLength: ...;
                                height: ...;
                                id: ...;
                                kind: ...;
                                mimeType: ...;
                                width: ...;
                            }
                            | {
                                byteLength: ...;
                                durationMs: ...;
                                height: ...;
                                id: ...;
                                kind: ...;
                                mimeType: ...;
                                width: ...;
                            },
                            | {
                                byteLength: ...;
                                height: ...;
                                id: ...;
                                kind: ...;
                                mimeType: ...;
                                width: ...;
                            }
                            | {
                                byteLength: ...;
                                durationMs: ...;
                                height: ...;
                                id: ...;
                                kind: ...;
                                mimeType: ...;
                                width: ...;
                            },
                        ];
                        origin: "feed"
                        | "reels-tab";
                        uploads: {
                            items: readonly { mediaId: ...; navChain?: ...; uploadId: ... }[];
                            sidecarId: string;
                            waterfallId: string;
                        };
                    },
                    {
                        share: (
                            self: ScreenHandle,
                            state:
                                | {
                                    creationSessionId: string;
                                    kind: "single";
                                    media: {
                                        byteLength: ...;
                                        height: ...;
                                        id: ...;
                                        kind: ...;
                                        mimeType: ...;
                                        width: ...;
                                    };
                                    origin: (...)
                                    | (...);
                                }
                                | {
                                    creationSessionId: string;
                                    kind: "carousel";
                                    media: readonly [(...), (...)];
                                    origin: (...) | (...);
                                    uploads: { items: ...; sidecarId: ...; waterfallId: ... };
                                },
                        ) => (
                            ...args: [options: (...) | (...)],
                        ) => Effect<
                            (...) & (...),
                            (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...),

                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...),
                        >;
                    },
                    Record<never, never>,
                    ScreenHandle,
                    "required",
                    true,
                    never,
                    AndroidScreens,
                >,

                    | IgApiError
                    | RequestError
                    | ParseError
                    | TransportError
                    | PostingPhotoEncodeError
                    | PostingVideoEncodeError
                    | ScreenDataError
                    | ScreenEnterConcurrentError
                    | ScreenEdgeInputError
                    | PostingMediaNotInProcessError,
                | PlainJsonApiHttp
                | MobileSession
                | MobileDevice
                | GraphqlJsonHttp
                | MobileApplication
                | NavigationWire
                | MobileNavigation
                | JsonResponseHttp
                | MobileUserFlows
                | ScreenStack
                | ScreenCatalog
                | AndroidPostingMedia,
            >;
        },
        Record<never, never>,
        never,
        never,
    > = ...

    QuickEditFragment:quick_edit_fragment, the photo editor of a post (Android 451), opened by the gallery's Next: the picked photo (or photos, as a carousel) with the filters and the crop. The library edits nothing — the app's publications leave the photos as picked — so the screen shows the pick and its one action is Next.

    Opening it sends the composer's prefetches: the Threads profile and crosspost preferences, the accounts-centre notices of the feed composer's entry points, the on-device effect models' versions and the cross-posting upsell's Bloks root. The first goes out while the gallery is still in front (the request names the gallery's chain), the rest once the editor is.

    Actions: next() opens the "New post" screen (PostingNewPostScreen); for a carousel it also starts uploading the photos.

    How it is reached: PostingGalleryPickerScreen.pickPhoto(photo) and pickPhotos(photos); the QuickEditFragment:quick_edit_fragment:4:button entry.

    No screenshot: the editor shows the test account's photos.

    Guide: A post