Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 4 | |
| 5 | syntax = "proto3"; |
| 6 | |
| 7 | package monorail; |
| 8 | |
Adrià Vilanova Martínez | de94280 | 2022-07-15 14:06:55 +0200 | [diff] [blame] | 9 | option go_package = "infra/monorailv2/api/api_proto;monorail"; |
| 10 | |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 11 | import "api/api_proto/common.proto"; |
| 12 | import "api/api_proto/issue_objects.proto"; |
| 13 | |
| 14 | |
| 15 | // Next available tag: 9 |
| 16 | message Hotlist { |
| 17 | UserRef owner_ref = 1; |
| 18 | repeated UserRef editor_refs = 5; |
| 19 | repeated UserRef follower_refs = 6; |
| 20 | string name = 2; |
| 21 | string summary = 3; |
| 22 | string description = 4; |
| 23 | string default_col_spec = 7; |
| 24 | bool is_private = 8; |
| 25 | } |
| 26 | |
| 27 | |
| 28 | // Next available tag: 6 |
| 29 | message HotlistItem { |
| 30 | Issue issue = 1; |
| 31 | uint32 rank = 2; |
| 32 | UserRef adder_ref = 3; |
| 33 | uint32 added_timestamp = 4; |
| 34 | string note = 5; |
| 35 | } |
| 36 | |
| 37 | |
| 38 | // Next available tag: 5 |
| 39 | message HotlistPeopleDelta { |
| 40 | UserRef new_owner_ref = 1; |
| 41 | repeated UserRef add_editor_refs = 2; |
| 42 | repeated UserRef add_follower_refs = 3; |
| 43 | repeated UserRef remove_user_refs = 4; |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 44 | } |