Skip to content

Commit 2efe0f7

Browse files
committed
feat: add group_by options when loading Widget
Signed-off-by: seolmin <[email protected]>
1 parent 966ebe8 commit 2efe0f7

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

proto/spaceone/api/dashboard/v1/private_data_table.proto

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ message PrivateDataTableInfo {
166166
google.protobuf.Struct labels_info = 9;
167167
google.protobuf.Struct data_info = 10;
168168
repeated string sort_keys = 11;
169-
string error_message = 12;
169+
string cache_key = 12;
170+
string error_message = 13;
170171

171172
string domain_id = 21;
172173
string user_id = 22;

proto/spaceone/api/dashboard/v1/private_widget.proto

+5-3
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,13 @@ message LoadPrivateWidgetRequest {
138138
string start = 3;
139139
string end = 4;
140140
// +optional
141-
repeated PrivateWidgetSort sort = 5;
141+
repeated string group_by = 5;
142142
// +optional
143-
PrivateWidgetPage page = 6;
143+
repeated PrivateWidgetSort sort = 6;
144144
// +optional
145-
google.protobuf.Struct vars = 7;
145+
PrivateWidgetPage page = 7;
146+
// +optional
147+
google.protobuf.Struct vars = 8;
146148
}
147149

148150
message LoadSumPrivateWidgetRequest {

proto/spaceone/api/dashboard/v1/public_data_table.proto

+2-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,8 @@ message PublicDataTableInfo {
334334
google.protobuf.Struct labels_info = 9;
335335
google.protobuf.Struct data_info = 10;
336336
repeated string sort_keys = 11;
337-
string error_message = 12;
337+
string cache_key = 12;
338+
string error_message = 13;
338339

339340
ResourceGroup resource_group = 20;
340341
string domain_id = 21;

proto/spaceone/api/dashboard/v1/public_widget.proto

+5-3
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,13 @@ message LoadPublicWidgetRequest {
137137
string start = 3;
138138
string end = 4;
139139
// +optional
140-
repeated PublicWidgetSort sort = 5;
140+
repeated string group_by = 5;
141141
// +optional
142-
PublicWidgetPage page = 6;
142+
repeated PublicWidgetSort sort = 6;
143143
// +optional
144-
google.protobuf.Struct vars = 7;
144+
PublicWidgetPage page = 7;
145+
// +optional
146+
google.protobuf.Struct vars = 8;
145147
}
146148

147149
message LoadSumPublicWidgetRequest {

0 commit comments

Comments
 (0)