From ad1212bc05f1e3dea5d269f4173b6500ee367653 Mon Sep 17 00:00:00 2001 From: llama Date: Sat, 5 Jul 2025 01:56:49 +0800 Subject: [PATCH] apply suggestion for protobuf --- proto/anki/import_export.proto | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/proto/anki/import_export.proto b/proto/anki/import_export.proto index 2df3260c9..3273a57bb 100644 --- a/proto/anki/import_export.proto +++ b/proto/anki/import_export.proto @@ -181,27 +181,27 @@ message CsvMetadata { // One-based. 0 means n/a. uint32 deck_column = 7; // name of new deck to be created - string deck_name = 8; + string deck_name = 17; } oneof notetype { // One notetype for all rows with given column mapping. - MappedNotetype global_notetype = 9; + MappedNotetype global_notetype = 8; // Row-specific notetypes with automatic mapping by index. // One-based. 0 means n/a. - uint32 notetype_column = 10; + uint32 notetype_column = 9; } enum MatchScope { NOTETYPE = 0; NOTETYPE_AND_DECK = 1; } // One-based. 0 means n/a. - uint32 tags_column = 11; - bool force_delimiter = 12; - bool force_is_html = 13; - repeated generic.StringList preview = 14; - uint32 guid_column = 15; - DupeResolution dupe_resolution = 16; - MatchScope match_scope = 17; + uint32 tags_column = 10; + bool force_delimiter = 11; + bool force_is_html = 12; + repeated generic.StringList preview = 13; + uint32 guid_column = 14; + DupeResolution dupe_resolution = 15; + MatchScope match_scope = 16; } message ExportCardCsvRequest {