JianBo He 3 лет назад
Родитель
Сommit
09958d9a33
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      apps/emqx_management/src/emqx_mgmt_api.erl

+ 3 - 1
apps/emqx_management/src/emqx_mgmt_api.erl

@@ -122,7 +122,9 @@ limit(Params) ->
 
 -type query_params() :: list() | map().
 
--type query_schema() :: [{Key :: binary(), Type :: atom | integer | timestamp | ip | ip_port}].
+-type query_schema() :: [
+    {Key :: binary(), Type :: atom | binary | integer | timestamp | ip | ip_port}
+].
 
 -type query_to_match_spec_fun() ::
     fun((list(), list()) -> {ets:match_spec(), fun()}).