feat: profile bio
This commit is contained in:
@@ -36,6 +36,9 @@ export type User = {
|
||||
/** True when an admin has linked this account to the disciples directory —
|
||||
* one of Śrīla Prabhupāda's own initiated disciples. Admin-set only. */
|
||||
is_direct_disciple?: boolean;
|
||||
/** Short self-introduction (≤200 chars), plain text with `@handle`
|
||||
* mentions linkified at render time. null when unset. */
|
||||
bio: string | null;
|
||||
/** Account country as an ISO-3166-1 alpha-2 code (e.g. "IN"), or null
|
||||
* when unknown. Captured best-effort at signup; user-editable. */
|
||||
country: string | null;
|
||||
@@ -225,6 +228,8 @@ export const auth = {
|
||||
name?: string;
|
||||
avatar_url?: string | null;
|
||||
handle?: string;
|
||||
/** Plain text, max 200 chars; "" clears it. */
|
||||
bio?: string;
|
||||
country?: string | null;
|
||||
sampradaya?: string;
|
||||
gender?: string | null;
|
||||
|
||||
@@ -182,6 +182,9 @@ export type PublicProfile = {
|
||||
handle: string;
|
||||
name: string;
|
||||
avatar_url: string | null;
|
||||
/** Short self-introduction (≤200 chars), plain text with `@handle`
|
||||
* mentions linkified at render time. null when unset. */
|
||||
bio: string | null;
|
||||
joined_at: string;
|
||||
/** ISO-3166-1 alpha-2 account country, or null when unknown. */
|
||||
country: string | null;
|
||||
|
||||
Reference in New Issue
Block a user