export enum DocumentType { NONE = 'none', // core data types RTF = 'rich text', IMG = 'image', WEB = 'web', COL = 'collection', KVP = 'kvp', VID = 'video', AUDIO = 'audio', REC = 'recording', PDF = 'pdf', INK = 'ink', DIAGRAM = 'diagram', SCREENSHOT = 'screenshot', FONTICON = 'fonticonbox', SEARCH = 'search', // search query IMAGEGROUPER = 'imagegrouper', FACECOLLECTION = 'facecollection', UFACE = 'uniqueface', // unique face collection doc LABEL = 'label', // simple text label BUTTON = 'button', // onClick button WEBCAM = 'webcam', // webcam CONFIG = 'config', // configuration document intended to specify a view layout configuration, but not be directly rendered (e.g., for saving the page# of a PDF, or view transform of a collection) SCRIPTING = 'script', // script editor CHAT = 'chat', // chat with GPT about files EQUATION = 'equation', // equation editor FUNCPLOT = 'function plot', // function plotter MAP = 'map', DATAVIZ = 'dataviz', ANNOPALETTE = 'annopalette', LOADING = 'loading', MESSAGE = 'message', // chat message // special purpose wrappers that either take no data or are compositions of lower level types LINK = 'link', PRES = 'presentation', PRESSLIDE = 'presslide', COMPARISON = 'comparison', PUSHPIN = 'pushpin', MAPROUTE = 'maproute', SCRIPTDB = 'scriptdb', // database of scripts GROUPDB = 'groupdb', // database of groups SCRAPBOOK = 'scrapbook', JOURNAL = 'journal', // AARAV ADD } export enum CollectionViewType { // general collections Freeform = 'freeform', Card = 'card', Carousel = 'carousel', Carousel3D = '3D Carousel', Grid = 'grid', Masonry = 'masonry', Multicolumn = 'multicolumn', Multirow = 'multirow', NoteTaking = 'notetaking', Pivot = 'pivot', Schema = 'schema', Stacking = 'stacking', Time = 'time', Tree = 'tree', // under development Calendar = 'calendar', // special collections Docking = 'docking', Pile = 'pileup', StackedTimeline = 'stacked timeline', Linear = 'linear', Invalid = 'invalid', } export const specialCollectionTypes = [CollectionViewType.Docking, CollectionViewType.Pile, CollectionViewType.StackedTimeline, CollectionViewType.Linear, CollectionViewType.Invalid]; export const standardViewTypes = Object.values(CollectionViewType).filter(key => !specialCollectionTypes.includes(key));