mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 11:23:09 +02:00
.js
This commit is contained in:
parent
836ae732f6
commit
b6da0e9b92
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue