| 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
 | // PREPEND ALL ROUTES WITH FORWARD SLASHES!
export enum RouteStore {
    // GENERAL
    root = "/",
    home = "/home",
    corsProxy = "/corsProxy",
    delete = "/delete",
    deleteAll = "/deleteAll",
    // UPLOAD AND STATIC FILE SERVING
    public = "/public",
    upload = "/upload",
    dataUriToImage = "/uploadURI",
    images = "/images",
    // USER AND WORKSPACES
    getCurrUser = "/getCurrentUser",
    getUsers = "/getUsers",
    getUserDocumentId = "/getUserDocumentId",
    updateCursor = "/updateCursor",
    openDocumentWithId = "/doc/:docId",
    // AUTHENTICATION
    signup = "/signup",
    login = "/login",
    logout = "/logout",
    forgot = "/forgotpassword",
    reset = "/reset/:token",
    // APIS
    cognitiveServices = "/cognitiveservices",
    googleDocs = "/googleDocs"
}
 |