Skip to content

Commit 0e18316

Browse files
committed
cleanup
1 parent a8d368c commit 0e18316

17 files changed

Lines changed: 17 additions & 19 deletions

cache/cache.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Cache layer tests for RERUM API
33
* Verifies that all read endpoints have functioning cache middleware
4-
* @author Claude Sonnet 4
4+
* @author thehabes
55
*/
66

77
import { jest } from '@jest/globals'

cache/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* In-memory LRU cache implementation for RERUM API
55
* Caches query, search, and id lookup results to reduce MongoDB Atlas load
6-
* @author Claude Sonnet 4
6+
* @author thehabes
77
*/
88

99
/**
@@ -298,6 +298,4 @@ const CACHE_TTL = parseInt(process.env.CACHE_TTL ?? 300000) // 5 minutes default
298298

299299
const cache = new LRUCache(CACHE_MAX_SIZE, CACHE_TTL)
300300

301-
// Export cache instance and class
302-
export { cache, LRUCache }
303301
export default cache

cache/middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Cache middleware for RERUM API routes
55
* Provides caching for read operations and invalidation for write operations
6-
* @author Claude Sonnet 4
6+
* @author thehabes
77
*/
88

99
import cache from './index.js'

controllers/bulk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Bulk operations controller for RERUM operations
55
* Handles bulk create and bulk update operations
6-
* @author Claude Sonnet 4, cubap, thehabes
6+
* @author cubap, thehabes
77
*/
88

99
import { newID, isValidID, db } from '../database/index.js'

controllers/crud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Basic CRUD operations for RERUM v1
5-
* @author Claude Sonnet 4, cubap, thehabes
5+
* @author cubap, thehabes
66
*/
77
import { newID, isValidID, db } from '../database/index.js'
88
import utils from '../utils.js'

controllers/delete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Delete operations for RERUM v1
5-
* @author Claude Sonnet 4, cubap, thehabes
5+
* @author cubap, thehabes
66
*/
77
import { newID, isValidID, db } from '../database/index.js'
88
import utils from '../utils.js'

controllers/gog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Gallery of Glosses (GOG) controller for RERUM operations
55
* Handles specialized operations for the Gallery of Glosses application
6-
* @author Claude Sonnet 4, cubap, thehabes
6+
* @author cubap, thehabes
77
*/
88

99
import { newID, isValidID, db } from '../database/index.js'

controllers/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* History controller for RERUM operations
55
* Handles history, since, and HEAD request operations
6-
* @author Claude Sonnet 4, cubap, thehabes
6+
* @author cubap, thehabes
77
*/
88

99
import { newID, isValidID, db } from '../database/index.js'

controllers/overwrite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Overwrite controller for RERUM operations
55
* Handles overwrite operations with optimistic locking
6-
* @author Claude Sonnet 4, cubap, thehabes
6+
* @author cubap, thehabes
77
*/
88

99
import { newID, isValidID, db } from '../database/index.js'

controllers/patchSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* PATCH Set controller for RERUM operations
55
* Handles PATCH operations that add new keys only
6-
* @author Claude Sonnet 4, cubap, thehabes
6+
* @author cubap, thehabes
77
*/
88

99
import { newID, isValidID, db } from '../database/index.js'

0 commit comments

Comments
 (0)