mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) add free team site product
Summary: This adds a Feature object that is an approximation of what we plan for free team sites. It includes restrictions that are not yet implemented, and an endpoint for testing. Test Plan: added a test Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3243
This commit is contained in:
@@ -34,6 +34,18 @@ export interface Features {
|
||||
// (default: unlimited)
|
||||
|
||||
readOnlyDocs?: boolean; // if set, docs can only be read, not written.
|
||||
|
||||
snapshotWindow?: { // if set, controls how far back snapshots are kept.
|
||||
count: number; // TODO: not honored at time of writing.
|
||||
unit: 'month'|'year';
|
||||
};
|
||||
|
||||
baseMaxRowsPerDocument?: number; // If set, establishes a default maximum on the
|
||||
// number of rows (total) in a single document.
|
||||
// Actual max for a document may be higher.
|
||||
// TODO: not honored at time of writing.
|
||||
// TODO: nuances about how rows are counted.
|
||||
baseMaxApiUnitsPerDocumentPerDay?: number; // Similar for api calls.
|
||||
}
|
||||
|
||||
// Check whether it is possible to add members at the org level. There's no flag
|
||||
|
||||
Reference in New Issue
Block a user