This commit is contained in:
syuilo 2022-03-21 05:31:04 +09:00
parent 836ae732f6
commit b6da0e9b92

View file

@ -1,6 +1,6 @@
import { Cache } from "@/misc/cache"; import { Cache } from "@/misc/cache.js";
import { Note } from "@/models/entities/note"; import { Note } from "@/models/entities/note.js";
import { User } from "@/models/entities/user"; import { User } from "@/models/entities/user.js";
export const userCache = new Cache<User | null>(1000 * 60 * 30); export const userCache = new Cache<User | null>(1000 * 60 * 30);
export const noteCache = new Cache<Note | null>(1000 * 60 * 30); export const noteCache = new Cache<Note | null>(1000 * 60 * 30);