hippofish/packages/frontend/src/cache.ts

7 lines
280 B
TypeScript
Raw Normal View History

import * as misskey from 'misskey-js';
import { Cache } from '@/scripts/cache';
export const clipsCache = new Cache<misskey.entities.Clip[]>(Infinity);
export const rolesCache = new Cache(Infinity);
2023-03-24 08:58:57 +01:00
export const userListsCache = new Cache<misskey.entities.UserList[]>(Infinity);