Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/http-api/prefix.js
unfunny dfe4cc537f init
2026-09-13 00:29:11 -04:00

50 lines
1.7 KiB
JavaScript

/*
Copyright 2022 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
export let ClientPrefix = /*#__PURE__*/function (ClientPrefix) {
/**
* A constant representing the URI path for Client-Server API endpoints versioned at v1.
*/
ClientPrefix["V1"] = "/_matrix/client/v1";
/**
* A constant representing the URI path for Client-Server API endpoints versioned at v3.
*/
ClientPrefix["V3"] = "/_matrix/client/v3";
/**
* A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs.
*/
ClientPrefix["Unstable"] = "/_matrix/client/unstable";
return ClientPrefix;
}({});
export let IdentityPrefix = /*#__PURE__*/function (IdentityPrefix) {
/**
* URI path for the v2 identity API
*/
IdentityPrefix["V2"] = "/_matrix/identity/v2";
return IdentityPrefix;
}({});
export let MediaPrefix = /*#__PURE__*/function (MediaPrefix) {
/**
* A constant representing the URI path for Client-Server API Media endpoints versioned at v1.
*/
MediaPrefix["V1"] = "/_matrix/media/v1";
/**
* A constant representing the URI path for Client-Server API Media endpoints versioned at v3.
*/
MediaPrefix["V3"] = "/_matrix/media/v3";
return MediaPrefix;
}({});
//# sourceMappingURL=prefix.js.map