Skip to content

Tankōbon / shared/users / PickAvatarResult

Type Alias: PickAvatarResult ​

PickAvatarResult = { bytes: Uint8Array; status: "ok"; } | { status: "cancelled"; } | { message: string; status: "error"; }

Defined in: shared/users.ts:44

Answer to the profile picture picker: the picked file's bytes (to be shrunk by the renderer), or why there are none.