-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdb-controller.js
More file actions
48 lines (45 loc) · 1.38 KB
/
db-controller.js
File metadata and controls
48 lines (45 loc) · 1.38 KB
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
#!/usr/bin/env node
/**
* Main controller aggregating all RERUM operations
* This file now imports from organized controller modules
* @author Claude Sonnet 4, cubap, thehabes
*/
// Import controller modules
import { index, idNegotiation, generateSlugId, remove } from './controllers/utils.js'
import { create, query, id } from './controllers/crud.js'
import { searchAsWords, searchAsPhrase } from './controllers/search.js'
import { deleteObj } from './controllers/delete.js'
import { putUpdate, patchUpdate, patchSet, patchUnset, overwrite } from './controllers/update.js'
import { bulkCreate, bulkUpdate } from './controllers/bulk.js'
import { since, history, idHeadRequest, queryHeadRequest, sinceHeadRequest, historyHeadRequest } from './controllers/history.js'
import { release } from './controllers/release.js'
import { _gog_fragments_from_manuscript, _gog_glosses_from_manuscript, expand } from './controllers/gog.js'
export default {
index,
create,
deleteObj,
putUpdate,
patchUpdate,
patchSet,
patchUnset,
generateSlugId,
overwrite,
release,
query,
searchAsWords,
searchAsPhrase,
id,
bulkCreate,
bulkUpdate,
idHeadRequest,
queryHeadRequest,
since,
history,
sinceHeadRequest,
historyHeadRequest,
remove,
_gog_glosses_from_manuscript,
_gog_fragments_from_manuscript,
idNegotiation,
expand
}