Merge branch 'develop' into cache-user-info

This commit is contained in:
syuilo 2022-03-21 05:31:10 +09:00
commit c34940a67c

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);