import number vs index button implemented
This commit is contained in:
Submodule client-gui2 updated: ef4390c85e...08a9b2e01e
@@ -208,6 +208,10 @@ message StageTableDataImportRequest {
|
||||
message TableDataImportRow {
|
||||
// Required. Data payload for one staged row.
|
||||
map<string, google.protobuf.Value> data = 1;
|
||||
// Link columns whose text must be resolved against the target table's exact
|
||||
// row display value, including text made only of digits. Unlisted columns
|
||||
// retain the normal table-write link semantics.
|
||||
repeated string link_display_columns = 2;
|
||||
}
|
||||
|
||||
message StageTableDataImportResponse {
|
||||
|
||||
Binary file not shown.
@@ -109,6 +109,11 @@ pub struct TableDataImportRow {
|
||||
::prost::alloc::string::String,
|
||||
::prost_types::Value,
|
||||
>,
|
||||
/// Link columns whose text must be resolved against the target table's exact
|
||||
/// row display value, including text made only of digits. Unlisted columns
|
||||
/// retain the normal table-write link semantics.
|
||||
#[prost(string, repeated, tag = "2")]
|
||||
pub link_display_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct StageTableDataImportResponse {
|
||||
|
||||
@@ -425,7 +425,7 @@ pub fn row_to_table_data(
|
||||
};
|
||||
data.insert(target_column.clone(), value);
|
||||
}
|
||||
Ok(TableDataImportRow { data })
|
||||
Ok(TableDataImportRow { data, link_display_columns: Vec::new() })
|
||||
}
|
||||
|
||||
pub fn exportable_columns(schema: &TableStructureResponse) -> Vec<String> {
|
||||
|
||||
2
server
2
server
Submodule server updated: 31aaa15724...8ab030c771
@@ -666,7 +666,7 @@ fn import_row(
|
||||
)?;
|
||||
data.insert(column.clone(), value);
|
||||
}
|
||||
Ok(TableDataImportRow { data })
|
||||
Ok(TableDataImportRow { data, link_display_columns: Vec::new() })
|
||||
}
|
||||
|
||||
async fn render_step(
|
||||
|
||||
Reference in New Issue
Block a user