// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RepoHead } from "./RepoHead"; import type { Said } from "./Said"; /** * A pull or an issue, and everything said on it. */ export type Discussion = { repo: RepoHead, /** * `pull` or `issue`. */ kind: string, title: string, state: string, author: string, /** * The author's profile picture, if it has one. */ avatar: string | null, createdAt: string, /** * A pull's target branch, and the repository and branch it brings. */ base: string | null, from: string | null, branch: string | null, /** * What it says, as its author opened it. */ body: string | null, comments: Array, /** * The merge, for a merged pull. */ merged: string | null, /** * What it says of itself to whatever unfurls a link to it, and the * path of the picture it unfurls into. */ about: string, card: string, };