Variable LoginResponseLoggedInUserSchemaConst
LoginResponseLoggedInUserSchema: Struct<
{
full_name: optional<NullOr<String>>;
is_private: optional<NullOr<Boolean>>;
is_verified: optional<NullOr<Boolean>>;
pk: decodeTo<String, Union<readonly [Number, String]>, never, never>;
pk_id: String;
profile_pic_url: optional<NullOr<String>>;
username: String;
},
> = ...
The profile an accepted login carries. Only the fields the library reads are required (
pk,pk_id,username); the rest are the profile fields the server sends, accepted absent or null because no library decision depends on them.