mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 04:43:08 +02:00
7 lines
263 B
TypeScript
7 lines
263 B
TypeScript
|
import { Cache } from "@/misc/cache";
|
||
|
import { Note } from "@/models/entities/note";
|
||
|
import { User } from "@/models/entities/user";
|
||
|
|
||
|
export const userCache = new Cache<User | null>(1000 * 60 * 30);
|
||
|
export const noteCache = new Cache<Note | null>(1000 * 60 * 30);
|