+
+ warning
+
+ Anyone on the internet can read the tables listed below without signing in.
+ Public access is read-only — rows can never be added, edited or deleted.
+
+
+
+ @if (tablesLoading() || loadingPermissions()) {
+
+ } @else if (tables().length === 0) {
+ No tables in this connection.
+ } @else {
+
+ @for (table of tables(); track table.tableName) {
+ @let selected = isSelected(table.tableName);
+
+
+ {{ table.displayName }}
+
+
+ @if (selected) {
+ @if (isLoadingColumns(table.tableName)) {
+ Loading columns…
+ } @else {
+
+ Readable columns
+
+ @for (column of availableColumns(table.tableName); track column) {
+ {{ column }}
+ }
+
+ Leave empty to expose all columns
+
+ }
+ }
+
+ }
+
+
+
+ @if (canDisable()) {
+
+ Disable public access
+
+ }
+
+
+ Save
+
+
+ }
+
+