From 615f7f9e72fbe332b0bc3a0614f26d6a0f6e2c89 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 28 Jul 2023 12:54:17 +0100 Subject: [PATCH] Export more into the public interface (#3614) --- src/matrix.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/matrix.ts b/src/matrix.ts index ce3e713d5e2..db79cba3c8c 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -41,6 +41,7 @@ export * from "./models/thread"; export * from "./models/typed-event-emitter"; export * from "./models/user"; export * from "./models/device"; +export * from "./models/search-result"; export * from "./scheduler"; export * from "./filter"; export * from "./timeline-window"; @@ -52,33 +53,41 @@ export * from "./crypto/store/memory-crypto-store"; export * from "./crypto/store/indexeddb-crypto-store"; export type { OutgoingRoomKeyRequest } from "./crypto/store/base"; export * from "./content-repo"; +export * from "./@types/uia"; export * from "./@types/event"; export * from "./@types/PushRules"; export * from "./@types/partials"; export * from "./@types/requests"; export * from "./@types/search"; export * from "./models/room-summary"; +export * from "./models/event-status"; export * as ContentHelpers from "./content-helpers"; export * as SecretStorage from "./secret-storage"; export type { ICryptoCallbacks } from "./crypto"; // used to be located here -export { createNewMatrixCall } from "./webrtc/call"; +export { createNewMatrixCall, CallEvent } from "./webrtc/call"; export type { MatrixCall } from "./webrtc/call"; export { + GroupCall, GroupCallEvent, GroupCallIntent, GroupCallState, GroupCallType, GroupCallStatsReportEvent, } from "./webrtc/groupCall"; -export type { GroupCall } from "./webrtc/groupCall"; export { CryptoEvent } from "./crypto"; +export { SyncState, SetPresence } from "./sync"; +export type { ISyncStateData as SyncStateData } from "./sync"; export { SlidingSyncEvent } from "./sliding-sync"; export { MediaHandlerEvent } from "./webrtc/mediaHandler"; -export { CallEvent } from "./webrtc/call"; export { CallFeedEvent } from "./webrtc/callFeed"; export { StatsReport } from "./webrtc/stats/statsReport"; -export { RelationsEvent } from "./models/relations"; +export { Relations, RelationsEvent } from "./models/relations"; +export { TypedEventEmitter } from "./models/typed-event-emitter"; export { LocalStorageErrors } from "./store/local-storage-events-emitter"; +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"; /** * Types supporting cryptography.