π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused Space emoji and WASM exports
Anand Baburajan14d07d12764b
diff --git a/rust/bindings/wasm/space/src/space.rs b/rust/bindings/wasm/space/src/space.rsindex 6773b52b5c..dc3169808d 100644--- a/rust/bindings/wasm/space/src/space.rs+++ b/rust/bindings/wasm/space/src/space.rs@@ -494,18 +494,6 @@ impl From<ente_space::LikePostResponse> for LikePostResponse {}}-#[derive(Serialize, Tsify)]-#[serde(rename_all = "camelCase")]-pub struct LikeMessageResponse {- liked: bool,-}--impl From<ente_space::LikeMessageResponse> for LikeMessageResponse {- fn from(value: ente_space::LikeMessageResponse) -> Self {- Self { liked: value.liked }- }-}-fn decode_b64_field(value: &str) -> Result<Vec<u8>, Error> {b64::decode(value).map_err(ente_space::Error::from)@@ -1262,22 +1250,6 @@ impl SpaceAccountCtxHandle {MessageResponse::from(message).into_js().map_err(Into::into)}- #[wasm_bindgen(js_name = likeMessage)]- pub async fn like_message(- &self,- space_id: String,- message_id: String,- like: bool,- ) -> Result<<LikeMessageResponse as Tsify>::JsType, Error> {- LikeMessageResponse::from(- self.inner- .like_message(&space_id, &message_id, like)- .await?,- )- .into_js()- .map_err(Into::into)- }-#[wasm_bindgen(js_name = setMessageReaction)]pub async fn set_message_reaction(&self,diff --git a/web/apps/space/src/data/emojis.ts b/web/apps/space/src/data/emojis.tsindex 046190ef91..4d151a0c44 100644--- a/web/apps/space/src/data/emojis.ts+++ b/web/apps/space/src/data/emojis.ts@@ -5,7 +5,7 @@ export interface SpaceEmoji {skinTone: boolean;}-export interface SpaceEmojiCategory {+interface SpaceEmojiCategory {name: string;emojis: SpaceEmoji[];}@@ -30,7 +30,7 @@ const regionNames = new Intl.DisplayNames(["en"], { type: "region" });const flagRegions ="AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW EU UN";-export const spaceEmojiCategories = [+const spaceEmojiCategories = [category("Faces",`