tui-pages changes and enum for what is allowed on a global table that the modules uses

This commit is contained in:
Priec
2026-09-10 19:08:49 +02:00
parent b3a13a3533
commit 0774f49f9c
6 changed files with 101 additions and 2 deletions

View File

@@ -651,6 +651,29 @@ message TableDetail {
// True when module-owned storage supports catalog-managed rows and settings.
bool catalog_managed = 14;
// Supported catalog operations, not user permissions or a guarantee that a
// particular request is valid. Column restrictions, locks, existing data and
// optimistic concurrency checks still apply. Unknown values must be ignored.
repeated CatalogFeature catalog_features = 15;
}
enum CatalogFeature {
CATALOG_FEATURE_UNSPECIFIED = 0;
CATALOG_FEATURE_WRITE_ROWS = 1;
CATALOG_FEATURE_DELETE_ROWS = 2;
CATALOG_FEATURE_ARCHIVE_ROWS = 3;
CATALOG_FEATURE_COLUMN_PRESENTATION = 4;
CATALOG_FEATURE_COLUMN_REQUIRED = 5;
CATALOG_FEATURE_COLUMN_FORM_VISIBILITY = 6;
CATALOG_FEATURE_COLUMN_OPTION_ALIASES = 7;
CATALOG_FEATURE_ROW_DISPLAY_COLUMNS = 8;
CATALOG_FEATURE_VALIDATION = 9;
CATALOG_FEATURE_SCRIPTS = 10;
CATALOG_FEATURE_ADD_COLUMNS = 11;
CATALOG_FEATURE_REPLACE_DEFINITION = 12;
CATALOG_FEATURE_INDEXES = 13;
CATALOG_FEATURE_DELETE_TABLE = 14;
}
// Server-owned behavior for one logical column returned in table details.