1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-11 19:24:07 +02:00

feat(backend): allow disabling cache for sensitive files

This commit is contained in:
Kagami Sascha Rosylight
2023-07-12 02:13:27 +02:00
parent 1a096c557e
commit c277934328
13 changed files with 189 additions and 16 deletions

View File

@@ -20,6 +20,7 @@ export type Endpoints = {
'admin/get-table-stats': { req: TODO; res: TODO; };
'admin/invite': { req: TODO; res: TODO; };
'admin/logs': { req: TODO; res: TODO; };
'admin/meta': { req: TODO; res: TODO; };
'admin/reset-password': { req: TODO; res: TODO; };
'admin/resolve-abuse-user-report': { req: TODO; res: TODO; };
'admin/resync-chart': { req: TODO; res: TODO; };

View File

@@ -338,6 +338,7 @@ export type DetailedInstanceMetadata = LiteInstanceMetadata & {
pinnedPages: string[];
pinnedClipId: string | null;
cacheRemoteFiles: boolean;
cacheRemoteSensitiveFiles: boolean;
requireSetup: boolean;
proxyAccountName: string | null;
features: Record<string, any>;