forked from CenterForDigitalHumanities/rerum_server_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.js
More file actions
25 lines (19 loc) · 818 Bytes
/
utils.js
File metadata and controls
25 lines (19 loc) · 818 Bytes
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
#!/usr/bin/env node
// The original utils.js was becoming overly large. Many of its helper functions
// have been split into focused modules in the project root. This file now
// simply re‑exports them so existing imports (`import utils from '../utils.js'`)
// continue to work.
import versioning from './versioning.js'
import headers from './headers.js'
import predicates from './predicates.js'
export default {
// versioning helpers
...versioning,
// predicates and checks
...predicates,
// header constructors
...headers
}
export { configureRerumOptions } from './versioning.js'
export { configureWebAnnoHeadersFor, configureLDHeadersFor, configureLastModifiedHeader } from './headers.js'
export { isDeleted, isReleased, isGenerator, isContainerType, isLD } from './predicates.js'