summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts
new file mode 100644
index 0000000..72d913c
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/feature.d.ts
@@ -0,0 +1,15 @@
+import { IServerVersions } from "./client";
+export declare enum ServerSupport {
+ Stable = 0,
+ Unstable = 1,
+ Unsupported = 2
+}
+export declare enum Feature {
+ Thread = "Thread",
+ ThreadUnreadNotifications = "ThreadUnreadNotifications",
+ LoginTokenRequest = "LoginTokenRequest",
+ RelationBasedRedactions = "RelationBasedRedactions",
+ AccountDataDeletion = "AccountDataDeletion"
+}
+export declare function buildFeatureSupportMap(versions: IServerVersions): Promise<Map<Feature, ServerSupport>>;
+//# sourceMappingURL=feature.d.ts.map \ No newline at end of file