This commit is contained in:
unfunny
2026-09-12 23:57:45 -04:00
parent 986c0af682
commit dfe4cc537f
1775 changed files with 246421 additions and 0 deletions

13
node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
/**
* Checks if the given room version is one where new "hydra" power level
* semantics (ie. room version 12 or later) should be used
* (see https://github.com/matrix-org/matrix-spec-proposals/pull/4289).
* This will return `false` for versions that are known to the js-sdk and
* do not use hydra: any room versions unknown to the js-sdk (experimental or
* otherwise) will cause the function to return true.
*
* @param roomVersion - The version of the room to check.
* @returns `true` if hydra semantics should be used for the room version, `false` otherwise.
*/
export declare function shouldUseHydraForRoomVersion(roomVersion: string): boolean;
//# sourceMappingURL=roomVersion.d.ts.map