diff options
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts')
-rw-r--r-- | includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts new file mode 100644 index 0000000..e12d6a7 --- /dev/null +++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts @@ -0,0 +1,31 @@ +export declare enum ClientPrefix { + /** + * A constant representing the URI path for release 0 of the Client-Server HTTP API. + */ + R0 = "/_matrix/client/r0", + /** + * A constant representing the URI path for the legacy release v1 of the Client-Server HTTP API. + */ + V1 = "/_matrix/client/v1", + /** + * A constant representing the URI path for Client-Server API endpoints versioned at v3. + */ + V3 = "/_matrix/client/v3", + /** + * A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs. + */ + Unstable = "/_matrix/client/unstable" +} +export declare enum IdentityPrefix { + /** + * URI path for the v2 identity API + */ + V2 = "/_matrix/identity/v2" +} +export declare enum MediaPrefix { + /** + * URI path for the media repo API + */ + R0 = "/_matrix/media/r0" +} +//# sourceMappingURL=prefix.d.ts.map
\ No newline at end of file |