fix(backend): correct admin/meta response schema (#15434)

This commit is contained in:
zyoshoka 2025-02-09 16:17:48 +09:00 committed by GitHub
parent 231c2c2e54
commit dc608aada0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -512,6 +512,7 @@ export const meta = {
},
federation: {
type: 'string',
enum: ['all', 'specified', 'none'],
optional: false, nullable: false,
},
federationHosts: {

View File

@ -8349,7 +8349,8 @@ export type operations = {
urlPreviewRequireContentLength: boolean;
urlPreviewUserAgent: string | null;
urlPreviewSummaryProxyUrl: string | null;
federation: string;
/** @enum {string} */
federation: 'all' | 'specified' | 'none';
federationHosts: string[];
};
};