outline/shared/validations.ts

23 lines
554 B
TypeScript
Raw Normal View History

export const CollectionValidation = {
2022-07-24 13:40:04 +01:00
/** The maximum length of the collection description */
maxDescriptionLength: 1000,
2022-07-24 13:40:04 +01:00
/** The maximum length of the collection name */
maxNameLength: 100,
};
export const DocumentValidation = {
/** The maximum length of the document title */
maxTitleLength: 100,
};
export const PinValidation = {
/** The maximum number of pinned documents on an individual collection or home screen */
max: 8,
};
export const TeamValidation = {
/** The maximum number of domains per team */
maxDomains: 10,
};