feat: 图片复制定位信息

This commit is contained in:
Wxw-Gu committed 2026-10-19 19:27:39 +08:00
1 parent a799fc1490
commit 52c89bf0c7
7 files changed
+273

No files matched your search

+2
View File
@@ -39,6 +39,7 @@ import type {
SaveImageKeyRequest,
TestImageDecryptionRequest
} from '../shared/image-decryption'
import type { ImageDebugInfoRequest, ImageDebugInfoResult } from '../shared/image-debug-info'
import type {
AIChatRequestOptions,
AiSearchExternalAuthorizationRequest,
@@ -458,6 +459,7 @@ declare global {
isThumb?: boolean
filePath?: string
}>
getImageDebugInfo: (request: ImageDebugInfoRequest) => Promise<ImageDebugInfoResult>
getVideo: (
hashes: string[],
options?: {
+3
View File
@@ -83,6 +83,7 @@ import type {
import type { CacheClearScope, CacheSummary } from '../shared/cache'
import type { ExportRequest, ExportJobProgress } from '../shared/export'
import type { ImageDecoderSelectionResult, ImageDecoderStatus } from '../shared/image-decryption'
import type { ImageDebugInfoRequest, ImageDebugInfoResult } from '../shared/image-debug-info'
import type { AccountDiscoveryResult } from '../shared/database-key'
import type {
VoiceBatchConversationSummary,
@@ -394,6 +395,8 @@ const api = {
includeData?: boolean
}
) => ipcRenderer.invoke('db:getImage', imageMd5, imageDatNameOrThumb, sessionId, options),
getImageDebugInfo: (request: ImageDebugInfoRequest): Promise<ImageDebugInfoResult> =>
ipcRenderer.invoke('image:getDebugInfo', request),
getVideo: (
hashes: string[],
options?: {