From 8ed942e00f4a8cc4a308487aad1815d3e8c017d2 Mon Sep 17 00:00:00 2001 From: naskya Date: Mon, 6 May 2024 23:13:31 +0900 Subject: [PATCH] chore: update auto-generated files --- packages/backend-rs/index.d.ts | 1 + packages/backend-rs/src/model/entity/user_profile.rs | 1 + 2 files changed, 2 insertions(+) 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)]