feat: reorganize settings system configuration (#8777)

* feat: reorganize settings system configuration

* fix: float system config restart notice

* fix: blur system config restart notice

* fix: tint restart notice blur background

* fix: allow totp setup without body

* fix: filter public openapi docs

* fix: handle settings autosave cleanup

* chore: ui
This commit is contained in:
Weilong Liao
2026-06-16 11:03:42 +08:00
committed by GitHub
parent dd46cce09e
commit 5566bd621c
36 changed files with 1869 additions and 4351 deletions

File diff suppressed because one or more lines are too long

View File

@@ -320,13 +320,6 @@ export type MessagePart = {
export type type = 'text' | 'plain' | 'image' | 'file' | 'audio' | 'record' | 'video' | 'reply';
export type MigrationRequest = {
platform_id_map?: {
[key: string]: unknown;
};
[key: string]: unknown;
};
export type ModelScopeSyncRequest = {
access_token?: string;
};
@@ -3299,14 +3292,6 @@ export type InstallPipPackageResponse = (SuccessEnvelope);
export type InstallPipPackageError = unknown;
export type RunMigrationsData = {
body?: MigrationRequest;
};
export type RunMigrationsResponse = (SuccessEnvelope);
export type RunMigrationsError = unknown;
export type ListCronJobsData = {
query?: {
type?: string;

View File

@@ -33,7 +33,6 @@ import {
type LoginRequest,
type ListConversationsData,
type McpServerConfig,
type MigrationRequest,
type ModelScopeSyncRequest,
type PipInstallRequest,
type PluginVersionSupportRequest,
@@ -95,7 +94,6 @@ export interface ProviderEmbeddingDimensionData {
export interface VersionData {
version?: string;
dashboard_version?: string;
need_migration?: boolean;
change_pwd_hint?: boolean;
md5_pwd_hint?: boolean;
password_upgrade_required?: boolean;
@@ -574,9 +572,6 @@ export const updatesApi = {
openApiV1.installPipPackage({ body: payload }),
);
},
runMigrations(payload?: MigrationRequest) {
return typed<OpenConfig>(openApiV1.runMigrations({ body: payload }));
},
};
export const backupApi = {