aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocumentTypes.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-08 00:17:26 -0400
committerbobzel <zzzman@gmail.com>2022-07-08 00:17:26 -0400
commit146f8622d5bac2edc6b09f57c173bd057dfbcfad (patch)
treef871089c438a476543ca96bac163c0532b9557c7 /src/client/documents/DocumentTypes.ts
parentb7e66da6b23cdb41c127000dfe13843d35f7d0cc (diff)
restructured currentUserUtils to avoid having import cycles.
Diffstat (limited to 'src/client/documents/DocumentTypes.ts')
-rw-r--r--src/client/documents/DocumentTypes.ts100
1 files changed, 60 insertions, 40 deletions
diff --git a/src/client/documents/DocumentTypes.ts b/src/client/documents/DocumentTypes.ts
index 2343c2f34..4e98a90a3 100644
--- a/src/client/documents/DocumentTypes.ts
+++ b/src/client/documents/DocumentTypes.ts
@@ -1,46 +1,66 @@
export enum DocumentType {
- NONE = "none",
+ NONE = 'none',
// core data types
- RTF = "rtf",
- IMG = "image",
- WEB = "web",
- COL = "collection",
- KVP = "kvp",
- VID = "video",
- AUDIO = "audio",
- REC = "recording",
- PDF = "pdf",
- INK = "inks",
- SCREENSHOT = "screenshot",
- FONTICON = "fonticonbox",
- FILTER = "filter",
- SEARCH = "search", // search query
- LABEL = "label", // simple text label
- BUTTON = "button", // onClick button
- WEBCAM = "webcam", // webcam
- MARKER = "marker", // generic marker document not intended to be viewed independently of its context (e.g., for text selections in PDF/Web/RTF)
- DATE = "date", // calendar view of a date
- SCRIPTING = "script", // script editor
- EQUATION = "equation", // equation editor
- FUNCPLOT = "funcplot", // function plotter
- MAP = "map",
- DATAVIZ = "dataviz",
+ RTF = 'rtf',
+ IMG = 'image',
+ WEB = 'web',
+ COL = 'collection',
+ KVP = 'kvp',
+ VID = 'video',
+ AUDIO = 'audio',
+ REC = 'recording',
+ PDF = 'pdf',
+ INK = 'inks',
+ SCREENSHOT = 'screenshot',
+ FONTICON = 'fonticonbox',
+ FILTER = 'filter',
+ SEARCH = 'search', // search query
+ LABEL = 'label', // simple text label
+ BUTTON = 'button', // onClick button
+ WEBCAM = 'webcam', // webcam
+ MARKER = 'marker', // generic marker document not intended to be viewed independently of its context (e.g., for text selections in PDF/Web/RTF)
+ DATE = 'date', // calendar view of a date
+ SCRIPTING = 'script', // script editor
+ EQUATION = 'equation', // equation editor
+ FUNCPLOT = 'funcplot', // function plotter
+ MAP = 'map',
+ DATAVIZ = 'dataviz',
// special purpose wrappers that either take no data or are compositions of lower level types
- LINK = "link",
- LINKANCHOR = "linkanchor",
- IMPORT = "import",
- SLIDER = "slider",
- PRES = "presentation",
- PRESELEMENT = "preselement",
- COLOR = "color",
- YOUTUBE = "youtube",
- SEARCHITEM = "searchitem",
- COMPARISON = "comparison",
- GROUP = "group",
+ LINK = 'link',
+ LINKANCHOR = 'linkanchor',
+ IMPORT = 'import',
+ SLIDER = 'slider',
+ PRES = 'presentation',
+ PRESELEMENT = 'preselement',
+ COLOR = 'color',
+ YOUTUBE = 'youtube',
+ SEARCHITEM = 'searchitem',
+ COMPARISON = 'comparison',
+ GROUP = 'group',
- LINKDB = "linkdb", // database of links ??? why do we have this
- SCRIPTDB = "scriptdb", // database of scripts
- GROUPDB = "groupdb", // database of groups
-} \ No newline at end of file
+ LINKDB = 'linkdb', // database of links ??? why do we have this
+ SCRIPTDB = 'scriptdb', // database of scripts
+ GROUPDB = 'groupdb', // database of groups
+}
+export enum CollectionViewType {
+ Invalid = 'invalid',
+ Freeform = 'freeform',
+ Schema = 'schema',
+ Docking = 'docking',
+ Tree = 'tree',
+ Stacking = 'stacking',
+ Masonry = 'masonry',
+ Multicolumn = 'multicolumn',
+ Multirow = 'multirow',
+ Time = 'time',
+ Carousel = 'carousel',
+ Carousel3D = '3D Carousel',
+ Linear = 'linear',
+ //Staff = "staff",
+ Map = 'map',
+ Grid = 'grid',
+ Pile = 'pileup',
+ StackedTimeline = 'stacked timeline',
+}