1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-21 10:08:19 +09:00
cherrypick/packages/frontend/src/cache.ts

8 lines
358 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 16:58:57 +09:00
export const userListsCache = new Cache<misskey.entities.UserList[]>(Infinity);
export const antennasCache = new Cache<misskey.entities.Antenna[]>(Infinity);