Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 💥 change tag api to batch #59

Merged
merged 6 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juzi/wechaty-grpc",
"version": "1.0.78",
"version": "1.0.79",
"description": "gRPC for Wechaty",
"type": "module",
"exports": {
Expand Down
26 changes: 18 additions & 8 deletions proto/wechaty/puppet/tag.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,40 @@ message TagGroupDeleteRequest {
message TagGroupDeleteResponse {
}

message TagTagInfo {
string tag_id = 1;
string tag_name = 2;
}

message TagTagAddRequest {
string tag_name = 1;
string tag_group_id = 2;
string deprecated_tag_name = 1 [deprecated = true];
string tag_group_id = 2;
repeated string tag_name = 3;
}

message TagTagAddResponse {
string tag_id = 1;
string deprecated_tag_id = 1 [deprecated = true];
repeated TagTagInfo tag_info = 2;
}

message TagTagDeleteRequest {
string tag_id = 1;
string deprecated_tag_id = 1 [deprecated = true];
repeated string tag_id = 2;
}

message TagTagDeleteResponse {
}

message TagTagModifyRequest {
string tag_id = 1;
string tag_new_name = 2;
string deprecated_tag_id = 1 [deprecated = true];
string deprecated_tag_new_name = 2 [deprecated = true];
repeated TagTagInfo tag_new_info = 3;
}

message TagTagModifyResponse {
string tag_id = 1;
string tag_name = 2;
string deprecated_tag_id = 1 [deprecated = true];
string deprecated_tag_name = 2 [deprecated = true];
repeated TagTagInfo tag_info = 3;
}

message TagGroupListRequest {
Expand Down
Loading