barkey/packages/frontend/src/cache.ts

6 lines
200 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);