chore: Add deprecated type aliases for renamed models

This commit is contained in:
Christian Kußowski 2025-10-01 10:14:05 +02:00
parent 99745b0e21
commit b21df62a2e
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652
1 changed files with 6 additions and 0 deletions

View File

@ -244,3 +244,9 @@ class EventTooLarge implements Exception {
int maxSize, actualSize;
EventTooLarge(this.maxSize, this.actualSize);
}
@Deprecated('Use PublishedRoomsChunk instead')
typedef PublicRoomsChunk = PublishedRoomsChunk;
@Deprecated('Use SpaceRoomsChunk\$1 or SpaceRoomsChunk\$2 instead')
typedef SpaceRoomsChunk = SpaceRoomsChunk$2;