From b78a1ad889c7a51f8c73ff4fe944f65f12dd52f0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 10 May 2024 13:26:07 +0100 Subject: [PATCH] Hotfix types export point Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/@types/state_events.ts | 5 ----- src/matrix.ts | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/@types/state_events.ts b/src/@types/state_events.ts index f2e5b16b6..415f2806a 100644 --- a/src/@types/state_events.ts +++ b/src/@types/state_events.ts @@ -43,11 +43,6 @@ export interface RoomJoinRulesEventContent { }[]; } -/** - * @deprecated in favour of RoomJoinRulesEventContent - */ -export type IJoinRuleEventContent = RoomJoinRulesEventContent; - export interface RoomMemberEventContent { avatar_url?: string; displayname?: string; diff --git a/src/matrix.ts b/src/matrix.ts index ed71f7dfc..db185f149 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -105,6 +105,10 @@ export { IdentityProviderBrand, SSOAction } from "./@types/auth"; export type { ISSOFlow as SSOFlow, LoginFlow } from "./@types/auth"; export type { IHierarchyRelation as HierarchyRelation, IHierarchyRoom as HierarchyRoom } from "./@types/spaces"; export { LocationAssetType } from "./@types/location"; +/** + * @deprecated in favour of RoomJoinRulesEventContent on the types export + */ +export type { RoomJoinRulesEventContent as IJoinRuleEventContent } from "./@types/state_events"; /** * Types supporting cryptography.