v archivation7 deleted data
This commit is contained in:
@@ -299,6 +299,37 @@ message GetTableDataVersionRequest {
|
||||
int64 version = 4;
|
||||
}
|
||||
|
||||
// A link resolved exactly as the source row stored it, together with the
|
||||
// target row's current state. The physical companion version column remains
|
||||
// an internal implementation detail.
|
||||
enum ResolvedTableLinkStatus {
|
||||
CURRENT = 0;
|
||||
SUPERSEDED = 1;
|
||||
UNAVAILABLE = 2;
|
||||
DELETED = 3;
|
||||
}
|
||||
|
||||
message ResolvedTableLinkVersion {
|
||||
int64 version = 1;
|
||||
map<string, string> data = 2;
|
||||
repeated string row_display_values = 3;
|
||||
repeated string row_display_columns = 4;
|
||||
}
|
||||
|
||||
message ResolvedTableLinkUpdate {
|
||||
int64 version = 1;
|
||||
map<string, string> data = 2;
|
||||
repeated string row_display_values = 3;
|
||||
repeated string changed_fields = 4;
|
||||
}
|
||||
|
||||
message ResolvedTableLink {
|
||||
int64 id = 1;
|
||||
ResolvedTableLinkVersion saved = 2;
|
||||
ResolvedTableLinkStatus status = 3;
|
||||
ResolvedTableLinkUpdate newer = 4;
|
||||
}
|
||||
|
||||
// Row payload: all columns returned as strings.
|
||||
message GetTableDataResponse {
|
||||
// Map of column_name → stringified value for:
|
||||
@@ -317,8 +348,12 @@ message GetTableDataResponse {
|
||||
repeated string row_display_values = 2;
|
||||
repeated string row_display_columns = 3;
|
||||
|
||||
// Version paired with each global-link column in this row.
|
||||
map<string, int64> link_versions = 4;
|
||||
// Links keyed by their public column name. Each value contains the row as
|
||||
// saved by this record and the newest available state of the linked row.
|
||||
map<string, ResolvedTableLink> resolved_links = 4;
|
||||
|
||||
// The generation returned by this response. Zero is never returned.
|
||||
int64 row_version = 5;
|
||||
}
|
||||
|
||||
// Count non-deleted rows.
|
||||
|
||||
Reference in New Issue
Block a user