2023-07-27 08:31:52 +03:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2023-09-04 07:33:38 +03:00
|
|
|
import * as Misskey from 'misskey-js';
|
2023-03-24 09:54:37 +02:00
|
|
|
import { Cache } from '@/scripts/cache';
|
|
|
|
|
2023-09-04 07:33:38 +03:00
|
|
|
export const clipsCache = new Cache<Misskey.entities.Clip[]>(Infinity);
|
2023-03-24 09:54:37 +02:00
|
|
|
export const rolesCache = new Cache(Infinity);
|
2023-09-04 07:33:38 +03:00
|
|
|
export const userListsCache = new Cache<Misskey.entities.UserList[]>(Infinity);
|
|
|
|
export const antennasCache = new Cache<Misskey.entities.Antenna[]>(Infinity);
|