aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocumentTypes.ts
blob: 37a148e55df3534568233f64576b1211baedff51 (plain)
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
export enum DocumentType {
    NONE = "none",

    // 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 = "inks",        // ink stroke
    SCREENSHOT = "screenshot",  // view of a desktop application
    FONTICON = "fonticonbox",   // font icon
    FILTER = "filter",
    SEARCH = "search",          // search query
    LABEL = "label",            // simple text label
    BUTTON = "button",          // onClick button
    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)
    SEARCHITEM = "searchitem",
    COMPARISON = "comparison",  // before/after view with slider (view of 2 images)
    GROUP = "group",            // group of users

    LINKDB = "linkdb",          // database of links  ??? why do we have this
    SCRIPTDB = "scriptdb",      // database of scripts
    GROUPDB = "groupdb"         // database of groups
}