超分功能完成
This commit is contained in:
@@ -17,6 +17,7 @@ import type {
|
||||
AdminTeam, AdminTeamListResponse, AdminTeamOption, AdminTeamPayload, AdminTeamQueryParams,
|
||||
PrivatePortraitConfig, PrivatePortraitProjectListOut, PrivatePortraitAssetListOut,
|
||||
AdminUploadFileResult, AdminUploadResourceType, AdminUploadScene,
|
||||
VideoUpscaleConfigOut, VideoUpscaleConfigSavePayload,
|
||||
} from '../types';
|
||||
|
||||
import type {
|
||||
@@ -41,6 +42,18 @@ import type {
|
||||
HomeMaterialWatermarkQueryParams,
|
||||
} from '../types';
|
||||
|
||||
|
||||
// ── Video Upscale ────────────────────────────────────────
|
||||
|
||||
export async function getVideoUpscaleConfig(): Promise<VideoUpscaleConfigOut> {
|
||||
return api.get<VideoUpscaleConfigOut>('/admin/video-upscale/config');
|
||||
}
|
||||
|
||||
export async function saveVideoUpscaleConfig(payload: VideoUpscaleConfigSavePayload): Promise<VideoUpscaleConfigOut> {
|
||||
return api.put<VideoUpscaleConfigOut>('/admin/video-upscale/config', payload);
|
||||
}
|
||||
|
||||
|
||||
// ── Auth ──────────────────────────────────────────────────
|
||||
|
||||
export async function login(username: string, password: string, captchaToken?: string, rememberMe?: boolean): Promise<User> {
|
||||
|
||||
Reference in New Issue
Block a user