aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocumentTypes.ts
blob: 209b34f91b4adafccf6fe2f4ab928b5c648a1b03 (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
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
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',
    SCREENSHOT = 'screenshot',
    FONTICON = 'fonticonbox',
    SEARCH = 'search', // search query
    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
    EQUATION = 'equation', // equation editor
    FUNCPLOT = 'funcplot', // function plotter
    MAP = 'map',
    DATAVIZ = 'dataviz',
    LOADING = 'loading',
    SIMULATION = 'simulation', //physics simulation

    // special purpose wrappers that either take no data or are compositions of lower level types
    LINK = 'link',
    IMPORT = 'import',
    PRES = 'presentation',
    PRESELEMENT = 'preselement',
    YOUTUBE = 'youtube',
    COMPARISON = 'comparison',
    GROUP = 'group',
    PUSHPIN = 'pushpin',
    MAPROUTE = 'maproute',
    CALENDAR = 'calendar',

    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',
    NoteTaking = 'notetaking',
    Calendar = 'calendar',
    Card = 'card'

}