This commit is contained in:
Tom Moor committed 2026-07-12 07:29:14 -04:00
1 parent e0d5aafee2
commit 79a2cd99eb
11 files changed
+96 -93

No files matched your search

+11
View File
@@ -22,6 +22,17 @@ export class RedisPrefixHelper {
return `cd:${collectionId}`;
}
/**
* Gets key against which the collaborators of a multiplayer editing session
* are stored, shared by all entity types.
*
* @param id The ID of the entity being edited.
* @returns the cache key string.
*/
public static getCollaboratorsKey(id: string) {
return `collaborators:${id}`;
}
/**
* Gets key for caching embed check results. This is a global cache key
* (not team-specific) since embed headers are the same for all users.