mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
af5b3c9004
Summary: This also enables the new Usage section for all sites. Currently, it shows metrics for document row count, but only if the user has full document read access. Otherwise, a message about insufficient access is shown. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Subscribers: alexmojaki Differential Revision: https://phab.getgrist.com/D3377
7 lines
280 B
TypeScript
7 lines
280 B
TypeScript
export type RowCount = number | 'hidden' | 'pending';
|
|
|
|
export type DataLimitStatus = null | 'approachingLimit' | 'gracePeriod' | 'deleteOnly';
|
|
|
|
// Ratio of the row/data size limit where we tell users that they're approaching the limit.
|
|
export const APPROACHING_LIMIT_RATIO = 0.9;
|