diff --git a/build/es/node/node_pb.d.ts b/build/es/node/node_pb.d.ts index 1f15c3a..0235d1b 100644 --- a/build/es/node/node_pb.d.ts +++ b/build/es/node/node_pb.d.ts @@ -292,9 +292,9 @@ export declare class QueryRequest extends Message { field?: string; /** - * @generated from field: optional string sort = 6; + * @generated from field: repeated string sorter = 6; */ - sort?: string; + sorter: string[]; /** * @generated from field: map filters = 7; diff --git a/build/es/node/node_pb.js b/build/es/node/node_pb.js index f4a0058..d11cc16 100644 --- a/build/es/node/node_pb.js +++ b/build/es/node/node_pb.js @@ -123,7 +123,7 @@ export const QueryRequest = /*@__PURE__*/ proto3.makeMessageType( { no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 4, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 5, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 6, name: "sort", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 6, name: "sorter", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 7, name: "filters", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} }, ], ); diff --git a/mocks/github.com/infinimesh/proto/eventbus/eventbusconnect/mock_EventsServiceClient.go b/mocks/github.com/infinimesh/proto/eventbus/eventbusconnect/mock_EventsServiceClient.go index f793c04..77c7b3e 100644 --- a/mocks/github.com/infinimesh/proto/eventbus/eventbusconnect/mock_EventsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/eventbus/eventbusconnect/mock_EventsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package eventbusconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/eventbus/mock_EventsServiceClient.go b/mocks/github.com/infinimesh/proto/eventbus/mock_EventsServiceClient.go index 8622deb..38d6afa 100644 --- a/mocks/github.com/infinimesh/proto/eventbus/mock_EventsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/eventbus/mock_EventsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package eventbus_mocks diff --git a/mocks/github.com/infinimesh/proto/handsfree/handsfreeconnect/mock_HandsfreeServiceClient.go b/mocks/github.com/infinimesh/proto/handsfree/handsfreeconnect/mock_HandsfreeServiceClient.go index 6b3f8d1..2bcac9c 100644 --- a/mocks/github.com/infinimesh/proto/handsfree/handsfreeconnect/mock_HandsfreeServiceClient.go +++ b/mocks/github.com/infinimesh/proto/handsfree/handsfreeconnect/mock_HandsfreeServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package handsfreeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/handsfree/mock_HandsfreeServiceClient.go b/mocks/github.com/infinimesh/proto/handsfree/mock_HandsfreeServiceClient.go index 1e616cb..8c6d519 100644 --- a/mocks/github.com/infinimesh/proto/handsfree/mock_HandsfreeServiceClient.go +++ b/mocks/github.com/infinimesh/proto/handsfree/mock_HandsfreeServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package handsfree_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_AccountsServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_AccountsServiceClient.go index 0a8e2f0..4f38b92 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_AccountsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_AccountsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_DevicesServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_DevicesServiceClient.go index 108a7d8..6f91fbe 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_DevicesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_DevicesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_InternalServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_InternalServiceClient.go index 645a785..30af3b5 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_InternalServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_InternalServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_NamespacesServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_NamespacesServiceClient.go index 18349c5..89dae46 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_NamespacesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_NamespacesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_SessionsServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_SessionsServiceClient.go index bdaf102..002e695 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_SessionsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_SessionsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/mock_ShadowServiceClient.go b/mocks/github.com/infinimesh/proto/node/mock_ShadowServiceClient.go index 7b5ddcb..4c3e0b7 100644 --- a/mocks/github.com/infinimesh/proto/node/mock_ShadowServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/mock_ShadowServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package node_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_AccountsServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_AccountsServiceClient.go index b853a1c..fca8aef 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_AccountsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_AccountsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_DevicesServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_DevicesServiceClient.go index c301b4d..e77d277 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_DevicesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_DevicesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_InternalServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_InternalServiceClient.go index 8042e0a..0f6df06 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_InternalServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_InternalServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_NamespacesServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_NamespacesServiceClient.go index c92e1d7..cbf6ac3 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_NamespacesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_NamespacesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_SessionsServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_SessionsServiceClient.go index a050eca..ae0c89f 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_SessionsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_SessionsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_ShadowServiceClient.go b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_ShadowServiceClient.go index 4a3798a..bf6796d 100644 --- a/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_ShadowServiceClient.go +++ b/mocks/github.com/infinimesh/proto/node/nodeconnect/mock_ShadowServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package nodeconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/plugins/mock_PluginsServiceClient.go b/mocks/github.com/infinimesh/proto/plugins/mock_PluginsServiceClient.go index 708eb3f..019bdd0 100644 --- a/mocks/github.com/infinimesh/proto/plugins/mock_PluginsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/plugins/mock_PluginsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package plugins_mocks diff --git a/mocks/github.com/infinimesh/proto/plugins/pluginsconnect/mock_PluginsServiceClient.go b/mocks/github.com/infinimesh/proto/plugins/pluginsconnect/mock_PluginsServiceClient.go index f271eca..a236b5c 100644 --- a/mocks/github.com/infinimesh/proto/plugins/pluginsconnect/mock_PluginsServiceClient.go +++ b/mocks/github.com/infinimesh/proto/plugins/pluginsconnect/mock_PluginsServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package pluginsconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/shadow/mock_ShadowServiceClient.go b/mocks/github.com/infinimesh/proto/shadow/mock_ShadowServiceClient.go index 083a0db..16523ff 100644 --- a/mocks/github.com/infinimesh/proto/shadow/mock_ShadowServiceClient.go +++ b/mocks/github.com/infinimesh/proto/shadow/mock_ShadowServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package shadow_mocks diff --git a/mocks/github.com/infinimesh/proto/shadow/mock_ShadowService_StreamShadowServer.go b/mocks/github.com/infinimesh/proto/shadow/mock_ShadowService_StreamShadowServer.go index c4273f4..848dcd0 100644 --- a/mocks/github.com/infinimesh/proto/shadow/mock_ShadowService_StreamShadowServer.go +++ b/mocks/github.com/infinimesh/proto/shadow/mock_ShadowService_StreamShadowServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package shadow_mocks diff --git a/mocks/github.com/infinimesh/proto/shadow/shadowconnect/mock_ShadowServiceClient.go b/mocks/github.com/infinimesh/proto/shadow/shadowconnect/mock_ShadowServiceClient.go index 9a2fbdf..53a7c80 100644 --- a/mocks/github.com/infinimesh/proto/shadow/shadowconnect/mock_ShadowServiceClient.go +++ b/mocks/github.com/infinimesh/proto/shadow/shadowconnect/mock_ShadowServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package shadowconnect_mocks diff --git a/mocks/github.com/infinimesh/proto/timeseries/mock_TimeseriesServiceClient.go b/mocks/github.com/infinimesh/proto/timeseries/mock_TimeseriesServiceClient.go index be1c2f2..c46846d 100644 --- a/mocks/github.com/infinimesh/proto/timeseries/mock_TimeseriesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/timeseries/mock_TimeseriesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package timeseries_mocks diff --git a/mocks/github.com/infinimesh/proto/timeseries/timeseriesconnect/mock_TimeseriesServiceClient.go b/mocks/github.com/infinimesh/proto/timeseries/timeseriesconnect/mock_TimeseriesServiceClient.go index 7ac6bce..08b8b7f 100644 --- a/mocks/github.com/infinimesh/proto/timeseries/timeseriesconnect/mock_TimeseriesServiceClient.go +++ b/mocks/github.com/infinimesh/proto/timeseries/timeseriesconnect/mock_TimeseriesServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.40.1. DO NOT EDIT. +// Code generated by mockery v2.42.0. DO NOT EDIT. package timeseriesconnect_mocks diff --git a/node/node.proto b/node/node.proto index 8eedf43..6c2f8ce 100644 --- a/node/node.proto +++ b/node/node.proto @@ -66,7 +66,7 @@ message QueryRequest { optional int64 offset = 3; optional int64 limit = 4; optional string field = 5; - optional string sort = 6; + repeated string sorter = 6; map filters = 7; }