File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,8 @@ export function toPerson(
115115 return {
116116 ...person ,
117117 avatar : person . avatar ?? undefined , // TODO piefed types are wrong, this is returned as null if not set
118+ banner : person . banner ?? undefined , // TODO piefed types are wrong, this is returned as null if not set
119+ bio : person . about ?? undefined , // TODO piefed types are wrong, this is returned as null if not set
118120 bot_account : person . bot ,
119121 display_name : person . title ?? undefined , // TODO piefed types are wrong, this is returned as null if not set
120122 name : person . user_name ! ,
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import { z } from "zod/v4-mini";
33export const Person = z . object ( {
44 actor_id : z . string ( ) ,
55 avatar : z . optional ( z . string ( ) ) ,
6+ banner : z . optional ( z . string ( ) ) ,
7+ bio : z . optional ( z . string ( ) ) ,
68 bot_account : z . boolean ( ) ,
79 deleted : z . boolean ( ) ,
810 display_name : z . optional ( z . string ( ) ) ,
You can’t perform that action at this time.
0 commit comments