1
0

convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only)

This commit is contained in:
Hazelnoot
2025-02-21 22:04:36 -05:00
parent e3d949ced6
commit a35c2f214b
28 changed files with 517 additions and 103 deletions
+11
View File
@@ -4276,6 +4276,8 @@ export type components = {
defaultCW: string | null;
/** @enum {string} */
defaultCWPriority: 'default' | 'parent' | 'defaultParent' | 'parentDefault';
/** @enum {string} */
allowUnsignedFetch: 'never' | 'always' | 'essential' | 'staff';
};
UserDetailedNotMe: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'];
MeDetailed: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'] & components['schemas']['MeDetailedOnly'];
@@ -5385,6 +5387,8 @@ export type components = {
requireSetup: boolean;
cacheRemoteFiles: boolean;
cacheRemoteSensitiveFiles: boolean;
/** @enum {string} */
allowUnsignedFetch: 'never' | 'always' | 'essential';
};
MetaDetailed: components['schemas']['MetaLite'] & components['schemas']['MetaDetailedOnly'];
SystemWebhook: {
@@ -8860,6 +8864,9 @@ export type operations = {
trustedLinkUrlPatterns: string[];
federation: string;
federationHosts: string[];
hasLegacyAuthFetchSetting: boolean;
/** @enum {string} */
allowUnsignedFetch: 'never' | 'always' | 'essential';
};
};
};
@@ -11476,6 +11483,8 @@ export type operations = {
/** @enum {string} */
federation?: 'all' | 'none' | 'specified';
federationHosts?: string[];
/** @enum {string} */
allowUnsignedFetch?: 'never' | 'always' | 'essential';
};
};
};
@@ -22971,6 +22980,8 @@ export type operations = {
defaultCW?: string | null;
/** @enum {string} */
defaultCWPriority?: 'default' | 'parent' | 'defaultParent' | 'parentDefault';
/** @enum {string} */
allowUnsignedFetch?: 'never' | 'always' | 'essential' | 'staff';
};
};
};