From 482011ab4f901446996cd9e6ff9c7aaf858c599b Mon Sep 17 00:00:00 2001 From: Ryan SU Date: Sun, 26 Mar 2023 23:17:09 +0800 Subject: [PATCH] refactor: optimize the import of the job service v0.2.9 chore: update tool version to v0.2.9 --- .../logic/base/init_job_database_logic.go | 2 +- api/internal/logic/task/create_task_logic.go | 2 +- api/internal/logic/task/delete_task_logic.go | 2 +- .../logic/task/get_task_by_id_logic.go | 2 +- .../logic/task/get_task_list_logic.go | 2 +- api/internal/logic/task/update_task_logic.go | 2 +- .../logic/tasklog/create_task_log_logic.go | 2 +- .../logic/tasklog/delete_task_log_logic.go | 2 +- .../logic/tasklog/get_task_log_by_id_logic.go | 2 +- .../logic/tasklog/get_task_log_list_logic.go | 2 +- .../logic/tasklog/update_task_log_logic.go | 2 +- go.mod | 13 +- go.sum | 25 +- rpc/core.proto | 394 +- rpc/desc/base.proto | 3 - rpc/ent/department_create.go | 15 +- rpc/ent/department_update.go | 80 +- rpc/ent/dictionary_create.go | 5 +- rpc/ent/dictionary_update.go | 30 +- rpc/ent/dictionarydetail_create.go | 5 +- rpc/ent/dictionarydetail_update.go | 20 +- rpc/ent/ent.go | 2 +- rpc/ent/menu_create.go | 20 +- rpc/ent/menu_update.go | 110 +- rpc/ent/menuparam_create.go | 5 +- rpc/ent/menuparam_update.go | 20 +- rpc/ent/position_create.go | 5 +- rpc/ent/position_update.go | 30 +- rpc/ent/role_create.go | 10 +- rpc/ent/role_update.go | 60 +- rpc/ent/runtime/runtime.go | 4 +- rpc/ent/schema/api.go | 2 +- rpc/ent/schema/department.go | 2 +- rpc/ent/schema/dictionary.go | 2 +- rpc/ent/schema/dictionary_detail.go | 2 +- rpc/ent/schema/menu.go | 2 +- rpc/ent/schema/menu_param.go | 2 +- rpc/ent/schema/oauth_provider.go | 2 +- rpc/ent/schema/position.go | 2 +- rpc/ent/schema/role.go | 2 +- rpc/ent/user_create.go | 15 +- rpc/ent/user_update.go | 80 +- rpc/types/core/core.pb.go | 4144 ++++++++--------- 43 files changed, 2414 insertions(+), 2721 deletions(-) diff --git a/api/internal/logic/base/init_job_database_logic.go b/api/internal/logic/base/init_job_database_logic.go index 7a124802..6efec926 100644 --- a/api/internal/logic/base/init_job_database_logic.go +++ b/api/internal/logic/base/init_job_database_logic.go @@ -3,7 +3,7 @@ package base import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/task/create_task_logic.go b/api/internal/logic/task/create_task_logic.go index 9c693c01..b868b037 100644 --- a/api/internal/logic/task/create_task_logic.go +++ b/api/internal/logic/task/create_task_logic.go @@ -3,7 +3,7 @@ package task import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/task/delete_task_logic.go b/api/internal/logic/task/delete_task_logic.go index 7087210b..06de2aac 100644 --- a/api/internal/logic/task/delete_task_logic.go +++ b/api/internal/logic/task/delete_task_logic.go @@ -3,7 +3,7 @@ package task import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/task/get_task_by_id_logic.go b/api/internal/logic/task/get_task_by_id_logic.go index 49638592..91606c54 100644 --- a/api/internal/logic/task/get_task_by_id_logic.go +++ b/api/internal/logic/task/get_task_by_id_logic.go @@ -3,7 +3,7 @@ package task import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/task/get_task_list_logic.go b/api/internal/logic/task/get_task_list_logic.go index 66ff49a0..a278bf1e 100644 --- a/api/internal/logic/task/get_task_list_logic.go +++ b/api/internal/logic/task/get_task_list_logic.go @@ -3,7 +3,7 @@ package task import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/task/update_task_logic.go b/api/internal/logic/task/update_task_logic.go index 7a87806b..b329b969 100644 --- a/api/internal/logic/task/update_task_logic.go +++ b/api/internal/logic/task/update_task_logic.go @@ -3,7 +3,7 @@ package task import ( "context" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" diff --git a/api/internal/logic/tasklog/create_task_log_logic.go b/api/internal/logic/tasklog/create_task_log_logic.go index 16917bfe..18d67f19 100644 --- a/api/internal/logic/tasklog/create_task_log_logic.go +++ b/api/internal/logic/tasklog/create_task_log_logic.go @@ -5,7 +5,7 @@ import ( "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/zeromicro/go-zero/core/logx" ) diff --git a/api/internal/logic/tasklog/delete_task_log_logic.go b/api/internal/logic/tasklog/delete_task_log_logic.go index b7a8aaec..e6961f99 100644 --- a/api/internal/logic/tasklog/delete_task_log_logic.go +++ b/api/internal/logic/tasklog/delete_task_log_logic.go @@ -5,7 +5,7 @@ import ( "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/zeromicro/go-zero/core/logx" ) diff --git a/api/internal/logic/tasklog/get_task_log_by_id_logic.go b/api/internal/logic/tasklog/get_task_log_by_id_logic.go index 0efc2ca6..cc58eac4 100644 --- a/api/internal/logic/tasklog/get_task_log_by_id_logic.go +++ b/api/internal/logic/tasklog/get_task_log_by_id_logic.go @@ -5,7 +5,7 @@ import ( "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-common/i18n" "github.com/zeromicro/go-zero/core/logx" diff --git a/api/internal/logic/tasklog/get_task_log_list_logic.go b/api/internal/logic/tasklog/get_task_log_list_logic.go index 179846d2..9d92e37f 100644 --- a/api/internal/logic/tasklog/get_task_log_list_logic.go +++ b/api/internal/logic/tasklog/get_task_log_list_logic.go @@ -5,7 +5,7 @@ import ( "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/suyuan32/simple-admin-common/i18n" "github.com/zeromicro/go-zero/core/logx" diff --git a/api/internal/logic/tasklog/update_task_log_logic.go b/api/internal/logic/tasklog/update_task_log_logic.go index 781b70cd..4e25d9f7 100644 --- a/api/internal/logic/tasklog/update_task_log_logic.go +++ b/api/internal/logic/tasklog/update_task_log_logic.go @@ -5,7 +5,7 @@ import ( "github.com/suyuan32/simple-admin-core/api/internal/svc" "github.com/suyuan32/simple-admin-core/api/internal/types" - "github.com/suyuan32/simple-admin-job/job" + "github.com/suyuan32/simple-admin-job/types/job" "github.com/zeromicro/go-zero/core/logx" ) diff --git a/go.mod b/go.mod index 75acc4a3..b68ec592 100644 --- a/go.mod +++ b/go.mod @@ -8,15 +8,15 @@ require ( github.com/gofrs/uuid/v5 v5.0.0 github.com/hibiken/asynq v0.24.0 github.com/mojocn/base64Captcha v1.3.5 - github.com/suyuan32/simple-admin-common v0.2.8 - github.com/suyuan32/simple-admin-job v0.2.8 + github.com/suyuan32/simple-admin-common v0.2.9 + github.com/suyuan32/simple-admin-job v0.2.9 github.com/zeromicro/go-zero v1.5.0 golang.org/x/oauth2 v0.6.0 - google.golang.org/grpc v1.53.0 + google.golang.org/grpc v1.54.0 google.golang.org/protobuf v1.30.0 ) -replace github.com/zeromicro/go-zero v1.5.0 => github.com/suyuan32/simple-admin-tools v0.2.9-beta +replace github.com/zeromicro/go-zero v1.5.0 => github.com/suyuan32/simple-admin-tools v0.2.9 require ( ariga.io/atlas v0.10.0 // indirect @@ -75,7 +75,8 @@ require ( github.com/lib/pq v1.10.7 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.17 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-sqlite3 v1.14.16 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect @@ -120,7 +121,7 @@ require ( golang.org/x/text v0.8.0 // indirect golang.org/x/time v0.3.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect + google.golang.org/genproto v0.0.0-20230323212658-478b75c54725 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 86c05ffb..548c11d6 100644 --- a/go.sum +++ b/go.sum @@ -402,11 +402,12 @@ github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= +github.com/mattn/go-sqlite3 v1.14.16/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= @@ -541,12 +542,12 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/suyuan32/simple-admin-common v0.2.8 h1:xYKAvjXtMwl9bdqnkyY0+25M5LC1J/Wr1oUdvXVIbK0= -github.com/suyuan32/simple-admin-common v0.2.8/go.mod h1:bYSkffiGahGcMDcYBo73tMNT5GHCY3gfHvaEya/CdUw= -github.com/suyuan32/simple-admin-job v0.2.8 h1:8OF4vUtVbIWitelBkpLqAxRGJl86b5LmZyCY8e2xON4= -github.com/suyuan32/simple-admin-job v0.2.8/go.mod h1:hajaYBMNGEZHGkEGbtTBOmN/0Vb9aouo8NfW7ZItz1s= -github.com/suyuan32/simple-admin-tools v0.2.9-beta h1:rB38Wyoj9jyHWw8jMZ+qZsvQ6cKbiRcddgXXf7HOSu0= -github.com/suyuan32/simple-admin-tools v0.2.9-beta/go.mod h1:ArKO9FQt2O5+73ec+f3GiTCZyIURj/EzZmD3PdvTfXQ= +github.com/suyuan32/simple-admin-common v0.2.9 h1:2iw7SNYNkekYsXnlJSM/Nb/7aOuzqeEHNNnLyD1WooI= +github.com/suyuan32/simple-admin-common v0.2.9/go.mod h1:GmY82WdRM137pIkMqAUwzhgSDD7rucK43JXTIlsBYDc= +github.com/suyuan32/simple-admin-job v0.2.9 h1:B/4Rvf5kfrRN9FMKTxUgS3PPH48y0mk+ua0ofGGaywc= +github.com/suyuan32/simple-admin-job v0.2.9/go.mod h1:QTfTDGSQYcyUPknkftplOC2HhaihhsHN61LMk2rjRSw= +github.com/suyuan32/simple-admin-tools v0.2.9 h1:h5kffy9fCxYxgpYs0K1K28fheSKeSSsvxUQtsUsf6mA= +github.com/suyuan32/simple-admin-tools v0.2.9/go.mod h1:ArKO9FQt2O5+73ec+f3GiTCZyIURj/EzZmD3PdvTfXQ= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= @@ -933,8 +934,8 @@ google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 h1:DdoeryqhaXp1LtT/emMP1BRJPHHKFi5akj/nbx/zNTA= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230323212658-478b75c54725 h1:VmCWItVXcKboEMCwZaWge+1JLiTCQSngZeINF+wzO+g= +google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -952,8 +953,8 @@ google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/rpc/core.proto b/rpc/core.proto index 196a30b6..0ee3d250 100755 --- a/rpc/core.proto +++ b/rpc/core.proto @@ -3,29 +3,23 @@ syntax = "proto3"; package core; option go_package="./core"; -message DictionaryListResp { - uint64 total = 1; - repeated DictionaryInfo data = 2; +message BaseMsg { + string msg = 1; } -message Meta { - string title = 1; - string icon = 2; - bool hide_menu = 3; - bool hide_breadcrumb = 4; - bool ignore_keep_alive = 5; - bool hide_tab = 6; - string frame_src = 7; - bool carry_param = 8; - bool hide_children_in_menu = 9; - bool affix = 10; - uint32 dynamic_level = 11; - string real_path = 12; +message DictionaryDetailListResp { + uint64 total = 1; + repeated DictionaryDetailInfo data = 2; } -message RoleListResp { - uint64 total = 1; - repeated RoleInfo data = 2; +message MenuParamInfo { + uint64 id = 1; + int64 created_at = 2; + int64 updated_at = 3; + string type = 4; + string key = 5; + string value = 6; + uint64 menu_id = 7; } message TokenListResp { @@ -39,78 +33,55 @@ message RoleMenuAuthorityReq { repeated uint64 menu_id = 2; } -message IDsReq { - repeated uint64 ids = 1; -} - -message UUIDReq { - string id = 1; +message IDReq { + uint64 id = 1; } -message DepartmentListResp { +message MenuInfoList { uint64 total = 1; - repeated DepartmentInfo data = 2; + repeated MenuInfo data = 2; } -message MenuParamListReq { - uint64 page = 1; - uint64 page_size = 2; - uint64 menu_id = 3; +message RoleInfo { + uint64 id = 1; + int64 created_at = 2; + int64 updated_at = 3; + uint32 status = 4; + string name = 5; + string code = 6; + string default_router = 7; + string remark = 8; + uint32 sort = 9; } -message RoleListReq { - uint64 page = 1; - uint64 page_size = 2; - string name = 3; - string code = 4; - string default_router = 5; +message RoleListResp { + uint64 total = 1; + repeated RoleInfo data = 2; } -message TokenListReq { +message UserListReq { uint64 page = 1; uint64 page_size = 2; string username = 3; string nickname = 4; string email = 5; - string uuid = 6; -} - -message IDReq { - uint64 id = 1; -} - -message BaseMsg { - string msg = 1; -} - -message MenuInfo { - uint64 id = 1; - int64 created_at = 2; - int64 updated_at = 3; - uint32 level = 4; - uint64 parent_id = 5; - string path = 6; - string name = 7; - string redirect = 8; - string component = 9; - uint32 sort = 10; - bool disabled = 11; - Meta meta = 12; - uint32 menu_type = 13; + string mobile = 6; + repeated uint64 role_ids = 7; + uint64 department_id = 8; + repeated uint64 position_ids = 9; } -message MenuRoleInfo { - uint64 id = 1; - uint64 menu_id = 2; - uint64 role_id = 3; +message CallbackReq { + string state = 1; + string code = 2; } -message UUIDsReq { - repeated string ids = 1; +message IDsReq { + repeated uint64 ids = 1; } -message BaseResp { - string msg = 1; +message UUIDReq { + string id = 1; } message DictionaryDetailInfo { @@ -125,53 +96,9 @@ message DictionaryDetailInfo { uint32 sort = 9; } -message MenuParamInfo { - uint64 id = 1; - int64 created_at = 2; - int64 updated_at = 3; - string type = 4; - string key = 5; - string value = 6; - uint64 menu_id = 7; -} - -message PositionInfo { - uint64 id = 1; - int64 created_at = 2; - int64 updated_at = 3; - uint32 status = 4; - uint32 sort = 5; - string name = 6; - string code = 7; - string remark = 8; -} - -message TokenInfo { - string id = 1; - int64 created_at = 2; - int64 updated_at = 3; - uint32 status = 4; - string uuid = 5; - string token = 6; - string source = 7; - int64 expired_at = 8; -} - -message UsernameReq { - string username = 1; -} - -message DictionaryListReq { - uint64 page = 1; - uint64 page_size = 2; - string name = 3; -} - -message DictionaryDetailListReq { - uint64 page = 1; - uint64 page_size = 2; - uint64 dictionary_id = 3; - string key = 4; +message MenuRoleListResp { + uint64 total = 1; + repeated MenuRoleInfo data = 2; } message MenuParamListResp { @@ -179,6 +106,11 @@ message MenuParamListResp { repeated MenuParamInfo data = 2; } +message OauthProviderListResp { + uint64 total = 1; + repeated OauthProviderInfo data = 2; +} + message OauthProviderListReq { uint64 page = 1; uint64 page_size = 2; @@ -187,9 +119,8 @@ message OauthProviderListReq { string client_secret = 5; } -message MenuRoleListResp { - uint64 total = 1; - repeated MenuRoleInfo data = 2; +message OauthRedirectResp { + string url = 1; } message UserInfo { @@ -211,53 +142,73 @@ message UserInfo { repeated string role_codes = 16; } -message UserListReq { - uint64 page = 1; - uint64 page_size = 2; - string username = 3; - string nickname = 4; - string email = 5; - string mobile = 6; - repeated uint64 role_ids = 7; - uint64 department_id = 8; - repeated uint64 position_ids = 9; +message UsernameReq { + string username = 1; } -// return the role's authorization menu's ids -message RoleMenuAuthorityResp { - repeated uint64 menu_id = 1; +message DepartmentListResp { + uint64 total = 1; + repeated DepartmentInfo data = 2; } -message DepartmentListReq { +message DictionaryListResp { + uint64 total = 1; + repeated DictionaryInfo data = 2; +} + +message DictionaryListReq { uint64 page = 1; uint64 page_size = 2; string name = 3; - string leader = 4; } -message DictionaryDetailListResp { - uint64 total = 1; - repeated DictionaryDetailInfo data = 2; +message Meta { + string title = 1; + string icon = 2; + bool hide_menu = 3; + bool hide_breadcrumb = 4; + bool ignore_keep_alive = 5; + bool hide_tab = 6; + string frame_src = 7; + bool carry_param = 8; + bool hide_children_in_menu = 9; + bool affix = 10; + uint32 dynamic_level = 11; + string real_path = 12; } -message MenuInfoList { - uint64 total = 1; - repeated MenuInfo data = 2; +message TokenInfo { + string id = 1; + int64 created_at = 2; + int64 updated_at = 3; + uint32 status = 4; + string uuid = 5; + string token = 6; + string source = 7; + int64 expired_at = 8; } -message OauthLoginReq { - string state = 1; - string provider = 2; +// base message +message Empty {} + +message PositionListResp { + uint64 total = 1; + repeated PositionInfo data = 2; } -message ApiInfo { +message OauthProviderInfo { uint64 id = 1; int64 created_at = 2; int64 updated_at = 3; - string path = 4; - string description = 5; - string api_group = 6; - string method = 7; + string name = 4; + string client_id = 5; + string client_secret = 6; + string redirect_url = 7; + string scopes = 8; + string auth_url = 9; + string token_url = 10; + uint64 auth_style = 11; + string info_url = 12; } message ApiListResp { @@ -265,13 +216,18 @@ message ApiListResp { repeated ApiInfo data = 2; } -message ApiListReq { +message UUIDsReq { + repeated string ids = 1; +} + +message PageInfoReq { uint64 page = 1; uint64 page_size = 2; - string path = 3; - string description = 4; - string api_group = 5; - string method = 6; +} + +message BaseIDResp { + uint64 id = 1; + string msg = 2; } message DepartmentInfo { @@ -289,21 +245,30 @@ message DepartmentInfo { uint64 parent_id = 12; } -message OauthProviderListResp { - uint64 total = 1; - repeated OauthProviderInfo data = 2; +message DictionaryInfo { + uint64 id = 1; + int64 created_at = 2; + int64 updated_at = 3; + uint32 status = 4; + string title = 5; + string name = 6; + string desc = 7; } -message RoleInfo { +message MenuInfo { uint64 id = 1; int64 created_at = 2; int64 updated_at = 3; - uint32 status = 4; - string name = 5; - string code = 6; - string default_router = 7; - string remark = 8; - uint32 sort = 9; + uint32 level = 4; + uint64 parent_id = 5; + string path = 6; + string name = 7; + string redirect = 8; + string component = 9; + uint32 sort = 10; + bool disabled = 11; + Meta meta = 12; + uint32 menu_type = 13; } message UserListResp { @@ -311,14 +276,36 @@ message UserListResp { repeated UserInfo data = 2; } -message PageInfoReq { +message RoleListReq { uint64 page = 1; uint64 page_size = 2; + string name = 3; + string code = 4; + string default_router = 5; } -message BaseIDResp { +message ApiInfo { uint64 id = 1; - string msg = 2; + int64 created_at = 2; + int64 updated_at = 3; + string path = 4; + string description = 5; + string api_group = 6; + string method = 7; +} + +message ApiListReq { + uint64 page = 1; + uint64 page_size = 2; + string path = 3; + string description = 4; + string api_group = 5; + string method = 6; +} + +// return the role's authorization menu's ids +message RoleMenuAuthorityResp { + repeated uint64 menu_id = 1; } message BaseUUIDResp { @@ -326,19 +313,18 @@ message BaseUUIDResp { string msg = 2; } -message DictionaryInfo { - uint64 id = 1; - int64 created_at = 2; - int64 updated_at = 3; - uint32 status = 4; - string title = 5; - string name = 6; - string desc = 7; +message DepartmentListReq { + uint64 page = 1; + uint64 page_size = 2; + string name = 3; + string leader = 4; } -message PositionListResp { - uint64 total = 1; - repeated PositionInfo data = 2; +message DictionaryDetailListReq { + uint64 page = 1; + uint64 page_size = 2; + uint64 dictionary_id = 3; + string key = 4; } message PositionListReq { @@ -349,31 +335,45 @@ message PositionListReq { string remark = 5; } -// base message -message Empty {} +message TokenListReq { + uint64 page = 1; + uint64 page_size = 2; + string username = 3; + string nickname = 4; + string email = 5; + string uuid = 6; +} -message OauthProviderInfo { +message BaseResp { + string msg = 1; +} + +message MenuRoleInfo { uint64 id = 1; - int64 created_at = 2; - int64 updated_at = 3; - string name = 4; - string client_id = 5; - string client_secret = 6; - string redirect_url = 7; - string scopes = 8; - string auth_url = 9; - string token_url = 10; - uint64 auth_style = 11; - string info_url = 12; + uint64 menu_id = 2; + uint64 role_id = 3; } -message CallbackReq { +message MenuParamListReq { + uint64 page = 1; + uint64 page_size = 2; + uint64 menu_id = 3; +} + +message OauthLoginReq { string state = 1; - string code = 2; + string provider = 2; } -message OauthRedirectResp { - string url = 1; +message PositionInfo { + uint64 id = 1; + int64 created_at = 2; + int64 updated_at = 3; + uint32 status = 4; + uint32 sort = 5; + string name = 6; + string code = 7; + string remark = 8; } service Core { diff --git a/rpc/desc/base.proto b/rpc/desc/base.proto index 204821d3..72cc4568 100644 --- a/rpc/desc/base.proto +++ b/rpc/desc/base.proto @@ -49,7 +49,4 @@ message BaseUUIDResp { service Core { // group: base rpc initDatabase (Empty) returns (BaseResp); - - // group: base - rpc initJobDatabase (Empty) returns (BaseResp); } \ No newline at end of file diff --git a/rpc/ent/department_create.go b/rpc/ent/department_create.go index 921f0ac9..a2a1aed3 100644 --- a/rpc/ent/department_create.go +++ b/rpc/ent/department_create.go @@ -335,10 +335,7 @@ func (dc *DepartmentCreate) createSpec() (*Department, *sqlgraph.CreateSpec) { Columns: []string{department.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -355,10 +352,7 @@ func (dc *DepartmentCreate) createSpec() (*Department, *sqlgraph.CreateSpec) { Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -374,10 +368,7 @@ func (dc *DepartmentCreate) createSpec() (*Department, *sqlgraph.CreateSpec) { Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/department_update.go b/rpc/ent/department_update.go index a1ca7049..6d568925 100644 --- a/rpc/ent/department_update.go +++ b/rpc/ent/department_update.go @@ -317,10 +317,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -333,10 +330,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -352,10 +346,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -368,10 +359,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -387,10 +375,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -406,10 +391,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -422,10 +404,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -441,10 +420,7 @@ func (du *DepartmentUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -789,10 +765,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -805,10 +778,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -824,10 +794,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -840,10 +807,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -859,10 +823,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -878,10 +839,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -894,10 +852,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -913,10 +868,7 @@ func (duo *DepartmentUpdateOne) sqlSave(ctx context.Context) (_node *Department, Columns: []string{department.UsersColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/dictionary_create.go b/rpc/ent/dictionary_create.go index 404cc2b1..06338c3d 100644 --- a/rpc/ent/dictionary_create.go +++ b/rpc/ent/dictionary_create.go @@ -232,10 +232,7 @@ func (dc *DictionaryCreate) createSpec() (*Dictionary, *sqlgraph.CreateSpec) { Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/dictionary_update.go b/rpc/ent/dictionary_update.go index 4f0c960a..5add44fa 100644 --- a/rpc/ent/dictionary_update.go +++ b/rpc/ent/dictionary_update.go @@ -195,10 +195,7 @@ func (du *DictionaryUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -211,10 +208,7 @@ func (du *DictionaryUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -230,10 +224,7 @@ func (du *DictionaryUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -457,10 +448,7 @@ func (duo *DictionaryUpdateOne) sqlSave(ctx context.Context) (_node *Dictionary, Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -473,10 +461,7 @@ func (duo *DictionaryUpdateOne) sqlSave(ctx context.Context) (_node *Dictionary, Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -492,10 +477,7 @@ func (duo *DictionaryUpdateOne) sqlSave(ctx context.Context) (_node *Dictionary, Columns: []string{dictionary.DictionaryDetailsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionarydetail.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionarydetail.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/dictionarydetail_create.go b/rpc/ent/dictionarydetail_create.go index 51762d23..4831c251 100644 --- a/rpc/ent/dictionarydetail_create.go +++ b/rpc/ent/dictionarydetail_create.go @@ -275,10 +275,7 @@ func (ddc *DictionaryDetailCreate) createSpec() (*DictionaryDetail, *sqlgraph.Cr Columns: []string{dictionarydetail.DictionariesColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionary.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionary.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/dictionarydetail_update.go b/rpc/ent/dictionarydetail_update.go index d07108b5..d24c026d 100644 --- a/rpc/ent/dictionarydetail_update.go +++ b/rpc/ent/dictionarydetail_update.go @@ -231,10 +231,7 @@ func (ddu *DictionaryDetailUpdate) sqlSave(ctx context.Context) (n int, err erro Columns: []string{dictionarydetail.DictionariesColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionary.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionary.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -247,10 +244,7 @@ func (ddu *DictionaryDetailUpdate) sqlSave(ctx context.Context) (n int, err erro Columns: []string{dictionarydetail.DictionariesColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionary.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionary.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -510,10 +504,7 @@ func (dduo *DictionaryDetailUpdateOne) sqlSave(ctx context.Context) (_node *Dict Columns: []string{dictionarydetail.DictionariesColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionary.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionary.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -526,10 +517,7 @@ func (dduo *DictionaryDetailUpdateOne) sqlSave(ctx context.Context) (_node *Dict Columns: []string{dictionarydetail.DictionariesColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: dictionary.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(dictionary.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/ent.go b/rpc/ent/ent.go index 7e245fa6..b0fe87ec 100644 --- a/rpc/ent/ent.go +++ b/rpc/ent/ent.go @@ -525,7 +525,7 @@ func withHooks[V Value, M any, PM interface { return exec(ctx) } var mut Mutator = MutateFunc(func(ctx context.Context, m Mutation) (Value, error) { - mutationT, ok := m.(PM) + mutationT, ok := any(m).(PM) if !ok { return nil, fmt.Errorf("unexpected mutation type %T", m) } diff --git a/rpc/ent/menu_create.go b/rpc/ent/menu_create.go index e22dc21e..14d8ae02 100644 --- a/rpc/ent/menu_create.go +++ b/rpc/ent/menu_create.go @@ -623,10 +623,7 @@ func (mc *MenuCreate) createSpec() (*Menu, *sqlgraph.CreateSpec) { Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -642,10 +639,7 @@ func (mc *MenuCreate) createSpec() (*Menu, *sqlgraph.CreateSpec) { Columns: []string{menu.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -662,10 +656,7 @@ func (mc *MenuCreate) createSpec() (*Menu, *sqlgraph.CreateSpec) { Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -681,10 +672,7 @@ func (mc *MenuCreate) createSpec() (*Menu, *sqlgraph.CreateSpec) { Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/menu_update.go b/rpc/ent/menu_update.go index 0066ad26..6a3f5a05 100644 --- a/rpc/ent/menu_update.go +++ b/rpc/ent/menu_update.go @@ -702,10 +702,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -718,10 +715,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -737,10 +731,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -756,10 +747,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -772,10 +760,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -791,10 +776,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -807,10 +789,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -826,10 +805,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -845,10 +821,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -861,10 +834,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -880,10 +850,7 @@ func (mu *MenuUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1613,10 +1580,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1629,10 +1593,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1648,10 +1609,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: menu.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1667,10 +1625,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1683,10 +1638,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ParentColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1702,10 +1654,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1718,10 +1667,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1737,10 +1683,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ChildrenColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1756,10 +1699,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1772,10 +1712,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1791,10 +1728,7 @@ func (muo *MenuUpdateOne) sqlSave(ctx context.Context) (_node *Menu, err error) Columns: []string{menu.ParamsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menuparam.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menuparam.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/menuparam_create.go b/rpc/ent/menuparam_create.go index 3ab9b274..81e15c08 100644 --- a/rpc/ent/menuparam_create.go +++ b/rpc/ent/menuparam_create.go @@ -228,10 +228,7 @@ func (mpc *MenuParamCreate) createSpec() (*MenuParam, *sqlgraph.CreateSpec) { Columns: []string{menuparam.MenusColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/menuparam_update.go b/rpc/ent/menuparam_update.go index fee0d888..8475c6db 100644 --- a/rpc/ent/menuparam_update.go +++ b/rpc/ent/menuparam_update.go @@ -168,10 +168,7 @@ func (mpu *MenuParamUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menuparam.MenusColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -184,10 +181,7 @@ func (mpu *MenuParamUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{menuparam.MenusColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -384,10 +378,7 @@ func (mpuo *MenuParamUpdateOne) sqlSave(ctx context.Context) (_node *MenuParam, Columns: []string{menuparam.MenusColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -400,10 +391,7 @@ func (mpuo *MenuParamUpdateOne) sqlSave(ctx context.Context) (_node *MenuParam, Columns: []string{menuparam.MenusColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/position_create.go b/rpc/ent/position_create.go index 06f7c1b7..0dd409e6 100644 --- a/rpc/ent/position_create.go +++ b/rpc/ent/position_create.go @@ -258,10 +258,7 @@ func (pc *PositionCreate) createSpec() (*Position, *sqlgraph.CreateSpec) { Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/position_update.go b/rpc/ent/position_update.go index d921ff9c..b1bce0ec 100644 --- a/rpc/ent/position_update.go +++ b/rpc/ent/position_update.go @@ -223,10 +223,7 @@ func (pu *PositionUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -239,10 +236,7 @@ func (pu *PositionUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -258,10 +252,7 @@ func (pu *PositionUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -512,10 +503,7 @@ func (puo *PositionUpdateOne) sqlSave(ctx context.Context) (_node *Position, err Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -528,10 +516,7 @@ func (puo *PositionUpdateOne) sqlSave(ctx context.Context) (_node *Position, err Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -547,10 +532,7 @@ func (puo *PositionUpdateOne) sqlSave(ctx context.Context) (_node *Position, err Columns: position.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/role_create.go b/rpc/ent/role_create.go index 9bd02060..7ed04d6a 100644 --- a/rpc/ent/role_create.go +++ b/rpc/ent/role_create.go @@ -311,10 +311,7 @@ func (rc *RoleCreate) createSpec() (*Role, *sqlgraph.CreateSpec) { Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -330,10 +327,7 @@ func (rc *RoleCreate) createSpec() (*Role, *sqlgraph.CreateSpec) { Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/role_update.go b/rpc/ent/role_update.go index 65e81db5..80d4fdd6 100644 --- a/rpc/ent/role_update.go +++ b/rpc/ent/role_update.go @@ -285,10 +285,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -301,10 +298,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -320,10 +314,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -339,10 +330,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -355,10 +343,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -374,10 +359,7 @@ func (ru *RoleUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -689,10 +671,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -705,10 +684,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -724,10 +700,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.MenusPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: menu.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(menu.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -743,10 +716,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -759,10 +729,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { @@ -778,10 +745,7 @@ func (ruo *RoleUpdateOne) sqlSave(ctx context.Context) (_node *Role, err error) Columns: role.UsersPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUUID, - Column: user.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(user.FieldID, field.TypeUUID), }, } for _, k := range nodes { diff --git a/rpc/ent/runtime/runtime.go b/rpc/ent/runtime/runtime.go index c24fd52f..459672ac 100644 --- a/rpc/ent/runtime/runtime.go +++ b/rpc/ent/runtime/runtime.go @@ -5,6 +5,6 @@ package runtime // The schema-stitching logic is generated in github.com/suyuan32/simple-admin-core/rpc/ent/runtime.go const ( - Version = "v0.11.9" // Version of ent codegen. - Sum = "h1:dbbCkAiPVTRBIJwoZctiSYjB7zxQIBOzVSU5H9VYIQI=" // Sum of ent codegen. + Version = "v0.11.10" // Version of ent codegen. + Sum = "h1:iqn32ybY5HRW3xSAyMNdNKpZhKgMf1Zunsej9yPKUI8=" // Sum of ent codegen. ) diff --git a/rpc/ent/schema/api.go b/rpc/ent/schema/api.go index 8eb8454c..af2982ad 100644 --- a/rpc/ent/schema/api.go +++ b/rpc/ent/schema/api.go @@ -24,7 +24,7 @@ func (API) Fields() []ent.Field { func (API) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, } } diff --git a/rpc/ent/schema/department.go b/rpc/ent/schema/department.go index 97809cdf..ef53cba3 100644 --- a/rpc/ent/schema/department.go +++ b/rpc/ent/schema/department.go @@ -27,7 +27,7 @@ func (Department) Fields() []ent.Field { func (Department) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.StatusMixin{}, mixins.SortMixin{}, } diff --git a/rpc/ent/schema/dictionary.go b/rpc/ent/schema/dictionary.go index fcc7cc08..6c9503bd 100644 --- a/rpc/ent/schema/dictionary.go +++ b/rpc/ent/schema/dictionary.go @@ -23,7 +23,7 @@ func (Dictionary) Fields() []ent.Field { func (Dictionary) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.StatusMixin{}, } } diff --git a/rpc/ent/schema/dictionary_detail.go b/rpc/ent/schema/dictionary_detail.go index f4b10dcd..5a7677ce 100644 --- a/rpc/ent/schema/dictionary_detail.go +++ b/rpc/ent/schema/dictionary_detail.go @@ -24,7 +24,7 @@ func (DictionaryDetail) Fields() []ent.Field { func (DictionaryDetail) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.StatusMixin{}, mixins.SortMixin{}, } diff --git a/rpc/ent/schema/menu.go b/rpc/ent/schema/menu.go index 1b85d10b..30064f63 100644 --- a/rpc/ent/schema/menu.go +++ b/rpc/ent/schema/menu.go @@ -42,7 +42,7 @@ func (Menu) Fields() []ent.Field { func (Menu) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.SortMixin{}, } } diff --git a/rpc/ent/schema/menu_param.go b/rpc/ent/schema/menu_param.go index afbaa775..21b505a4 100644 --- a/rpc/ent/schema/menu_param.go +++ b/rpc/ent/schema/menu_param.go @@ -25,7 +25,7 @@ func (MenuParam) Fields() []ent.Field { func (MenuParam) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, } } diff --git a/rpc/ent/schema/oauth_provider.go b/rpc/ent/schema/oauth_provider.go index 6e9b2844..61d7ee81 100644 --- a/rpc/ent/schema/oauth_provider.go +++ b/rpc/ent/schema/oauth_provider.go @@ -29,7 +29,7 @@ func (OauthProvider) Fields() []ent.Field { func (OauthProvider) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, } } diff --git a/rpc/ent/schema/position.go b/rpc/ent/schema/position.go index 9e3162a3..d155eba8 100644 --- a/rpc/ent/schema/position.go +++ b/rpc/ent/schema/position.go @@ -25,7 +25,7 @@ func (Position) Fields() []ent.Field { func (Position) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.StatusMixin{}, mixins.SortMixin{}, } diff --git a/rpc/ent/schema/role.go b/rpc/ent/schema/role.go index 4021139a..83d00c0b 100644 --- a/rpc/ent/schema/role.go +++ b/rpc/ent/schema/role.go @@ -27,7 +27,7 @@ func (Role) Fields() []ent.Field { func (Role) Mixin() []ent.Mixin { return []ent.Mixin{ - mixins.BaseMixin{}, + mixins.BaseIDMixin{}, mixins.StatusMixin{}, } } diff --git a/rpc/ent/user_create.go b/rpc/ent/user_create.go index 1d9ed414..f10b6e23 100644 --- a/rpc/ent/user_create.go +++ b/rpc/ent/user_create.go @@ -403,10 +403,7 @@ func (uc *UserCreate) createSpec() (*User, *sqlgraph.CreateSpec) { Columns: []string{user.DepartmentsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -423,10 +420,7 @@ func (uc *UserCreate) createSpec() (*User, *sqlgraph.CreateSpec) { Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -442,10 +436,7 @@ func (uc *UserCreate) createSpec() (*User, *sqlgraph.CreateSpec) { Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/ent/user_update.go b/rpc/ent/user_update.go index 8cd5fdf1..e5da85e3 100644 --- a/rpc/ent/user_update.go +++ b/rpc/ent/user_update.go @@ -399,10 +399,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{user.DepartmentsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -415,10 +412,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: []string{user.DepartmentsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -434,10 +428,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -450,10 +441,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -469,10 +457,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -488,10 +473,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -504,10 +486,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -523,10 +502,7 @@ func (uu *UserUpdate) sqlSave(ctx context.Context) (n int, err error) { Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -952,10 +928,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: []string{user.DepartmentsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -968,10 +941,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: []string{user.DepartmentsColumn}, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: department.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(department.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -987,10 +957,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1003,10 +970,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1022,10 +986,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.PositionsPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: position.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(position.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1041,10 +1002,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } _spec.Edges.Clear = append(_spec.Edges.Clear, edge) @@ -1057,10 +1015,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { @@ -1076,10 +1031,7 @@ func (uuo *UserUpdateOne) sqlSave(ctx context.Context) (_node *User, err error) Columns: user.RolesPrimaryKey, Bidi: false, Target: &sqlgraph.EdgeTarget{ - IDSpec: &sqlgraph.FieldSpec{ - Type: field.TypeUint64, - Column: role.FieldID, - }, + IDSpec: sqlgraph.NewFieldSpec(role.FieldID, field.TypeUint64), }, } for _, k := range nodes { diff --git a/rpc/types/core/core.pb.go b/rpc/types/core/core.pb.go index c15145a2..447763db 100644 --- a/rpc/types/core/core.pb.go +++ b/rpc/types/core/core.pb.go @@ -20,17 +20,16 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type DictionaryListResp struct { +type BaseMsg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*DictionaryInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` } -func (x *DictionaryListResp) Reset() { - *x = DictionaryListResp{} +func (x *BaseMsg) Reset() { + *x = BaseMsg{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -38,13 +37,13 @@ func (x *DictionaryListResp) Reset() { } } -func (x *DictionaryListResp) String() string { +func (x *BaseMsg) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryListResp) ProtoMessage() {} +func (*BaseMsg) ProtoMessage() {} -func (x *DictionaryListResp) ProtoReflect() protoreflect.Message { +func (x *BaseMsg) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -56,46 +55,29 @@ func (x *DictionaryListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryListResp.ProtoReflect.Descriptor instead. -func (*DictionaryListResp) Descriptor() ([]byte, []int) { +// Deprecated: Use BaseMsg.ProtoReflect.Descriptor instead. +func (*BaseMsg) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{0} } -func (x *DictionaryListResp) GetTotal() uint64 { - if x != nil { - return x.Total - } - return 0 -} - -func (x *DictionaryListResp) GetData() []*DictionaryInfo { +func (x *BaseMsg) GetMsg() string { if x != nil { - return x.Data + return x.Msg } - return nil + return "" } -type Meta struct { +type DictionaryDetailListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"` - HideMenu bool `protobuf:"varint,3,opt,name=hide_menu,json=hideMenu,proto3" json:"hide_menu,omitempty"` - HideBreadcrumb bool `protobuf:"varint,4,opt,name=hide_breadcrumb,json=hideBreadcrumb,proto3" json:"hide_breadcrumb,omitempty"` - IgnoreKeepAlive bool `protobuf:"varint,5,opt,name=ignore_keep_alive,json=ignoreKeepAlive,proto3" json:"ignore_keep_alive,omitempty"` - HideTab bool `protobuf:"varint,6,opt,name=hide_tab,json=hideTab,proto3" json:"hide_tab,omitempty"` - FrameSrc string `protobuf:"bytes,7,opt,name=frame_src,json=frameSrc,proto3" json:"frame_src,omitempty"` - CarryParam bool `protobuf:"varint,8,opt,name=carry_param,json=carryParam,proto3" json:"carry_param,omitempty"` - HideChildrenInMenu bool `protobuf:"varint,9,opt,name=hide_children_in_menu,json=hideChildrenInMenu,proto3" json:"hide_children_in_menu,omitempty"` - Affix bool `protobuf:"varint,10,opt,name=affix,proto3" json:"affix,omitempty"` - DynamicLevel uint32 `protobuf:"varint,11,opt,name=dynamic_level,json=dynamicLevel,proto3" json:"dynamic_level,omitempty"` - RealPath string `protobuf:"bytes,12,opt,name=real_path,json=realPath,proto3" json:"real_path,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*DictionaryDetailInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *Meta) Reset() { - *x = Meta{} +func (x *DictionaryDetailListResp) Reset() { + *x = DictionaryDetailListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -103,13 +85,13 @@ func (x *Meta) Reset() { } } -func (x *Meta) String() string { +func (x *DictionaryDetailListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Meta) ProtoMessage() {} +func (*DictionaryDetailListResp) ProtoMessage() {} -func (x *Meta) ProtoReflect() protoreflect.Message { +func (x *DictionaryDetailListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -121,148 +103,118 @@ func (x *Meta) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Meta.ProtoReflect.Descriptor instead. -func (*Meta) Descriptor() ([]byte, []int) { +// Deprecated: Use DictionaryDetailListResp.ProtoReflect.Descriptor instead. +func (*DictionaryDetailListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{1} } -func (x *Meta) GetTitle() string { +func (x *DictionaryDetailListResp) GetTotal() uint64 { if x != nil { - return x.Title + return x.Total } - return "" + return 0 } -func (x *Meta) GetIcon() string { +func (x *DictionaryDetailListResp) GetData() []*DictionaryDetailInfo { if x != nil { - return x.Icon + return x.Data } - return "" + return nil } -func (x *Meta) GetHideMenu() bool { - if x != nil { - return x.HideMenu - } - return false -} +type MenuParamInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *Meta) GetHideBreadcrumb() bool { - if x != nil { - return x.HideBreadcrumb - } - return false + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` + Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` + MenuId uint64 `protobuf:"varint,7,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` } -func (x *Meta) GetIgnoreKeepAlive() bool { - if x != nil { - return x.IgnoreKeepAlive +func (x *MenuParamInfo) Reset() { + *x = MenuParamInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *Meta) GetHideTab() bool { - if x != nil { - return x.HideTab - } - return false +func (x *MenuParamInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Meta) GetFrameSrc() string { - if x != nil { - return x.FrameSrc +func (*MenuParamInfo) ProtoMessage() {} + +func (x *MenuParamInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *Meta) GetCarryParam() bool { - if x != nil { - return x.CarryParam - } - return false +// Deprecated: Use MenuParamInfo.ProtoReflect.Descriptor instead. +func (*MenuParamInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{2} } -func (x *Meta) GetHideChildrenInMenu() bool { +func (x *MenuParamInfo) GetId() uint64 { if x != nil { - return x.HideChildrenInMenu + return x.Id } - return false + return 0 } -func (x *Meta) GetAffix() bool { +func (x *MenuParamInfo) GetCreatedAt() int64 { if x != nil { - return x.Affix + return x.CreatedAt } - return false + return 0 } -func (x *Meta) GetDynamicLevel() uint32 { +func (x *MenuParamInfo) GetUpdatedAt() int64 { if x != nil { - return x.DynamicLevel + return x.UpdatedAt } return 0 } -func (x *Meta) GetRealPath() string { +func (x *MenuParamInfo) GetType() string { if x != nil { - return x.RealPath + return x.Type } return "" } -type RoleListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*RoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` -} - -func (x *RoleListResp) Reset() { - *x = RoleListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RoleListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RoleListResp) ProtoMessage() {} - -func (x *RoleListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MenuParamInfo) GetKey() string { + if x != nil { + return x.Key } - return mi.MessageOf(x) -} - -// Deprecated: Use RoleListResp.ProtoReflect.Descriptor instead. -func (*RoleListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{2} + return "" } -func (x *RoleListResp) GetTotal() uint64 { +func (x *MenuParamInfo) GetValue() string { if x != nil { - return x.Total + return x.Value } - return 0 + return "" } -func (x *RoleListResp) GetData() []*RoleInfo { +func (x *MenuParamInfo) GetMenuId() uint64 { if x != nil { - return x.Data + return x.MenuId } - return nil + return 0 } type TokenListResp struct { @@ -376,16 +328,16 @@ func (x *RoleMenuAuthorityReq) GetMenuId() []uint64 { return nil } -type IDsReq struct { +type IDReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *IDsReq) Reset() { - *x = IDsReq{} +func (x *IDReq) Reset() { + *x = IDReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -393,13 +345,13 @@ func (x *IDsReq) Reset() { } } -func (x *IDsReq) String() string { +func (x *IDReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IDsReq) ProtoMessage() {} +func (*IDReq) ProtoMessage() {} -func (x *IDsReq) ProtoReflect() protoreflect.Message { +func (x *IDReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -411,28 +363,29 @@ func (x *IDsReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IDsReq.ProtoReflect.Descriptor instead. -func (*IDsReq) Descriptor() ([]byte, []int) { +// Deprecated: Use IDReq.ProtoReflect.Descriptor instead. +func (*IDReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{5} } -func (x *IDsReq) GetIds() []uint64 { +func (x *IDReq) GetId() uint64 { if x != nil { - return x.Ids + return x.Id } - return nil + return 0 } -type UUIDReq struct { +type MenuInfoList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*MenuInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *UUIDReq) Reset() { - *x = UUIDReq{} +func (x *MenuInfoList) Reset() { + *x = MenuInfoList{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -440,13 +393,13 @@ func (x *UUIDReq) Reset() { } } -func (x *UUIDReq) String() string { +func (x *MenuInfoList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UUIDReq) ProtoMessage() {} +func (*MenuInfoList) ProtoMessage() {} -func (x *UUIDReq) ProtoReflect() protoreflect.Message { +func (x *MenuInfoList) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -458,29 +411,43 @@ func (x *UUIDReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UUIDReq.ProtoReflect.Descriptor instead. -func (*UUIDReq) Descriptor() ([]byte, []int) { +// Deprecated: Use MenuInfoList.ProtoReflect.Descriptor instead. +func (*MenuInfoList) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{6} } -func (x *UUIDReq) GetId() string { +func (x *MenuInfoList) GetTotal() uint64 { if x != nil { - return x.Id + return x.Total } - return "" + return 0 } -type DepartmentListResp struct { +func (x *MenuInfoList) GetData() []*MenuInfo { + if x != nil { + return x.Data + } + return nil +} + +type RoleInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*DepartmentInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` + DefaultRouter string `protobuf:"bytes,7,opt,name=default_router,json=defaultRouter,proto3" json:"default_router,omitempty"` + Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` + Sort uint32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"` } -func (x *DepartmentListResp) Reset() { - *x = DepartmentListResp{} +func (x *RoleInfo) Reset() { + *x = RoleInfo{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -488,13 +455,13 @@ func (x *DepartmentListResp) Reset() { } } -func (x *DepartmentListResp) String() string { +func (x *RoleInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DepartmentListResp) ProtoMessage() {} +func (*RoleInfo) ProtoMessage() {} -func (x *DepartmentListResp) ProtoReflect() protoreflect.Message { +func (x *RoleInfo) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -506,37 +473,85 @@ func (x *DepartmentListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DepartmentListResp.ProtoReflect.Descriptor instead. -func (*DepartmentListResp) Descriptor() ([]byte, []int) { +// Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead. +func (*RoleInfo) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{7} } -func (x *DepartmentListResp) GetTotal() uint64 { +func (x *RoleInfo) GetId() uint64 { if x != nil { - return x.Total + return x.Id } return 0 } -func (x *DepartmentListResp) GetData() []*DepartmentInfo { +func (x *RoleInfo) GetCreatedAt() int64 { if x != nil { - return x.Data + return x.CreatedAt } - return nil + return 0 } -type MenuParamListReq struct { +func (x *RoleInfo) GetUpdatedAt() int64 { + if x != nil { + return x.UpdatedAt + } + return 0 +} + +func (x *RoleInfo) GetStatus() uint32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *RoleInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *RoleInfo) GetCode() string { + if x != nil { + return x.Code + } + return "" +} + +func (x *RoleInfo) GetDefaultRouter() string { + if x != nil { + return x.DefaultRouter + } + return "" +} + +func (x *RoleInfo) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +func (x *RoleInfo) GetSort() uint32 { + if x != nil { + return x.Sort + } + return 0 +} + +type RoleListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - MenuId uint64 `protobuf:"varint,3,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*RoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *MenuParamListReq) Reset() { - *x = MenuParamListReq{} +func (x *RoleListResp) Reset() { + *x = RoleListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -544,13 +559,13 @@ func (x *MenuParamListReq) Reset() { } } -func (x *MenuParamListReq) String() string { +func (x *RoleListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuParamListReq) ProtoMessage() {} +func (*RoleListResp) ProtoMessage() {} -func (x *MenuParamListReq) ProtoReflect() protoreflect.Message { +func (x *RoleListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -562,46 +577,43 @@ func (x *MenuParamListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuParamListReq.ProtoReflect.Descriptor instead. -func (*MenuParamListReq) Descriptor() ([]byte, []int) { +// Deprecated: Use RoleListResp.ProtoReflect.Descriptor instead. +func (*RoleListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{8} } -func (x *MenuParamListReq) GetPage() uint64 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *MenuParamListReq) GetPageSize() uint64 { +func (x *RoleListResp) GetTotal() uint64 { if x != nil { - return x.PageSize + return x.Total } return 0 } -func (x *MenuParamListReq) GetMenuId() uint64 { +func (x *RoleListResp) GetData() []*RoleInfo { if x != nil { - return x.MenuId + return x.Data } - return 0 + return nil } -type RoleListReq struct { +type UserListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` - DefaultRouter string `protobuf:"bytes,5,opt,name=default_router,json=defaultRouter,proto3" json:"default_router,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` + Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` + Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` + Mobile string `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"` + RoleIds []uint64 `protobuf:"varint,7,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` + DepartmentId uint64 `protobuf:"varint,8,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` + PositionIds []uint64 `protobuf:"varint,9,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` } -func (x *RoleListReq) Reset() { - *x = RoleListReq{} +func (x *UserListReq) Reset() { + *x = UserListReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -609,13 +621,13 @@ func (x *RoleListReq) Reset() { } } -func (x *RoleListReq) String() string { +func (x *UserListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RoleListReq) ProtoMessage() {} +func (*UserListReq) ProtoMessage() {} -func (x *RoleListReq) ProtoReflect() protoreflect.Message { +func (x *UserListReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -627,61 +639,85 @@ func (x *RoleListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RoleListReq.ProtoReflect.Descriptor instead. -func (*RoleListReq) Descriptor() ([]byte, []int) { +// Deprecated: Use UserListReq.ProtoReflect.Descriptor instead. +func (*UserListReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{9} } -func (x *RoleListReq) GetPage() uint64 { +func (x *UserListReq) GetPage() uint64 { if x != nil { return x.Page } return 0 } -func (x *RoleListReq) GetPageSize() uint64 { +func (x *UserListReq) GetPageSize() uint64 { if x != nil { return x.PageSize } return 0 } -func (x *RoleListReq) GetName() string { +func (x *UserListReq) GetUsername() string { if x != nil { - return x.Name + return x.Username } return "" } -func (x *RoleListReq) GetCode() string { +func (x *UserListReq) GetNickname() string { if x != nil { - return x.Code + return x.Nickname } return "" } -func (x *RoleListReq) GetDefaultRouter() string { +func (x *UserListReq) GetEmail() string { if x != nil { - return x.DefaultRouter + return x.Email } return "" } -type TokenListReq struct { +func (x *UserListReq) GetMobile() string { + if x != nil { + return x.Mobile + } + return "" +} + +func (x *UserListReq) GetRoleIds() []uint64 { + if x != nil { + return x.RoleIds + } + return nil +} + +func (x *UserListReq) GetDepartmentId() uint64 { + if x != nil { + return x.DepartmentId + } + return 0 +} + +func (x *UserListReq) GetPositionIds() []uint64 { + if x != nil { + return x.PositionIds + } + return nil +} + +type CallbackReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` - Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` - Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` } -func (x *TokenListReq) Reset() { - *x = TokenListReq{} +func (x *CallbackReq) Reset() { + *x = CallbackReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -689,13 +725,13 @@ func (x *TokenListReq) Reset() { } } -func (x *TokenListReq) String() string { +func (x *CallbackReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TokenListReq) ProtoMessage() {} +func (*CallbackReq) ProtoMessage() {} -func (x *TokenListReq) ProtoReflect() protoreflect.Message { +func (x *CallbackReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -707,63 +743,35 @@ func (x *TokenListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TokenListReq.ProtoReflect.Descriptor instead. -func (*TokenListReq) Descriptor() ([]byte, []int) { +// Deprecated: Use CallbackReq.ProtoReflect.Descriptor instead. +func (*CallbackReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{10} } -func (x *TokenListReq) GetPage() uint64 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *TokenListReq) GetPageSize() uint64 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *TokenListReq) GetUsername() string { +func (x *CallbackReq) GetState() string { if x != nil { - return x.Username + return x.State } return "" } -func (x *TokenListReq) GetNickname() string { +func (x *CallbackReq) GetCode() string { if x != nil { - return x.Nickname + return x.Code } return "" } -func (x *TokenListReq) GetEmail() string { - if x != nil { - return x.Email - } - return "" -} - -func (x *TokenListReq) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type IDReq struct { +type IDsReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` } -func (x *IDReq) Reset() { - *x = IDReq{} +func (x *IDsReq) Reset() { + *x = IDsReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -771,13 +779,13 @@ func (x *IDReq) Reset() { } } -func (x *IDReq) String() string { +func (x *IDsReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IDReq) ProtoMessage() {} +func (*IDsReq) ProtoMessage() {} -func (x *IDReq) ProtoReflect() protoreflect.Message { +func (x *IDsReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -789,28 +797,28 @@ func (x *IDReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IDReq.ProtoReflect.Descriptor instead. -func (*IDReq) Descriptor() ([]byte, []int) { +// Deprecated: Use IDsReq.ProtoReflect.Descriptor instead. +func (*IDsReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{11} } -func (x *IDReq) GetId() uint64 { +func (x *IDsReq) GetIds() []uint64 { if x != nil { - return x.Id + return x.Ids } - return 0 + return nil } -type BaseMsg struct { +type UUIDReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *BaseMsg) Reset() { - *x = BaseMsg{} +func (x *UUIDReq) Reset() { + *x = UUIDReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -818,13 +826,13 @@ func (x *BaseMsg) Reset() { } } -func (x *BaseMsg) String() string { +func (x *UUIDReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BaseMsg) ProtoMessage() {} +func (*UUIDReq) ProtoMessage() {} -func (x *BaseMsg) ProtoReflect() protoreflect.Message { +func (x *UUIDReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -836,40 +844,36 @@ func (x *BaseMsg) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BaseMsg.ProtoReflect.Descriptor instead. -func (*BaseMsg) Descriptor() ([]byte, []int) { +// Deprecated: Use UUIDReq.ProtoReflect.Descriptor instead. +func (*UUIDReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{12} } -func (x *BaseMsg) GetMsg() string { +func (x *UUIDReq) GetId() string { if x != nil { - return x.Msg + return x.Id } return "" } -type MenuInfo struct { +type DictionaryDetailInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - ParentId uint64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` - Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - Redirect string `protobuf:"bytes,8,opt,name=redirect,proto3" json:"redirect,omitempty"` - Component string `protobuf:"bytes,9,opt,name=component,proto3" json:"component,omitempty"` - Sort uint32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` - Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` - Meta *Meta `protobuf:"bytes,12,opt,name=meta,proto3" json:"meta,omitempty"` - MenuType uint32 `protobuf:"varint,13,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` + Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` + DictionaryId uint64 `protobuf:"varint,8,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"` + Sort uint32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"` } -func (x *MenuInfo) Reset() { - *x = MenuInfo{} +func (x *DictionaryDetailInfo) Reset() { + *x = DictionaryDetailInfo{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -877,13 +881,13 @@ func (x *MenuInfo) Reset() { } } -func (x *MenuInfo) String() string { +func (x *DictionaryDetailInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuInfo) ProtoMessage() {} +func (*DictionaryDetailInfo) ProtoMessage() {} -func (x *MenuInfo) ProtoReflect() protoreflect.Message { +func (x *DictionaryDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -895,114 +899,85 @@ func (x *MenuInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuInfo.ProtoReflect.Descriptor instead. -func (*MenuInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use DictionaryDetailInfo.ProtoReflect.Descriptor instead. +func (*DictionaryDetailInfo) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{13} } -func (x *MenuInfo) GetId() uint64 { +func (x *DictionaryDetailInfo) GetId() uint64 { if x != nil { return x.Id } return 0 } -func (x *MenuInfo) GetCreatedAt() int64 { +func (x *DictionaryDetailInfo) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *MenuInfo) GetUpdatedAt() int64 { +func (x *DictionaryDetailInfo) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *MenuInfo) GetLevel() uint32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *MenuInfo) GetParentId() uint64 { +func (x *DictionaryDetailInfo) GetStatus() uint32 { if x != nil { - return x.ParentId + return x.Status } return 0 } -func (x *MenuInfo) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *MenuInfo) GetName() string { +func (x *DictionaryDetailInfo) GetTitle() string { if x != nil { - return x.Name + return x.Title } return "" } -func (x *MenuInfo) GetRedirect() string { +func (x *DictionaryDetailInfo) GetKey() string { if x != nil { - return x.Redirect + return x.Key } return "" } -func (x *MenuInfo) GetComponent() string { +func (x *DictionaryDetailInfo) GetValue() string { if x != nil { - return x.Component + return x.Value } return "" } -func (x *MenuInfo) GetSort() uint32 { +func (x *DictionaryDetailInfo) GetDictionaryId() uint64 { if x != nil { - return x.Sort + return x.DictionaryId } return 0 } -func (x *MenuInfo) GetDisabled() bool { - if x != nil { - return x.Disabled - } - return false -} - -func (x *MenuInfo) GetMeta() *Meta { - if x != nil { - return x.Meta - } - return nil -} - -func (x *MenuInfo) GetMenuType() uint32 { +func (x *DictionaryDetailInfo) GetSort() uint32 { if x != nil { - return x.MenuType + return x.Sort } return 0 } -type MenuRoleInfo struct { +type MenuRoleListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - MenuId uint64 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` - RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*MenuRoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *MenuRoleInfo) Reset() { - *x = MenuRoleInfo{} +func (x *MenuRoleListResp) Reset() { + *x = MenuRoleListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1010,13 +985,13 @@ func (x *MenuRoleInfo) Reset() { } } -func (x *MenuRoleInfo) String() string { +func (x *MenuRoleListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuRoleInfo) ProtoMessage() {} +func (*MenuRoleListResp) ProtoMessage() {} -func (x *MenuRoleInfo) ProtoReflect() protoreflect.Message { +func (x *MenuRoleListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1028,42 +1003,36 @@ func (x *MenuRoleInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuRoleInfo.ProtoReflect.Descriptor instead. -func (*MenuRoleInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use MenuRoleListResp.ProtoReflect.Descriptor instead. +func (*MenuRoleListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{14} } -func (x *MenuRoleInfo) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *MenuRoleInfo) GetMenuId() uint64 { +func (x *MenuRoleListResp) GetTotal() uint64 { if x != nil { - return x.MenuId + return x.Total } return 0 } -func (x *MenuRoleInfo) GetRoleId() uint64 { +func (x *MenuRoleListResp) GetData() []*MenuRoleInfo { if x != nil { - return x.RoleId + return x.Data } - return 0 + return nil } -type UUIDsReq struct { +type MenuParamListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*MenuParamInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *UUIDsReq) Reset() { - *x = UUIDsReq{} +func (x *MenuParamListResp) Reset() { + *x = MenuParamListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1071,13 +1040,13 @@ func (x *UUIDsReq) Reset() { } } -func (x *UUIDsReq) String() string { +func (x *MenuParamListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UUIDsReq) ProtoMessage() {} +func (*MenuParamListResp) ProtoMessage() {} -func (x *UUIDsReq) ProtoReflect() protoreflect.Message { +func (x *MenuParamListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1089,28 +1058,36 @@ func (x *UUIDsReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UUIDsReq.ProtoReflect.Descriptor instead. -func (*UUIDsReq) Descriptor() ([]byte, []int) { +// Deprecated: Use MenuParamListResp.ProtoReflect.Descriptor instead. +func (*MenuParamListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{15} } -func (x *UUIDsReq) GetIds() []string { +func (x *MenuParamListResp) GetTotal() uint64 { if x != nil { - return x.Ids + return x.Total + } + return 0 +} + +func (x *MenuParamListResp) GetData() []*MenuParamInfo { + if x != nil { + return x.Data } return nil } -type BaseResp struct { +type OauthProviderListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*OauthProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *BaseResp) Reset() { - *x = BaseResp{} +func (x *OauthProviderListResp) Reset() { + *x = OauthProviderListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1118,13 +1095,13 @@ func (x *BaseResp) Reset() { } } -func (x *BaseResp) String() string { +func (x *OauthProviderListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BaseResp) ProtoMessage() {} +func (*OauthProviderListResp) ProtoMessage() {} -func (x *BaseResp) ProtoReflect() protoreflect.Message { +func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1136,36 +1113,39 @@ func (x *BaseResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BaseResp.ProtoReflect.Descriptor instead. -func (*BaseResp) Descriptor() ([]byte, []int) { +// Deprecated: Use OauthProviderListResp.ProtoReflect.Descriptor instead. +func (*OauthProviderListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{16} } -func (x *BaseResp) GetMsg() string { +func (x *OauthProviderListResp) GetTotal() uint64 { if x != nil { - return x.Msg + return x.Total } - return "" + return 0 } -type DictionaryDetailInfo struct { +func (x *OauthProviderListResp) GetData() []*OauthProviderInfo { + if x != nil { + return x.Data + } + return nil +} + +type OauthProviderListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` - Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` - DictionaryId uint64 `protobuf:"varint,8,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"` - Sort uint32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientSecret string `protobuf:"bytes,5,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` } -func (x *DictionaryDetailInfo) Reset() { - *x = DictionaryDetailInfo{} +func (x *OauthProviderListReq) Reset() { + *x = OauthProviderListReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1173,13 +1153,13 @@ func (x *DictionaryDetailInfo) Reset() { } } -func (x *DictionaryDetailInfo) String() string { +func (x *OauthProviderListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryDetailInfo) ProtoMessage() {} +func (*OauthProviderListReq) ProtoMessage() {} -func (x *DictionaryDetailInfo) ProtoReflect() protoreflect.Message { +func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1191,90 +1171,56 @@ func (x *DictionaryDetailInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryDetailInfo.ProtoReflect.Descriptor instead. -func (*DictionaryDetailInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use OauthProviderListReq.ProtoReflect.Descriptor instead. +func (*OauthProviderListReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{17} } -func (x *DictionaryDetailInfo) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *DictionaryDetailInfo) GetCreatedAt() int64 { - if x != nil { - return x.CreatedAt - } - return 0 -} - -func (x *DictionaryDetailInfo) GetUpdatedAt() int64 { +func (x *OauthProviderListReq) GetPage() uint64 { if x != nil { - return x.UpdatedAt + return x.Page } return 0 } -func (x *DictionaryDetailInfo) GetStatus() uint32 { +func (x *OauthProviderListReq) GetPageSize() uint64 { if x != nil { - return x.Status + return x.PageSize } return 0 } -func (x *DictionaryDetailInfo) GetTitle() string { +func (x *OauthProviderListReq) GetName() string { if x != nil { - return x.Title + return x.Name } return "" } -func (x *DictionaryDetailInfo) GetKey() string { +func (x *OauthProviderListReq) GetClientId() string { if x != nil { - return x.Key + return x.ClientId } return "" } -func (x *DictionaryDetailInfo) GetValue() string { +func (x *OauthProviderListReq) GetClientSecret() string { if x != nil { - return x.Value + return x.ClientSecret } return "" } -func (x *DictionaryDetailInfo) GetDictionaryId() uint64 { - if x != nil { - return x.DictionaryId - } - return 0 -} - -func (x *DictionaryDetailInfo) GetSort() uint32 { - if x != nil { - return x.Sort - } - return 0 -} - -type MenuParamInfo struct { +type OauthRedirectResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` - Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` - MenuId uint64 `protobuf:"varint,7,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` } -func (x *MenuParamInfo) Reset() { - *x = MenuParamInfo{} +func (x *OauthRedirectResp) Reset() { + *x = OauthRedirectResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1282,13 +1228,13 @@ func (x *MenuParamInfo) Reset() { } } -func (x *MenuParamInfo) String() string { +func (x *OauthRedirectResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuParamInfo) ProtoMessage() {} +func (*OauthRedirectResp) ProtoMessage() {} -func (x *MenuParamInfo) ProtoReflect() protoreflect.Message { +func (x *OauthRedirectResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1300,77 +1246,43 @@ func (x *MenuParamInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuParamInfo.ProtoReflect.Descriptor instead. -func (*MenuParamInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use OauthRedirectResp.ProtoReflect.Descriptor instead. +func (*OauthRedirectResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{18} } -func (x *MenuParamInfo) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *MenuParamInfo) GetCreatedAt() int64 { - if x != nil { - return x.CreatedAt - } - return 0 -} - -func (x *MenuParamInfo) GetUpdatedAt() int64 { - if x != nil { - return x.UpdatedAt - } - return 0 -} - -func (x *MenuParamInfo) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *MenuParamInfo) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *MenuParamInfo) GetValue() string { +func (x *OauthRedirectResp) GetUrl() string { if x != nil { - return x.Value + return x.Url } return "" } -func (x *MenuParamInfo) GetMenuId() uint64 { - if x != nil { - return x.MenuId - } - return 0 -} - -type PositionInfo struct { +type UserInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Sort uint32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Code string `protobuf:"bytes,7,opt,name=code,proto3" json:"code,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` + Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` + Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` + HomePath string `protobuf:"bytes,9,opt,name=home_path,json=homePath,proto3" json:"home_path,omitempty"` + RoleIds []uint64 `protobuf:"varint,10,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` + Mobile string `protobuf:"bytes,11,opt,name=mobile,proto3" json:"mobile,omitempty"` + Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"` + Avatar string `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"` + DepartmentId uint64 `protobuf:"varint,14,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` + PositionIds []uint64 `protobuf:"varint,15,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` + RoleCodes []string `protobuf:"bytes,16,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"` } -func (x *PositionInfo) Reset() { - *x = PositionInfo{} +func (x *UserInfo) Reset() { + *x = UserInfo{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1378,13 +1290,13 @@ func (x *PositionInfo) Reset() { } } -func (x *PositionInfo) String() string { +func (x *UserInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PositionInfo) ProtoMessage() {} +func (*UserInfo) ProtoMessage() {} -func (x *PositionInfo) ProtoReflect() protoreflect.Message { +func (x *UserInfo) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1396,168 +1308,121 @@ func (x *PositionInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PositionInfo.ProtoReflect.Descriptor instead. -func (*PositionInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. +func (*UserInfo) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{19} } -func (x *PositionInfo) GetId() uint64 { +func (x *UserInfo) GetId() string { if x != nil { return x.Id } - return 0 + return "" } -func (x *PositionInfo) GetCreatedAt() int64 { +func (x *UserInfo) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *PositionInfo) GetUpdatedAt() int64 { +func (x *UserInfo) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *PositionInfo) GetStatus() uint32 { +func (x *UserInfo) GetStatus() uint32 { if x != nil { return x.Status } return 0 } -func (x *PositionInfo) GetSort() uint32 { +func (x *UserInfo) GetUsername() string { if x != nil { - return x.Sort + return x.Username } - return 0 + return "" } -func (x *PositionInfo) GetName() string { +func (x *UserInfo) GetPassword() string { if x != nil { - return x.Name + return x.Password } return "" } -func (x *PositionInfo) GetCode() string { +func (x *UserInfo) GetNickname() string { if x != nil { - return x.Code + return x.Nickname } return "" } -func (x *PositionInfo) GetRemark() string { +func (x *UserInfo) GetDescription() string { if x != nil { - return x.Remark + return x.Description } return "" } -type TokenInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` - Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` - Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` - ExpiredAt int64 `protobuf:"varint,8,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` +func (x *UserInfo) GetHomePath() string { + if x != nil { + return x.HomePath + } + return "" } -func (x *TokenInfo) Reset() { - *x = TokenInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *UserInfo) GetRoleIds() []uint64 { + if x != nil { + return x.RoleIds } + return nil } -func (x *TokenInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *UserInfo) GetMobile() string { + if x != nil { + return x.Mobile + } + return "" } -func (*TokenInfo) ProtoMessage() {} +func (x *UserInfo) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} -func (x *TokenInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead. -func (*TokenInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{20} -} - -func (x *TokenInfo) GetId() string { +func (x *UserInfo) GetAvatar() string { if x != nil { - return x.Id + return x.Avatar } return "" } -func (x *TokenInfo) GetCreatedAt() int64 { - if x != nil { - return x.CreatedAt - } - return 0 -} - -func (x *TokenInfo) GetUpdatedAt() int64 { - if x != nil { - return x.UpdatedAt - } - return 0 -} - -func (x *TokenInfo) GetStatus() uint32 { +func (x *UserInfo) GetDepartmentId() uint64 { if x != nil { - return x.Status + return x.DepartmentId } return 0 } -func (x *TokenInfo) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *TokenInfo) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *TokenInfo) GetSource() string { +func (x *UserInfo) GetPositionIds() []uint64 { if x != nil { - return x.Source + return x.PositionIds } - return "" + return nil } -func (x *TokenInfo) GetExpiredAt() int64 { +func (x *UserInfo) GetRoleCodes() []string { if x != nil { - return x.ExpiredAt + return x.RoleCodes } - return 0 + return nil } type UsernameReq struct { @@ -1571,7 +1436,7 @@ type UsernameReq struct { func (x *UsernameReq) Reset() { *x = UsernameReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[21] + mi := &file_rpc_core_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1584,7 +1449,7 @@ func (x *UsernameReq) String() string { func (*UsernameReq) ProtoMessage() {} func (x *UsernameReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[21] + mi := &file_rpc_core_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1597,7 +1462,7 @@ func (x *UsernameReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UsernameReq.ProtoReflect.Descriptor instead. func (*UsernameReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{21} + return file_rpc_core_proto_rawDescGZIP(), []int{20} } func (x *UsernameReq) GetUsername() string { @@ -1607,33 +1472,32 @@ func (x *UsernameReq) GetUsername() string { return "" } -type DictionaryListReq struct { +type DepartmentListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*DepartmentInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *DictionaryListReq) Reset() { - *x = DictionaryListReq{} +func (x *DepartmentListResp) Reset() { + *x = DepartmentListResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[22] + mi := &file_rpc_core_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DictionaryListReq) String() string { +func (x *DepartmentListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryListReq) ProtoMessage() {} +func (*DepartmentListResp) ProtoMessage() {} -func (x *DictionaryListReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[22] +func (x *DepartmentListResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1644,60 +1508,51 @@ func (x *DictionaryListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryListReq.ProtoReflect.Descriptor instead. -func (*DictionaryListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{22} -} - -func (x *DictionaryListReq) GetPage() uint64 { - if x != nil { - return x.Page - } - return 0 +// Deprecated: Use DepartmentListResp.ProtoReflect.Descriptor instead. +func (*DepartmentListResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{21} } -func (x *DictionaryListReq) GetPageSize() uint64 { +func (x *DepartmentListResp) GetTotal() uint64 { if x != nil { - return x.PageSize + return x.Total } return 0 } -func (x *DictionaryListReq) GetName() string { +func (x *DepartmentListResp) GetData() []*DepartmentInfo { if x != nil { - return x.Name + return x.Data } - return "" + return nil } -type DictionaryDetailListReq struct { +type DictionaryListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - DictionaryId uint64 `protobuf:"varint,3,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"` - Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*DictionaryInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *DictionaryDetailListReq) Reset() { - *x = DictionaryDetailListReq{} +func (x *DictionaryListResp) Reset() { + *x = DictionaryListResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[23] + mi := &file_rpc_core_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DictionaryDetailListReq) String() string { +func (x *DictionaryListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryDetailListReq) ProtoMessage() {} +func (*DictionaryListResp) ProtoMessage() {} -func (x *DictionaryDetailListReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[23] +func (x *DictionaryListResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1708,65 +1563,52 @@ func (x *DictionaryDetailListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryDetailListReq.ProtoReflect.Descriptor instead. -func (*DictionaryDetailListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{23} -} - -func (x *DictionaryDetailListReq) GetPage() uint64 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *DictionaryDetailListReq) GetPageSize() uint64 { - if x != nil { - return x.PageSize - } - return 0 +// Deprecated: Use DictionaryListResp.ProtoReflect.Descriptor instead. +func (*DictionaryListResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{22} } -func (x *DictionaryDetailListReq) GetDictionaryId() uint64 { +func (x *DictionaryListResp) GetTotal() uint64 { if x != nil { - return x.DictionaryId + return x.Total } return 0 } -func (x *DictionaryDetailListReq) GetKey() string { +func (x *DictionaryListResp) GetData() []*DictionaryInfo { if x != nil { - return x.Key + return x.Data } - return "" + return nil } -type MenuParamListResp struct { +type DictionaryListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*MenuParamInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MenuParamListResp) Reset() { - *x = MenuParamListResp{} +func (x *DictionaryListReq) Reset() { + *x = DictionaryListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[24] + mi := &file_rpc_core_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MenuParamListResp) String() string { +func (x *DictionaryListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuParamListResp) ProtoMessage() {} +func (*DictionaryListReq) ProtoMessage() {} -func (x *MenuParamListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[24] +func (x *DictionaryListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1777,54 +1619,68 @@ func (x *MenuParamListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuParamListResp.ProtoReflect.Descriptor instead. -func (*MenuParamListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{24} +// Deprecated: Use DictionaryListReq.ProtoReflect.Descriptor instead. +func (*DictionaryListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{23} } -func (x *MenuParamListResp) GetTotal() uint64 { +func (x *DictionaryListReq) GetPage() uint64 { if x != nil { - return x.Total + return x.Page } return 0 } -func (x *MenuParamListResp) GetData() []*MenuParamInfo { +func (x *DictionaryListReq) GetPageSize() uint64 { if x != nil { - return x.Data + return x.PageSize } - return nil + return 0 } -type OauthProviderListReq struct { +func (x *DictionaryListReq) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type Meta struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - ClientSecret string `protobuf:"bytes,5,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"` + HideMenu bool `protobuf:"varint,3,opt,name=hide_menu,json=hideMenu,proto3" json:"hide_menu,omitempty"` + HideBreadcrumb bool `protobuf:"varint,4,opt,name=hide_breadcrumb,json=hideBreadcrumb,proto3" json:"hide_breadcrumb,omitempty"` + IgnoreKeepAlive bool `protobuf:"varint,5,opt,name=ignore_keep_alive,json=ignoreKeepAlive,proto3" json:"ignore_keep_alive,omitempty"` + HideTab bool `protobuf:"varint,6,opt,name=hide_tab,json=hideTab,proto3" json:"hide_tab,omitempty"` + FrameSrc string `protobuf:"bytes,7,opt,name=frame_src,json=frameSrc,proto3" json:"frame_src,omitempty"` + CarryParam bool `protobuf:"varint,8,opt,name=carry_param,json=carryParam,proto3" json:"carry_param,omitempty"` + HideChildrenInMenu bool `protobuf:"varint,9,opt,name=hide_children_in_menu,json=hideChildrenInMenu,proto3" json:"hide_children_in_menu,omitempty"` + Affix bool `protobuf:"varint,10,opt,name=affix,proto3" json:"affix,omitempty"` + DynamicLevel uint32 `protobuf:"varint,11,opt,name=dynamic_level,json=dynamicLevel,proto3" json:"dynamic_level,omitempty"` + RealPath string `protobuf:"bytes,12,opt,name=real_path,json=realPath,proto3" json:"real_path,omitempty"` } -func (x *OauthProviderListReq) Reset() { - *x = OauthProviderListReq{} +func (x *Meta) Reset() { + *x = Meta{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[25] + mi := &file_rpc_core_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *OauthProviderListReq) String() string { +func (x *Meta) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OauthProviderListReq) ProtoMessage() {} +func (*Meta) ProtoMessage() {} -func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[25] +func (x *Meta) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1835,141 +1691,127 @@ func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OauthProviderListReq.ProtoReflect.Descriptor instead. -func (*OauthProviderListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{25} +// Deprecated: Use Meta.ProtoReflect.Descriptor instead. +func (*Meta) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{24} } -func (x *OauthProviderListReq) GetPage() uint64 { +func (x *Meta) GetTitle() string { if x != nil { - return x.Page + return x.Title } - return 0 + return "" } -func (x *OauthProviderListReq) GetPageSize() uint64 { +func (x *Meta) GetIcon() string { if x != nil { - return x.PageSize + return x.Icon } - return 0 + return "" } -func (x *OauthProviderListReq) GetName() string { +func (x *Meta) GetHideMenu() bool { if x != nil { - return x.Name + return x.HideMenu } - return "" + return false } -func (x *OauthProviderListReq) GetClientId() string { +func (x *Meta) GetHideBreadcrumb() bool { if x != nil { - return x.ClientId + return x.HideBreadcrumb } - return "" + return false } -func (x *OauthProviderListReq) GetClientSecret() string { +func (x *Meta) GetIgnoreKeepAlive() bool { if x != nil { - return x.ClientSecret + return x.IgnoreKeepAlive } - return "" + return false } -type MenuRoleListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*MenuRoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` +func (x *Meta) GetHideTab() bool { + if x != nil { + return x.HideTab + } + return false } -func (x *MenuRoleListResp) Reset() { - *x = MenuRoleListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *Meta) GetFrameSrc() string { + if x != nil { + return x.FrameSrc } + return "" } -func (x *MenuRoleListResp) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *Meta) GetCarryParam() bool { + if x != nil { + return x.CarryParam + } + return false } -func (*MenuRoleListResp) ProtoMessage() {} - -func (x *MenuRoleListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *Meta) GetHideChildrenInMenu() bool { + if x != nil { + return x.HideChildrenInMenu } - return mi.MessageOf(x) + return false } -// Deprecated: Use MenuRoleListResp.ProtoReflect.Descriptor instead. -func (*MenuRoleListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{26} +func (x *Meta) GetAffix() bool { + if x != nil { + return x.Affix + } + return false } -func (x *MenuRoleListResp) GetTotal() uint64 { +func (x *Meta) GetDynamicLevel() uint32 { if x != nil { - return x.Total + return x.DynamicLevel } return 0 } -func (x *MenuRoleListResp) GetData() []*MenuRoleInfo { +func (x *Meta) GetRealPath() string { if x != nil { - return x.Data + return x.RealPath } - return nil + return "" } -type UserInfo struct { +type TokenInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` - Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` - Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` - HomePath string `protobuf:"bytes,9,opt,name=home_path,json=homePath,proto3" json:"home_path,omitempty"` - RoleIds []uint64 `protobuf:"varint,10,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` - Mobile string `protobuf:"bytes,11,opt,name=mobile,proto3" json:"mobile,omitempty"` - Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"` - Avatar string `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"` - DepartmentId uint64 `protobuf:"varint,14,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` - PositionIds []uint64 `protobuf:"varint,15,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` - RoleCodes []string `protobuf:"bytes,16,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` + Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` + Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` + ExpiredAt int64 `protobuf:"varint,8,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` } -func (x *UserInfo) Reset() { - *x = UserInfo{} +func (x *TokenInfo) Reset() { + *x = TokenInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[27] + mi := &file_rpc_core_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UserInfo) String() string { +func (x *TokenInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UserInfo) ProtoMessage() {} +func (*TokenInfo) ProtoMessage() {} -func (x *UserInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[27] +func (x *TokenInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1980,141 +1822,182 @@ func (x *UserInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. -func (*UserInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{27} +// Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead. +func (*TokenInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{25} } -func (x *UserInfo) GetId() string { +func (x *TokenInfo) GetId() string { if x != nil { return x.Id } return "" } -func (x *UserInfo) GetCreatedAt() int64 { +func (x *TokenInfo) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *UserInfo) GetUpdatedAt() int64 { +func (x *TokenInfo) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *UserInfo) GetStatus() uint32 { +func (x *TokenInfo) GetStatus() uint32 { if x != nil { return x.Status } return 0 } -func (x *UserInfo) GetUsername() string { +func (x *TokenInfo) GetUuid() string { if x != nil { - return x.Username + return x.Uuid } return "" } -func (x *UserInfo) GetPassword() string { +func (x *TokenInfo) GetToken() string { if x != nil { - return x.Password + return x.Token } return "" } -func (x *UserInfo) GetNickname() string { +func (x *TokenInfo) GetSource() string { if x != nil { - return x.Nickname + return x.Source } return "" } -func (x *UserInfo) GetDescription() string { +func (x *TokenInfo) GetExpiredAt() int64 { if x != nil { - return x.Description + return x.ExpiredAt } - return "" + return 0 } -func (x *UserInfo) GetHomePath() string { - if x != nil { - return x.HomePath - } - return "" +// base message +type Empty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *UserInfo) GetRoleIds() []uint64 { - if x != nil { - return x.RoleIds +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *UserInfo) GetMobile() string { - if x != nil { - return x.Mobile - } - return "" +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *UserInfo) GetEmail() string { - if x != nil { - return x.Email +func (*Empty) ProtoMessage() {} + +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *UserInfo) GetAvatar() string { - if x != nil { - return x.Avatar +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{26} +} + +type PositionListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*PositionInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` +} + +func (x *PositionListResp) Reset() { + *x = PositionListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *UserInfo) GetDepartmentId() uint64 { - if x != nil { - return x.DepartmentId +func (x *PositionListResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PositionListResp) ProtoMessage() {} + +func (x *PositionListResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *UserInfo) GetPositionIds() []uint64 { +// Deprecated: Use PositionListResp.ProtoReflect.Descriptor instead. +func (*PositionListResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{27} +} + +func (x *PositionListResp) GetTotal() uint64 { if x != nil { - return x.PositionIds + return x.Total } - return nil + return 0 } -func (x *UserInfo) GetRoleCodes() []string { +func (x *PositionListResp) GetData() []*PositionInfo { if x != nil { - return x.RoleCodes + return x.Data } return nil } -type UserListReq struct { +type OauthProviderInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` - Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` - Mobile string `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"` - RoleIds []uint64 `protobuf:"varint,7,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` - DepartmentId uint64 `protobuf:"varint,8,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` - PositionIds []uint64 `protobuf:"varint,9,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientSecret string `protobuf:"bytes,6,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` + RedirectUrl string `protobuf:"bytes,7,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` + Scopes string `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"` + AuthUrl string `protobuf:"bytes,9,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` + TokenUrl string `protobuf:"bytes,10,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` + AuthStyle uint64 `protobuf:"varint,11,opt,name=auth_style,json=authStyle,proto3" json:"auth_style,omitempty"` + InfoUrl string `protobuf:"bytes,12,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"` } -func (x *UserListReq) Reset() { - *x = UserListReq{} +func (x *OauthProviderInfo) Reset() { + *x = OauthProviderInfo{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2122,13 +2005,13 @@ func (x *UserListReq) Reset() { } } -func (x *UserListReq) String() string { +func (x *OauthProviderInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UserListReq) ProtoMessage() {} +func (*OauthProviderInfo) ProtoMessage() {} -func (x *UserListReq) ProtoReflect() protoreflect.Message { +func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2137,88 +2020,109 @@ func (x *UserListReq) ProtoReflect() protoreflect.Message { } return ms } - return mi.MessageOf(x) + return mi.MessageOf(x) +} + +// Deprecated: Use OauthProviderInfo.ProtoReflect.Descriptor instead. +func (*OauthProviderInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{28} +} + +func (x *OauthProviderInfo) GetId() uint64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *OauthProviderInfo) GetCreatedAt() int64 { + if x != nil { + return x.CreatedAt + } + return 0 } -// Deprecated: Use UserListReq.ProtoReflect.Descriptor instead. -func (*UserListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{28} +func (x *OauthProviderInfo) GetUpdatedAt() int64 { + if x != nil { + return x.UpdatedAt + } + return 0 } -func (x *UserListReq) GetPage() uint64 { +func (x *OauthProviderInfo) GetName() string { if x != nil { - return x.Page + return x.Name } - return 0 + return "" } -func (x *UserListReq) GetPageSize() uint64 { +func (x *OauthProviderInfo) GetClientId() string { if x != nil { - return x.PageSize + return x.ClientId } - return 0 + return "" } -func (x *UserListReq) GetUsername() string { +func (x *OauthProviderInfo) GetClientSecret() string { if x != nil { - return x.Username + return x.ClientSecret } return "" } -func (x *UserListReq) GetNickname() string { +func (x *OauthProviderInfo) GetRedirectUrl() string { if x != nil { - return x.Nickname + return x.RedirectUrl } return "" } -func (x *UserListReq) GetEmail() string { +func (x *OauthProviderInfo) GetScopes() string { if x != nil { - return x.Email + return x.Scopes } return "" } -func (x *UserListReq) GetMobile() string { +func (x *OauthProviderInfo) GetAuthUrl() string { if x != nil { - return x.Mobile + return x.AuthUrl } return "" } -func (x *UserListReq) GetRoleIds() []uint64 { +func (x *OauthProviderInfo) GetTokenUrl() string { if x != nil { - return x.RoleIds + return x.TokenUrl } - return nil + return "" } -func (x *UserListReq) GetDepartmentId() uint64 { +func (x *OauthProviderInfo) GetAuthStyle() uint64 { if x != nil { - return x.DepartmentId + return x.AuthStyle } return 0 } -func (x *UserListReq) GetPositionIds() []uint64 { +func (x *OauthProviderInfo) GetInfoUrl() string { if x != nil { - return x.PositionIds + return x.InfoUrl } - return nil + return "" } -// return the role's authorization menu's ids -type RoleMenuAuthorityResp struct { +type ApiListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MenuId []uint64 `protobuf:"varint,1,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*ApiInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *RoleMenuAuthorityResp) Reset() { - *x = RoleMenuAuthorityResp{} +func (x *ApiListResp) Reset() { + *x = ApiListResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2226,13 +2130,13 @@ func (x *RoleMenuAuthorityResp) Reset() { } } -func (x *RoleMenuAuthorityResp) String() string { +func (x *ApiListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RoleMenuAuthorityResp) ProtoMessage() {} +func (*ApiListResp) ProtoMessage() {} -func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message { +func (x *ApiListResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2244,31 +2148,35 @@ func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RoleMenuAuthorityResp.ProtoReflect.Descriptor instead. -func (*RoleMenuAuthorityResp) Descriptor() ([]byte, []int) { +// Deprecated: Use ApiListResp.ProtoReflect.Descriptor instead. +func (*ApiListResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{29} } -func (x *RoleMenuAuthorityResp) GetMenuId() []uint64 { +func (x *ApiListResp) GetTotal() uint64 { if x != nil { - return x.MenuId + return x.Total + } + return 0 +} + +func (x *ApiListResp) GetData() []*ApiInfo { + if x != nil { + return x.Data } return nil } -type DepartmentListReq struct { +type UUIDsReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Leader string `protobuf:"bytes,4,opt,name=leader,proto3" json:"leader,omitempty"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` } -func (x *DepartmentListReq) Reset() { - *x = DepartmentListReq{} +func (x *UUIDsReq) Reset() { + *x = UUIDsReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2276,13 +2184,13 @@ func (x *DepartmentListReq) Reset() { } } -func (x *DepartmentListReq) String() string { +func (x *UUIDsReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DepartmentListReq) ProtoMessage() {} +func (*UUIDsReq) ProtoMessage() {} -func (x *DepartmentListReq) ProtoReflect() protoreflect.Message { +func (x *UUIDsReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2294,50 +2202,29 @@ func (x *DepartmentListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DepartmentListReq.ProtoReflect.Descriptor instead. -func (*DepartmentListReq) Descriptor() ([]byte, []int) { +// Deprecated: Use UUIDsReq.ProtoReflect.Descriptor instead. +func (*UUIDsReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{30} } -func (x *DepartmentListReq) GetPage() uint64 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *DepartmentListReq) GetPageSize() uint64 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *DepartmentListReq) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *DepartmentListReq) GetLeader() string { +func (x *UUIDsReq) GetIds() []string { if x != nil { - return x.Leader + return x.Ids } - return "" + return nil } -type DictionaryDetailListResp struct { +type PageInfoReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*DictionaryDetailInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } -func (x *DictionaryDetailListResp) Reset() { - *x = DictionaryDetailListResp{} +func (x *PageInfoReq) Reset() { + *x = PageInfoReq{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2345,13 +2232,13 @@ func (x *DictionaryDetailListResp) Reset() { } } -func (x *DictionaryDetailListResp) String() string { +func (x *PageInfoReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryDetailListResp) ProtoMessage() {} +func (*PageInfoReq) ProtoMessage() {} -func (x *DictionaryDetailListResp) ProtoReflect() protoreflect.Message { +func (x *PageInfoReq) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2363,36 +2250,36 @@ func (x *DictionaryDetailListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryDetailListResp.ProtoReflect.Descriptor instead. -func (*DictionaryDetailListResp) Descriptor() ([]byte, []int) { +// Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead. +func (*PageInfoReq) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{31} } -func (x *DictionaryDetailListResp) GetTotal() uint64 { +func (x *PageInfoReq) GetPage() uint64 { if x != nil { - return x.Total + return x.Page } return 0 } -func (x *DictionaryDetailListResp) GetData() []*DictionaryDetailInfo { +func (x *PageInfoReq) GetPageSize() uint64 { if x != nil { - return x.Data + return x.PageSize } - return nil + return 0 } -type MenuInfoList struct { +type BaseIDResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*MenuInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` } -func (x *MenuInfoList) Reset() { - *x = MenuInfoList{} +func (x *BaseIDResp) Reset() { + *x = BaseIDResp{} if protoimpl.UnsafeEnabled { mi := &file_rpc_core_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2400,13 +2287,13 @@ func (x *MenuInfoList) Reset() { } } -func (x *MenuInfoList) String() string { +func (x *BaseIDResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MenuInfoList) ProtoMessage() {} +func (*BaseIDResp) ProtoMessage() {} -func (x *MenuInfoList) ProtoReflect() protoreflect.Message { +func (x *BaseIDResp) ProtoReflect() protoreflect.Message { mi := &file_rpc_core_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2418,111 +2305,61 @@ func (x *MenuInfoList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MenuInfoList.ProtoReflect.Descriptor instead. -func (*MenuInfoList) Descriptor() ([]byte, []int) { +// Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead. +func (*BaseIDResp) Descriptor() ([]byte, []int) { return file_rpc_core_proto_rawDescGZIP(), []int{32} } -func (x *MenuInfoList) GetTotal() uint64 { +func (x *BaseIDResp) GetId() uint64 { if x != nil { - return x.Total + return x.Id } return 0 } -func (x *MenuInfoList) GetData() []*MenuInfo { - if x != nil { - return x.Data - } - return nil -} - -type OauthLoginReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` -} - -func (x *OauthLoginReq) Reset() { - *x = OauthLoginReq{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OauthLoginReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OauthLoginReq) ProtoMessage() {} - -func (x *OauthLoginReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OauthLoginReq.ProtoReflect.Descriptor instead. -func (*OauthLoginReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{33} -} - -func (x *OauthLoginReq) GetState() string { - if x != nil { - return x.State - } - return "" -} - -func (x *OauthLoginReq) GetProvider() string { +func (x *BaseIDResp) GetMsg() string { if x != nil { - return x.Provider + return x.Msg } return "" } -type ApiInfo struct { +type DepartmentInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - ApiGroup string `protobuf:"bytes,6,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` - Method string `protobuf:"bytes,7,opt,name=method,proto3" json:"method,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Sort uint32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Ancestors string `protobuf:"bytes,7,opt,name=ancestors,proto3" json:"ancestors,omitempty"` + Leader string `protobuf:"bytes,8,opt,name=leader,proto3" json:"leader,omitempty"` + Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` + Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` + Remark string `protobuf:"bytes,11,opt,name=remark,proto3" json:"remark,omitempty"` + ParentId uint64 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` } -func (x *ApiInfo) Reset() { - *x = ApiInfo{} +func (x *DepartmentInfo) Reset() { + *x = DepartmentInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[34] + mi := &file_rpc_core_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ApiInfo) String() string { +func (x *DepartmentInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ApiInfo) ProtoMessage() {} +func (*DepartmentInfo) ProtoMessage() {} -func (x *ApiInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[34] +func (x *DepartmentInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2533,145 +2370,126 @@ func (x *ApiInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ApiInfo.ProtoReflect.Descriptor instead. -func (*ApiInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{34} +// Deprecated: Use DepartmentInfo.ProtoReflect.Descriptor instead. +func (*DepartmentInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{33} } -func (x *ApiInfo) GetId() uint64 { +func (x *DepartmentInfo) GetId() uint64 { if x != nil { return x.Id } return 0 } -func (x *ApiInfo) GetCreatedAt() int64 { +func (x *DepartmentInfo) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *ApiInfo) GetUpdatedAt() int64 { +func (x *DepartmentInfo) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *ApiInfo) GetPath() string { +func (x *DepartmentInfo) GetStatus() uint32 { if x != nil { - return x.Path + return x.Status } - return "" + return 0 } -func (x *ApiInfo) GetDescription() string { +func (x *DepartmentInfo) GetSort() uint32 { if x != nil { - return x.Description + return x.Sort } - return "" + return 0 } -func (x *ApiInfo) GetApiGroup() string { +func (x *DepartmentInfo) GetName() string { if x != nil { - return x.ApiGroup + return x.Name } return "" } -func (x *ApiInfo) GetMethod() string { +func (x *DepartmentInfo) GetAncestors() string { if x != nil { - return x.Method + return x.Ancestors } return "" } -type ApiListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*ApiInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` -} - -func (x *ApiListResp) Reset() { - *x = ApiListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *DepartmentInfo) GetLeader() string { + if x != nil { + return x.Leader } + return "" } -func (x *ApiListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApiListResp) ProtoMessage() {} - -func (x *ApiListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *DepartmentInfo) GetPhone() string { + if x != nil { + return x.Phone } - return mi.MessageOf(x) + return "" } -// Deprecated: Use ApiListResp.ProtoReflect.Descriptor instead. -func (*ApiListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{35} +func (x *DepartmentInfo) GetEmail() string { + if x != nil { + return x.Email + } + return "" } -func (x *ApiListResp) GetTotal() uint64 { +func (x *DepartmentInfo) GetRemark() string { if x != nil { - return x.Total + return x.Remark } - return 0 + return "" } -func (x *ApiListResp) GetData() []*ApiInfo { +func (x *DepartmentInfo) GetParentId() uint64 { if x != nil { - return x.Data + return x.ParentId } - return nil + return 0 } -type ApiListReq struct { +type DictionaryInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - ApiGroup string `protobuf:"bytes,5,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` - Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Desc string `protobuf:"bytes,7,opt,name=desc,proto3" json:"desc,omitempty"` } -func (x *ApiListReq) Reset() { - *x = ApiListReq{} +func (x *DictionaryInfo) Reset() { + *x = DictionaryInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[36] + mi := &file_rpc_core_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ApiListReq) String() string { +func (x *DictionaryInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ApiListReq) ProtoMessage() {} +func (*DictionaryInfo) ProtoMessage() {} -func (x *ApiListReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[36] +func (x *DictionaryInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2682,54 +2500,61 @@ func (x *ApiListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ApiListReq.ProtoReflect.Descriptor instead. -func (*ApiListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{36} +// Deprecated: Use DictionaryInfo.ProtoReflect.Descriptor instead. +func (*DictionaryInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{34} } -func (x *ApiListReq) GetPage() uint64 { +func (x *DictionaryInfo) GetId() uint64 { if x != nil { - return x.Page + return x.Id } return 0 } -func (x *ApiListReq) GetPageSize() uint64 { +func (x *DictionaryInfo) GetCreatedAt() int64 { if x != nil { - return x.PageSize + return x.CreatedAt } return 0 } -func (x *ApiListReq) GetPath() string { +func (x *DictionaryInfo) GetUpdatedAt() int64 { if x != nil { - return x.Path + return x.UpdatedAt } - return "" + return 0 } -func (x *ApiListReq) GetDescription() string { +func (x *DictionaryInfo) GetStatus() uint32 { if x != nil { - return x.Description + return x.Status + } + return 0 +} + +func (x *DictionaryInfo) GetTitle() string { + if x != nil { + return x.Title } return "" } -func (x *ApiListReq) GetApiGroup() string { +func (x *DictionaryInfo) GetName() string { if x != nil { - return x.ApiGroup + return x.Name } return "" } -func (x *ApiListReq) GetMethod() string { +func (x *DictionaryInfo) GetDesc() string { if x != nil { - return x.Method + return x.Desc } return "" } -type DepartmentInfo struct { +type MenuInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2737,34 +2562,35 @@ type DepartmentInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Sort uint32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Ancestors string `protobuf:"bytes,7,opt,name=ancestors,proto3" json:"ancestors,omitempty"` - Leader string `protobuf:"bytes,8,opt,name=leader,proto3" json:"leader,omitempty"` - Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` - Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` - Remark string `protobuf:"bytes,11,opt,name=remark,proto3" json:"remark,omitempty"` - ParentId uint64 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` + ParentId uint64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + Redirect string `protobuf:"bytes,8,opt,name=redirect,proto3" json:"redirect,omitempty"` + Component string `protobuf:"bytes,9,opt,name=component,proto3" json:"component,omitempty"` + Sort uint32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` + Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + Meta *Meta `protobuf:"bytes,12,opt,name=meta,proto3" json:"meta,omitempty"` + MenuType uint32 `protobuf:"varint,13,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` } -func (x *DepartmentInfo) Reset() { - *x = DepartmentInfo{} +func (x *MenuInfo) Reset() { + *x = MenuInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[37] + mi := &file_rpc_core_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DepartmentInfo) String() string { +func (x *MenuInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DepartmentInfo) ProtoMessage() {} +func (*MenuInfo) ProtoMessage() {} -func (x *DepartmentInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[37] +func (x *MenuInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2775,121 +2601,128 @@ func (x *DepartmentInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DepartmentInfo.ProtoReflect.Descriptor instead. -func (*DepartmentInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{37} +// Deprecated: Use MenuInfo.ProtoReflect.Descriptor instead. +func (*MenuInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{35} } -func (x *DepartmentInfo) GetId() uint64 { +func (x *MenuInfo) GetId() uint64 { if x != nil { return x.Id } return 0 } -func (x *DepartmentInfo) GetCreatedAt() int64 { +func (x *MenuInfo) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *DepartmentInfo) GetUpdatedAt() int64 { +func (x *MenuInfo) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *DepartmentInfo) GetStatus() uint32 { +func (x *MenuInfo) GetLevel() uint32 { if x != nil { - return x.Status + return x.Level } return 0 } -func (x *DepartmentInfo) GetSort() uint32 { +func (x *MenuInfo) GetParentId() uint64 { if x != nil { - return x.Sort + return x.ParentId } return 0 } -func (x *DepartmentInfo) GetName() string { +func (x *MenuInfo) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *MenuInfo) GetName() string { if x != nil { return x.Name } return "" } -func (x *DepartmentInfo) GetAncestors() string { +func (x *MenuInfo) GetRedirect() string { if x != nil { - return x.Ancestors + return x.Redirect } return "" } -func (x *DepartmentInfo) GetLeader() string { +func (x *MenuInfo) GetComponent() string { if x != nil { - return x.Leader + return x.Component } return "" } -func (x *DepartmentInfo) GetPhone() string { +func (x *MenuInfo) GetSort() uint32 { if x != nil { - return x.Phone + return x.Sort } - return "" + return 0 } -func (x *DepartmentInfo) GetEmail() string { +func (x *MenuInfo) GetDisabled() bool { if x != nil { - return x.Email + return x.Disabled } - return "" + return false } -func (x *DepartmentInfo) GetRemark() string { +func (x *MenuInfo) GetMeta() *Meta { if x != nil { - return x.Remark + return x.Meta } - return "" + return nil } -func (x *DepartmentInfo) GetParentId() uint64 { +func (x *MenuInfo) GetMenuType() uint32 { if x != nil { - return x.ParentId + return x.MenuType } return 0 } -type OauthProviderListResp struct { +type UserListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*OauthProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + Data []*UserInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` } -func (x *OauthProviderListResp) Reset() { - *x = OauthProviderListResp{} +func (x *UserListResp) Reset() { + *x = UserListResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[38] + mi := &file_rpc_core_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *OauthProviderListResp) String() string { +func (x *UserListResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OauthProviderListResp) ProtoMessage() {} +func (*UserListResp) ProtoMessage() {} -func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[38] +func (x *UserListResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2900,58 +2733,54 @@ func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OauthProviderListResp.ProtoReflect.Descriptor instead. -func (*OauthProviderListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{38} +// Deprecated: Use UserListResp.ProtoReflect.Descriptor instead. +func (*UserListResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{36} } -func (x *OauthProviderListResp) GetTotal() uint64 { +func (x *UserListResp) GetTotal() uint64 { if x != nil { return x.Total } return 0 } -func (x *OauthProviderListResp) GetData() []*OauthProviderInfo { +func (x *UserListResp) GetData() []*UserInfo { if x != nil { return x.Data } return nil } -type RoleInfo struct { +type RoleListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` - Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` - DefaultRouter string `protobuf:"bytes,7,opt,name=default_router,json=defaultRouter,proto3" json:"default_router,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` - Sort uint32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` + DefaultRouter string `protobuf:"bytes,5,opt,name=default_router,json=defaultRouter,proto3" json:"default_router,omitempty"` } -func (x *RoleInfo) Reset() { - *x = RoleInfo{} +func (x *RoleListReq) Reset() { + *x = RoleListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[39] + mi := &file_rpc_core_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RoleInfo) String() string { +func (x *RoleListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RoleInfo) ProtoMessage() {} +func (*RoleListReq) ProtoMessage() {} -func (x *RoleInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[39] +func (x *RoleListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2962,100 +2791,77 @@ func (x *RoleInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead. -func (*RoleInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{39} -} - -func (x *RoleInfo) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *RoleInfo) GetCreatedAt() int64 { - if x != nil { - return x.CreatedAt - } - return 0 +// Deprecated: Use RoleListReq.ProtoReflect.Descriptor instead. +func (*RoleListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{37} } -func (x *RoleInfo) GetUpdatedAt() int64 { +func (x *RoleListReq) GetPage() uint64 { if x != nil { - return x.UpdatedAt + return x.Page } return 0 } -func (x *RoleInfo) GetStatus() uint32 { +func (x *RoleListReq) GetPageSize() uint64 { if x != nil { - return x.Status + return x.PageSize } return 0 } -func (x *RoleInfo) GetName() string { +func (x *RoleListReq) GetName() string { if x != nil { return x.Name } return "" } -func (x *RoleInfo) GetCode() string { +func (x *RoleListReq) GetCode() string { if x != nil { return x.Code } return "" } -func (x *RoleInfo) GetDefaultRouter() string { +func (x *RoleListReq) GetDefaultRouter() string { if x != nil { return x.DefaultRouter } return "" } -func (x *RoleInfo) GetRemark() string { - if x != nil { - return x.Remark - } - return "" -} - -func (x *RoleInfo) GetSort() uint32 { - if x != nil { - return x.Sort - } - return 0 -} - -type UserListResp struct { +type ApiInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*UserInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + ApiGroup string `protobuf:"bytes,6,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` + Method string `protobuf:"bytes,7,opt,name=method,proto3" json:"method,omitempty"` } -func (x *UserListResp) Reset() { - *x = UserListResp{} +func (x *ApiInfo) Reset() { + *x = ApiInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[40] + mi := &file_rpc_core_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UserListResp) String() string { +func (x *ApiInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UserListResp) ProtoMessage() {} +func (*ApiInfo) ProtoMessage() {} -func (x *UserListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[40] +func (x *ApiInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3066,51 +2872,90 @@ func (x *UserListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UserListResp.ProtoReflect.Descriptor instead. -func (*UserListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{40} +// Deprecated: Use ApiInfo.ProtoReflect.Descriptor instead. +func (*ApiInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{38} } -func (x *UserListResp) GetTotal() uint64 { +func (x *ApiInfo) GetId() uint64 { if x != nil { - return x.Total + return x.Id } return 0 } -func (x *UserListResp) GetData() []*UserInfo { +func (x *ApiInfo) GetCreatedAt() int64 { if x != nil { - return x.Data + return x.CreatedAt } - return nil + return 0 } -type PageInfoReq struct { +func (x *ApiInfo) GetUpdatedAt() int64 { + if x != nil { + return x.UpdatedAt + } + return 0 +} + +func (x *ApiInfo) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *ApiInfo) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *ApiInfo) GetApiGroup() string { + if x != nil { + return x.ApiGroup + } + return "" +} + +func (x *ApiInfo) GetMethod() string { + if x != nil { + return x.Method + } + return "" +} + +type ApiListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` - PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + ApiGroup string `protobuf:"bytes,5,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` + Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"` } -func (x *PageInfoReq) Reset() { - *x = PageInfoReq{} +func (x *ApiListReq) Reset() { + *x = ApiListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[41] + mi := &file_rpc_core_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PageInfoReq) String() string { +func (x *ApiListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PageInfoReq) ProtoMessage() {} +func (*ApiListReq) ProtoMessage() {} -func (x *PageInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[41] +func (x *ApiListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3118,54 +2963,82 @@ func (x *PageInfoReq) ProtoReflect() protoreflect.Message { } return ms } - return mi.MessageOf(x) + return mi.MessageOf(x) +} + +// Deprecated: Use ApiListReq.ProtoReflect.Descriptor instead. +func (*ApiListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{39} +} + +func (x *ApiListReq) GetPage() uint64 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ApiListReq) GetPageSize() uint64 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ApiListReq) GetPath() string { + if x != nil { + return x.Path + } + return "" } -// Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead. -func (*PageInfoReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{41} +func (x *ApiListReq) GetDescription() string { + if x != nil { + return x.Description + } + return "" } -func (x *PageInfoReq) GetPage() uint64 { +func (x *ApiListReq) GetApiGroup() string { if x != nil { - return x.Page + return x.ApiGroup } - return 0 + return "" } -func (x *PageInfoReq) GetPageSize() uint64 { +func (x *ApiListReq) GetMethod() string { if x != nil { - return x.PageSize + return x.Method } - return 0 + return "" } -type BaseIDResp struct { +// return the role's authorization menu's ids +type RoleMenuAuthorityResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + MenuId []uint64 `protobuf:"varint,1,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` } -func (x *BaseIDResp) Reset() { - *x = BaseIDResp{} +func (x *RoleMenuAuthorityResp) Reset() { + *x = RoleMenuAuthorityResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[42] + mi := &file_rpc_core_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BaseIDResp) String() string { +func (x *RoleMenuAuthorityResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BaseIDResp) ProtoMessage() {} +func (*RoleMenuAuthorityResp) ProtoMessage() {} -func (x *BaseIDResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[42] +func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3176,23 +3049,16 @@ func (x *BaseIDResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead. -func (*BaseIDResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{42} -} - -func (x *BaseIDResp) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 +// Deprecated: Use RoleMenuAuthorityResp.ProtoReflect.Descriptor instead. +func (*RoleMenuAuthorityResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{40} } -func (x *BaseIDResp) GetMsg() string { +func (x *RoleMenuAuthorityResp) GetMenuId() []uint64 { if x != nil { - return x.Msg + return x.MenuId } - return "" + return nil } type BaseUUIDResp struct { @@ -3207,7 +3073,7 @@ type BaseUUIDResp struct { func (x *BaseUUIDResp) Reset() { *x = BaseUUIDResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[43] + mi := &file_rpc_core_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3220,7 +3086,7 @@ func (x *BaseUUIDResp) String() string { func (*BaseUUIDResp) ProtoMessage() {} func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[43] + mi := &file_rpc_core_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3233,7 +3099,7 @@ func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message { // Deprecated: Use BaseUUIDResp.ProtoReflect.Descriptor instead. func (*BaseUUIDResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{43} + return file_rpc_core_proto_rawDescGZIP(), []int{41} } func (x *BaseUUIDResp) GetId() string { @@ -3250,37 +3116,34 @@ func (x *BaseUUIDResp) GetMsg() string { return "" } -type DictionaryInfo struct { +type DepartmentListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Desc string `protobuf:"bytes,7,opt,name=desc,proto3" json:"desc,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Leader string `protobuf:"bytes,4,opt,name=leader,proto3" json:"leader,omitempty"` } -func (x *DictionaryInfo) Reset() { - *x = DictionaryInfo{} +func (x *DepartmentListReq) Reset() { + *x = DepartmentListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[44] + mi := &file_rpc_core_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DictionaryInfo) String() string { +func (x *DepartmentListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DictionaryInfo) ProtoMessage() {} +func (*DepartmentListReq) ProtoMessage() {} -func (x *DictionaryInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[44] +func (x *DepartmentListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3291,86 +3154,139 @@ func (x *DictionaryInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DictionaryInfo.ProtoReflect.Descriptor instead. -func (*DictionaryInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{44} +// Deprecated: Use DepartmentListReq.ProtoReflect.Descriptor instead. +func (*DepartmentListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{42} } -func (x *DictionaryInfo) GetId() uint64 { +func (x *DepartmentListReq) GetPage() uint64 { if x != nil { - return x.Id + return x.Page } return 0 } -func (x *DictionaryInfo) GetCreatedAt() int64 { +func (x *DepartmentListReq) GetPageSize() uint64 { if x != nil { - return x.CreatedAt + return x.PageSize } return 0 } -func (x *DictionaryInfo) GetUpdatedAt() int64 { +func (x *DepartmentListReq) GetName() string { if x != nil { - return x.UpdatedAt + return x.Name } - return 0 + return "" } -func (x *DictionaryInfo) GetStatus() uint32 { +func (x *DepartmentListReq) GetLeader() string { if x != nil { - return x.Status + return x.Leader + } + return "" +} + +type DictionaryDetailListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + DictionaryId uint64 `protobuf:"varint,3,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"` + Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *DictionaryDetailListReq) Reset() { + *x = DictionaryDetailListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DictionaryDetailListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DictionaryDetailListReq) ProtoMessage() {} + +func (x *DictionaryDetailListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DictionaryDetailListReq.ProtoReflect.Descriptor instead. +func (*DictionaryDetailListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{43} +} + +func (x *DictionaryDetailListReq) GetPage() uint64 { + if x != nil { + return x.Page } return 0 } -func (x *DictionaryInfo) GetTitle() string { +func (x *DictionaryDetailListReq) GetPageSize() uint64 { if x != nil { - return x.Title + return x.PageSize } - return "" + return 0 } -func (x *DictionaryInfo) GetName() string { +func (x *DictionaryDetailListReq) GetDictionaryId() uint64 { if x != nil { - return x.Name + return x.DictionaryId } - return "" + return 0 } -func (x *DictionaryInfo) GetDesc() string { +func (x *DictionaryDetailListReq) GetKey() string { if x != nil { - return x.Desc + return x.Key } return "" } -type PositionListResp struct { +type PositionListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - Data []*PositionInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` + Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"` } -func (x *PositionListResp) Reset() { - *x = PositionListResp{} +func (x *PositionListReq) Reset() { + *x = PositionListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[45] + mi := &file_rpc_core_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PositionListResp) String() string { +func (x *PositionListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PositionListResp) ProtoMessage() {} +func (*PositionListReq) ProtoMessage() {} -func (x *PositionListResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[45] +func (x *PositionListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3381,54 +3297,76 @@ func (x *PositionListResp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PositionListResp.ProtoReflect.Descriptor instead. -func (*PositionListResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{45} +// Deprecated: Use PositionListReq.ProtoReflect.Descriptor instead. +func (*PositionListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{44} } -func (x *PositionListResp) GetTotal() uint64 { +func (x *PositionListReq) GetPage() uint64 { if x != nil { - return x.Total + return x.Page } return 0 } -func (x *PositionListResp) GetData() []*PositionInfo { +func (x *PositionListReq) GetPageSize() uint64 { if x != nil { - return x.Data + return x.PageSize } - return nil + return 0 } -type PositionListReq struct { +func (x *PositionListReq) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *PositionListReq) GetCode() string { + if x != nil { + return x.Code + } + return "" +} + +func (x *PositionListReq) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +type TokenListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` - Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"` + Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` + Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` + Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` + Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` } -func (x *PositionListReq) Reset() { - *x = PositionListReq{} +func (x *TokenListReq) Reset() { + *x = TokenListReq{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[46] + mi := &file_rpc_core_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PositionListReq) String() string { +func (x *TokenListReq) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PositionListReq) ProtoMessage() {} +func (*TokenListReq) ProtoMessage() {} -func (x *PositionListReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[46] +func (x *TokenListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3439,70 +3377,78 @@ func (x *PositionListReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PositionListReq.ProtoReflect.Descriptor instead. -func (*PositionListReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{46} +// Deprecated: Use TokenListReq.ProtoReflect.Descriptor instead. +func (*TokenListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{45} } -func (x *PositionListReq) GetPage() uint64 { +func (x *TokenListReq) GetPage() uint64 { if x != nil { return x.Page } return 0 } -func (x *PositionListReq) GetPageSize() uint64 { +func (x *TokenListReq) GetPageSize() uint64 { if x != nil { return x.PageSize } return 0 } -func (x *PositionListReq) GetName() string { +func (x *TokenListReq) GetUsername() string { if x != nil { - return x.Name + return x.Username } return "" } -func (x *PositionListReq) GetCode() string { +func (x *TokenListReq) GetNickname() string { if x != nil { - return x.Code + return x.Nickname } return "" } -func (x *PositionListReq) GetRemark() string { +func (x *TokenListReq) GetEmail() string { if x != nil { - return x.Remark + return x.Email } return "" } -// base message -type Empty struct { +func (x *TokenListReq) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type BaseResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` } -func (x *Empty) Reset() { - *x = Empty{} +func (x *BaseResp) Reset() { + *x = BaseResp{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[47] + mi := &file_rpc_core_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Empty) String() string { +func (x *BaseResp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Empty) ProtoMessage() {} +func (*BaseResp) ProtoMessage() {} -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[47] +func (x *BaseResp) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3513,47 +3459,45 @@ func (x *Empty) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{47} +// Deprecated: Use BaseResp.ProtoReflect.Descriptor instead. +func (*BaseResp) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{46} } -type OauthProviderInfo struct { +func (x *BaseResp) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +type MenuRoleInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - ClientSecret string `protobuf:"bytes,6,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` - RedirectUrl string `protobuf:"bytes,7,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` - Scopes string `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"` - AuthUrl string `protobuf:"bytes,9,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` - TokenUrl string `protobuf:"bytes,10,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` - AuthStyle uint64 `protobuf:"varint,11,opt,name=auth_style,json=authStyle,proto3" json:"auth_style,omitempty"` - InfoUrl string `protobuf:"bytes,12,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + MenuId uint64 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` + RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` } -func (x *OauthProviderInfo) Reset() { - *x = OauthProviderInfo{} +func (x *MenuRoleInfo) Reset() { + *x = MenuRoleInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[48] + mi := &file_rpc_core_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *OauthProviderInfo) String() string { +func (x *MenuRoleInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OauthProviderInfo) ProtoMessage() {} +func (*MenuRoleInfo) ProtoMessage() {} -func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[48] +func (x *MenuRoleInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3564,121 +3508,182 @@ func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OauthProviderInfo.ProtoReflect.Descriptor instead. -func (*OauthProviderInfo) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{48} +// Deprecated: Use MenuRoleInfo.ProtoReflect.Descriptor instead. +func (*MenuRoleInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{47} } -func (x *OauthProviderInfo) GetId() uint64 { +func (x *MenuRoleInfo) GetId() uint64 { if x != nil { return x.Id } return 0 } -func (x *OauthProviderInfo) GetCreatedAt() int64 { +func (x *MenuRoleInfo) GetMenuId() uint64 { if x != nil { - return x.CreatedAt + return x.MenuId } return 0 } -func (x *OauthProviderInfo) GetUpdatedAt() int64 { +func (x *MenuRoleInfo) GetRoleId() uint64 { if x != nil { - return x.UpdatedAt + return x.RoleId } return 0 } -func (x *OauthProviderInfo) GetName() string { - if x != nil { - return x.Name +type MenuParamListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` + PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + MenuId uint64 `protobuf:"varint,3,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` +} + +func (x *MenuParamListReq) Reset() { + *x = MenuParamListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *OauthProviderInfo) GetClientId() string { - if x != nil { - return x.ClientId +func (x *MenuParamListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MenuParamListReq) ProtoMessage() {} + +func (x *MenuParamListReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *OauthProviderInfo) GetClientSecret() string { +// Deprecated: Use MenuParamListReq.ProtoReflect.Descriptor instead. +func (*MenuParamListReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{48} +} + +func (x *MenuParamListReq) GetPage() uint64 { if x != nil { - return x.ClientSecret + return x.Page } - return "" + return 0 } -func (x *OauthProviderInfo) GetRedirectUrl() string { +func (x *MenuParamListReq) GetPageSize() uint64 { if x != nil { - return x.RedirectUrl + return x.PageSize } - return "" + return 0 } -func (x *OauthProviderInfo) GetScopes() string { +func (x *MenuParamListReq) GetMenuId() uint64 { if x != nil { - return x.Scopes + return x.MenuId } - return "" + return 0 } -func (x *OauthProviderInfo) GetAuthUrl() string { - if x != nil { - return x.AuthUrl +type OauthLoginReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` +} + +func (x *OauthLoginReq) Reset() { + *x = OauthLoginReq{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_core_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *OauthProviderInfo) GetTokenUrl() string { - if x != nil { - return x.TokenUrl +func (x *OauthLoginReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OauthLoginReq) ProtoMessage() {} + +func (x *OauthLoginReq) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *OauthProviderInfo) GetAuthStyle() uint64 { +// Deprecated: Use OauthLoginReq.ProtoReflect.Descriptor instead. +func (*OauthLoginReq) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{49} +} + +func (x *OauthLoginReq) GetState() string { if x != nil { - return x.AuthStyle + return x.State } - return 0 + return "" } -func (x *OauthProviderInfo) GetInfoUrl() string { +func (x *OauthLoginReq) GetProvider() string { if x != nil { - return x.InfoUrl + return x.Provider } return "" } -type CallbackReq struct { +type PositionInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + Sort uint32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Code string `protobuf:"bytes,7,opt,name=code,proto3" json:"code,omitempty"` + Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` } -func (x *CallbackReq) Reset() { - *x = CallbackReq{} +func (x *PositionInfo) Reset() { + *x = PositionInfo{} if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[49] + mi := &file_rpc_core_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CallbackReq) String() string { +func (x *PositionInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CallbackReq) ProtoMessage() {} +func (*PositionInfo) ProtoMessage() {} -func (x *CallbackReq) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[49] +func (x *PositionInfo) ProtoReflect() protoreflect.Message { + mi := &file_rpc_core_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3689,68 +3694,63 @@ func (x *CallbackReq) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CallbackReq.ProtoReflect.Descriptor instead. -func (*CallbackReq) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{49} +// Deprecated: Use PositionInfo.ProtoReflect.Descriptor instead. +func (*PositionInfo) Descriptor() ([]byte, []int) { + return file_rpc_core_proto_rawDescGZIP(), []int{50} } -func (x *CallbackReq) GetState() string { +func (x *PositionInfo) GetId() uint64 { if x != nil { - return x.State + return x.Id } - return "" + return 0 } -func (x *CallbackReq) GetCode() string { +func (x *PositionInfo) GetCreatedAt() int64 { if x != nil { - return x.Code + return x.CreatedAt } - return "" + return 0 } -type OauthRedirectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` +func (x *PositionInfo) GetUpdatedAt() int64 { + if x != nil { + return x.UpdatedAt + } + return 0 } -func (x *OauthRedirectResp) Reset() { - *x = OauthRedirectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_core_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *PositionInfo) GetStatus() uint32 { + if x != nil { + return x.Status } + return 0 } -func (x *OauthRedirectResp) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *PositionInfo) GetSort() uint32 { + if x != nil { + return x.Sort + } + return 0 } -func (*OauthRedirectResp) ProtoMessage() {} - -func (x *OauthRedirectResp) ProtoReflect() protoreflect.Message { - mi := &file_rpc_core_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *PositionInfo) GetName() string { + if x != nil { + return x.Name } - return mi.MessageOf(x) + return "" } -// Deprecated: Use OauthRedirectResp.ProtoReflect.Descriptor instead. -func (*OauthRedirectResp) Descriptor() ([]byte, []int) { - return file_rpc_core_proto_rawDescGZIP(), []int{50} +func (x *PositionInfo) GetCode() string { + if x != nil { + return x.Code + } + return "" } -func (x *OauthRedirectResp) GetUrl() string { +func (x *PositionInfo) GetRemark() string { if x != nil { - return x.Url + return x.Remark } return "" } @@ -3759,119 +3759,85 @@ var File_rpc_core_proto protoreflect.FileDescriptor var file_rpc_core_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x04, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x54, 0x0a, 0x12, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, - 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x86, 0x03, 0x0a, - 0x04, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, - 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, - 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x6e, 0x75, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x68, 0x69, 0x64, 0x65, 0x4d, 0x65, 0x6e, 0x75, 0x12, 0x27, 0x0a, 0x0f, - 0x68, 0x69, 0x64, 0x65, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x64, 0x63, 0x72, 0x75, 0x6d, 0x62, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x69, 0x64, 0x65, 0x42, 0x72, 0x65, 0x61, 0x64, - 0x63, 0x72, 0x75, 0x6d, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, - 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, - 0x65, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x69, 0x64, 0x65, 0x54, 0x61, 0x62, 0x12, 0x1b, 0x0a, 0x09, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x72, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x72, - 0x72, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x63, 0x61, 0x72, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x15, 0x68, 0x69, - 0x64, 0x65, 0x5f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, - 0x65, 0x6e, 0x75, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x69, 0x64, 0x65, 0x43, - 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x49, 0x6e, 0x4d, 0x65, 0x6e, 0x75, 0x12, 0x14, 0x0a, - 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, - 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6c, - 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x79, 0x6e, 0x61, - 0x6d, 0x69, 0x63, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, - 0x6c, 0x50, 0x61, 0x74, 0x68, 0x22, 0x48, 0x0a, 0x0c, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0x4a, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x48, 0x0a, 0x14, 0x52, - 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x6e, 0x75, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, - 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x6d, - 0x65, 0x6e, 0x75, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x06, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x12, - 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, - 0x73, 0x22, 0x19, 0x0a, 0x07, 0x55, 0x55, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x54, 0x0a, 0x12, - 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x22, 0x5c, 0x0a, 0x10, 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, - 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, - 0x22, 0x8d, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, - 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, - 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, - 0x22, 0xa1, 0x01, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x75, 0x75, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x05, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1b, 0x0a, - 0x07, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xda, 0x02, 0x0a, 0x08, 0x4d, - 0x65, 0x6e, 0x75, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x12, 0x04, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x1b, 0x0a, 0x07, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x73, + 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6d, 0x73, 0x67, 0x22, 0x60, 0x0a, 0x18, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, - 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6d, 0x65, - 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, - 0x6e, 0x75, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, - 0x65, 0x6e, 0x75, 0x54, 0x79, 0x70, 0x65, 0x22, 0x50, 0x0a, 0x0c, 0x4d, 0x65, 0x6e, 0x75, 0x52, - 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, - 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x08, 0x55, 0x55, 0x49, - 0x44, 0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x1c, 0x0a, 0x08, 0x42, 0x61, 0x73, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xf3, 0x01, 0x0a, 0x14, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x0d, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x48, 0x0a, 0x14, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, + 0x6e, 0x75, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x17, + 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, + 0x22, 0x17, 0x0a, 0x05, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, 0x48, 0x0a, 0x0c, 0x4d, 0x65, 0x6e, + 0x75, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, + 0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0xeb, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x12, 0x0a, + 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, + 0x74, 0x22, 0x48, 0x0a, 0x0c, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x87, 0x02, 0x0a, 0x0b, + 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, + 0x62, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x62, 0x69, + 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x23, 0x0a, + 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x37, 0x0a, 0x0b, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x1a, + 0x0a, 0x06, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x19, 0x0a, 0x07, 0x55, 0x55, + 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x14, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, @@ -3886,66 +3852,23 @@ var file_rpc_core_proto_rawDesc = []byte{ 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x0d, - 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, - 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, - 0x22, 0xc8, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0xd2, 0x01, 0x0a, 0x09, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, - 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, - 0x22, 0x29, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, - 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x11, 0x44, - 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, - 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, - 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x69, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x52, 0x0a, 0x11, 0x4d, 0x65, 0x6e, - 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9d, 0x01, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x50, 0x0a, 0x10, 0x4d, + 0x65, 0x6e, 0x75, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x52, + 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x52, 0x0a, + 0x11, 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, + 0x6e, 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x5a, 0x0a, 0x15, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9d, 0x01, 0x0a, 0x14, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, @@ -3955,182 +3878,248 @@ var file_rpc_core_proto_rawDesc = []byte{ 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x50, 0x0a, - 0x10, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6e, - 0x75, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0xcb, 0x03, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, - 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, - 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x6d, 0x65, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x6d, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, - 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, - 0x04, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x1d, - 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x87, 0x02, - 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, - 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, - 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, - 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, - 0x62, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, - 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, 0x4d, - 0x65, 0x6e, 0x75, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x11, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, + 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x25, 0x0a, + 0x11, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x72, 0x6c, 0x22, 0xcb, 0x03, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, + 0x09, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x72, 0x6f, + 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x64, + 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f, 0x64, + 0x65, 0x73, 0x22, 0x29, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, + 0x12, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, + 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x54, 0x0a, 0x12, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, + 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, + 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x58, 0x0a, 0x11, 0x44, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x60, 0x0a, 0x18, 0x44, - 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2e, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x48, 0x0a, - 0x0c, 0x4d, 0x65, 0x6e, 0x75, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x41, 0x0a, 0x0d, 0x4f, 0x61, 0x75, 0x74, 0x68, - 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0xc2, 0x01, 0x0a, 0x07, 0x41, - 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, - 0x69, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, - 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, - 0x46, 0x0a, 0x0b, 0x41, 0x70, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, + 0x61, 0x6d, 0x65, 0x22, 0x86, 0x03, 0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x6d, + 0x65, 0x6e, 0x75, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x68, 0x69, 0x64, 0x65, 0x4d, + 0x65, 0x6e, 0x75, 0x12, 0x27, 0x0a, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x62, 0x72, 0x65, 0x61, + 0x64, 0x63, 0x72, 0x75, 0x6d, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x69, + 0x64, 0x65, 0x42, 0x72, 0x65, 0x61, 0x64, 0x63, 0x72, 0x75, 0x6d, 0x62, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4b, + 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x69, 0x64, 0x65, + 0x5f, 0x74, 0x61, 0x62, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x69, 0x64, 0x65, + 0x54, 0x61, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x72, 0x63, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x72, 0x63, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x72, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x61, 0x72, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x12, 0x31, 0x0a, 0x15, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, + 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x6e, 0x75, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x68, 0x69, 0x64, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x49, 0x6e, + 0x4d, 0x65, 0x6e, 0x75, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x22, 0xd2, 0x01, 0x0a, + 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, + 0x74, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x50, 0x0a, 0x10, 0x50, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa8, 0x01, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, - 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, - 0x09, 0x61, 0x70, 0x69, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x22, 0xb5, 0x02, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe4, 0x02, 0x0a, + 0x11, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, + 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, + 0x68, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, 0x66, 0x6f, + 0x55, 0x72, 0x6c, 0x22, 0x46, 0x0a, 0x0b, 0x41, 0x70, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, + 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a, 0x08, 0x55, + 0x55, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x0b, 0x50, 0x61, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x2e, 0x0a, 0x0a, 0x42, 0x61, 0x73, + 0x65, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xb5, 0x02, 0x0a, 0x0e, 0x44, 0x65, + 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x0e, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x22, 0xda, 0x02, 0x0a, 0x08, 0x4d, 0x65, 0x6e, + 0x75, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, - 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, - 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1b, 0x0a, - 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x15, 0x4f, 0x61, - 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, - 0x61, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xeb, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x75, - 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, - 0x72, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, - 0x73, 0x6f, 0x72, 0x74, 0x22, 0x48, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3e, - 0x0a, 0x0b, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x2e, - 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, - 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x30, - 0x0a, 0x0c, 0x42, 0x61, 0x73, 0x65, 0x55, 0x55, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, - 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, - 0x22, 0xb4, 0x01, 0x0a, 0x0e, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, - 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x22, 0x50, 0x0a, 0x10, 0x50, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x0f, 0x50, 0x6f, + 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6e, + 0x75, 0x54, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, + 0x8d, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, + 0xc2, 0x01, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x69, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, + 0x69, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, + 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, + 0x30, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x6e, 0x75, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, + 0x64, 0x22, 0x30, 0x0a, 0x0c, 0x42, 0x61, 0x73, 0x65, 0x55, 0x55, 0x49, 0x44, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6d, 0x73, 0x67, 0x22, 0x70, 0x0a, 0x11, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x44, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x61, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x82, 0x01, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, @@ -4138,36 +4127,47 @@ var file_rpc_core_proto_rawDesc = []byte{ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x07, - 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xe4, 0x02, 0x0a, 0x11, 0x4f, 0x61, 0x75, 0x74, - 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, - 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, - 0x61, 0x75, 0x74, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x61, 0x75, 0x74, 0x68, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x79, - 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x53, 0x74, - 0x79, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x55, 0x72, 0x6c, 0x22, 0x37, - 0x0a, 0x0b, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x25, 0x0a, 0x11, 0x4f, 0x61, 0x75, 0x74, 0x68, - 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x32, 0xf7, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0xa1, + 0x01, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x08, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, + 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, + 0x22, 0x50, 0x0a, 0x0c, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, + 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x10, 0x4d, 0x65, 0x6e, 0x75, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, + 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, + 0x22, 0x41, 0x0a, 0x0d, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x22, 0xc8, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, + 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x32, 0xf7, 0x1a, 0x0a, 0x04, 0x43, 0x6f, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x12, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x10, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x49, @@ -4401,196 +4401,196 @@ func file_rpc_core_proto_rawDescGZIP() []byte { var file_rpc_core_proto_msgTypes = make([]protoimpl.MessageInfo, 51) var file_rpc_core_proto_goTypes = []interface{}{ - (*DictionaryListResp)(nil), // 0: core.DictionaryListResp - (*Meta)(nil), // 1: core.Meta - (*RoleListResp)(nil), // 2: core.RoleListResp + (*BaseMsg)(nil), // 0: core.BaseMsg + (*DictionaryDetailListResp)(nil), // 1: core.DictionaryDetailListResp + (*MenuParamInfo)(nil), // 2: core.MenuParamInfo (*TokenListResp)(nil), // 3: core.TokenListResp (*RoleMenuAuthorityReq)(nil), // 4: core.RoleMenuAuthorityReq - (*IDsReq)(nil), // 5: core.IDsReq - (*UUIDReq)(nil), // 6: core.UUIDReq - (*DepartmentListResp)(nil), // 7: core.DepartmentListResp - (*MenuParamListReq)(nil), // 8: core.MenuParamListReq - (*RoleListReq)(nil), // 9: core.RoleListReq - (*TokenListReq)(nil), // 10: core.TokenListReq - (*IDReq)(nil), // 11: core.IDReq - (*BaseMsg)(nil), // 12: core.BaseMsg - (*MenuInfo)(nil), // 13: core.MenuInfo - (*MenuRoleInfo)(nil), // 14: core.MenuRoleInfo - (*UUIDsReq)(nil), // 15: core.UUIDsReq - (*BaseResp)(nil), // 16: core.BaseResp - (*DictionaryDetailInfo)(nil), // 17: core.DictionaryDetailInfo - (*MenuParamInfo)(nil), // 18: core.MenuParamInfo - (*PositionInfo)(nil), // 19: core.PositionInfo - (*TokenInfo)(nil), // 20: core.TokenInfo - (*UsernameReq)(nil), // 21: core.UsernameReq - (*DictionaryListReq)(nil), // 22: core.DictionaryListReq - (*DictionaryDetailListReq)(nil), // 23: core.DictionaryDetailListReq - (*MenuParamListResp)(nil), // 24: core.MenuParamListResp - (*OauthProviderListReq)(nil), // 25: core.OauthProviderListReq - (*MenuRoleListResp)(nil), // 26: core.MenuRoleListResp - (*UserInfo)(nil), // 27: core.UserInfo - (*UserListReq)(nil), // 28: core.UserListReq - (*RoleMenuAuthorityResp)(nil), // 29: core.RoleMenuAuthorityResp - (*DepartmentListReq)(nil), // 30: core.DepartmentListReq - (*DictionaryDetailListResp)(nil), // 31: core.DictionaryDetailListResp - (*MenuInfoList)(nil), // 32: core.MenuInfoList - (*OauthLoginReq)(nil), // 33: core.OauthLoginReq - (*ApiInfo)(nil), // 34: core.ApiInfo - (*ApiListResp)(nil), // 35: core.ApiListResp - (*ApiListReq)(nil), // 36: core.ApiListReq - (*DepartmentInfo)(nil), // 37: core.DepartmentInfo - (*OauthProviderListResp)(nil), // 38: core.OauthProviderListResp - (*RoleInfo)(nil), // 39: core.RoleInfo - (*UserListResp)(nil), // 40: core.UserListResp - (*PageInfoReq)(nil), // 41: core.PageInfoReq - (*BaseIDResp)(nil), // 42: core.BaseIDResp - (*BaseUUIDResp)(nil), // 43: core.BaseUUIDResp - (*DictionaryInfo)(nil), // 44: core.DictionaryInfo - (*PositionListResp)(nil), // 45: core.PositionListResp - (*PositionListReq)(nil), // 46: core.PositionListReq - (*Empty)(nil), // 47: core.Empty - (*OauthProviderInfo)(nil), // 48: core.OauthProviderInfo - (*CallbackReq)(nil), // 49: core.CallbackReq - (*OauthRedirectResp)(nil), // 50: core.OauthRedirectResp + (*IDReq)(nil), // 5: core.IDReq + (*MenuInfoList)(nil), // 6: core.MenuInfoList + (*RoleInfo)(nil), // 7: core.RoleInfo + (*RoleListResp)(nil), // 8: core.RoleListResp + (*UserListReq)(nil), // 9: core.UserListReq + (*CallbackReq)(nil), // 10: core.CallbackReq + (*IDsReq)(nil), // 11: core.IDsReq + (*UUIDReq)(nil), // 12: core.UUIDReq + (*DictionaryDetailInfo)(nil), // 13: core.DictionaryDetailInfo + (*MenuRoleListResp)(nil), // 14: core.MenuRoleListResp + (*MenuParamListResp)(nil), // 15: core.MenuParamListResp + (*OauthProviderListResp)(nil), // 16: core.OauthProviderListResp + (*OauthProviderListReq)(nil), // 17: core.OauthProviderListReq + (*OauthRedirectResp)(nil), // 18: core.OauthRedirectResp + (*UserInfo)(nil), // 19: core.UserInfo + (*UsernameReq)(nil), // 20: core.UsernameReq + (*DepartmentListResp)(nil), // 21: core.DepartmentListResp + (*DictionaryListResp)(nil), // 22: core.DictionaryListResp + (*DictionaryListReq)(nil), // 23: core.DictionaryListReq + (*Meta)(nil), // 24: core.Meta + (*TokenInfo)(nil), // 25: core.TokenInfo + (*Empty)(nil), // 26: core.Empty + (*PositionListResp)(nil), // 27: core.PositionListResp + (*OauthProviderInfo)(nil), // 28: core.OauthProviderInfo + (*ApiListResp)(nil), // 29: core.ApiListResp + (*UUIDsReq)(nil), // 30: core.UUIDsReq + (*PageInfoReq)(nil), // 31: core.PageInfoReq + (*BaseIDResp)(nil), // 32: core.BaseIDResp + (*DepartmentInfo)(nil), // 33: core.DepartmentInfo + (*DictionaryInfo)(nil), // 34: core.DictionaryInfo + (*MenuInfo)(nil), // 35: core.MenuInfo + (*UserListResp)(nil), // 36: core.UserListResp + (*RoleListReq)(nil), // 37: core.RoleListReq + (*ApiInfo)(nil), // 38: core.ApiInfo + (*ApiListReq)(nil), // 39: core.ApiListReq + (*RoleMenuAuthorityResp)(nil), // 40: core.RoleMenuAuthorityResp + (*BaseUUIDResp)(nil), // 41: core.BaseUUIDResp + (*DepartmentListReq)(nil), // 42: core.DepartmentListReq + (*DictionaryDetailListReq)(nil), // 43: core.DictionaryDetailListReq + (*PositionListReq)(nil), // 44: core.PositionListReq + (*TokenListReq)(nil), // 45: core.TokenListReq + (*BaseResp)(nil), // 46: core.BaseResp + (*MenuRoleInfo)(nil), // 47: core.MenuRoleInfo + (*MenuParamListReq)(nil), // 48: core.MenuParamListReq + (*OauthLoginReq)(nil), // 49: core.OauthLoginReq + (*PositionInfo)(nil), // 50: core.PositionInfo } var file_rpc_core_proto_depIdxs = []int32{ - 44, // 0: core.DictionaryListResp.data:type_name -> core.DictionaryInfo - 39, // 1: core.RoleListResp.data:type_name -> core.RoleInfo - 20, // 2: core.TokenListResp.data:type_name -> core.TokenInfo - 37, // 3: core.DepartmentListResp.data:type_name -> core.DepartmentInfo - 1, // 4: core.MenuInfo.meta:type_name -> core.Meta - 18, // 5: core.MenuParamListResp.data:type_name -> core.MenuParamInfo - 14, // 6: core.MenuRoleListResp.data:type_name -> core.MenuRoleInfo - 17, // 7: core.DictionaryDetailListResp.data:type_name -> core.DictionaryDetailInfo - 13, // 8: core.MenuInfoList.data:type_name -> core.MenuInfo - 34, // 9: core.ApiListResp.data:type_name -> core.ApiInfo - 48, // 10: core.OauthProviderListResp.data:type_name -> core.OauthProviderInfo - 27, // 11: core.UserListResp.data:type_name -> core.UserInfo - 19, // 12: core.PositionListResp.data:type_name -> core.PositionInfo - 34, // 13: core.Core.createApi:input_type -> core.ApiInfo - 34, // 14: core.Core.updateApi:input_type -> core.ApiInfo - 36, // 15: core.Core.getApiList:input_type -> core.ApiListReq - 11, // 16: core.Core.getApiById:input_type -> core.IDReq - 5, // 17: core.Core.deleteApi:input_type -> core.IDsReq - 11, // 18: core.Core.getMenuAuthority:input_type -> core.IDReq + 13, // 0: core.DictionaryDetailListResp.data:type_name -> core.DictionaryDetailInfo + 25, // 1: core.TokenListResp.data:type_name -> core.TokenInfo + 35, // 2: core.MenuInfoList.data:type_name -> core.MenuInfo + 7, // 3: core.RoleListResp.data:type_name -> core.RoleInfo + 47, // 4: core.MenuRoleListResp.data:type_name -> core.MenuRoleInfo + 2, // 5: core.MenuParamListResp.data:type_name -> core.MenuParamInfo + 28, // 6: core.OauthProviderListResp.data:type_name -> core.OauthProviderInfo + 33, // 7: core.DepartmentListResp.data:type_name -> core.DepartmentInfo + 34, // 8: core.DictionaryListResp.data:type_name -> core.DictionaryInfo + 50, // 9: core.PositionListResp.data:type_name -> core.PositionInfo + 38, // 10: core.ApiListResp.data:type_name -> core.ApiInfo + 24, // 11: core.MenuInfo.meta:type_name -> core.Meta + 19, // 12: core.UserListResp.data:type_name -> core.UserInfo + 38, // 13: core.Core.createApi:input_type -> core.ApiInfo + 38, // 14: core.Core.updateApi:input_type -> core.ApiInfo + 39, // 15: core.Core.getApiList:input_type -> core.ApiListReq + 5, // 16: core.Core.getApiById:input_type -> core.IDReq + 11, // 17: core.Core.deleteApi:input_type -> core.IDsReq + 5, // 18: core.Core.getMenuAuthority:input_type -> core.IDReq 4, // 19: core.Core.createOrUpdateMenuAuthority:input_type -> core.RoleMenuAuthorityReq - 47, // 20: core.Core.initDatabase:input_type -> core.Empty - 37, // 21: core.Core.createDepartment:input_type -> core.DepartmentInfo - 37, // 22: core.Core.updateDepartment:input_type -> core.DepartmentInfo - 30, // 23: core.Core.getDepartmentList:input_type -> core.DepartmentListReq - 11, // 24: core.Core.getDepartmentById:input_type -> core.IDReq - 5, // 25: core.Core.deleteDepartment:input_type -> core.IDsReq - 44, // 26: core.Core.createDictionary:input_type -> core.DictionaryInfo - 44, // 27: core.Core.updateDictionary:input_type -> core.DictionaryInfo - 22, // 28: core.Core.getDictionaryList:input_type -> core.DictionaryListReq - 11, // 29: core.Core.getDictionaryById:input_type -> core.IDReq - 5, // 30: core.Core.deleteDictionary:input_type -> core.IDsReq - 17, // 31: core.Core.createDictionaryDetail:input_type -> core.DictionaryDetailInfo - 17, // 32: core.Core.updateDictionaryDetail:input_type -> core.DictionaryDetailInfo - 23, // 33: core.Core.getDictionaryDetailList:input_type -> core.DictionaryDetailListReq - 11, // 34: core.Core.getDictionaryDetailById:input_type -> core.IDReq - 5, // 35: core.Core.deleteDictionaryDetail:input_type -> core.IDsReq - 13, // 36: core.Core.createMenu:input_type -> core.MenuInfo - 13, // 37: core.Core.updateMenu:input_type -> core.MenuInfo - 11, // 38: core.Core.deleteMenu:input_type -> core.IDReq - 12, // 39: core.Core.getMenuListByRole:input_type -> core.BaseMsg - 41, // 40: core.Core.getMenuList:input_type -> core.PageInfoReq - 18, // 41: core.Core.createMenuParam:input_type -> core.MenuParamInfo - 18, // 42: core.Core.updateMenuParam:input_type -> core.MenuParamInfo - 8, // 43: core.Core.getMenuParamList:input_type -> core.MenuParamListReq - 11, // 44: core.Core.getMenuParamById:input_type -> core.IDReq - 5, // 45: core.Core.deleteMenuParam:input_type -> core.IDsReq - 48, // 46: core.Core.createOauthProvider:input_type -> core.OauthProviderInfo - 48, // 47: core.Core.updateOauthProvider:input_type -> core.OauthProviderInfo - 25, // 48: core.Core.getOauthProviderList:input_type -> core.OauthProviderListReq - 11, // 49: core.Core.getOauthProviderById:input_type -> core.IDReq - 5, // 50: core.Core.deleteOauthProvider:input_type -> core.IDsReq - 33, // 51: core.Core.oauthLogin:input_type -> core.OauthLoginReq - 49, // 52: core.Core.oauthCallback:input_type -> core.CallbackReq - 19, // 53: core.Core.createPosition:input_type -> core.PositionInfo - 19, // 54: core.Core.updatePosition:input_type -> core.PositionInfo - 46, // 55: core.Core.getPositionList:input_type -> core.PositionListReq - 11, // 56: core.Core.getPositionById:input_type -> core.IDReq - 5, // 57: core.Core.deletePosition:input_type -> core.IDsReq - 39, // 58: core.Core.createRole:input_type -> core.RoleInfo - 39, // 59: core.Core.updateRole:input_type -> core.RoleInfo - 9, // 60: core.Core.getRoleList:input_type -> core.RoleListReq - 11, // 61: core.Core.getRoleById:input_type -> core.IDReq - 5, // 62: core.Core.deleteRole:input_type -> core.IDsReq - 20, // 63: core.Core.createToken:input_type -> core.TokenInfo - 20, // 64: core.Core.updateToken:input_type -> core.TokenInfo - 15, // 65: core.Core.deleteToken:input_type -> core.UUIDsReq - 10, // 66: core.Core.getTokenList:input_type -> core.TokenListReq - 6, // 67: core.Core.getTokenById:input_type -> core.UUIDReq - 6, // 68: core.Core.blockUserAllToken:input_type -> core.UUIDReq - 27, // 69: core.Core.createUser:input_type -> core.UserInfo - 27, // 70: core.Core.updateUser:input_type -> core.UserInfo - 28, // 71: core.Core.getUserList:input_type -> core.UserListReq - 6, // 72: core.Core.getUserById:input_type -> core.UUIDReq - 21, // 73: core.Core.getUserByUsername:input_type -> core.UsernameReq - 15, // 74: core.Core.deleteUser:input_type -> core.UUIDsReq - 42, // 75: core.Core.createApi:output_type -> core.BaseIDResp - 16, // 76: core.Core.updateApi:output_type -> core.BaseResp - 35, // 77: core.Core.getApiList:output_type -> core.ApiListResp - 34, // 78: core.Core.getApiById:output_type -> core.ApiInfo - 16, // 79: core.Core.deleteApi:output_type -> core.BaseResp - 29, // 80: core.Core.getMenuAuthority:output_type -> core.RoleMenuAuthorityResp - 16, // 81: core.Core.createOrUpdateMenuAuthority:output_type -> core.BaseResp - 16, // 82: core.Core.initDatabase:output_type -> core.BaseResp - 42, // 83: core.Core.createDepartment:output_type -> core.BaseIDResp - 16, // 84: core.Core.updateDepartment:output_type -> core.BaseResp - 7, // 85: core.Core.getDepartmentList:output_type -> core.DepartmentListResp - 37, // 86: core.Core.getDepartmentById:output_type -> core.DepartmentInfo - 16, // 87: core.Core.deleteDepartment:output_type -> core.BaseResp - 42, // 88: core.Core.createDictionary:output_type -> core.BaseIDResp - 16, // 89: core.Core.updateDictionary:output_type -> core.BaseResp - 0, // 90: core.Core.getDictionaryList:output_type -> core.DictionaryListResp - 44, // 91: core.Core.getDictionaryById:output_type -> core.DictionaryInfo - 16, // 92: core.Core.deleteDictionary:output_type -> core.BaseResp - 42, // 93: core.Core.createDictionaryDetail:output_type -> core.BaseIDResp - 16, // 94: core.Core.updateDictionaryDetail:output_type -> core.BaseResp - 31, // 95: core.Core.getDictionaryDetailList:output_type -> core.DictionaryDetailListResp - 17, // 96: core.Core.getDictionaryDetailById:output_type -> core.DictionaryDetailInfo - 16, // 97: core.Core.deleteDictionaryDetail:output_type -> core.BaseResp - 42, // 98: core.Core.createMenu:output_type -> core.BaseIDResp - 16, // 99: core.Core.updateMenu:output_type -> core.BaseResp - 16, // 100: core.Core.deleteMenu:output_type -> core.BaseResp - 32, // 101: core.Core.getMenuListByRole:output_type -> core.MenuInfoList - 32, // 102: core.Core.getMenuList:output_type -> core.MenuInfoList - 42, // 103: core.Core.createMenuParam:output_type -> core.BaseIDResp - 16, // 104: core.Core.updateMenuParam:output_type -> core.BaseResp - 24, // 105: core.Core.getMenuParamList:output_type -> core.MenuParamListResp - 18, // 106: core.Core.getMenuParamById:output_type -> core.MenuParamInfo - 16, // 107: core.Core.deleteMenuParam:output_type -> core.BaseResp - 42, // 108: core.Core.createOauthProvider:output_type -> core.BaseIDResp - 16, // 109: core.Core.updateOauthProvider:output_type -> core.BaseResp - 38, // 110: core.Core.getOauthProviderList:output_type -> core.OauthProviderListResp - 48, // 111: core.Core.getOauthProviderById:output_type -> core.OauthProviderInfo - 16, // 112: core.Core.deleteOauthProvider:output_type -> core.BaseResp - 50, // 113: core.Core.oauthLogin:output_type -> core.OauthRedirectResp - 27, // 114: core.Core.oauthCallback:output_type -> core.UserInfo - 42, // 115: core.Core.createPosition:output_type -> core.BaseIDResp - 16, // 116: core.Core.updatePosition:output_type -> core.BaseResp - 45, // 117: core.Core.getPositionList:output_type -> core.PositionListResp - 19, // 118: core.Core.getPositionById:output_type -> core.PositionInfo - 16, // 119: core.Core.deletePosition:output_type -> core.BaseResp - 42, // 120: core.Core.createRole:output_type -> core.BaseIDResp - 16, // 121: core.Core.updateRole:output_type -> core.BaseResp - 2, // 122: core.Core.getRoleList:output_type -> core.RoleListResp - 39, // 123: core.Core.getRoleById:output_type -> core.RoleInfo - 16, // 124: core.Core.deleteRole:output_type -> core.BaseResp - 43, // 125: core.Core.createToken:output_type -> core.BaseUUIDResp - 16, // 126: core.Core.updateToken:output_type -> core.BaseResp - 16, // 127: core.Core.deleteToken:output_type -> core.BaseResp + 26, // 20: core.Core.initDatabase:input_type -> core.Empty + 33, // 21: core.Core.createDepartment:input_type -> core.DepartmentInfo + 33, // 22: core.Core.updateDepartment:input_type -> core.DepartmentInfo + 42, // 23: core.Core.getDepartmentList:input_type -> core.DepartmentListReq + 5, // 24: core.Core.getDepartmentById:input_type -> core.IDReq + 11, // 25: core.Core.deleteDepartment:input_type -> core.IDsReq + 34, // 26: core.Core.createDictionary:input_type -> core.DictionaryInfo + 34, // 27: core.Core.updateDictionary:input_type -> core.DictionaryInfo + 23, // 28: core.Core.getDictionaryList:input_type -> core.DictionaryListReq + 5, // 29: core.Core.getDictionaryById:input_type -> core.IDReq + 11, // 30: core.Core.deleteDictionary:input_type -> core.IDsReq + 13, // 31: core.Core.createDictionaryDetail:input_type -> core.DictionaryDetailInfo + 13, // 32: core.Core.updateDictionaryDetail:input_type -> core.DictionaryDetailInfo + 43, // 33: core.Core.getDictionaryDetailList:input_type -> core.DictionaryDetailListReq + 5, // 34: core.Core.getDictionaryDetailById:input_type -> core.IDReq + 11, // 35: core.Core.deleteDictionaryDetail:input_type -> core.IDsReq + 35, // 36: core.Core.createMenu:input_type -> core.MenuInfo + 35, // 37: core.Core.updateMenu:input_type -> core.MenuInfo + 5, // 38: core.Core.deleteMenu:input_type -> core.IDReq + 0, // 39: core.Core.getMenuListByRole:input_type -> core.BaseMsg + 31, // 40: core.Core.getMenuList:input_type -> core.PageInfoReq + 2, // 41: core.Core.createMenuParam:input_type -> core.MenuParamInfo + 2, // 42: core.Core.updateMenuParam:input_type -> core.MenuParamInfo + 48, // 43: core.Core.getMenuParamList:input_type -> core.MenuParamListReq + 5, // 44: core.Core.getMenuParamById:input_type -> core.IDReq + 11, // 45: core.Core.deleteMenuParam:input_type -> core.IDsReq + 28, // 46: core.Core.createOauthProvider:input_type -> core.OauthProviderInfo + 28, // 47: core.Core.updateOauthProvider:input_type -> core.OauthProviderInfo + 17, // 48: core.Core.getOauthProviderList:input_type -> core.OauthProviderListReq + 5, // 49: core.Core.getOauthProviderById:input_type -> core.IDReq + 11, // 50: core.Core.deleteOauthProvider:input_type -> core.IDsReq + 49, // 51: core.Core.oauthLogin:input_type -> core.OauthLoginReq + 10, // 52: core.Core.oauthCallback:input_type -> core.CallbackReq + 50, // 53: core.Core.createPosition:input_type -> core.PositionInfo + 50, // 54: core.Core.updatePosition:input_type -> core.PositionInfo + 44, // 55: core.Core.getPositionList:input_type -> core.PositionListReq + 5, // 56: core.Core.getPositionById:input_type -> core.IDReq + 11, // 57: core.Core.deletePosition:input_type -> core.IDsReq + 7, // 58: core.Core.createRole:input_type -> core.RoleInfo + 7, // 59: core.Core.updateRole:input_type -> core.RoleInfo + 37, // 60: core.Core.getRoleList:input_type -> core.RoleListReq + 5, // 61: core.Core.getRoleById:input_type -> core.IDReq + 11, // 62: core.Core.deleteRole:input_type -> core.IDsReq + 25, // 63: core.Core.createToken:input_type -> core.TokenInfo + 25, // 64: core.Core.updateToken:input_type -> core.TokenInfo + 30, // 65: core.Core.deleteToken:input_type -> core.UUIDsReq + 45, // 66: core.Core.getTokenList:input_type -> core.TokenListReq + 12, // 67: core.Core.getTokenById:input_type -> core.UUIDReq + 12, // 68: core.Core.blockUserAllToken:input_type -> core.UUIDReq + 19, // 69: core.Core.createUser:input_type -> core.UserInfo + 19, // 70: core.Core.updateUser:input_type -> core.UserInfo + 9, // 71: core.Core.getUserList:input_type -> core.UserListReq + 12, // 72: core.Core.getUserById:input_type -> core.UUIDReq + 20, // 73: core.Core.getUserByUsername:input_type -> core.UsernameReq + 30, // 74: core.Core.deleteUser:input_type -> core.UUIDsReq + 32, // 75: core.Core.createApi:output_type -> core.BaseIDResp + 46, // 76: core.Core.updateApi:output_type -> core.BaseResp + 29, // 77: core.Core.getApiList:output_type -> core.ApiListResp + 38, // 78: core.Core.getApiById:output_type -> core.ApiInfo + 46, // 79: core.Core.deleteApi:output_type -> core.BaseResp + 40, // 80: core.Core.getMenuAuthority:output_type -> core.RoleMenuAuthorityResp + 46, // 81: core.Core.createOrUpdateMenuAuthority:output_type -> core.BaseResp + 46, // 82: core.Core.initDatabase:output_type -> core.BaseResp + 32, // 83: core.Core.createDepartment:output_type -> core.BaseIDResp + 46, // 84: core.Core.updateDepartment:output_type -> core.BaseResp + 21, // 85: core.Core.getDepartmentList:output_type -> core.DepartmentListResp + 33, // 86: core.Core.getDepartmentById:output_type -> core.DepartmentInfo + 46, // 87: core.Core.deleteDepartment:output_type -> core.BaseResp + 32, // 88: core.Core.createDictionary:output_type -> core.BaseIDResp + 46, // 89: core.Core.updateDictionary:output_type -> core.BaseResp + 22, // 90: core.Core.getDictionaryList:output_type -> core.DictionaryListResp + 34, // 91: core.Core.getDictionaryById:output_type -> core.DictionaryInfo + 46, // 92: core.Core.deleteDictionary:output_type -> core.BaseResp + 32, // 93: core.Core.createDictionaryDetail:output_type -> core.BaseIDResp + 46, // 94: core.Core.updateDictionaryDetail:output_type -> core.BaseResp + 1, // 95: core.Core.getDictionaryDetailList:output_type -> core.DictionaryDetailListResp + 13, // 96: core.Core.getDictionaryDetailById:output_type -> core.DictionaryDetailInfo + 46, // 97: core.Core.deleteDictionaryDetail:output_type -> core.BaseResp + 32, // 98: core.Core.createMenu:output_type -> core.BaseIDResp + 46, // 99: core.Core.updateMenu:output_type -> core.BaseResp + 46, // 100: core.Core.deleteMenu:output_type -> core.BaseResp + 6, // 101: core.Core.getMenuListByRole:output_type -> core.MenuInfoList + 6, // 102: core.Core.getMenuList:output_type -> core.MenuInfoList + 32, // 103: core.Core.createMenuParam:output_type -> core.BaseIDResp + 46, // 104: core.Core.updateMenuParam:output_type -> core.BaseResp + 15, // 105: core.Core.getMenuParamList:output_type -> core.MenuParamListResp + 2, // 106: core.Core.getMenuParamById:output_type -> core.MenuParamInfo + 46, // 107: core.Core.deleteMenuParam:output_type -> core.BaseResp + 32, // 108: core.Core.createOauthProvider:output_type -> core.BaseIDResp + 46, // 109: core.Core.updateOauthProvider:output_type -> core.BaseResp + 16, // 110: core.Core.getOauthProviderList:output_type -> core.OauthProviderListResp + 28, // 111: core.Core.getOauthProviderById:output_type -> core.OauthProviderInfo + 46, // 112: core.Core.deleteOauthProvider:output_type -> core.BaseResp + 18, // 113: core.Core.oauthLogin:output_type -> core.OauthRedirectResp + 19, // 114: core.Core.oauthCallback:output_type -> core.UserInfo + 32, // 115: core.Core.createPosition:output_type -> core.BaseIDResp + 46, // 116: core.Core.updatePosition:output_type -> core.BaseResp + 27, // 117: core.Core.getPositionList:output_type -> core.PositionListResp + 50, // 118: core.Core.getPositionById:output_type -> core.PositionInfo + 46, // 119: core.Core.deletePosition:output_type -> core.BaseResp + 32, // 120: core.Core.createRole:output_type -> core.BaseIDResp + 46, // 121: core.Core.updateRole:output_type -> core.BaseResp + 8, // 122: core.Core.getRoleList:output_type -> core.RoleListResp + 7, // 123: core.Core.getRoleById:output_type -> core.RoleInfo + 46, // 124: core.Core.deleteRole:output_type -> core.BaseResp + 41, // 125: core.Core.createToken:output_type -> core.BaseUUIDResp + 46, // 126: core.Core.updateToken:output_type -> core.BaseResp + 46, // 127: core.Core.deleteToken:output_type -> core.BaseResp 3, // 128: core.Core.getTokenList:output_type -> core.TokenListResp - 20, // 129: core.Core.getTokenById:output_type -> core.TokenInfo - 16, // 130: core.Core.blockUserAllToken:output_type -> core.BaseResp - 43, // 131: core.Core.createUser:output_type -> core.BaseUUIDResp - 16, // 132: core.Core.updateUser:output_type -> core.BaseResp - 40, // 133: core.Core.getUserList:output_type -> core.UserListResp - 27, // 134: core.Core.getUserById:output_type -> core.UserInfo - 27, // 135: core.Core.getUserByUsername:output_type -> core.UserInfo - 16, // 136: core.Core.deleteUser:output_type -> core.BaseResp + 25, // 129: core.Core.getTokenById:output_type -> core.TokenInfo + 46, // 130: core.Core.blockUserAllToken:output_type -> core.BaseResp + 41, // 131: core.Core.createUser:output_type -> core.BaseUUIDResp + 46, // 132: core.Core.updateUser:output_type -> core.BaseResp + 36, // 133: core.Core.getUserList:output_type -> core.UserListResp + 19, // 134: core.Core.getUserById:output_type -> core.UserInfo + 19, // 135: core.Core.getUserByUsername:output_type -> core.UserInfo + 46, // 136: core.Core.deleteUser:output_type -> core.BaseResp 75, // [75:137] is the sub-list for method output_type 13, // [13:75] is the sub-list for method input_type 13, // [13:13] is the sub-list for extension type_name @@ -4605,7 +4605,7 @@ func file_rpc_core_proto_init() { } if !protoimpl.UnsafeEnabled { file_rpc_core_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryListResp); i { + switch v := v.(*BaseMsg); i { case 0: return &v.state case 1: @@ -4617,7 +4617,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Meta); i { + switch v := v.(*DictionaryDetailListResp); i { case 0: return &v.state case 1: @@ -4629,7 +4629,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleListResp); i { + switch v := v.(*MenuParamInfo); i { case 0: return &v.state case 1: @@ -4665,7 +4665,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IDsReq); i { + switch v := v.(*IDReq); i { case 0: return &v.state case 1: @@ -4677,7 +4677,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UUIDReq); i { + switch v := v.(*MenuInfoList); i { case 0: return &v.state case 1: @@ -4689,7 +4689,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DepartmentListResp); i { + switch v := v.(*RoleInfo); i { case 0: return &v.state case 1: @@ -4701,7 +4701,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuParamListReq); i { + switch v := v.(*RoleListResp); i { case 0: return &v.state case 1: @@ -4713,7 +4713,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleListReq); i { + switch v := v.(*UserListReq); i { case 0: return &v.state case 1: @@ -4725,7 +4725,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenListReq); i { + switch v := v.(*CallbackReq); i { case 0: return &v.state case 1: @@ -4737,7 +4737,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IDReq); i { + switch v := v.(*IDsReq); i { case 0: return &v.state case 1: @@ -4749,7 +4749,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BaseMsg); i { + switch v := v.(*UUIDReq); i { case 0: return &v.state case 1: @@ -4761,7 +4761,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuInfo); i { + switch v := v.(*DictionaryDetailInfo); i { case 0: return &v.state case 1: @@ -4773,7 +4773,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuRoleInfo); i { + switch v := v.(*MenuRoleListResp); i { case 0: return &v.state case 1: @@ -4785,7 +4785,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UUIDsReq); i { + switch v := v.(*MenuParamListResp); i { case 0: return &v.state case 1: @@ -4797,7 +4797,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BaseResp); i { + switch v := v.(*OauthProviderListResp); i { case 0: return &v.state case 1: @@ -4809,7 +4809,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryDetailInfo); i { + switch v := v.(*OauthProviderListReq); i { case 0: return &v.state case 1: @@ -4821,7 +4821,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuParamInfo); i { + switch v := v.(*OauthRedirectResp); i { case 0: return &v.state case 1: @@ -4833,7 +4833,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PositionInfo); i { + switch v := v.(*UserInfo); i { case 0: return &v.state case 1: @@ -4845,7 +4845,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenInfo); i { + switch v := v.(*UsernameReq); i { case 0: return &v.state case 1: @@ -4857,7 +4857,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsernameReq); i { + switch v := v.(*DepartmentListResp); i { case 0: return &v.state case 1: @@ -4869,7 +4869,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryListReq); i { + switch v := v.(*DictionaryListResp); i { case 0: return &v.state case 1: @@ -4881,7 +4881,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryDetailListReq); i { + switch v := v.(*DictionaryListReq); i { case 0: return &v.state case 1: @@ -4893,7 +4893,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuParamListResp); i { + switch v := v.(*Meta); i { case 0: return &v.state case 1: @@ -4905,7 +4905,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OauthProviderListReq); i { + switch v := v.(*TokenInfo); i { case 0: return &v.state case 1: @@ -4917,7 +4917,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuRoleListResp); i { + switch v := v.(*Empty); i { case 0: return &v.state case 1: @@ -4929,7 +4929,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserInfo); i { + switch v := v.(*PositionListResp); i { case 0: return &v.state case 1: @@ -4941,7 +4941,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserListReq); i { + switch v := v.(*OauthProviderInfo); i { case 0: return &v.state case 1: @@ -4953,7 +4953,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleMenuAuthorityResp); i { + switch v := v.(*ApiListResp); i { case 0: return &v.state case 1: @@ -4965,7 +4965,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DepartmentListReq); i { + switch v := v.(*UUIDsReq); i { case 0: return &v.state case 1: @@ -4977,7 +4977,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryDetailListResp); i { + switch v := v.(*PageInfoReq); i { case 0: return &v.state case 1: @@ -4989,7 +4989,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MenuInfoList); i { + switch v := v.(*BaseIDResp); i { case 0: return &v.state case 1: @@ -5001,7 +5001,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OauthLoginReq); i { + switch v := v.(*DepartmentInfo); i { case 0: return &v.state case 1: @@ -5013,7 +5013,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiInfo); i { + switch v := v.(*DictionaryInfo); i { case 0: return &v.state case 1: @@ -5025,7 +5025,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiListResp); i { + switch v := v.(*MenuInfo); i { case 0: return &v.state case 1: @@ -5037,7 +5037,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiListReq); i { + switch v := v.(*UserListResp); i { case 0: return &v.state case 1: @@ -5049,7 +5049,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DepartmentInfo); i { + switch v := v.(*RoleListReq); i { case 0: return &v.state case 1: @@ -5061,7 +5061,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OauthProviderListResp); i { + switch v := v.(*ApiInfo); i { case 0: return &v.state case 1: @@ -5073,7 +5073,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleInfo); i { + switch v := v.(*ApiListReq); i { case 0: return &v.state case 1: @@ -5085,7 +5085,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserListResp); i { + switch v := v.(*RoleMenuAuthorityResp); i { case 0: return &v.state case 1: @@ -5097,7 +5097,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PageInfoReq); i { + switch v := v.(*BaseUUIDResp); i { case 0: return &v.state case 1: @@ -5109,7 +5109,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BaseIDResp); i { + switch v := v.(*DepartmentListReq); i { case 0: return &v.state case 1: @@ -5121,7 +5121,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BaseUUIDResp); i { + switch v := v.(*DictionaryDetailListReq); i { case 0: return &v.state case 1: @@ -5133,7 +5133,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DictionaryInfo); i { + switch v := v.(*PositionListReq); i { case 0: return &v.state case 1: @@ -5145,7 +5145,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PositionListResp); i { + switch v := v.(*TokenListReq); i { case 0: return &v.state case 1: @@ -5157,7 +5157,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PositionListReq); i { + switch v := v.(*BaseResp); i { case 0: return &v.state case 1: @@ -5169,7 +5169,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { + switch v := v.(*MenuRoleInfo); i { case 0: return &v.state case 1: @@ -5181,7 +5181,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OauthProviderInfo); i { + switch v := v.(*MenuParamListReq); i { case 0: return &v.state case 1: @@ -5193,7 +5193,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallbackReq); i { + switch v := v.(*OauthLoginReq); i { case 0: return &v.state case 1: @@ -5205,7 +5205,7 @@ func file_rpc_core_proto_init() { } } file_rpc_core_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OauthRedirectResp); i { + switch v := v.(*PositionInfo); i { case 0: return &v.state case 1: