forked from woem.men/forkey

* chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
12 lines
473 B
TypeScript
12 lines
473 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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);
|
|
export const userListsCache = new Cache<misskey.entities.UserList[]>(Infinity);
|
|
export const antennasCache = new Cache<misskey.entities.Antenna[]>(Infinity);
|