feat(sync): expose upload flags in SyncTargetInfo for the edit form
row_to_info now returns upload_transcript/notes/summary/recording, trigger_on_finalize, allow_plaintext_lan, encrypt_before_upload so the UI can pre-fill an edit form accurately (still never the secret, FR-SYNC-6).
This commit is contained in:
1 parent
724ce4ba3b
commit
149f2c995d
2 files changed
+16
No files matched your search
@@ -233,6 +233,15 @@ pub struct SyncTargetInfo {
|
||||
pub enabled: bool,
|
||||
pub third_party: bool,
|
||||
pub host: Option<String>,
|
||||
// Upload selection + options, so the UI can pre-fill an edit form (the secret
|
||||
// is never included — FR-SYNC-6).
|
||||
pub upload_transcript: bool,
|
||||
pub upload_notes: bool,
|
||||
pub upload_summary: bool,
|
||||
pub upload_recording: bool,
|
||||
pub trigger_on_finalize: bool,
|
||||
pub allow_plaintext_lan: bool,
|
||||
pub encrypt_before_upload: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
||||
Reference in new issue
Block a user