mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Broadcast doc usage updates to clients
Summary: Introduces a new message type, docUsage, that's broadcast to all connected clients whenever document usage is updated in ActiveDoc. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3451
This commit is contained in:
@@ -62,7 +62,7 @@ export function getDataLimitRatio(
|
||||
* Maps `dataLimitStatus` status to an integer and returns it; larger integer
|
||||
* values indicate a more "severe" status.
|
||||
*
|
||||
* Useful for relatively comparing the severity of two statuses.
|
||||
* Useful for relatively comparing the severity of two DataLimitStatus values.
|
||||
*/
|
||||
export function getSeverity(dataLimitStatus: DataLimitStatus): number {
|
||||
switch (dataLimitStatus) {
|
||||
|
||||
Reference in New Issue
Block a user