fix(types): 补齐图库 item 字段与 __TAURI__ 声明,修复 CI 类型检查
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 7s

This commit is contained in:
qiqi committed 2026-11-17 10:33:04 +08:00
1 parent 888c6d3dfc
commit 945fcf0dff
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -591,7 +591,7 @@
const m = /(\d{13})/.exec(name)
const orig = 'out_orig_' + name
return {
name: name, url: '', size: 0, mtime: m ? Number(m[1]) : Date.now(), w: 0, h: 0, label: '',
name: name, url: '', size: 0, data: '', thumbHash: '', mtime: m ? Number(m[1]) : Date.now(), w: 0, h: 0, label: '',
idb: 'out_' + name,
origIdb: Object.prototype.hasOwnProperty.call(assets, orig) ? orig : undefined,
}
+1
View File
@@ -22,6 +22,7 @@ interface Window {
IWBStorageMigrations?: any
IWBStorageIndexedDb?: any
IWBStorageFile?: any
__TAURI__?: any
IWBDesktop?: any
IWBStorageFallbackIndexedDb?: any
// 画布 / 工作台