ReadonlybackGoes back, as the system back does: closes this screen and answers the screen below it, typed as the screens that can open this one.
ReadonlycheckpointTakes a checkpoint of the process with this screen on top: what a fresh
process needs to continue from it (restoreCheckpoint), the stack below
included, without opening any screen again.
ReadonlydataWhat the screen shows: its data, as its data schema types it.
ReadonlycreationSessionId: stringReadonlymode: "post"The mode selector's position: this screen is the POST mode's gallery.
Readonlyorigin: "feed" | "reels-tab"ReadonlyidWhich screen this is: its id in the screen catalog (an item's: its item id).
ReadonlykindWhat kind of thing the screen is: a screen, a tab, an inner tab, a feed or an item.
ReadonlyoriginThe 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.
Picks photos and videos together in the Select mode (at least two files; each file's kind is read from its bytes): a carousel with a video child. Answers the post editor's handle.
Picks one photo in the grid (photo.file holds its bytes): reads its format and
dimensions, keeps it in the process's media pool and opens the post editor. Answers the
editor's handle.
Turns on the grid's Select mode and picks one or more photos (at least one, by type): a carousel. Answers the post editor's handle.
Picks one video in the post mode (video.file holds its bytes). The app takes it through
the creation camera and opens the Reel editor, so it publishes as a Reel. Answers the Reel
editor's handle.
ReadonlypipePasses the handle through the functions you give, left to right: handle.pipe(f, g) is g(f(handle)).
ReadonlyrawThe answers this visit received from the server, before any decoding; empty on a handle a checkpoint rebuilt.
Moves the mode selector to REEL or STORY (mode) and opens the creation camera. Answers
the camera's handle.
ReadonlytailWaits until the background work handed over while this screen was entered
has finished: a launch returns once the feed is drawn and keeps sending the
rest of its requests in the process's background, and yield* feed.tail
waits for them. A screen that handed over nothing — and a handle a
checkpoint rebuilt, whose handed-over fibers belonged to the process that
took the checkpoint — has a tail that is already complete.
One request's ordinary failure is that request's outcome and does not fail
the tail; a session-fatal answer (a checkpoint, a lost login, a suspended
or disabled account) fails it with the same typed error, as it ends the
process. Not waiting for it changes nothing, and interrupting the wait
interrupts nothing the process runs. Inside an action or an otherwise
branch (the process's screen turn) it returns at once, like the wait for
the whole background.
ReadonlytoThe handle as JSON: its data.
The handle of PostingGalleryPickerScreen: what you hold while the screen is open — its
dataand its actions (PostingGalleryPickerActions).