fix(backend): correct admin/meta response schema (#15434)
Some checks failed
Check SPDX-License-Identifier / check-spdx-license-id (push) Waiting to run
Check copyright year / check_copyright_year (push) Waiting to run
Publish Docker image (develop) / Build (linux/amd64) (push) Waiting to run
Publish Docker image (develop) / Build (linux/arm64) (push) Waiting to run
Publish Docker image (develop) / merge (push) Blocked by required conditions
Dockle / dockle (push) Waiting to run
Lint / pnpm_install (push) Waiting to run
Lint / lint (backend) (push) Blocked by required conditions
Lint / lint (frontend) (push) Blocked by required conditions
Lint / lint (frontend-embed) (push) Blocked by required conditions
Lint / lint (frontend-shared) (push) Blocked by required conditions
Lint / lint (misskey-bubble-game) (push) Blocked by required conditions
Lint / lint (misskey-js) (push) Blocked by required conditions
Lint / lint (misskey-reversi) (push) Blocked by required conditions
Lint / lint (sw) (push) Blocked by required conditions
Lint / typecheck (backend) (push) Blocked by required conditions
Lint / typecheck (misskey-js) (push) Blocked by required conditions
Lint / typecheck (sw) (push) Blocked by required conditions
Storybook / build (push) Waiting to run
Test (frontend) / Unit tests (frontend) (22.11.0) (push) Waiting to run
Test (frontend) / E2E tests (frontend) (chrome, 22.11.0) (push) Waiting to run
Test (production install and build) / Production build (22.11.0) (push) Waiting to run
API report (misskey.js) / report (push) Has been cancelled
Test (backend) / Unit tests (backend) (22.11.0) (push) Has been cancelled
Test (backend) / E2E tests (backend) (22.11.0) (push) Has been cancelled
Test (federation) / Federation test (22.11.0) (push) Has been cancelled
Test (misskey.js) / Unit tests (misskey.js) (22.11.0) (push) Has been cancelled
api.json validation / validate-api-json (22.11.0) (push) Has been cancelled

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[];
};
};