aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocumentTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/documents/DocumentTypes.ts')
-rw-r--r--src/client/documents/DocumentTypes.ts60
1 files changed, 33 insertions, 27 deletions
diff --git a/src/client/documents/DocumentTypes.ts b/src/client/documents/DocumentTypes.ts
index 170d54e96..ab32d7301 100644
--- a/src/client/documents/DocumentTypes.ts
+++ b/src/client/documents/DocumentTypes.ts
@@ -1,30 +1,36 @@
export enum DocumentType {
NONE = "none",
- TEXT = "text",
- HIST = "histogram",
- IMG = "image",
- WEB = "web",
- COL = "collection",
- KVP = "kvp",
- VID = "video",
- AUDIO = "audio",
- PDF = "pdf",
- IMPORT = "import",
- LINK = "link",
- LINKDOC = "linkdoc",
- BUTTON = "button",
- SLIDER = "slider",
- EXTENSION = "extension",
- YOUTUBE = "youtube",
- WEBCAM = "webcam",
- FONTICON = "fonticonbox",
- PRES = "presentation",
- PRESELEMENT = "preselement",
- QUERY = "search",
- COLOR = "color",
- DOCULINK = "doculink",
- PDFANNO = "pdfanno",
- INK = "ink",
- DOCUMENT = "document",
- SCRIPT = "script"
+
+ // core data types
+ RTF = "rtf", // rich text
+ IMG = "image", // image box
+ WEB = "web", // web page or html clipping
+ COL = "collection", // collection
+ KVP = "kvp", // key value pane
+ VID = "video", // video
+ AUDIO = "audio", // audio
+ PDF = "pdf", // pdf
+ INK = "ink", // ink stroke
+ SCREENSHOT = "screenshot", // view of a desktop application
+ FONTICON = "fonticonbox", // font icon
+ QUERY = "query", // search query
+ LABEL = "label", // simple text label
+ WEBCAM = "webcam", // webcam
+ PDFANNO = "pdfanno", // pdf text selection (could be just a collection?)
+ DATE = "date", // calendar view of a date
+ SCRIPTING = "script", // script editor
+
+ // special purpose wrappers that either take no data or are compositions of lower level types
+ LINK = "link", // link (view of a document that acts as a link)
+ LINKANCHOR = "linkanchor", // blue dot link anchor (view of a link document's anchor)
+ IMPORT = "import", // directory import box (file system directory)
+ SLIDER = "slider", // number slider (view of a number)
+ PRES = "presentation", // presentation (view of a collection) --- shouldn't this be a view type? technically requires a special view in which documents must have their aliasOf fields filled in
+ PRESELEMENT = "preselement",// presentation item (view of a document in a collection)
+ COLOR = "color", // color picker (view of a color picker for a color string)
+ YOUTUBE = "youtube", // youtube directory (view of you tube search results)
+ DOCHOLDER = "docholder", // nested document (view of a document)
+
+ LINKDB = "linkdb", // database of links ??? why do we have this
+ RECOMMENDATION = "recommendation", // view of a recommendation
} \ No newline at end of file