Cotton code
16 lines · 475 B · SwiftRaw
// Where a deck dictation is, for `voice.plan`: the table and column being// written and the record, so the core ranks the vocabulary for them.import CottonKitimport CottonVoiceextension DeckWriting {    func voicePlan(surface: String) -> VoicePlanRequest {        VoicePlanRequest(            surface: surface,            table: writes["table"]?.string,            column: writes["column"]?.string,            record: record,            mode: .dictate)    }}