feat: profile bio

This commit is contained in:
gosangam
2026-08-07 23:47:22 +05:30
parent 274c735b4d
commit 6ff29db68a
9 changed files with 168 additions and 28 deletions
+5
View File
@@ -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;
+3
View File
@@ -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;