完善任务存储、权限及货源查询流程
Build Backend JAR / build (push) Has been cancelled

This commit is contained in:
supernijia
2026-08-14 22:49:15 +08:00
parent 5b1ccad40e
commit 7a7f1dfa21
21 changed files with 2584 additions and 566 deletions
@@ -6,6 +6,23 @@ export interface UploadedJavaFile {
relativePath?: string;
}
export type ProxyMode = 1 | 2;
export interface DesktopConfig {
proxy_url?: string;
proxy_mode?: number | string;
aliprice_usename?: string;
aliprice_pwd?: string;
[key: string]: unknown;
}
export interface DesktopConfigUpdate {
proxy_url?: string;
proxy_mode?: ProxyMode;
aliprice_usename?: string;
aliprice_pwd?: string;
}
export interface PywebviewApi {
close?: () => Promise<void>;
minimize?: () => Promise<void>;
@@ -69,6 +86,8 @@ export interface PywebviewApi {
enqueue_json?: (
data: unknown,
) => Promise<{ success: boolean; queue_size?: number; error?: string }>;
read_config?: () => Promise<DesktopConfig>;
save_config?: (data: DesktopConfigUpdate) => Promise<DesktopConfig>;
}
declare global {