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.
ReadonlycommentTypes a comment (text) and taps Post. options.commentCreationKey names the attempt, so
a retry with the same key does not post twice. Answers the created comment.
ReadonlydataWhat the screen shows: its data, as its data schema types it.
ReadonlycommentSessionId: stringReadonlycreatedMediaNoteIds: readonly string[]The note ids this process created for the media, sent as
fully_visible_media_note_ids and counted by the body. This is the
library's stand-in, not the composer's real set: the sheet's
stream_comments answer is not decoded (the Simulator has met no decodable one), so a
note another client created for the media is not known here.
ReadonlymediaId: stringThe media the comments are on: its id, which the sheet's requests address.
Optional Readonlyslide?: { index: number; mediaId: string }The carousel slide in front when the sheet opened, for a post whose
children the opening surface passed (input.carousel): the child's id and
its index. Absent for a media that is no carousel. Only a feed sheet has it.
Readonlysurface: "feed"ReadonlycommentSessionId: stringReadonlycreatedMediaNoteIds: readonly string[]ReadonlymediaId: stringThe media the comments are on: its id, which the sheet's requests address.
Readonlysurface: "reels"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.
ReadonlymediaThe media the comments are on: its id, which the sheet's requests address.
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.
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.
ReadonlytoThe handle as JSON: its data.
The handle of MediaCommentsScreen: what you hold while the screen is open — its
dataand its actions (MediaCommentsActions).