1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
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));
|