diff --git a/packages/backend-rs/index.d.ts b/packages/backend-rs/index.d.ts index 4f14e02b6c..a384c22964 100644 --- a/packages/backend-rs/index.d.ts +++ b/packages/backend-rs/index.d.ts @@ -1122,6 +1122,7 @@ export interface UserProfile { preventAiLearning: boolean isIndexable: boolean mutedPatterns: Array + lang: string | null } export interface UserPublickey { userId: string diff --git a/packages/backend-rs/src/model/entity/user_profile.rs b/packages/backend-rs/src/model/entity/user_profile.rs index 644817aa8d..d461b11292 100644 --- a/packages/backend-rs/src/model/entity/user_profile.rs +++ b/packages/backend-rs/src/model/entity/user_profile.rs @@ -78,6 +78,7 @@ pub struct Model { pub is_indexable: bool, #[sea_orm(column_name = "mutedPatterns")] pub muted_patterns: Vec, + pub lang: Option, } #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]