Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33031639
D12212.1768403506.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
768 B
Referenced Files
None
Subscribers
None
D12212.1768403506.diff
View Options
diff --git a/lib/types/backup-types.js b/lib/types/backup-types.js
--- a/lib/types/backup-types.js
+++ b/lib/types/backup-types.js
@@ -5,6 +5,8 @@
import { tShape } from '../utils/validation-utils.js';
+// This type should match `BackupKeysResult` in
+// `native/native_rust_library/src/backup.rs`
export type BackupKeys = {
+backupID: string,
+backupDataKey: string,
diff --git a/native/native_rust_library/src/backup.rs b/native/native_rust_library/src/backup.rs
--- a/native/native_rust_library/src/backup.rs
+++ b/native/native_rust_library/src/backup.rs
@@ -439,6 +439,7 @@
})
}
+// This struct should match `BackupKeys` in `lib/types/backup-types.js`
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
struct BackupKeysResult {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 3:11 PM (8 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5932491
Default Alt Text
D12212.1768403506.diff (768 B)
Attached To
Mode
D12212: [native_rust_library] fix serialization of BackupKeysResult
Attached
Detach File
Event Timeline
Log In to Comment