fix: Add missing validation to document state

This commit is contained in:
Tom Moor
2022-08-16 09:35:17 +02:00
parent 44a4aee5cf
commit cfa7ecd7f8
2 changed files with 7 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ export const CollectionValidation = {
export const DocumentValidation = {
/** The maximum length of the document title */
maxTitleLength: 100,
/** The maximum size of the collaborative document state */
maxStateLength: 1000000,
};
export const PinValidation = {