Files
Termind/Frameworks/TermindApplication/Repositories/SSHImportBatch.swift
T
Kaede Akino c2958a05b3 Add iOS workspaces and shared feature services
Share Vault, persistence, SSH/SFTP, forwarding, and SwiftUI components across platforms. Add mobile editors, terminal input, standalone Assistant, Metrics navigation, transfers, and a unified Live Activity with host system icons.

Validation: 35 iOS tests and 100 focused macOS tests pass; formatting and zh-Hans checks pass. The full macOS run reports 14 issues in the documented timing, Keychain, and popover suites. Remaining Assistant tool and CloudKit work is tracked in Memory/MOBILE_ROLLOUT.md.
2026-09-11 13:47:16 +08:00

25 lines
814 B
Swift

import Foundation
import TermindDomain
import struct TermindDomain.Host
/// Execution-only payload. Secrets are never part of the observable import preview.
public nonisolated struct SSHImportBatch: Sendable {
public var hosts: [Host] = []
public var identities: [Identity] = []
public var keys: [SSHKeyRef] = []
public var knownHosts: [KnownHostEntry] = []
public var credentials: [UUID: StoredSSHKeyCredential] = [:]
public init(
hosts: [Host] = [], identities: [Identity] = [], keys: [SSHKeyRef] = [], knownHosts: [KnownHostEntry] = [],
credentials: [UUID: StoredSSHKeyCredential] = [:]
) {
self.hosts = hosts
self.identities = identities
self.keys = keys
self.knownHosts = knownHosts
self.credentials = credentials
}
}