File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+ package colink_policy_module ;
3+
4+ import "google/protobuf/wrappers.proto" ;
5+
6+ message Rule {
7+ string rule_id = 1 ;
8+ TaskFilter task_filter = 2 ;
9+ string action = 3 ;
10+ int32 priority = 4 ;
11+ }
12+
13+ message TaskFilter {
14+ string task_id = 1 ;
15+ string protocol_name = 2 ;
16+ repeated string participants = 3 ;
17+ string role = 4 ;
18+ TaskFilter parent_task_filter = 5 ;
19+ google.protobuf.BoolValue require_agreement = 6 ;
20+ }
21+
22+ message Settings {
23+ bool enable = 1 ;
24+ repeated Rule rules = 2 ;
25+ }
Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+ package remote_storage ;
3+
4+ message CreateParams {
5+ string remote_key_name = 1 ;
6+ bool is_public = 2 ;
7+ bytes payload = 3 ;
8+ }
9+
10+ message ReadParams {
11+ string remote_key_name = 1 ;
12+ bool is_public = 2 ;
13+ string holder_id = 3 ;
14+ }
15+
16+ message UpdateParams {
17+ string remote_key_name = 1 ;
18+ bool is_public = 2 ;
19+ bytes payload = 3 ;
20+ }
21+
22+ message DeleteParams {
23+ string remote_key_name = 1 ;
24+ bool is_public = 2 ;
25+ }
You can’t perform that action at this time.
0 commit comments